Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 928908

Summary: x11-drivers/nvidia-drivers 550.67 VRR tearing/bugging under wayland KDE during windowed gaming
Product: Gentoo Linux Reporter: screenager
Component: Current packagesAssignee: Ionen Wolkens <ionen>
Status: RESOLVED UPSTREAM    
Severity: normal CC: ionen, soap
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description screenager 2024-04-07 22:49:14 UTC
Just did a new world update and pulled the latest nvidia drivers. They make every game have bad tearing/weird framebuffer flickering. It only happens when running games in windowed mode. Downgrading to 535 fixed the issue. Possible bad interaction with kwin?

Using a RTX 3060 and two AOC 144 HZ displays with KDEs display settings set to always use adaptive sync.
Comment 1 Ionen Wolkens gentoo-dev 2024-04-10 20:46:56 UTC
There's been talk here and there of adaptive sync / VRR being wonky with two screens + wayland like in [1] (assume the games are using xwayland, thus why some comments talk about it).

But nothing I can really do about this downstream in nvidia-drivers and do not believe it is a packaging issue. Can only suggest to stick to 535 until nvidia sorts this out, try disabling adaptive sync, or try a Xorg session. Don't think I'd want to go as far as masking the 550.x branch given it does fix several issues for other setups and isn't broken for "most" people.

Note that 535 will be supported and keep getting security/bugfix updates for a while still, so there's no harm in choosing to use it for a while.

[1] https://forums.developer.nvidia.com/t/vrr-not-working-on-wayland-with-2-screens-545-23-06/270259
Comment 2 Ionen Wolkens gentoo-dev 2024-04-11 04:58:45 UTC
Also, unsure but I think this is going to help:

https://www.phoronix.com/news/KDE-KWin-Lands-Explicit-Sync