Comment 9 for bug 1968929

Revision history for this message
Pirouette Cacahuète (lissyx) wrote : Re: No Wayland support on my NVIDA laptop

While this might sound as fishy, I hit the same problem, but my laptop is NOT with NVIDIA hardware ; it's a ThinkPad P14s Gen 2 AMD, with an AMD GPU. I had to reboot over the last few days and got no issue, until I rebooted one hour ago and got stuck on X11 instead of Wayland. After I found about that bug report and commented around the lines mentionned in comment #4, I could get back Wayland working.

Specifically, those:
> #### Check if suspend/resume services necessary for working wayland support is available
> ###TEST{0711}!="/usr/bin/nvidia-sleep.sh", GOTO="gdm_disable_wayland"
> ###TEST{0711}!="/usr/lib/systemd/system-sleep/nvidia", GOTO="gdm_disable_wayland"
> ###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"
> ###IMPORT{program}="/bin/sh -c 'echo NVIDIA_HIBERNATE=`systemctl is-enabled nvidia-hibernate`'"
> ###ENV{NVIDIA_HIBERNATE}!="enabled", GOTO="gdm_disable_wayland"
> ###IMPORT{program}="/bin/sh -c 'echo NVIDIA_RESUME=`systemctl is-enabled nvidia-resume`'"
> ###ENV{NVIDIA_RESUME}!="enabled", GOTO="gdm_disable_wayland"
> ###IMPORT{program}="/bin/sh -c 'echo NVIDIA_SUSPEND=`systemctl is-enabled nvidia-suspend`'"
> ###ENV{NVIDIA_SUSPEND}!="enabled", GOTO="gdm_disable_wayland"