When frame rate ingame drops below 60 FPS due to GPU limitation, I have only 30 FPS. When the CPU is a bottleneck, the frame rate is not truncated to half refresh rate.
I have 60Hz regular 4k LCD display. VSync on, flipping enabled. Graphics API Visual Indicator reports that flipping is working, no compositor is used at all.
Currently I use NVIDIA 418.56, but on NVIDIA 415.22.05 Vulkan Beta triple-buffering worked as expected. Also NVIDIA Windows drivers (exclusive full screen) and Linux Mesa drivers (Intel/AMD) - triple-buffering is working as expected.
âminImageCountâ contains value of â3â. When it is â2â, triple-buffering doesnât work also on NVIDA Windows drivers, Linux Mesa drivers, and Linux NVIDIA 415.22.05 Vulkan Beta (as expected).
Itâd be nice to have this feature (again, as in NVIDIA 415.22.05 Vulkan Beta) in Linux drivers :) nvidia-bug-report.log.gz (952 KB)
NVIDIA: how long must I wait for the fix, I know that you are able to fix it, because one of your beta driver worked properly (415.22.05)?? I borrowed Radeon 5700 XT to test and I had no issues with frame rate drops to half of refresh rate - every Vulkan game worked properly without stupid compositor workarounds. Do you support Linux or not? Why it works PROPERLY on Windows (exclusive full screen, FIFO mode)?
Moreover FreeSync support on NVIDIA is broken - my monitor turns black very often on NVIDIA cards - it works properly on AMD GPUs. On NVIDIA and Windows the situation is much better (but not perfect, at least games are playable), why your Linux support is so poor?
Possibly my next card will be from AMD. Most Linux users should do the same. I paid for NVIDIA card to avoid potential problems with AMD cards and Iâve got other stupid problems, IMHO more annoying. Dissatisfied customer :/
Question: NVIDIA, do you fix it? If not - why? Why you donât answer even if you donât want to improve this?
Still the case with driver 440.59. With DXVK, you can force the length of vsync backbuffer queue to 3 and it still doesnât work on Nvidia (while of course it does with radv/anv, where it just works ootb) â Every game in DXVK falls back to frame rate = half refresh rate when dipping slightly below the maximum refresh rate.
Still doesnât work with Vulkan developer driver 440.58.1.
Can instantly reproduce this with the native Linux version of Shadow of the Tomb Raider on my GTX 1070 and Linux 5.5.3 (KWin compositing disabled).
no vsync: 61fps in the menu, 100% GPU load
vsync enabled: 37.5fps (half of my 75Hz refresh rate), 60% GPU load
Well, that was interesting. MangoHUD is a nice project for sure.
I can confirm the workaround works but with a caveat: Mailbox mode only works for fullscreen mode. In windowed mode I get very visible tearing, so I have to revert to conventional Vsync - and tinkering with individual appsâ settings so the FPS never drops from the monitor refresh number else itâs cut in halfâŠ
NVIDIA devs, this thread is 10 months old, with multiple people confirming the problem, plus you got the last driver before the regression pinpointed (415.22.05 Vulkan Beta).
440.66.03 - still doesnât work :( But finally alt-tab is fast and doesnât display glitches :D
@aufkrawall You can also try my qdre-compositor (qdre-git from AUR, works best with openbox) and configure âexclusive-full-screenâ for your needs in dconf-editor - maybe it will sync better, but performace can be lower and higher mouse lag.
Force Full Composition Pipeline
2)Enabled sync to Vblank and Allow Flipping
Launched the game with VSYNC enabled on; display resolution at 3840 x 2160; frequency at 60 MHz and played for 30-45 minutes.
Graphics API Visual Indicator reports that flipping is working and frame rate observed at 60 FPS which never went down by 55 FPS on my setup.
Let me know if I missed any game setting and if possible, please share repro video and nvidia bug report with driver 440.66.03.
Set display resolution as 1920 x 1080 ; frequency as 60 Hz and enabled vsync from game settings
Enabled Force Full Composition Pipeline and Allowed sync to Vblank and Allow Flipping from nvidia-settings
Issue is also reproducible w/o Full Composition Pipeline
Launched game and observed that FPS drops to value of 30 during game play and when there is casting or story being displayed, it returns to 60 fps for that moment
Please let me know if your observation differs from my setup.
Enabling âForce (Full) Composition Pipelineâ doesnât change the behavior, the most important thing is to use the âFlippingâ mode (full screen app and X11 compositor disabled or bypassed).
If NVIDIA wants to fors lower delay of displaying image even if 3 buffers are requested (IMHO also a good idea for some apps/games), please add properly-working triple-buffering into envvar and/or into an application profiles.
Triple-buffering in Vulkan FIFO mode works properly on Mesa (Intel, AMD) drivers and also works properly on NVIDIA Windows drivers (exclusive full screen mode), so I donât understand why it is not implemented on Linux/X11.
Also OpenGL apps on NVIDIA donât have this issue with X11 config: Option "TripleBuffer" "1".
For long term, please consider adding MAILBOX present mode to prevent tearing without limiting the frame rate by the driver.
âForce (Full) Composition Pipelineâ causes mouse cursor lag on the entire desktop and GPU usage on idle so I donât recommend using it - it is better to use good-working X11 compositor (e.g. Marco WM doesnât have a good compositor and tears on NVIDIA, but qdre-compositor, KWin or maybe Gnome [not tested by me] should be ok).