Jeremy, I'm not sure the fix is complete yet, did you test this? I
believe our added patch still removes the nvidia-only guard block
(leaving only the gdm_nvidia_end label, but no jump to it), so the
nvidia suspend checks are still applied to other machines (which will
not have e.g. /usr/bin/nvidia-sleep.sh and thus have wayland disabled).


I confirmed this by cloning ubuntu3 from salsa, applying your debdiff, applying 
all quilt patches, manually patching up data/61-gdm.rules.in (@libexec@ -> 
/usr/libexec) and installing that rules file. With that, I still see the 
problem - no wayland.

If I re-add the guard block (and reboot), I do get a wayland session as
expected.

I've attached an updated debdiff against ubuntu3 that I succesfully
tested with.

Note that in addition to the guard block, it also leaves in this comment
and run line that I'm not sure is relevant anymore, but I'll leave that
for you to judge:

# The vendor nvidia driver has multiple modules that need to be loaded before 
GDM can make an
# informed choice on which way to proceed, so force GDM to wait until NVidia's 
modules are
# loaded before starting up.
(...)
RUN+="/usr/bin/touch /run/udev/gdm-machine-has-vendor-nvidia-driver"

** Patch added: 
"debdiff-from-working-gdm3_42.0-1ubuntu3-updated-with-guardblock.diff"
   
https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1969243/+attachment/5581062/+files/debdiff-from-working-gdm3_42.0-1ubuntu3-updated-with-guardblock.diff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1969243

Title:
  gdm 42.0-1ubuntu4 no longer shows Wayland option

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1969243/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to