Bug 474388 - kwin wayland crash on archlinuxarm/asahi after qt, llvm updates
Summary: kwin wayland crash on archlinuxarm/asahi after qt, llvm updates
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-10 22:29 UTC by lirel
Modified: 2023-09-11 12:44 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
pacman.log journalctl.log (21.68 KB, application/gzip)
2023-09-10 22:29 UTC, lirel
Details
journalctl -b0 more logs after further crash (71.42 KB, text/x-log)
2023-09-10 22:36 UTC, lirel
Details
crashes after update, before first reboot (5.52 KB, text/x-log)
2023-09-11 11:44 UTC, lirel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lirel 2023-09-10 22:29:39 UTC
Created attachment 161548 [details]
pacman.log journalctl.log

kwin keeps crashing every few seconds, don't have time to fill in every field:

updated qt and llvm libs on asahi linux (archlinuxarm)

will provide exact versions in comments, see logs attached

hidpi scaling broke as well(flickering mouse traces; clicks not registered whe cursor seen aso.; font rendering ugly) , but 100% scaling suffices for now
Comment 1 lirel 2023-09-10 22:36:42 UTC
Created attachment 161550 [details]
journalctl -b0 more logs after further crash
Comment 2 Méven Car 2023-09-11 07:03:21 UTC
Did you reboot after the update, or logout ?
Comment 3 lirel 2023-09-11 11:43:43 UTC
(In reply to Méven Car from comment #2)
> Did you reboot after the update, or logout ?

sure, some minutes after the first glitches occuring after the update.
Log of the first crashes attached.

here is what i think:
archlinux shipped llvm 16 but custom build asahi linux mesa is not linked to this making kwin crash.
let's wait if mesa just gets a new release soon.

crashing mesa leads to plenty of odd kde behaviour though
Comment 4 lirel 2023-09-11 11:44:26 UTC
Created attachment 161556 [details]
crashes after update,  before first reboot
Comment 5 lirel 2023-09-11 11:52:15 UTC
(In reply to lirel from comment #3)
> (In reply to Méven Car from comment #2)
> > Did you reboot after the update, or logout ?
> 
> sure, some minutes after the first glitches occuring after the update.
[...]
> here is what i think:
> archlinux shipped llvm 16 but custom build asahi linux mesa is not linked to
[...]

$ ldd /usr/lib/dri/apple_dri.so 
        linux-vdso.so.1 (0x0000fffec8a98000)
        libglapi.so.0 => /usr/lib/libglapi.so.0 (0x0000fffec7b90000)
        libdrm.so.2 => /usr/lib/libdrm.so.2 (0x0000fffec7b60000)
       *libLLVM-15.so => not found*
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0x0000fffec7b20000)
        libz.so.1 => /usr/lib/libz.so.1 (0x0000fffec7af0000)
        libzstd.so.1 => /usr/lib/libzstd.so.1 (0x0000fffec7a10000)
        libsensors.so.5 => /usr/lib/libsensors.so.5 (0x0000fffec79e0000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x0000fffec7780000)
        libm.so.6 => /usr/lib/libm.so.6 (0x0000fffec76d0000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x0000fffec76a0000)
        libc.so.6 => /usr/lib/libc.so.6 (0x0000fffec74e0000)
        /usr/lib/ld-linux-aarch64.so.1 (0x0000fffec8a64000)
Comment 6 lirel 2023-09-11 11:55:03 UTC
since asahi/mesa-asahi-edge  23.3.0_pre20230904-1  23.3.0_pre20230904-2 now links to
llvm 16 i'll give it a try.
Comment 7 lirel 2023-09-11 12:02:37 UTC
after updating mesa to a working version again everything seems fine again. sorry for the inconvenience.
Comment 8 Méven Car 2023-09-11 12:44:37 UTC
(In reply to lirel from comment #7)
> after updating mesa to a working version again everything seems fine again.
> sorry for the inconvenience.

Nice to hear