*** This bug is a duplicate of bug 1969243 ***
    https://bugs.launchpad.net/bugs/1969243

Public bug reported:

Since the following commit, Wayland is not available (the gears button on the 
login screen does not show at all):
https://git.launchpad.net/ubuntu/+source/gdm3/commit/data/61-gdm.rules.in?h=applied/ubuntu/jammy&id=54712c1fdc52345749802a0c1d3647458b9c9bef

Commenting out the lines in /lib/udev/rules.d/61-gdm.rules that are
added by this commit resolves the problem.

The commit introduces a check for presence of some Nvidia utilities that
are required for suspend/resume under Wayland. However my machine does
not have an Nvidia GPU, so it is obviously missing those utilities, and
Wayland is disabled erroneously.

Upstream has an additional guard to skip these checks (and as such
keeping Wayland enabled) on non-Nvidia hardware, see
https://gitlab.gnome.org/GNOME/gdm/-/blob/main/data/61-gdm.rules.in#L50

It seems like these guards were accidentally omitted in the Ubuntu
cherry-pick.

To make matters worse, this missing guard causes "/usr/libexec/gdm-
runtime-config set daemon WaylandEnable false" to be executed on EVERY
udev event.

Probably related to bug 1968809 and bug 1968929.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gdm3 42.0-1ubuntu4
Uname: Linux 5.17.3-051703-generic x86_64
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Sun Apr 17 20:06:58 2022
EcryptfsInUse: Yes
InstallationDate: Installed on 2021-01-26 (446 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
SourcePackage: gdm3
UpgradeStatus: Upgraded to jammy on 2022-04-17 (0 days ago)
modified.conffile..etc.gdm3.custom.conf: [modified]
modified.conffile..etc.pam.d.gdm-password: [modified]
mtime.conffile..etc.gdm3.custom.conf: 2022-04-17T19:44:22.282278
mtime.conffile..etc.pam.d.gdm-password: 2021-01-26T15:05:43.349269

** Affects: gdm3 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug jammy third-party-packages

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

Title:
  Wayland disabled unconditionally on 22.04 (except for Nvidia)

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


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

Reply via email to