Wayland not starting or black screen at login
If your Wayland session does not start after entering your password, or you see a black screen, the issue is usually related to NVIDIA DRM KMS configuration.
Common causes
Section titled “Common causes”nvidia_drm.modeset=1is not enabled- In some setups,
nvidia_drm.fbdev=1is not enabled - Old/unstable NVIDIA driver
What to check
Section titled “What to check”sudo cat /sys/module/nvidia_drm/parameters/modesetsudo cat /sys/module/nvidia_drm/parameters/fbdevnvidia-smiIf modeset is not Y, add the parameter in GRUB and reboot.
How to enable parameters in GRUB
Section titled “How to enable parameters in GRUB”In /etc/default/grub, add to GRUB_CMDLINE_LINUX_DEFAULT:
nvidia_drm.modeset=1 nvidia_drm.fbdev=1Then run:
sudo update-grubsudo rebootAlternative via modprobe
Section titled “Alternative via modprobe”If you prefer setting parameters outside GRUB, create /etc/modprobe.d/nvidia-kms.conf:
options nvidia_drm modeset=1 fbdev=1Then rebuild initramfs and reboot:
sudo mkinitcpio -Psudo rebootIf Wayland still does not start
Section titled “If Wayland still does not start”- Log into an X11 session
- Check for NVIDIA driver updates
- Re-test Wayland after reboot
Source
Section titled “Source”- NVIDIA README: Direct Rendering Manager Kernel Modesetting
- NVIDIA README: Wayland Known Issues