Is it me or is Nvidia on Wayland still a hot mess?
Hey all,
please tell me about your experience with modern Nvidia GPU's and Wayland. Because mine is just terrible.
I have an RTX 3060 OC (12GB) and the card works very well on Windows and X11. My distribution is Fedora Linux 39 (KDE Plasma) with the rpmfusion repos enabled. I use Nvidia's proprietary driver in its latest version from there, which is currently 545.29.06. Kernel 6.6.13. So it all seems very modern and up-to-date.
But everything comes crashing down when I try to use this GPU on Wayland. Yesterday I wanted to just watch a movie with mpv. After about 10 minutes, the screen started to flicker like an old CRT monitor running at a low refresh rate. I had to reboot to make it work again. Watched for another half hour or so and the screen just turned off and never turned back on again. Even switching to a console with Ctrl+F1 didn't work, but the system was still running.
The console is full of Nvidia-related errors and I have a ton of graphical glitches when I open up VS Code, for example - only part of the application refreshes properly sometimes, it seems a bit like part of the UI rendering is just massively lagging behind.
Keep in mind that all of these problems go away as soon as I switch to X11 or Windows. Is it just me or are Nvidia's drivers hot garbage and basically alpha software? I regret not going with an AMD card at this point. Even the Intel UHD620 in my notebook performs better than this.
Edit: I tried upgrading to the 550 beta driver now and it just segfaults in libnvidia-glcore.so when I try to run anything Wayland-related. Can’t even get to sddm with it anymore and have to start KDE from a TTY. Of course, xorg still works fine.
Edit #2: I was finally upgrade to the 550 beta, had to switch to Fedora 40 (which is the development branch) and patch the driver so the kernel module can be compiled. It seems to work a bit better, the UI lag isn't as massive and there are fewer glitches in VS Code. Still far from perfect, though - I still have out of order frames in Steam games and YouTube videos which are really annoying.
550 works a lot better for me in Wayland. A ton of games work now and VRR works properly in both X11 and Wayland. Some games still show out of order frames or glitching though.
I tried upgrading to the 550 beta driver now and it just segfaults in libnvidia-glcore.so when I try to run anything Wayland-related. Can't even get to sddm with it anymore and have to start KDE from a TTY. Of course, xorg still works fine.
Nvidia wayland has been pretty much smooth sailing for me since 535 from gaming to watching movies to running self hosted AI on cuda. I am currently on 550 and oh also on rtx 3060 mobile. Hope things get bettet for you in the future
I also run KDE on nvidia and have problems with Wayland. Supposedly the new drivers (version 550) have some improvements for Wayland, but I haven't tried out the beta yet.
Plasma 6 is just around the corner and it also has Wayland improvements.
When both land I'll probably try Wayland again, but for now X works really well for me and I don't feel I'm missing anything by not using Wayland. If anything, moving to Wayland will break some things (like global auto type in KeepassXC )
It's a crappy situation with Nvidia, even outside of this. A while ago, my ubuntu system informed me of updates, and it happily installed the 6.5 kernel. Turns out, nvidia drivers don't work with this kernel..... Apparently this sort of thing happens all the time, which would seem easily avoidable.
I gave it a try on my bare Debian 12 (kernel 6.1) install last week and a 3090.
KDE Plasma, on Wayland, worked out of the box but with poor performance. After following the official guide to installing the proprietary drivers, the Wayland session no longer works. After entering my password in SDDM I get a blank screen with a solid text cursor in the upper corner until I forcefully power cycle the machine.
I’ll stick to x11 for now, which works flawlessly with great performance in games (~200fps in Baldur’s Gate 3, max settings 1440p @ 240hz).
Ubuntu (Gnome) with wayland spammed my log with errors, often apps wouldnt open, games worked mostly which was nice but I had to do a lot of tinkering.
Debian with Kde doesnt even let me log in on wayland, I had to switch back to x11 for now. There are workarounds afaik but rn I‘m ok with x11, sort of fearing to break other stuff with the workaround.
Then lastly just look at the amounts of protondb.com posts where nvidia workarounds are posted vs the amount of amd. Its brutal.
I see exactly the same thing with a 3080ti on Fedora Gnome.
Lots of flickering, especially in VS Code, cursor freezes or straight up disappears, screen blacks out and I can't get it back or switch to other TTYs.
I haven't tested against X11 yet, but I'll probably get around to it this weekend.
Good to see I'm not alone with this. I have multiple monitors with various resolutions (4K, 2K and an old 1600x1200 VGA screen) and I like the fractional scaling methods Wayland has. It makes it really easy to combine all of these screens into one useable area.
Fractional scaling on X11 can be enabled but it's such a massive performance hit, that it doesn't make any fun or sense to use it.
On my UHD 620, Wayland is rock-solid. Everything just works, it never crashes, I don't have any glitches and the performance is great. On Nvidia, when it's not just crashing it still feels laggy. Even moving around windows seem to be a struggle for the system and it's so sad to see that.
i had previously rtx 4070, which worked really well with the 535 drivers on plasma wayland. however i sold that gpu and bought 4070tis and now i have to use the 550 driver, which has a lot of problems. i'm just waiting for nvk to become stable and performant enough to ditch the proprietary nvidia drivers for good.
It works pretty well for me with Kubuntu and Wayland and I have a rather non-standard AMD motherboard with an RTX3060 GPU on a laptop so it has to handle GPU switching as well.
I have found that some configurations like usb-c displayport only seem to work when I set Nvidia as the primary GPU, but in general it all works well and I actually had more issues with X11 in the end.