Vsync does not work while using PRIME Render offloading optimus NVIDIA GPU

Hi,

I am facing this issue on two optimus laptop.

One with a GTX 980m under Ubuntu Budgie 20.04 (kernel 5.4) and the one with a GTX 1060 Max-Q under Solus os Budgie (kernel 5.5).

When using prime render offload the vsync doesn’t work anymore not matter what I try using DXVK.

Budgie DE is normally using vsync.

I disable unredirection to no avail.

Is there a command that we can use to force vsync when launching the game ?

@wpierce

Is there anything you can help with?

Could this be linked to this bug : Hangs/Freezes when Vulkan v-sync (VK_PRESENT_MODE_FIFO_KHR) is enabled

DXVK use this option to enable vsync VK_PRESENT_MODE_FIFO

I tried using libstrangle to force vsync to no avail, but at least I can limit the fps which prevent the CPU/GPU from overheating.

Thank you in advance.