Public bug reported: Due to a current limitation in the nvidia binary driver, when enabling KMS (to use Wayland), any X11 sessions will crash.
Ideally, GDM would check if modesetting is enabled in the nvidia driver, and blacklist the X11 sessions. The following command can tell you whether the parameter is enabled or not: :$ sudo cat /sys/module/nvidia_drm/parameters/modeset Y NOTE: KMS is disabled by default in the nvidia driver, and it is possible to enable it by editing the following file /etc/modprobe.d/nvidia-graphics-drivers.conf and by changing the following line: options nvidia_375_drm modeset=0 to this: options nvidia_375_drm modeset=1 Then you will probably have to update the initramfs too. ** Affects: gdm3 (Ubuntu) Importance: Medium Status: New ** Changed in: gdm3 (Ubuntu) Importance: Undecided => Medium ** Description changed: Due to a current limitation in the nvidia binary driver, when enabling KMS (to use Wayland), any X11 sessions will crash. Ideally, GDM would check if modesetting is enabled in the nvidia driver, and blacklist the X11 sessions. The following command can tell you whether the parameter is enabled or not: :$ sudo cat /sys/module/nvidia_drm/parameters/modeset Y NOTE: KMS is disabled by default in the nvidia driver, and it is possible to enable it by editing the following file - /etc/modprobe.d/nvidia-graphics-drivers.com + /etc/modprobe.d/nvidia-graphics-drivers.conf and by changing the following line: options nvidia_375_drm modeset=0 to this: options nvidia_375_drm modeset=1 Then you will probably have to update the initramfs too. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1697882 Title: GDM should not allow X11 sessions when NVIDIA's KMS is enabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1697882/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs