summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2022-03-01 13:25:02 -0500
committerRay Strode <rstrode@redhat.com>2022-03-01 15:40:13 -0500
commit895f765aa8cc5a9dd2901be65bcd638b8aa7c577 (patch)
treeb2e55263cef22d9eef1749388f0da4cf7d7c487f /.gitlab-ci.yml
parent32035b7e134b2003cc2de50c3d51915c3fecc281 (diff)
downloadgdm-895f765aa8cc5a9dd2901be65bcd638b8aa7c577.tar.gz
local-display-factory: Stall startup until main graphics card is ready
At the moment, GDM waits until systemd says the system supports graphics (via the CanGraphical logind property). Unfortunately, this property isn't really what we need, since it flips to true when *any* graphics are available, not when the main graphics for the system are ready. This is a problem on hybrid graphics systems, if one card is slower to load than another. In particular, the vendor nvidia driver can be slow to load because it has multiple kernel modules it loads in series. Indeed on fast systems, that use the vendor nvidia driver, it's not unusual for boot to get to a point where all of userspace up to and including GDM is executed before the graphics are ready to go. This commit tries to mitigate the situation by adding an additional, check aside from CanGraphical to test if the system is ready. This check waits for the graphics card associated with boot to be fully up and running before proceeding to start a login screen. Closes: https://gitlab.gnome.org/GNOME/gdm/-/issues/763
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1ea365a9..cba32d82 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -21,6 +21,7 @@ build-fedora:
libXdmcp-devel
libattr-devel
libcanberra-devel
+ libgudev-devel
libdmx-devel
libselinux-devel
libtool