Wayland disabled unconditionally on 22.04 (except for Nvidia)

Bug #1969311 reported by Bert Massop
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gdm3 (Ubuntu)
New
Undecided
Unassigned

Bug Description

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

Revision history for this message
Bert Massop (bert-massop) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.