Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Looking for a way to determine FPS being rendered #956

Closed
totaam opened this issue Aug 21, 2015 · 6 comments
Closed

Looking for a way to determine FPS being rendered #956

totaam opened this issue Aug 21, 2015 · 6 comments

Comments

@totaam
Copy link
Collaborator

totaam commented Aug 21, 2015

Issue migrated from trac ticket # 956

component: client | priority: minor | resolution: fixed

2015-08-21 02:15:33: afarr created the issue


I'm not particularly picky about where/how, but would it be possible to export/display/output FPS being rendered (or subregions being thusly rendered) by h264 (and presumably other video encodings)?

Xpra info might be an awkward means, but that would work. A parameter flag (maybe --display-fps=on?) would work. A flag that could be turned on with the server control channel would double-plus work. An extra line on one of the graphs (or a small extra graph) on the Session Info graphs tab would not only work, but it would be osx-shiny as well (maybe a purple line?).

Whatever would be easiest/least painful to implement, assuming its not entirely painful/unfeasible, would be hugely appreciated.

@totaam
Copy link
Collaborator Author

totaam commented Aug 21, 2015

2015-08-21 05:24:46: antoine uploaded file session-info-video-encoder-info.png (984.0 KiB)

the video encoder info shown as a per-window tooltip on session info
session-info-video-encoder-info.png

@totaam
Copy link
Collaborator Author

totaam commented Aug 21, 2015

2015-08-21 05:30:33: antoine changed owner from antoine to afarr

@totaam
Copy link
Collaborator Author

totaam commented Aug 21, 2015

2015-08-21 05:30:33: antoine commented


The fps can already be found via xpra info (you will need r10387 or later to see the fps for vp8 / vp9):

$ xpra info | grep fps=
window[4].encoder.fps=20

To also see which encoder is used and the window title:

$ xpra info | egrep "encoder=|fps=|\.title=" | egrep -v "pipeline|connection"
window[4].encoder=vpx
window[4].encoder.fps=23
window[4].title=GLX Spheres

You can also see it client side on the session info dialog: [/attachment/ticket/956/session-info-video-encoder-info.png]
You will need to hover over the each window id to see the details, which will refresh every second.

See also (vsync / opengl sync related): #981, #792, #386

If that is enough, please close.

@totaam
Copy link
Collaborator Author

totaam commented Sep 15, 2015

2015-09-15 02:43:23: afarr changed status from new to closed

@totaam
Copy link
Collaborator Author

totaam commented Sep 15, 2015

2015-09-15 02:43:23: afarr set resolution to fixed

@totaam
Copy link
Collaborator Author

totaam commented Sep 15, 2015

2015-09-15 02:43:23: afarr commented


Tested and working... all along.

Looks like enough for my purposes. Closing.

@totaam totaam closed this as completed Sep 15, 2015
@totaam totaam added the v0.15.x label Jan 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant