Bug 1222213

Summary: sddm-greeter-qt6 crashes on startup if used with kernel driver "radeon"
Product: [openSUSE] openSUSE Tumbleweed Reporter: 42 <42.rantanplan>
Component: X.OrgAssignee: Gfx Bugs <gfx-bugs>
Status: RESOLVED DUPLICATE QA Contact: Gfx Bugs <gfx-bugs>
Severity: Critical    
Priority: P2 - High CC: 42.rantanplan, fvogt, jas.61803, pfmiller, thomas.rosenberger, tneo
Version: Current   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE Tumbleweed   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: backtrace of crashed process
sddm log messages before crash
Coredump (2nd example) / androclus (Jstern)

Description 42 2024-04-01 14:54:30 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:124.0) Gecko/20100101 Firefox/124.0
Build Identifier: 

Booting the system ends in an unresponsive login screen. The cursor in the password form does not blink. Interaction with the login screen (mouse clicks, keyboard input) is not possible.

Logs contain a coredump for process sddm-greeter-qt6.

When booting with kernel options "radeon.si_support=0 amdgpu.si_support=1", sddm-greeter-qt6 works as expected.

Reproducible: Always

Steps to Reproduce:
1.boot tumbleweed system with sddm display manager
2.wait until login screen is displayed
Actual Results:  
login screen is unresponsive, graphical login is not possible

Expected Results:  
login screen accepts password and allows login

Note that the following data has been collected after switching to driver "amdgpu", hence this is the data of the working system. The actual crash happens when using driver "radeon".

System:
  Kernel: 6.8.1-1-default arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.8.1-1-default
    root=UUID=eb89bf1c-81e1-4f4e-a027-804d34714974 quiet splash=silent
    resume=/dev/sda5 splash=silent quiet showopts radeon.cik_support=0
    amdgpu.cik_support=1 radeon.si_support=0 amdgpu.si_support=1
  Desktop: KDE Plasma v: 6.0.3 tk: Qt v: N/A info: frameworks v: 6.0.0
    wm: kwin_wayland with: krunner tools: avail: xlock,xscreensaver vt: 3
    dm: SDDM Distro: openSUSE Tumbleweed 20240329
Graphics:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics
    vendor: Gigabyte driver: i915 v: kernel arch: Gen-7.5 process: Intel 22nm
    built: 2013 ports: active: none empty: HDMI-A-1,HDMI-A-2,VGA-1
    bus-ID: 00:02.0 chip-ID: 8086:0412 class-ID: 0300
  Device-2: AMD Tahiti PRO [Radeon HD 7950/8950 OEM / R9 280]
    vendor: PC Partner / Sapphire driver: amdgpu v: kernel alternate: radeon
    arch: GCN-1 code: Southern Islands process: TSMC 28nm built: 2011-20 pcie:
    gen: 3 speed: 8 GT/s lanes: 16 ports: active: DP-1
    empty: DVI-D-1,DVI-I-1,HDMI-A-3 bus-ID: 01:00.0 chip-ID: 1002:679a
    class-ID: 0300 temp: 58.0 C
  Display: wayland server: X.org v: 1.21.1.11 with: Xwayland v: 23.2.4
    compositor: kwin_wayland driver: X: loaded: amdgpu,intel
    unloaded: fbdev,modesetting,vesa dri: radeonsi,crocus gpu: i915,amdgpu
    display-ID: 0
  Monitor-1: DP-1 res: 3072x1728 size: N/A modes: N/A
Comment 1 42 2024-04-01 14:55:44 UTC
Created attachment 873975 [details]
backtrace of crashed process
Comment 2 42 2024-04-01 14:56:31 UTC
Created attachment 873976 [details]
sddm log messages before crash
Comment 3 Jeff Stern 2024-04-02 03:51:28 UTC
Created attachment 873984 [details]
Coredump (2nd example) / androclus (Jstern)

I too get same/similar thing. Two separate computers, both with radeon drivers. Got similar log messages as OP. Uploading a coredump journalctl log attachment here as well.

This has got to be affecting a lot of people, and I myself have 2 TW machines whose GUIs are bricked at this point, until this bug is fixed, and I cannot do any zypper updates on my 3rd machine until this is fixed -- so I recommend putting the priority on this to HIGH.

Thank you.
Comment 4 Jeff Stern 2024-04-02 04:15:11 UTC
P.S. - If you help me to know the command to produce the system info that OP (42) posted, I can post similar info on my machines, as well. -JS
Comment 5 42 2024-04-02 04:57:15 UTC
(In reply to Jeff Stern from comment #4)
> P.S. - If you help me to know the command to produce the system info that OP
> (42) posted, I can post similar info on my machines, as well. -JS

Sorry, I missed the command when pasting the output from Konsole.
I used "inxi" for gathering the information. Unfortunately I can't remember the options used. I can provide them, when I have access to the system and it's command history again.
Comment 6 t neo 2024-04-02 05:00:38 UTC
Having same issue. Kernel 6.8.x and AMD does not start SDDM. When configuring to auto login Plasma crashes. Adding comment to be notified of changes. I'll checke for logs tomorrow.
Comment 7 Fabian Vogt 2024-04-02 06:31:30 UTC
Reassigning to Mesa.
Comment 8 Stefan Dirsch 2024-04-02 08:57:08 UTC
Duplicate

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