[gdm/disable-hybrid-nvidia: 19/20] data: Disable wayland if there are multiple virtual gpus
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm/disable-hybrid-nvidia: 19/20] data: Disable wayland if there are multiple virtual gpus
- Date: Fri, 4 Mar 2022 19:13:34 +0000 (UTC)
commit 40c0b9d4986c223bfb3d2ce207b982a59289776a
Author: Ray Strode <rstrode redhat com>
Date: Fri Mar 4 11:51:57 2022 -0500
data: Disable wayland if there are multiple virtual gpus
Mutter doesn't seem to work with multiple guest gpus right now,
so disable that.
data/61-gdm.rules.in | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/data/61-gdm.rules.in b/data/61-gdm.rules.in
index d2c5ce32c..a9052985f 100644
--- a/data/61-gdm.rules.in
+++ b/data/61-gdm.rules.in
@@ -94,6 +94,13 @@ TEST!="/run/udev/gdm-machine-has-hardware-gpu", GOTO="gdm_virt_passthrough_check
GOTO="gdm_disable_wayland"
LABEL="gdm_virt_passthrough_check_end"
+# Disable wayland when there are multiple virtual gpus
+LABEL="gdm_virt_multi_gpu_check"
+TEST!="/run/udev/gdm-machine-has-hybrid-graphics", GOTO="gdm_virt_multi_gpu_check_end"
+TEST!="/run/udev/gdm-machine-has-virtual-gpu", GOTO="gdm_virt_multi_gpu_check_end"
+TEST=="/run/udev/gdm-machine-has-hardware-gpu", GOTO="gdm_virt_multi_gpu_check_end"
+LABEL="gdm_virt_multi_gpu_check_end"
+
# Disable wayland when nvidia modeset is disabled or when drivers are a lower
# version than 470,
# For versions above 470 but lower than 510 prefer Xorg,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]