3561251
From 07e4fb92c76839ee61cfa311381c63b772067377 Mon Sep 17 00:00:00 2001
bb090eb
From: Ray Strode <rstrode@redhat.com>
bb090eb
Date: Mon, 15 Apr 2019 10:53:25 -0400
bb090eb
Subject: [PATCH] data: disable wayland if modesetting is disabled
bb090eb
bb090eb
wayland requires working modesetting, so don't even
bb090eb
bother trying it if modesetting is disabled.
bb090eb
bb090eb
This is more efficient and side-steps a bug in the fallback
bb090eb
logic if start up is unreasonably slow.
bb090eb
---
bb090eb
 data/61-gdm.rules.in | 2 ++
bb090eb
 1 file changed, 2 insertions(+)
bb090eb
bb090eb
diff --git a/data/61-gdm.rules.in b/data/61-gdm.rules.in
3561251
index ba0b697a2..984fdd447 100644
bb090eb
--- a/data/61-gdm.rules.in
bb090eb
+++ b/data/61-gdm.rules.in
3561251
@@ -1,4 +1,6 @@
bb090eb
 # disable Wayland on Hi1710 chipsets
bb090eb
 ATTR{vendor}=="0x19e5", ATTR{device}=="0x1711", RUN+="@libexecdir@/gdm-disable-wayland"
bb090eb
 # disable Wayland when using the proprietary nvidia driver
bb090eb
 DRIVER=="nvidia", RUN+="@libexecdir@/gdm-disable-wayland"
bb090eb
+# disable Wayland if modesetting is disabled
bb090eb
+IMPORT{cmdline}="nomodeset", RUN+="@libexecdir@/gdm-disable-wayland"
bb090eb
-- 
3561251
2.26.0
bb090eb