Observed FPS is lower than the one provided by the monitor
-
I have a screen running at 390 Hz (according to the screen settings).
However, if I count FPS withQQuickWindow::beforeRendering
hook I have only 180 FPS.
The most peculiar thing is that I can have more frames if I start dragging the window, however as soon as I stop this FPS drops down to 180.
This is not mater of insufficient CPU or GPU power.How can I get more FPS in QML?
-
I have a screen running at 390 Hz (according to the screen settings).
However, if I count FPS withQQuickWindow::beforeRendering
hook I have only 180 FPS.
The most peculiar thing is that I can have more frames if I start dragging the window, however as soon as I stop this FPS drops down to 180.
This is not mater of insufficient CPU or GPU power.How can I get more FPS in QML?
@tz-lom said in Observed FPS is lower than the one provided by the monitor:
How can I get more FPS in QML?
QML is hardcoded to run at 60 fps and there are no APIs available to change that.
-
@tz-lom said in Observed FPS is lower than the one provided by the monitor:
How can I get more FPS in QML?
QML is hardcoded to run at 60 fps and there are no APIs available to change that.
@sierdzio thanks for the answer, however that is not what I measured, till 180 Hz QML actually follow the system FPS, but after - start to deviate. I tested with Qt6 with dx11 RHI.
How that clipping is performed? I actually don't need 390 individual frames, but I need very predictable timing for those frames, like trigger them at certain moment of time. -
Hm, maybe it got improved in the meantime, good to know! In the past it was locked to 60 Hz.
How that clipping is performed? I actually don't need 390 individual frames, but I need very predictable timing for those frames, like trigger them at certain moment of time.
This is something too deep within the QML engine / SceneGraph for me to know, sorry :-( Consider asking on Qt Interest mailing list: https://lists.qt-project.org