Support us on Patreon to keep GamingOnLinux alive. This ensures we have no timed articles and no paywalls. Just good, fresh content! Alternatively, you can donate through PayPal, Liberapay or Buy us a Coffee. You can also buy games using our partner links for GOG and Humble Store.
Hangs/Freezes when Vulkan v-sync (VK_PRESENT_MODE_FIFO_KHR) is enabled
Leeo97one 24 Nov, 2018

Is anyone able to confirm/reproduce this problem?
https://devtalk.nvidia.com/default/topic/1044496/linux/hangs-freezes-when-vulkan-v-sync-vk_present_mode_fifo_khr-is-enabled/

It's really annoying, especially for DXVK :-/

Leeo97one 25 Nov, 2018

Quoting: GuestThere is no reason to use vsync. Especially with low end gpus with low frame rates. Vsync is often disabled in the game default settings.
I don't get the point of your answer. There are (and I have) reasons to use v-sync, otherwise I would never have report this problem. And I don't think I'm using a low-end GPU actually.

Sorry but I'm looking for a more useful answer than "Problem with vsync? Just don't use it.".

mirv 25 Nov, 2018

If you've the option, you could try using VK_PRESENT_MODE_MAILBOX_KHR.
Sascha's demos are normally pretty good though, so it shouldn't be a Vulkan application problem. More likely a driver issue. Unfortunately, beyond sending a report to the support people (nvidia in this case), there's probably not a whole lot that can be done if you must use VK_PRESENT_MODE_FIFO_KHR. In that case, the actual best response really is: don't use vsync (because there's nothing else that you can do).

Leeo97one 25 Nov, 2018

Yeah, also think it's a driver issue, which is why I first reported the problem on the NVIDIA Developer Forums. And then, I shared the link here to see if "Is anyone able to confirm/reproduce this problem?".
Of course I know that I can disable v-sync or Vulkan in some cases, but this will not fix the issue itself. I really want the NVIDIA driver to be as good as possible.

But anyway, thanks for your suggestion, I'll try with other present modes such as VK_PRESENT_MODE_MAILBOX_KHR, if possible.

While you're here, please consider supporting GamingOnLinux on:

Patreon, Liberapay or PayPal Donation.

We have no adverts, no paywalls, no timed exclusive articles. Just good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register

Or login with...
Sign in with Steam Sign in with Twitter Sign in with Google
Social logins require cookies to stay logged in.