#Gnome starting on X11 instead of Wayland after updating system
4 messages · Page 1 of 1 (latest)
Wayland and the proprietary NVIDIA driver
To use Wayland in GDM with the NVIDIA driver, you must first enable NVIDIA#DRM kernel mode setting.
Note: If the Wayland option is not displayed in GDM, even after enabling KMS and configuring Wayland, then you most likely have
NVreg_PreserveVideoMemoryAllocationsand NVIDIA systemd services disabled. Before trying the method below to force Wayland, follow NVIDIA/Tips and tricks#Preserve video memory after suspend first.
As of GDM 42 and NVIDIA driver 510, GDM defaults to Wayland. For older NVIDIA drivers (in between version 470 and 510), GDM has chipset-dependent udev rules to use Xorg rather than Wayland. To force-enable Wayland, override these rules by creating the following symlink:
# ln -s /dev/null /etc/udev/rules.d/61-gdm.rules
Note: This command works because rules in /etc/udev/rules.d/ override those in /usr/lib/udev/rules.d/ (see udev#About udev rules). It is also advised to modify files in /etc/ rather than in /usr/ as those are managed by pacman.
If, instead of GDM, a black screen appears, try disabling integrated graphics in your computer's BIOS settings.
also check what entry you are logging in to within GDM