Bug 2307607 - REGRESSION: Mesa upgrade breaks SDDM greeter
Summary: REGRESSION: Mesa upgrade breaks SDDM greeter
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: mesa
Version: 40
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-08-23 16:19 UTC by Arcadiy Ivanov
Modified: 2024-09-17 18:15 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-09-17 18:15:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Core dump (14.19 MB, application/x-lz4)
2024-08-23 17:00 UTC, Arcadiy Ivanov
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 2312499 0 unspecified CLOSED REGRESSION: sddm-helper-start-wayland: kwin_wayland: symbol lookup error: /lib64/libkwin.so.6: undefined symbol: wl_disp... 2024-09-20 01:56:16 UTC

Description Arcadiy Ivanov 2024-08-23 16:19:13 UTC
Description of problem:

Latest Mesa upgrade causes SDDM Greeter to crash.

sddm/0.21.0-4.fc40
mesa-filesystem-24.1.6-1.fc40.x86_64

```
(gdb) bt
#0  0x00007fa9bd4a8664 in __pthread_kill_implementation () at /lib64/libc.so.6
#1  0x00007fa9bd44fc4e in raise () at /lib64/libc.so.6
#2  0x00007fa9bd437902 in abort () at /lib64/libc.so.6
#3  0x00007fa9bbacb631 in qAbort() () at /lib64/libQt6Core.so.6
#4  0x00007fa9bbb19e27 in qt_message(QtMsgType, QMessageLogContext const&, char const*, __va_list_tag*) () at /lib64/libQt6Core.so.6
#5  0x00007fa9bbacc4d3 in QMessageLogger::fatal(char const*, ...) const () at /lib64/libQt6Core.so.6
#6  0x00007fa9bd79e774 in QSGRenderLoop::handleContextCreationFailure(QQuickWindow*) [clone .cold] () at /lib64/libQt6Quick.so.6
#7  0x00007fa9bd95d2c5 in QSGGuiThreadRenderLoop::ensureRhi(QQuickWindow*, QSGGuiThreadRenderLoop::WindowData&) () at /lib64/libQt6Quick.so.6
#8  0x00007fa9bd95d8e9 in QSGGuiThreadRenderLoop::renderWindow(QQuickWindow*) () at /lib64/libQt6Quick.so.6
#9  0x00007fa9bc447908 in QWindow::event(QEvent*) () at /lib64/libQt6Gui.so.6
#10 0x00007fa9bbb96dc8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt6Core.so.6
#11 0x00007fa9bc3e8215 in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) () at /lib64/libQt6Gui.so.6
#12 0x00007fa9bc44b4bc in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt6Gui.so.6
#13 0x00007fa9bc9633f4 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt6Gui.so.6
#14 0x00007fa9badc9e8c in g_main_context_dispatch_unlocked.lto_priv () at /lib64/libglib-2.0.so.0
#15 0x00007fa9bae2bc98 in g_main_context_iterate_unlocked.isra () at /lib64/libglib-2.0.so.0
#16 0x00007fa9badcb383 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#17 0x00007fa9bbe850a3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt6Core.so.6
#18 0x00007fa9bbba3b03 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt6Core.so.6
#19 0x00007fa9bbb9f9bc in QCoreApplication::exec() () at /lib64/libQt6Core.so.6
#20 0x00005638b082a7f6 in main ()
```

journalctl -xab-2 | grep sddm-greeter:

```
Aug 23 11:54:11 hostname sddm-helper[4811]: pam_unix(sddm-greeter:session): session opened for user sddm(uid=976) by (uid=0)
Aug 23 11:54:14 hostname sddm-greeter-qt6[4854]: EGL not available
Aug 23 11:54:14 hostname sddm-greeter-qt6[4854]: Loading file:///usr/share/sddm/themes/01-breeze-fedora/Main.qml...
Aug 23 11:54:14 hostname sddm-greeter-qt6[4854]: QRhiGles2: Failed to create temporary context
Aug 23 11:54:14 hostname sddm-greeter-qt6[4854]: QRhiGles2: Failed to create context
Aug 23 11:54:14 hostname sddm-greeter-qt6[4854]: Failed to create RHI (backend 2)
Aug 23 11:54:14 hostname audit[4854]: ANOM_ABEND auid=4294967295 uid=976 gid=976 ses=4294967295 subj=kernel pid=4854 comm="sddm-greeter-qt" exe="/usr/bin/sddm-greeter-qt6" sig=6 res=1
Aug 23 11:54:14 hostname sddm-greeter-qt6[4854]: Failed to initialize graphics backend for OpenGL.
Aug 23 11:54:15 hostname systemd-coredump[4941]: Process 4854 (sddm-greeter-qt) of user 976 dumped core.
                                                        Module sddm-greeter-qt6 from rpm sddm-0.21.0-4.fc40.x86_64
                                                        #20 0x00005638b082a7f6 main (sddm-greeter-qt6 + 0x157f6)
                                                        #23 0x00005638b082fb65 _start (sddm-greeter-qt6 + 0x1ab65)
░░ Subject: Process 4854 (sddm-greeter-qt) dumped core
░░ Process 4854 (sddm-greeter-qt) crashed and dumped core.
Aug 23 11:54:15 hostname sddm-helper[4811]: pam_unix(sddm-greeter:session): session closed for user sddm
Aug 23 11:54:15 hostname drkonqi-coredump-launcher[4961]: Unable to find file for pid 4854 expected at "kcrash-metadata/sddm-greeter-qt6.97d7df53b171482abb2d166a0b3166bc.4854.ini"
Aug 23 11:54:26 hostname abrt-notification[5043]: Process 4220 (sddm-greeter-qt6) crashed in QtPrivate::lcNativeInterface() [clone .cold]()
░░ Subject: ABRT has detected unexpected termination: sddm-greeter-qt6
░░ sddm-greeter-qt6 killed by SIGABRT

```

