Skip to content

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.

17 points27 comments
Open on Reddit
About this post
Posted
Archived
Score
17 · 96% up
Kind
Text
ID
ppknn4

Author

34
posts
69
comments
0
media
View profile

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…

23 points

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.

2 points

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.

2 points

It's better than nothing, but it's still bad.

22 points

There have been issues with vulkan and wayland with the nvidia drivers. Stuff like vulkaninfo would 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.

9 points

There's also a fork of wlroots called wlroots-eglstreams that helps wlroots-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 use nvidia-settings or manually set Nvidia fan speeds since that is tied into Xorg configs for some reason.

3 points

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

2 points

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.

2 points

I currently use Wayland Gnome with an RTX 2070 with no issue.

2 points

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.

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.