summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2022-02-15 11:15:00 -0500
committerRay Strode <rstrode@redhat.com>2022-02-15 12:26:01 -0500
commit8393c59d193667e20174715b0754cda70eeec5f5 (patch)
tree42f776eba78f780270f76d624233f9d4754d7c25 /data
parentef5a3d76afca9ba6b4d8a33940190d0bae8dd1d7 (diff)
downloadgdm-8393c59d193667e20174715b0754cda70eeec5f5.tar.gz
data: Fix logic error in single card vendor nvidia cases
At the moment we neglect to clean up the sync file GDM uses to know when it's okay to start in the case there's only a single card. This commit fixes that. https://gitlab.gnome.org/GNOME/gdm/-/issues/763
Diffstat (limited to 'data')
-rw-r--r--data/61-gdm.rules.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/61-gdm.rules.in b/data/61-gdm.rules.in
index 9451c12e..d4f094ea 100644
--- a/data/61-gdm.rules.in
+++ b/data/61-gdm.rules.in
@@ -30,7 +30,7 @@ ATTR{parameters/modeset}!="Y", GOTO="gdm_disable_wayland"
# disable wayland for nvidia drivers versions lower than 470
ATTR{version}=="4[0-6][0-9].*|[0-3][0-9][0-9].*|[0-9][0-9].*|[0-9].*", GOTO="gdm_disable_wayland"
# For nvidia drivers versions Above 510, keep Wayland by default
-ATTR{version}=="[5-9][1-9][0-9].*", GOTO="gdm_end"
+ATTR{version}=="[5-9][1-9][0-9].*", GOTO="gdm_stop_waiting_on_udev"
# For nvidia drivers versions 470-495, prefer Xorg by default
GOTO="gdm_prefer_xorg"
LABEL="gdm_nvidia_drm_end"