VOGONS


First post, by Nicknine

User metadata
Rank Newbie
Rank
Newbie

I'm observing choppy framerate in WinQuake with dgVoodoo - checking with Bandicam shows that the game seemingly runs above 60 FPS but the meter bounces a lot and the game is visually decidedly less smooth than 60 FPS. Tested with both D3D11 and D3D12 renderers on Nvidia GeForce RTX 2060 SUPER and Intel UHD Graphics (11th gen).

Reply 1 of 4, by Dege

User metadata
Rank l33t
Rank
l33t

WinQuake draws directly to the primary surface and also does some other operations on that like setting the palette entries, etc.
Since the changes on the primary surface must be presented at once to mimic a real hardware, the frame time and the physical FPS won't be smooth (evenly distributed).
But it also means that the minimum FPS is 60, so the gameplay should be felt smooth.

You can enable option DirectXExt\PrimarySurfaceBatchedUpdate to batch primary surface updates. It's not perfect but the physical framerate is mostly 60 fps with that for me.

Reply 2 of 4, by Nicknine

User metadata
Rank Newbie
Rank
Newbie
Dege wrote on 2024-06-20, 18:35:
WinQuake draws directly to the primary surface and also does some other operations on that like setting the palette entries, etc […]
Show full quote

WinQuake draws directly to the primary surface and also does some other operations on that like setting the palette entries, etc.
Since the changes on the primary surface must be presented at once to mimic a real hardware, the frame time and the physical FPS won't be smooth (evenly distributed).
But it also means that the minimum FPS is 60, so the gameplay should be felt smooth.

You can enable option DirectXExt\PrimarySurfaceBatchedUpdate to batch primary surface updates. It's not perfect but the physical framerate is mostly 60 fps with that for me.

Right, PrimarySurfaceBatchedUpdate helps to an extent, the game is mostly smooth but I do get framerate drops every time the screen flashes (e.g. whenever you pick up an item).

Reply 3 of 4, by Dege

User metadata
Rank l33t
Rank
l33t

However the game should be smooth without PrimarySurfaceBatchedUpdate as well, only the frametime graph looks bad because of the inserted extra frames.

Reply 4 of 4, by Nicknine

User metadata
Rank Newbie
Rank
Newbie

It's not about the meters, the game is decidedly unsmooth visually and I tested it on two different GPUs. So there's something else going on.