Bug 1207517

Summary: sway fails to load after kernel 6.1.7-1.1 update
Product: [openSUSE] openSUSE Tumbleweed Reporter: Filippo Bonazzi <filippo.bonazzi>
Component: OtherAssignee: E-mail List <screening-team-bugs>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: tobias.klausmann
Version: Current   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Filippo Bonazzi 2023-01-25 09:24:28 UTC
I updated my system yesterday (TW with an openSUSEway-based Sway configuration) and this morning sway fails to start with the error message found in [0] at line 66:

"Proprietary Nvidia drivers are NOT supported. Use Nouveau. To launch sway anyway, launch with --unsupported-gpu and DO NOT report issues."

I am using the Nouveau driver, not the proprietary nVIDIA one. I see that kernel 6.1.7-1.1 that I installed yesterday evening updates kernel-firmware-nvidia, could that be messing with the (coarse-grained and annoying) Sway nVIDIA check in [0]:52?

[0] https://github.com/swaywm/sway/blob/v1.8/sway/main.c
Comment 1 Filippo Bonazzi 2023-01-26 20:15:06 UTC
Opened upstream issue https://github.com/swaywm/sway/issues/7402
Comment 2 Tobias Klausmann 2023-01-27 18:32:38 UTC
Just FYI, the "open nvidia driver", read not nouveau. This was installed with one of the latest Tumbleweed updates, see if "nvidia-open-driver-G06-signed-kmp-default" is installed on your system (or check dmesg).
Comment 3 Filippo Bonazzi 2023-01-30 08:20:25 UTC
Yes that package got installed with one of the updates last week. I was running Nouveau before, so I'm not sure why that happened. How do I go back to just Nouveau?
Comment 4 Filippo Bonazzi 2023-01-30 08:33:54 UTC
Found boo#1207520 where they discuss what happened
Comment 5 Tobias Klausmann 2023-01-30 08:52:35 UTC
(In reply to Filippo Bonazzi from comment #3)
> Yes that package got installed with one of the updates last week. I was
> running Nouveau before, so I'm not sure why that happened. How do I go back
> to just Nouveau?

For now just uninstall the package "nvidia-open-driver-G06-signed-kmp-default" and lock it in its not-installed state after that.
Comment 6 Stefan Dirsch 2023-01-30 09:27:09 UTC
Well, that's just a duplicate. Workaround for now:

Uninstall nvidia-open-driver-G06-signed-kmp-default
Reboot

*** This bug has been marked as a duplicate of bug 1207520 ***