I was wondering if there is an ETA on when NVidia will fully support Wayland (if not already)?
I have the latest proprietary driver installed (GeForce 940M 390.25 driver) however, I have to set the GPU (prime-select) to Intel in-order to login (otherwise need to fix using tty2). I assume this is because the NVidia driver still does not support Wayland. I do all of my GPU intensive activities on Windows however, still would like the option in Ubuntu 17.10 to use the better-performance NVidia GPU.
By accident, trying to fix screen tearing when using latest Nvidia driver in X.org, when I rebooted noticed that it rebooted into Wayland (tested with
echo $DESKTOP_SESSION
). Idecided to tryprime select query
, I got:nvidia
.The Solution:
sudo nano /etc/modprobe.d/zz-nvidia-modeset.conf
add options "nvidia-drm modeset=1" and save.Run
sudo update-initramfs -u
check:
sudo cat /sys/module/nvidia_drm/parameters/modeset
Should say
y
formodeset=1
then,xrandr --verbose
1st section, (the laptop display), should showPRIME Synchronization: 1
Note: Nvidia-settings still do not open even with
xhost +local
.ERROR: Unable to load info from any available system