You are not logged in.

#1 2023-11-24 09:18:37

Idiot
Member
Registered: 2023-10-15
Posts: 7

[Solved] Wayland not working properly with Nvidia

Wayland seems to be refusing to start when launching Arch Linux

After installing a bare metal, minimal installation of Arch Linux, i made sure to follow the steps listed here: https://wiki.archlinux.org/title/NVIDIA to install my nvidia drivers.

After all that, i installed Wayland, and a few miscellaneous packages (namely xorg-xwayland, xorg-xlsclients, and glfw-wayland), along with gdm and gnome (along with gnome-tweaks and some other non-noteworthy packages).

After rebooting, i should've been greeted with the gdm greeter, but i was met with the usual terminal that you get with minimal Arch Linux installations.

After some experimenting, i found a really hacky way to boot up gnome: by installing sddm with X11, and selecting "Gnome (Wayland)" on the desktop environments drop-down list. This does allow gnome to start, however i don't think wayland itself starts, as all animations outside of any applications are completely missing, and gnome cannot detect multiple displays, just resorting to simply displaying the same image on all monitors, so i assume gnome booted with X11 instead. Any ideas of what i can do to fix this, or am i royally fucked?

If i need to provide more information, please say so, and i will provide it to the best of my ability.

Last edited by Idiot (2023-11-24 21:52:28)

Offline

#2 2023-11-24 12:08:27

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,387

Re: [Solved] Wayland not working properly with Nvidia

For wayland nvidia anything to work properly nvidia-drm.modeset=1 needs to be enabled, is that the case? https://wiki.archlinux.org/title/NVIDIA … de_setting

GNOME/GDM has also some additional heuristics that you either need to handle via configuration or by ignoring the udev rule making these checks: https://wiki.archlinux.org/title/GDM#Wa … DIA_driver

Offline

#3 2023-11-24 21:52:04

Idiot
Member
Registered: 2023-10-15
Posts: 7

Re: [Solved] Wayland not working properly with Nvidia

After implementing your suggested fixes, and rectifying a couple additional issues with GDM, it all works. Thanks for the info.

Offline

Board footer

Powered by FluxBB