Xpra: Ticket #956: Looking for a way to determine FPS being rendered

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.



Fri, 21 Aug 2015 04:24:45 GMT - Antoine Martin: attachment set

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


Fri, 21 Aug 2015 04:30:32 GMT - Antoine Martin: owner changed

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.


Tue, 15 Sep 2015 01:43:23 GMT - alas: status changed; resolution set

Tested and working... all along.

Looks like enough for my purposes. Closing.


Sat, 23 Jan 2021 05:10:49 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/956