On an X570 motherboard with 5600X processor and GTX 1050 graphics card, I was able to restore Wayland by simply commenting out the 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"
in /lib/udev/rules.d/61-gdm /lib/udev/rules.d/61-gdm. I would note that logging out back to gdm doesn't make these changes to /lib/udev/rules.d/61-gdm take effect. I always have to restart the system when I edit /lib/udev/rules.d/61-gdm.
On an X570 motherboard with 5600X processor and GTX 1050 graphics card, I was able to restore Wayland by simply commenting out the 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\ "" PRESERVE_ VIDEO_MEMORY_ ALLOCATIONS} !="1", GOTO="gdm_ disable_ wayland"
ENV{NVIDIA_
in /lib/udev/ rules.d/ 61-gdm /lib/udev/ rules.d/ 61-gdm. I would note that logging out back to gdm doesn't make these changes to /lib/udev/ rules.d/ 61-gdm take effect. I always have to restart the system when I edit /lib/udev/ rules.d/ 61-gdm.