Skip to content

Instantly share code, notes, and snippets.

@FSund
Last active November 21, 2024 04:12
Show Gist options
  • Save FSund/bb5bb16b396b7c158dde91e79096fa07 to your computer and use it in GitHub Desktop.
Save FSund/bb5bb16b396b7c158dde91e79096fa07 to your computer and use it in GitHub Desktop.
Enable Wayland on Arch on Dell Precision 5680

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment