ChanServ changed the topic of #asahi-alt to: Asahi Linux: porting Linux to Apple Silicon macs | User-contributed/unofficial distribution ports | Logs: https://alx.sh/l/asahi-alt
chadmed has joined #asahi-alt
possiblemeatball has joined #asahi-alt
possiblemeatball has quit [Quit: Leaving]
pthariensflame has joined #asahi-alt
pthariensflame has quit []
zjstraus has quit [Quit: Ping timeout (120 seconds)]
possiblemeatball has joined #asahi-alt
possiblemeatball has quit [Quit: Leaving]
possiblemeatball has joined #asahi-alt
cylm_ has quit [Ping timeout: 480 seconds]
wonjongbot has joined #asahi-alt
hightower2 has quit [Ping timeout: 480 seconds]
arnd_ has quit []
arnd has joined #asahi-alt
possiblemeatball has quit [Quit: Leaving]
<arnd>
I revisited my earlier problems running my own kernel that resulted in Xorg crashing with "free(): double free detected in tcache 2; (EE) Backtrace: ; (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x188) [0xaaaad77b8758] ; (EE) unw_get_proc_info failed: no unwind info found [-10]"
<arnd>
finally narrowed it down to CONFIG_DRM_ASAHI=n
<arnd>
my previously working kernel didn't contain the driver at all, and when I tried to reproduce building Glanzmann's working kernel build using the same sources and toolchain, it was still disabled because my rust toolchain was the wrong version
<arnd>
Is there any way to get a working framebuffer these days without enabling DRM_ASAHI?
<mps>
arnd: I could post you alpine kernel config, it worked previous week when I tested
<arnd>
mps: Thanks! I might try that later, but I don't think the kernel config is actually the issue. I previously had a working kernel without DRM_ASAHI as well, but it broke after I installed the updated Debian libunwind.
<arnd>
I managed to get it all working again after installing Glanzmann's custom libunwind and Xorg packages, but I guess something in those updates now requires the kernel driver
<mps>
ah, iirc Glanzman told that default libunwind is broken on debian
<mps>
did you upgrade mesa-dri-gallium from Glanzman repo
<mps>
upgraded*
<arnd>
yes, I added his repo and did a dist-upgrade with everything that was newer than the normal debian-stable
<mps>
that is, mesa-asahi doesn't work without DRM_ASAHI, I had same problem
<mps>
try downgrade mesa pkgs to debian default
<mps>
arnd: though I'm not sure what Glanzman actually packaged in his repo, take my words with 'grain of salt' because I didn't tested his pkgs
<mps>
last week I had to do this on my spare m1 where I do tests
<arnd>
mps: it worked, thanks a lot!
<mps>
arnd: np
hightower2 has joined #asahi-alt
<jannau>
arnd: Xorg and/or mesa is not supposed to crash if the GPU driver is missing (DRM_ASAHI) and it doesn't here. (with a slightly older mesa asahi snapshot though, 20221219-1)
<arnd>
jannau: Makes sense. I know nothing about Xorg internals, but my best guess would be that the 'double free' that gets reported in the log is the result of an actual bug in the error handling, while the following backtrace is meaningless because of yet another problem with the new libunwind
hertz has quit [Ping timeout: 480 seconds]
<arnd>
I don't think it was introduced in a recent mesa snapshot, since I saw the same symptom a month ago
possiblemeatball has joined #asahi-alt
hertz_ has quit [Ping timeout: 480 seconds]
hertz has joined #asahi-alt
nela has joined #asahi-alt
hertz_ has joined #asahi-alt
hertz has quit [Ping timeout: 480 seconds]
merry has joined #asahi-alt
possiblemeatball has quit [Quit: Leaving]
nela has quit [Read error: No route to host]
nela has joined #asahi-alt
hightower3 has joined #asahi-alt
possiblemeatball has joined #asahi-alt
hightower2 has quit [Ping timeout: 480 seconds]
mini0n has joined #asahi-alt
jmr2 has joined #asahi-alt
jmr2 has quit []
possiblemeatball has quit [Quit: Leaving]
nela has quit [Ping timeout: 480 seconds]
hertz_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]