summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2019-04-15 10:53:25 -0400
committerRay Strode <rstrode@redhat.com>2020-05-04 10:15:31 -0400
commit07e4fb92c76839ee61cfa311381c63b772067377 (patch)
tree0878ae8e61ae684ef061fdd6534fc6c3357a8dd8 /data
parent4cf6e95912d89bcb88a32b48dd21028b646e9e75 (diff)
downloadgdm-07e4fb92c76839ee61cfa311381c63b772067377.tar.gz
data: disable wayland if modesetting is disabled
wayland requires working modesetting, so don't even bother trying it if modesetting is disabled. This is more efficient and side-steps a bug in the fallback logic if start up is unreasonably slow.
Diffstat (limited to 'data')
-rw-r--r--data/61-gdm.rules.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/data/61-gdm.rules.in b/data/61-gdm.rules.in
index ba0b697a..984fdd44 100644
--- a/data/61-gdm.rules.in
+++ b/data/61-gdm.rules.in
@@ -2,3 +2,5 @@
ATTR{vendor}=="0x19e5", ATTR{device}=="0x1711", RUN+="@libexecdir@/gdm-disable-wayland"
# disable Wayland when using the proprietary nvidia driver
DRIVER=="nvidia", RUN+="@libexecdir@/gdm-disable-wayland"
+# disable Wayland if modesetting is disabled
+IMPORT{cmdline}="nomodeset", RUN+="@libexecdir@/gdm-disable-wayland"