Bug 1225791

Summary: Packman Mesa update cause KDE Plamsa Wayland failed to launch from SDDM
Product: [openSUSE] openSUSE Tumbleweed Reporter: Yunhe Guo <i>
Component: KDE Workspace (Plasma)Assignee: E-Mail List <opensuse-kde-bugs>
Status: NEW --- QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: fabian, i
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Yunhe Guo 2024-06-02 03:14:51 UTC
Yesterday, I run zypper dup and updated a few Mesa packages from Packman. Today when I boot system, I cannot launch KDE Plasma Wayland from SDDM. (X11 works though) I tried to removed Packman repo and install Mesa from openSUSE repos, and now KDE Plasma Wayland works properly.

I check journalctl and found all kde services core dumped when using Packman Mesa packages:

6月 02 10:35:31 amd-desktop systemd-coredump[9555]: [🡕] Process 9537 (org_kde_powerde) of user 1000 dumped core.
                                                     
                                                     Stack trace of thread 9537:
                                                     #0  0x00007f12fda949dc __pthread_kill_implementation (libc.so.6 + 0x949dc)
                                                     #1  0x00007f12fda41176 raise (libc.so.6 + 0x41176)
                                                     #2  0x00007f12fda28917 abort (libc.so.6 + 0x28917)
                                                     #3  0x00007f12fe2e072d _Z6qAbortv (libQt6Core.so.6 + 0xe072d)
                                                     #4  0x00007f12fe3309fe n/a (libQt6Core.so.6 + 0x1309fe)
                                                     #5  0x00007f12fe2e1de3 _ZNK14QMessageLogger5fatalEPKcz (libQt6Core.so.6 + 0xe1de3)
                                                     #6  0x00007f12feb584c9 n/a (libQt6Gui.so.6 + 0x1584c9)
                                                     #7  0x00007f12febe8500 _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt6Gui.so.6 + 0x1e8500)
                                                     #8  0x00007f12fe392d3d _ZN23QCoreApplicationPrivate4initEv (libQt6Core.so.6 + 0x192d3d)
                                                     #9  0x00007f12febe858c _ZN22QGuiApplicationPrivate4initEv (libQt6Gui.so.6 + 0x1e858c)
                                                     #10 0x00007f12febe9800 _ZN15QGuiApplicationC1ERiPPci (libQt6Gui.so.6 + 0x1e9800)
                                                     #11 0x000055ad20c01d82 n/a (org_kde_powerdevil + 0x9d82)
                                                     #12 0x00007f12fda2a1f0 __libc_start_call_main (libc.so.6 + 0x2a1f0)
                                                     #13 0x00007f12fda2a2b9 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x2a2b9)
                                                     #14 0x000055ad20c02ca5 n/a (org_kde_powerdevil + 0xaca5)
                                                     
                                                     Stack trace of thread 9551:
                                                     #0  0x00007f12fdb0578f __poll (libc.so.6 + 0x10578f)
                                                     #1  0x00007f12fc91432f n/a (libglib-2.0.so.0 + 0x5f32f)
                                                     #2  0x00007f12fc914a3c g_main_context_iteration (libglib-2.0.so.0 + 0x5fa3c)
                                                     #3  0x00007f12fe5c0a0c _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x3c0a0c)
                                                     #4  0x00007f12fe39979b _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x19979b)
                                                     #5  0x00007f12fe474c84 _ZN7QThread4execEv (libQt6Core.so.6 + 0x274c84)
                                                     #6  0x00007f12fe97b6fa n/a (libQt6DBus.so.6 + 0x386fa)
                                                     #7  0x00007f12fe4ece59 n/a (libQt6Core.so.6 + 0x2ece59)
                                                     #8  0x00007f12fda92ba2 start_thread (libc.so.6 + 0x92ba2)
                                                     #9  0x00007f12fdb1400c __clone3 (libc.so.6 + 0x11400c)
                                                     ELF object binary architecture: AMD x86-64
Comment 1 Fabian Vogt 2024-06-02 09:48:11 UTC
A mixture of Mesa from packman and openSUSE repos can cause this, so make sure it's all coming from one vendor.

If that doesn't help, please report the issue to packman.

> 6月 02 10:35:31 amd-desktop systemd-coredump[9555]: [🡕] Process 9537 (org_kde_powerde) of user 1000 dumped core.

Those are just fallout of kwin exiting and don't provide any info about the cause. More of the journal is needed for that and ideally the kwin backtrace.
Comment 2 Yunhe Guo 2024-06-02 16:09:41 UTC
Well, I think if Mesa packages' spec file have enforced something like "Require: Mesa = %version", it won't be possible for users to install Mesa packages partly from official repos and partly from Packman repos...
Comment 3 Yunhe Guo 2024-06-02 16:32:58 UTC
I made a merge request on OBS and should make this easier for users https://build.opensuse.org/request/show/1178175

Same thing need to be done for Packman.
Comment 4 Yunhe Guo 2024-06-02 16:38:58 UTC
Request for Packman is ready https://pmbs.links2linux.org/request/show/6058