Comment 4 for bug 1968929

Revision history for this message
Marcos Alano (mhalano) wrote : Re: No Wayland support on my NVIDA laptop

I got the gdm3 package version 42.0-1ubuntu4 and still don't get Wayland. I troubleshot and found the problem in the file /lib/udev/rules.d/61-gdm.rules in the following lines:
IMPORT{program}="/bin/sh -c \"sed -e 's/: /=/g' -e 's/\([^[:upper:]]\)\([[:upper:]]\)/\1_\2/g' -e 's/[[:lower:]]/\U&/g' -e 's/^/NVIDIA_/' /proc/driver/nvidia/params\""
ENV{NVIDIA_PRESERVE_VIDEO_MEMORY_ALLOCATIONS}!="1", GOTO="gdm_disable_wayland"
If I comment that Wayland appears as an option in GDM.
I had to create a file /etc/modprobe.d/nvidia-hack.conf with the follow content:
options nvidia NVreg_PreserveVideoMemoryAllocations=1
This theoretically enable the option to preserve video memory allocations, but still getting the option as "1", still don't enable Wayland.