[gdm/disable-hybrid-nvidia: 4/5] data: Disable wayland on HyperV
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm/disable-hybrid-nvidia: 4/5] data: Disable wayland on HyperV
- Date: Wed, 2 Mar 2022 22:03:56 +0000 (UTC)
commit df6ae24133bac8245a137aceb1ca91a6f3489ab6
Author: Ray Strode <rstrode redhat com>
Date: Wed Mar 2 16:40:10 2022 -0500
data: Disable wayland on HyperV
HyperV virtual machines don't work with wayland right now.
Rather than having them fail and fall back every boot it's better
to just try X11 right away.
data/61-gdm.rules.in | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/data/61-gdm.rules.in b/data/61-gdm.rules.in
index a8bc7d470..cf2e6c8f0 100644
--- a/data/61-gdm.rules.in
+++ b/data/61-gdm.rules.in
@@ -21,6 +21,12 @@ ATTR{vendor}=="0x1a03", ATTR{device}=="0x2000", GOTO="gdm_disable_wayland"
LABEL="gdm_pci_device_end"
+# disable Wayland on HyperV guests
+DRIVER!="hyperv_fb", GOTO="gdm_hyperv_end"
+ACTION!="add", GOTO="gdm_hyperv_end"
+GOTO="gdm_disable_wayland"
+LABEL="gdm_hyperv_end"
+
# disable Wayland if modesetting is disabled
KERNEL!="card[0-9]*", GOTO="gdm_nomodeset_end"
SUBSYSTEM!="drm", GOTO="gdm_nomodeset_end"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]