Wayland flickering problems on Nvidia - causes & future resolution

@mythmon I’ve seen you have this issue before with Minecraft

The flickering is caused by the lack of explicit sync on Wayland with Nvidia drivers.

Related Gitlab issues: Explicit GPU Synchronization for DRI3, Present, and Xwayland (!967) · Merge requests · xorg / xserver · GitLab
linux-drm-syncobj-v1: new protocol (!90) · Merge requests · wayland / wayland-protocols · GitLab

Both the wayland-protocols merge request and the v555 Nvidia driver are required in tandem to remove flickering.

2 Likes

The merge requests will also (hopefully) fix any flickering you experience on Electron applications.

when will it be integrated into nixos?

oh wow! I’ve been waiting for this for so long I’ve given up nvidia+wayland combination, seeing how some discussion threads date back 4-6 years ago

P.S. oh, i even remembered I’ve posted a question about it in this forum: XWayland+Nvidia jitter mitigation question

workaround was to use __GL_MaxFramesAllowed=1 that caused terrible performance drop and still did not fix missing redraws in programs that called redraw on certain events only