[535.86.05] Low framerate Vulkan apps stutter under Wayland/XWayland

OS: Arch Linux
Kernel: 6.4.7-zen1-1-zen
GPU: RTX 3060 Ti
Driver Ver: 535.86.05 (nvidia-dkms package)
Bug report gz:
nvidia-bug-report.log.gz (1.0 MB)

Vulkan apps presenting with a framerate lower than the framerate of the monitor appear to stutter, presumably due to the driver sending the wrong image to the compositor.
This happens under most, if not all major Wayland compositors (Tested: Plasma, Sway, Hyprland).
I can rule out the possibility of an application bug or a compositor bug, since this issue doesn’t occur on Windows nor on other hardware (Tested: Intel iGPU) with the same application and compositor.

It seems like the stuttering is more frequent, the further apart the refresh rate of the monitor and the application framerate is.
OpenGL doesn’t seem to be affected.

A video from the issue occurring with my own application running under native Wayland, with 30 FPS on a 170 Hz monitor

A slow motion video from the issue occuring with a slightly modified version of Sascha Willems deferred shadows example (GitHub - SaschaWillems/Vulkan: Examples and demos for the new Vulkan API) running under XWayland, also 30 FPS on a 170Hz monitor. See patch for all the edits made (Mostly forcing the example to run at 30 FPS).
framelimit.patch (1.8 KB)

In case anyone has the same issue, the new beta driver (545.23.06) appears to have fixed the issue.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.