[Bug 1234135] New: gdm/GNOME: Wayland session not possible with Hybrid graphics (Intel/NVIDIA)
https://bugzilla.suse.com/show_bug.cgi?id=1234135 Bug ID: 1234135 Summary: gdm/GNOME: Wayland session not possible with Hybrid graphics (Intel/NVIDIA) Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.6 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: GNOME Assignee: gnome-bugs@suse.de Reporter: sndirsch@suse.com QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- For some reason I cannot start a Wayland GNOME session with gdm. It's not offered. I'm using hybrid graphics (Intel/NVIDIA). Our developer contacts at nvidia told me it would be supported. I found in /usr/lib/udev/rules.d/61-gdm.rules # If this is a hybrid graphics laptop with vendor nvidia driver, disable wayland LABEL="gdm_hybrid_nvidia_laptop_check" TEST!="/run/udev/gdm-machine-is-laptop", GOTO="gdm_hybrid_nvidia_laptop_check_end" TEST!="/run/udev/gdm-machine-has-hybrid-graphics", GOTO="gdm_hybrid_nvidia_laptop_check_end" TEST!="/run/udev/gdm-machine-has-vendor-nvidia-driver", GOTO="gdm_hybrid_nvidia_laptop_check_end" GOTO="gdm_disable_wayland" LABEL="gdm_hybrid_nvidia_laptop_check_end" I commented out the goto to gdm_disable_wayland --- 61-gdm.rules.orig 2024-12-04 14:28:00.037203367 +0100 +++ 61-gdm.rules 2024-12-04 14:37:29.146187234 +0100 @@ -87,7 +87,7 @@ TEST!="/run/udev/gdm-machine-is-laptop", GOTO="gdm_hybrid_nvidia_laptop_check_end" TEST!="/run/udev/gdm-machine-has-hybrid-graphics", GOTO="gdm_hybrid_nvidia_laptop_check_end" TEST!="/run/udev/gdm-machine-has-vendor-nvidia-driver", GOTO="gdm_hybrid_nvidia_laptop_check_end" -GOTO="gdm_disable_wayland" +#GOTO="gdm_disable_wayland" LABEL="gdm_hybrid_nvidia_laptop_check_end" # Disable wayland in situation where we're in a guest with a virtual gpu and host passthrough gpu but this didn't help either. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1234135 https://bugzilla.suse.com/show_bug.cgi?id=1234135#c1 --- Comment #1 from Stefan Dirsch <sndirsch@suse.com> --- NVIDIA's nvidia-hibernate nvidia-suspend nvidia-resume services were still disabled. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1234135 https://bugzilla.suse.com/show_bug.cgi?id=1234135#c2 --- Comment #2 from Stefan Dirsch <sndirsch@suse.com> --- But this 'gdm_hybrid_nvidia_laptop_check' section still need to be removed. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1234135 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alynx.zhou@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1234135 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xiaoguang.wang@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1234135 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yfjiang@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1234135 https://bugzilla.suse.com/show_bug.cgi?id=1234135#c3 --- Comment #3 from Stefan Dirsch <sndirsch@suse.com> --- (In reply to Stefan Dirsch from comment #2)
But this 'gdm_hybrid_nvidia_laptop_check' section still need to be removed.
Still in gdm 45 of SP7. But changed in gdm 47 for TW. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1234135 https://bugzilla.suse.com/show_bug.cgi?id=1234135#c4 --- Comment #4 from xiaoguang wang <xiaoguang.wang@suse.com> --- I’m not sure wayland works with hybrid graphics(Intel/NVIDIA) on Leap15.6. You can try copy file /usr/lib/udev/rules.d/61-gdm.rules from TW to Leap15.6. When wayland starts failing, it will fallback to X. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1234135 https://bugzilla.suse.com/show_bug.cgi?id=1234135#c5 --- Comment #5 from Stefan Dirsch <sndirsch@suse.com> --- (In reply to xiaoguang wang from comment #4)
I’m not sure wayland works with hybrid graphics(Intel/NVIDIA) on Leap15.6.
It does. That's what I have running here with this one line changer in initial comment.
You can try copy file /usr/lib/udev/rules.d/61-gdm.rules from TW to Leap15.6. When wayland starts failing, it will fallback to X.
This works as well, since there this hybrid check is removed as well. I would like to see this changed at least for sle15-sp7. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1234135 Scott Reeves <sreeves@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sreeves@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1234135 Yifan Jiang <yfjiang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|gnome-bugs@suse.de |xiaoguang.wang@suse.com CC| |gnome-bugs@suse.de -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1234135 https://bugzilla.suse.com/show_bug.cgi?id=1234135#c7 --- Comment #7 from Maintenance Automation <maint-coord+maintenance-robot@suse.de> --- SUSE-RU-2024:4361-1: An update that has one fix can now be installed. URL: https://www.suse.com/support/update/announcement/2024/suse-ru-20244361-1 Category: recommended (moderate) Bug References: 1234135 Maintenance Incident: [SUSE:Maintenance:36795](https://smelt.suse.de/incident/36795/) Sources used: openSUSE Leap 15.6 (src): gdm-45.0.1-150600.6.3.2 Desktop Applications Module 15-SP6 (src): gdm-45.0.1-150600.6.3.2 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com