Bug 1200328

Summary: Online upgrade 15.3 -> 15.4 ends in black screen (segfault sddm-greeter)
Product: [openSUSE] openSUSE Distribution Reporter: Axel Braun <axel.braun>
Component: X.OrgAssignee: Gfx Bugs <gfx-bugs>
Status: RESOLVED FIXED QA Contact: Gfx Bugs <gfx-bugs>
Severity: Major    
Priority: P3 - Medium CC: axel.braun, fvogt, GeoBaltz, Karsten.Fleischer, lubos.kocman
Version: Leap 15.4   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: extract from journalctl

Description Axel Braun 2022-06-08 10:24:43 UTC
Created attachment 859481 [details]
extract from journalctl

Desktop system upgraded to Leap 15.4 GA ends up in black screen after boot. Just mouse cursor is visible.

Xorg.0.log does not show any issues, but journalctl gives a coredump (attached) for sddm.greeter.
Comment 1 Axel Braun 2022-06-08 12:26:59 UTC
Starting in runlevel 3 and startx afterwards brings up KDE. However, when starting programs it gets more segfaults:

southpole:~ # kinfocenter
kf.xmlgui: cannot find .rc file "kinfocenterui.rc" for component "kinfocenter"
QQmlEngine::setContextForObject(): Object already has a QQmlContext
KCrash: Application 'systemsettings' crashing...
KCrash: Attempting to start /usr/lib64/libexec/drkonqi

[1]+  Stopped                 kinfocenter

QSocketNotifier: Invalid socket 8 with type Read, disabling...
QSocketNotifier: Invalid socket 1162167621 with type Write, disabling...
Unable to start Dr. Konqi
Re-raising signal for core dump handling.
Unable to attach: program terminated with signal SIGSEGV, Segmentation fault.
/tmp/drkonqi.YvIttZ:1: Error in sourced command file:
No thread selected
ptrace: No such process.
/tmp/drkonqi.jDqZGJ:1: Error in sourced command file:
No thread selected
Unable to find file for pid 7088 expected at "kcrash-metadata/7088.ini"

[1]+  Segmentation fault      (core dumped) kinfocenter
Comment 2 Fabian Vogt 2022-06-08 15:05:50 UTC
It crashes in the graphics driver, something is probably broken there.
Comment 3 George Baltz 2022-06-09 00:58:47 UTC
Same problem here after offline upgrade - only cursors visible.

Starting with nomodeset on kernel line gives login screen and X session, but sloooow.

Hardware is old Dell Inspiron laptop, Intel Core i5-7200U cpu, Intel graphics.
Comment 4 Stefan Dirsch 2022-06-09 01:59:20 UTC
Please provide at least the output of "inxi -aG".
Comment 5 Fabian Vogt 2022-06-09 07:24:06 UTC
*** Bug 1200219 has been marked as a duplicate of this bug. ***
Comment 6 Fabian Vogt 2022-06-09 07:24:43 UTC
According to the duplicate, the culprit is that the dead xf86-video-intel is still installed.
Comment 7 Axel Braun 2022-06-09 07:43:10 UTC
southpole:~ # inxi -aG
Graphics:  Device-1: Intel HD Graphics 510 vendor: Micro-Star MSI driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:1902
           class-ID: 0300
           Display: server: X.Org 1.20.3 compositor: kwin_x11 driver: loaded: intel unloaded: fbdev,modesetting,vesa
           display-ID: :0 screens: 1
           Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") s-diag: 582mm (22.9")
           Monitor-1: HDMI1 res: 1920x1080 dpi: 81 size: 600x340mm (23.6x13.4") diag: 690mm (27.2")
           OpenGL: renderer: Mesa Intel HD Graphics 510 (SKL GT1) v: 4.6 Mesa 21.2.4 direct render: Yes

(In reply to Fabian Vogt from comment #6)
> According to the duplicate, the culprit is that the dead xf86-video-intel is
> still installed.

no, not on my system (according to lsmod)
Comment 8 Axel Braun 2022-06-09 08:11:35 UTC
I stand corrected: The *package* xf86-video-intel was indeed installed, and removing it fixed the issue!
Comment 9 Stefan Dirsch 2022-06-09 08:21:53 UTC
Thanks. So let's close this. Maybe we should really drop this driver package. It's only still needed and installed by default on very old hardware 

# Intel Gen <= 3 (i810/i1815, i830, 845, 855, 865, 915, 945, G33)
Supplements:    modalias(xorg-x11-server:pci:v00008086d00007121sv*sd*bc*sc*i*)
Supplements:    modalias(xorg-x11-server:pci:v00008086d00001132sv*sd*bc*sc*i*)
Supplements:    modalias(xorg-x11-server:pci:v00008086d00002562sv*sd*bc*sc*i*)
Supplements:    modalias(xorg-x11-server:pci:v00008086d00002572sv*sd*bc*sc*i*)
Supplements:    modalias(xorg-x11-server:pci:v00008086d00002582sv*sd*bc*sc*i*)
Supplements:    modalias(xorg-x11-server:pci:v00008086d0000258Asv*sd*bc*sc*i*)
Supplements:    modalias(xorg-x11-server:pci:v00008086d00002592sv*sd*bc*sc*i*)
Supplements:    modalias(xorg-x11-server:pci:v00008086d00002772sv*sd*bc*sc*i*)
Supplements:    modalias(xorg-x11-server:pci:v00008086d000027A2sv*sd*bc*sc*i*)
Supplements:    modalias(xorg-x11-server:pci:v00008086d000027AEsv*sd*bc*sc*i*)
Supplements:    modalias(xorg-x11-server:pci:v00008086d000029B2sv*sd*bc*sc*i*)
Supplements:    modalias(xorg-x11-server:pci:v00008086d000029C2sv*sd*bc*sc*i*)
Supplements:    modalias(xorg-x11-server:pci:v00008086d000029D2sv*sd*bc*sc*i*)
Supplements:    modalias(xorg-x11-server:pci:v00008086d00003577sv*sd*bc*sc*i*)
Supplements:    modalias(xorg-x11-server:pci:v00008086d00003582sv*sd*bc*sc*i*)
Supplements:    modalias(xorg-x11-server:pci:v00008086d0000358Esv*sd*bc*sc*i*)
Supplements:    modalias(xorg-x11-server:pci:v00008086d00007123sv*sd*bc*sc*i*)
Supplements:    modalias(xorg-x11-server:pci:v00008086d00007125sv*sd*bc*sc*i*)
Supplements:    modalias(xorg-x11-server:pci:v00008086d0000A001sv*sd*bc*sc*i*)
Supplements:    modalias(xorg-x11-server:pci:v00008086d0000A011sv*sd*bc*sc*i*)

and it does more harm than it has benefit. Probably you're updating your system since years. And behaviour apparently became worse with the new Mesa "iris" driver, which is now being used for current Intel graphics.
Comment 10 Stefan Dirsch 2022-06-09 08:22:52 UTC
Closing as fixed.