[gdm/fix-logic-error-in-udev-rule] data: Fix logic error in single card vendor nvidia cases




commit 8393c59d193667e20174715b0754cda70eeec5f5
Author: Ray Strode <rstrode redhat com>
Date:   Tue Feb 15 11:15:00 2022 -0500

    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

 data/61-gdm.rules.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/data/61-gdm.rules.in b/data/61-gdm.rules.in
index 9451c12e7..d4f094ea2 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"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]