Tested on Arch with GNOME and GDM, using proprietary NVIDIA drivers on a Dell Precision 5680.
Install nvidia
or nvidia-dkms
version >=545.
Enable DRM KMS by adding kernel parameters modeset=1
and fbdev=1
. If using systemd-boot
edit your boot entry (for example /boot/loader/entries/arch.conf
) and modify the options
line as follows
options <existing options> modeset=1 fbdev=1
See here for other bootloaders.
Force GDM to use Wayland
ln -s /dev/null /etc/udev/rules.d/61-gdm.rules
Reboot and check that Wayland is enabled
> echo $XDG_SESSION_TYPE
wayland
Here are some more troubleshooting steps that might help: https://wiki.archlinux.org/title/GDM#Wayland_and_the_proprietary_NVIDIA_driver