Question on Windowed mode DWM-vsync
Posted: 22 Sep 2021, 14:19
Assume that VRR and vsync is off in these cases...
From what I understand, running a game in Windowed mode will result in Windows applying vsync to the game regardless of in-game or driver-level settings.
However, this seems to be the case even if the frame rate counter in the game is way above my screen's refresh rate.
E.g.,
If I have a 120 Hz monitor, running a game in windowed mode, and the fps counter says 180 fps -- since vsync from Windows DWM is on, it's essentially 120 fps vsync'd, right?
In this case, is the GPU still doing the same work to produce 180 fps? Where do the other 60 frames go? In exclusive fullscreen mode with vsync off, you might get marginal improvements in input lag, so you have SOME returns on having a frame rate above refresh rate, but in windowed mode (with DWM vsync), is there any point? I'm guessing that in this situation, the user might as well limit the game frame rate to 120 fps. Is there something I'm missing?
Also, if this is indeed the case, why doesn't DWM vsync cap the in-game frame rate the same way that fullscreen traditional vsync does? Is this just a limitation of how it works? I'm imagining a situation where people are playing in windowed mode 500 fps and not realizing that it could just be a complete waste.
From what I understand, running a game in Windowed mode will result in Windows applying vsync to the game regardless of in-game or driver-level settings.
However, this seems to be the case even if the frame rate counter in the game is way above my screen's refresh rate.
E.g.,
If I have a 120 Hz monitor, running a game in windowed mode, and the fps counter says 180 fps -- since vsync from Windows DWM is on, it's essentially 120 fps vsync'd, right?
In this case, is the GPU still doing the same work to produce 180 fps? Where do the other 60 frames go? In exclusive fullscreen mode with vsync off, you might get marginal improvements in input lag, so you have SOME returns on having a frame rate above refresh rate, but in windowed mode (with DWM vsync), is there any point? I'm guessing that in this situation, the user might as well limit the game frame rate to 120 fps. Is there something I'm missing?
Also, if this is indeed the case, why doesn't DWM vsync cap the in-game frame rate the same way that fullscreen traditional vsync does? Is this just a limitation of how it works? I'm imagining a situation where people are playing in windowed mode 500 fps and not realizing that it could just be a complete waste.