Comment 1 Arcadiy Ivanov 2024-08-23 16:21:39 UTC
The problem is likely specifically with .5 -> .6 of the Mesa drivers.
However, due to .5 no longer being available Mesa downgrade as follows works to resolve the issue:

```
$ sudo dnf history info -0
Transaction ID : 3603
Begin time     : Fri 23 Aug 2024 11:58:33 AM EDT
Begin rpmdb    : 5acf9cea7838764499e704419ae4eaf8c175d898e57b9a9f4903a3af809cf9fa
End time       : Fri 23 Aug 2024 11:58:36 AM EDT (3 seconds)
End rpmdb      : 6bb6f9b8112e65f5f3643692caf8cc6f228483a7aa9065ae663b0f659eb25e26
User           : root <root>
Return-Code    : Success
Releasever     : 40
Command Line   : downgrade mesa* --allowerasing
Comment        : 
Packages Altered:
    Downgrade  mesa-dri-drivers-24.0.5-1.fc40.x86_64             @fedora
    Downgraded mesa-dri-drivers-24.1.6-1.fc40.x86_64             @@System
    Downgrade  mesa-filesystem-24.0.5-1.fc40.x86_64              @fedora
    Downgraded mesa-filesystem-24.1.6-1.fc40.x86_64              @@System
    Downgrade  mesa-libEGL-24.0.5-1.fc40.x86_64                  @fedora
    Downgraded mesa-libEGL-24.1.6-1.fc40.x86_64                  @@System
    Downgrade  mesa-libEGL-devel-24.0.5-1.fc40.x86_64            @fedora
    Downgraded mesa-libEGL-devel-24.1.6-1.fc40.x86_64            @@System
    Downgrade  mesa-libGL-24.0.5-1.fc40.x86_64                   @fedora
    Downgraded mesa-libGL-24.1.6-1.fc40.x86_64                   @@System
    Downgrade  mesa-libGL-devel-24.0.5-1.fc40.x86_64             @fedora
    Downgraded mesa-libGL-devel-24.1.6-1.fc40.x86_64             @@System
    Downgrade  mesa-libOSMesa-24.0.5-1.fc40.x86_64               @fedora
    Downgraded mesa-libOSMesa-24.1.6-1.fc40.x86_64               @@System
    Downgrade  mesa-libOpenCL-24.0.5-1.fc40.x86_64               @fedora
    Downgraded mesa-libOpenCL-24.1.6-1.fc40.x86_64               @@System
    Downgrade  mesa-libgbm-24.0.5-1.fc40.x86_64                  @fedora
    Downgraded mesa-libgbm-24.1.6-1.fc40.x86_64                  @@System
    Downgrade  mesa-libglapi-24.0.5-1.fc40.x86_64                @fedora
    Downgraded mesa-libglapi-24.1.6-1.fc40.x86_64                @@System
    Downgrade  mesa-libxatracker-24.0.5-1.fc40.x86_64            @fedora
    Downgraded mesa-libxatracker-24.1.6-1.fc40.x86_64            @@System
    Downgrade  mesa-vulkan-drivers-24.0.5-1.fc40.x86_64          @fedora
    Downgraded mesa-vulkan-drivers-24.1.6-1.fc40.x86_64          @@System
    Downgrade  mesa-va-drivers-freeworld-24.0.5-1.fc40.x86_64    @rpmfusion-free
    Downgraded mesa-va-drivers-freeworld-24.1.6-1.fc40.x86_64    @@System
    Downgrade  mesa-vdpau-drivers-freeworld-24.0.5-1.fc40.x86_64 @rpmfusion-free
    Downgraded mesa-vdpau-drivers-freeworld-24.1.6-1.fc40.x86_64 @@System
```

Comment 2 Arcadiy Ivanov 2024-08-23 16:59:19 UTC
This is Framework 16 laptop, discreet and integrated AMD GPUs with stock drivers.

Comment 3 Arcadiy Ivanov 2024-08-23 17:00:56 UTC
Created attachment 2044694 [details]
Core dump

Comment 4 Neal Gompa 2024-08-23 17:04:13 UTC
This is effectively a Mesa problem, not an SDDM problem, so reassigning.

Comment 5 José Expósito 2024-09-03 06:05:37 UTC
Upstream bug report: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11772

Comment 6 Arcadiy Ivanov 2024-09-17 18:15:37 UTC
Not a real bug, caused by conflicts in libraries introduced by amdgpu EL9 stack.
Removing amdgpu's `libwayland\*` fixed the issue.

Related by the same cause to: https://bugzilla.redhat.com/show_bug.cgi?id=2312499


Note You need to log in before you can comment on or make changes to this bug.