The settings I adapted are:
options nvidia_drm modeset=1
#WaylandEnable=false is commented in
comment all lines with
reboot and select "Gnome" (not "Gnome on Xorg") with cogwheel in login screen
check (output should be
My experience with Wayland:
Matlab and VMWare Workstation Player complain about missing OpenGL hardware acceleration. But overall I am very happy with Wayland. No special tricks needed for many applications like Spotify and Matlab which previously did not scale in Xorg. With Wayland Matlab scales perfectly out of the box. Also resume from suspend to RAM now works for the first time on this laptop. Though it takes 1 minute 45 seconds from power button to lock screen. VLC full screen also works great, previously not possible in Xorg.
Waiting for NVIDIA 470 series to have OpenGL hardware acceleration.
Up to now I only have one issue: connecting an external monitor to the HDMI connector freezes Ubuntu completely. Nothing is shown on the external monitor and power button hard reset is the only option.
I made a post on the nVIDIA linux forum:
[EDIT] I found out that the Intel GPU is driving the display and that is what most probably causes a successful resume from suspend to RAM. But nVIDIA can be used for CUDA calculations via Matlab and Mathematica and also via Jupyter Notebook and libcudnn8. So nVIDIA GPU is available but does not drive the screen and that is most probably why connecting an external monitor leads to Ubuntu freeze. Even though:
Does anybody know how to let Ubuntu Gnome on Wayland choose the nVIDIA GPU to drive the laptop display?