Page 1 of 1


Posted: 27 Aug 2020, 06:23
by sophiazz
Today I thought about the vsync option turned on / enabled. When done, it may happen to me that the fps drop below 60. Then vsync goes one step down giving me 30 fps. At this point I save my game, turn off the vsync and get 45 fps for example. Much better than 30. So why not offering a adaptive sync mode that turns of the vsync when the fps drop below 60 to avoid loosing some more fps by cutting down to 30?

Re: vsync

Posted: 28 Aug 2020, 05:44
by themac
When vsync is turned ON the video output is delayed until your graphics card is able to deliver a complete full frame to the monitor.

If your monitor is able to display a maximum of will say 60 fps and you turn ON vsync AND if your graphics card is fast enough you get 60 fps.

But if your graphics card is not fast enough the vsync makes the video output wait for the next full image which will hopefully be ready 1/60 seconds later.

In this case you will get 30 fps. If your graphics card is still too slow the video output will wait for another 1/60 seconds for the image. Then you get 20 fps.

Re: vsync

Posted: 10 Sep 2020, 22:08
by Per
It should be fairly trivial to add support for adaptive vsync, actually. It could help in some cases when FPS can't reach the full 60 fps (or whatever your screen refresh is).

Re: vsync

Posted: 10 Sep 2020, 23:21
by pastdue
Adaptive Vsync support has actually been added to the gfx_api PR, which I'm hoping to have a chance to finish up and get merged soon:

Re: vsync

Posted: 18 Sep 2020, 13:11
by MaNGusT
I thought that this PR is already finished. Hmm..