summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Ã…dahl <jadahl@gmail.com>2018-09-06 10:14:08 -0400
committerRay Strode <rstrode@redhat.com>2018-09-06 10:20:05 -0400
commit5cd78602d3d4c8355869151875fc317e8bcd5f08 (patch)
treeb9b8538fd526a466d44b2bb6bf35bb89f3ae9007
parentef231c2790e7a3bbee3f09ac4a125e28e95011b4 (diff)
downloadgdm-5cd78602d3d4c8355869151875fc317e8bcd5f08.tar.gz
data: disable wayland for proprietary nvidia machines
At the moment GLX applications don't work well when the proprietary nvidia driver is used with a wayland session. For now, disable wayland on that hardware, and users who want to opt in can just edit the udev rule. (or add their own that overrides it)
-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 c9f6110d..ad5b87d4 100644
--- a/data/61-gdm.rules.in
+++ b/data/61-gdm.rules.in
@@ -2,3 +2,5 @@
ATTR{vendor}=="0x1013", ATTR{device}=="0x00b8", ATTR{subsystem_vendor}=="0x1af4", ATTR{subsystem_device}=="0x1100", RUN+="@libexecdir@/gdm-disable-wayland"
# disable Wayland on Hi1710 chipsets
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"