NVIDIA support in Wayland
Hi,
after many years with amdgpu and (almost) no issues, I plan to buy a recent NVIDIA GPU. I still remember those pain days in early 2010s.
Is it better now (with drivers 470+)? I use GNOME/Wayland.
About this post
- Posted
- Archived
- Score
- 17 · 96% up
- Kind
- Text
- ID
- ppknn4
27 comments
Better stick to AMD in my opinion if you have a choice. For Linux users that are not desperately requiring a specific feature that only NVIDIA can provide, AMD should be preferred due to much better vanilla support…
This is very good advice! NVIDIA is just not worth the trouble. AMD and Intel both have really good open source drivers, which respect the standards and work great under X and wayland. NVIDIA just doesn't care for linux.
The real problem for me was that I didn't have a choice unless I want to spend another $300 usd for equivalent amd gpu. Gpus are still overpriced right now.
It's better than nothing, but it's still bad.
It’s really not. Most recent nVidia drivers run Wayland Gnome just fine.
It's still using XWayland, isn't it?
How? My gnome desktop still uses xorg
There have been issues with vulkan and wayland with the nvidia drivers. Stuff like
vulkaninfowould segfault, currently it just spits out an error instead.Currently only EGLStreams is supported, which means only gnome and KDE actually supports it afaik. You said you use gnome, so that might not be a problem then, but it limits your options if you ever want to switch.
A lot of issues reported on their official forums never even get a reply: https://forums.developer.nvidia.com/c/gpu-graphics/linux/148
Usually that wouldn't be a problem due to the arch forums probably being a better resource, but if you legitimately find a regression or bug that affects you, then you might have a very frustrating experience trying to actually do a bug report.
Personally I'd be hesitant.
Next driver release will support GBM, and there will be no such problem anymore.
Has that actually been confirmed by nvidia? If so, then that'll be very nice!
There's also a fork of
wlrootscalledwlroots-eglstreamsthat helpswlroots-based WMs, e.g.,sway,river, etc. work with Nvidia drivers. However, I experience high CPU usage/temps while gaming under Wayland compared to X11 so I haven't made a full switch yet. Other draw backs include inability to usenvidia-settingsor manually set Nvidia fan speeds since that is tied into Xorg configs for some reason.Didn't know about that, thanks for the info!
It's improving.
Thanks!
I was waiting for this! Maybe I could use sway again without crashes!
Assuming your card gets decent support in the proprietary drivers by the time you start needing to use the hardware, you should be ok Wayland-wise.
I don't have any nvidia machines to test with, but IIRC the last major sticking point was poor performance with XWayland, but that has been improved with recent driver versions.
Check out what the wiki has to say about it: https://wiki.archlinux.org/title/Wayland#Nvidia_driver
It's improved a little bit for me, in that now it just boots me back out to the login screen instead of locking up the whole system, so one step at a time I guess lol.
I currently use Wayland Gnome with an RTX 2070 with no issue.
I use it on Gnome. Overall, it works pretty well. But games can feel stuttery and there's currently a bug in driver 470 that breaks all DirectX12 games.
if you want to actually use your graphics card and play games you wont be running wayland
No, games on Xorg or Windows, I meant standard work + VAAPI-acc video.
No, don't get nvidia. It will suck and you will be funding a shitty company.
Thank you! Yes, I'm buying a newer AMD.
no
lol