Blame SOURCES/0001-data-disable-wayland-for-proprietary-nvidia-machines.patch

7b586f
From f2ac0603854c7933ecea4a13876fa7e72fd66d1a Mon Sep 17 00:00:00 2001
7b586f
From: =?UTF-8?q?Jonas=20=C3=85dahl?= <jadahl@gmail.com>
7b586f
Date: Thu, 6 Sep 2018 10:14:08 -0400
7b586f
Subject: [PATCH] data: disable wayland for proprietary nvidia machines
7b586f
7b586f
At the moment GLX applications don't work well when the
7b586f
proprietary nvidia driver is used with a wayland session.
7b586f
7b586f
For now, disable wayland on that hardware, and users who
7b586f
want to opt in can just edit the udev rule.
7b586f
(or add their own that overrides it)
7b586f
---
7b586f
 data/61-gdm.rules.in | 3 +++
7b586f
 1 file changed, 3 insertions(+)
7b586f
7b586f
diff --git a/data/61-gdm.rules.in b/data/61-gdm.rules.in
7b586f
index de8e17903..26cf9cf51 100644
7b586f
--- a/data/61-gdm.rules.in
7b586f
+++ b/data/61-gdm.rules.in
7b586f
@@ -1,2 +1,5 @@
7b586f
 # disable Wayland on Cirrus chipsets
7b586f
 ATTR{vendor}=="0x1013", ATTR{device}=="0x00b8", ATTR{subsystem_vendor}=="0x1af4", ATTR{subsystem_device}=="0x1100", RUN+="@libexecdir@/gdm-disable-wayland"
7b586f
+
7b586f
+# disable Wayland when using the proprietary nvidia driver
7b586f
+DRIVER=="nvidia", RUN+="@libexecdir@/gdm-disable-wayland"
7b586f
-- 
7b586f
2.20.1
7b586f