Comment 0 for bug 1697882

Revision history for this message
Alberto Milone (albertomilone) wrote :

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

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.