Fix race condition in gdm with simpledrm and real drm drivers

Bug #2039757 reported by Mario Limonciello
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gdm
Fix Released
Unknown
gdm3 (Ubuntu)
Fix Released
Undecided
Unassigned
Jammy
New
Undecided
Unassigned

Bug Description

[ Impact ]
When the kernel has been compiled with FB_EFI=n, FB_VESA=n, SIMPLEDRM=y a series of events can occur that cause simpledrm to race with GDM. When GDM loses the race then a user is left with a black screen.

This series of events doesn't currently happen in Jammy kernels, but can happen from a mainline kernel or HWE kernel that enables it. To protect users from this circumstance it is better to fix the race condition.

This issue has been readily reproduced in Ubuntu and reported to upstream mutter. It's also already fixed in GNOME 45, included in Mantic and later.
https://gitlab.gnome.org/GNOME/mutter/-/issues/2909

[ Test Plan ]
* Ensure that a kernel with required kernel changes can boot to GDM using DRM driver (amdgpu, i915, or nouveau)

[ Where Problems could occur ]
* GDM can take longer to start up while settling

[ Other Info ]
* Fedora bug: https://bugzilla.redhat.com/show_bug.cgi?id=2022385
* the changes needed to enable this in the kernel are tracked in bug 1965303

Changed in gdm3 (Ubuntu):
status: New → Fix Released
description: updated
Changed in gdm:
status: Unknown → Fix Released
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.