535.54.03 Screen tearing while gaming on Wayland session

Hi!

The latest stable Nvidia driver 535.54.03 introduces screen tearing to games running with V-sync in a GNOME Wayland session. Tested a few games, some running through DXVK, some through VKD3D-Proton. Doesn’t make a difference. Desktop is unaffected, but Vulkan apps are. This issue isn’t present in previous stable driver release.

I am running:
Fedora Linux 38 (6.3.8-200.fc38.x86_64)
GNOME 44.2
Intel i5 10400
16GB RAM
Nvidia RTX 3060 (535.54.03)

3 Likes

535 release should fix tearing issue on rather than cause. NVIDIA implemented DMA_BUF_v4 support that other GPU’s can access their buffers, it can eleminate tearing issues. GNOME can use advantages of DMA_BUF_v4 too. Older versions of XWayland can’t use advantages of DMA_BUF_v4. Check updates via Fedora’s package management system. Also you can try running games with “__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia” environmental variable.

Unfortunately this doesn’t fix my issue. It’s not a PRIME system. I only have a dedicated GPU. I have tried these env vars you’ve provided, but no luck. Doesn’t change a thing. Maybe you’re right about the XWayland being to old, but no updates on Fedora so far. I’ve only received the EGL-Wayland update recently, but that didn’t help as well.

I’m also having this issue after switch to 535.54.03

I am running:
Garuda Linux - KDE Lite (6.3.9-zen1-1-zen)
KDE Plasma 5.27.6
Ryzen 5 2600
Nvidia GTX 970 (535.54.03)

Also happening on Fedora Kinoite (Ublue OS version). Happening in Elder Scrolls Online and Mordhau. Not happening with 530.41.03.

RTX 2070

1 Like

Still happening with 535.86.05

Maybe try https://bodhi.fedoraproject.org/updates/FEDORA-2023-9f374a6b9e

Same problem, but I’m on Arch / Zen 6.4.4 / Nvidia 535 / Gnome 44.

I have also been running into this and is easily noticeable on the 165hz monitor, so far Insurgency Sandstorm can exhibit a lot of tearing.

Did you enable vsync? Taht seems to solve the issue for me.

Unfortunately doesn’t change a thing for me. Still tearing on Wayland. Also the latest 535.86.05 has the same problem.

wayland already does “mailbox” vsync that currently cannot be disabled, with that being said on KDE Plasma which I use it also has additional forced vsync which will be fixed in 545 … tearing should not occur.

Problem is still occurring on 535.98 driver. There is a clearly visible horizontal tearing when playing on Wayland. It’s not happening on X11.

I’m also having this issue on GNOME 44 in Fedora 38. It doesn’t happen on KDE Plasma, so it seems to be an issue with the nvidia drivers and GNOME / Mutter.

I experience it on KDE Plasma

Operating System: EndeavourOS
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10
Kernel Version: 6.4.10-x64v2-xanmod1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800X3D 8-Core Processor
Memory: 31,2 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3090/PCIe/SSE2

Issue is still present on the 535.104.05 drivers. Running Wayland and GNOME 44.4.

Issue is still present on the 535.104.05 drivers. Running Wayland and KDE PLASMA 5.27.7

Same. Horizontal “tearing” (I’d say it’s not the usual tearing, but a more “glitchy” one) on the upper part of the screen while gaming on wayland+nvidia+kde. Arch. Issue wasn’t present on 530. More noticeable with lower frame rates, but always noticeable even at 144hz.

same, pretty noticable in overwatch 2 although it only happens in the top left corner of my screen.

1 Like

Same issue. I get constant screen tearing in the top 10% of my screen on almost any game irrespective of settings in the game or kde. Running ublue kinoite