#
✕ nick:arnd
#asahi-alt · 2022-12-30 16:12
arndI 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
#asahi-alt · 2022-12-30 16:11
arndmps: 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.
#asahi-alt · 2022-12-30 16:01
arndIs there any way to get a working framebuffer these days without enabling DRM_ASAHI?
#asahi-alt · 2022-12-30 16:01
arndmy 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
#asahi-alt · 2022-12-30 16:00
arndfinally narrowed it down to CONFIG_DRM_ASAHI=n
#asahi-alt · 2022-12-30 15:58
arndI 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]"
#asahi-alt · 2022-12-06 12:31
arndhaving a daily build with a new uuid would not have helped me, as I did both installs on the same day. What happened is that I tried to set things up on the first install, made a mistake that i couldn't recover and installed a second debian in order to fix the first
#asahi-alt · 2022-12-06 12:29
arndright, that's probably not worth it then, or possibly the installer could be changed for everyone, in case the same thing can happen on arch, fedora, etc
#asahi-alt · 2022-12-06 10:54
arndI think the 6.1-r6-5 must be the version that crashed for me, and then I updated to HEAD (rc8-2), which caused dcp to not load
#asahi-alt · 2022-12-06 10:52
arndoh, in that case I would simply be confused, as you are on 6.1-rc6-5, and it only fails in 6.1-rc8-2
#asahi-alt · 2022-12-06 10:50
arndGlanzmann: for you mac mini, it's possible that the kernel only just changed. _jannau_'s commit is dated Dec 4 11:36, so maybe your latest kernel is older than that?
#asahi-alt · 2022-12-06 10:47
arndGlanzmann: what I was thinking here was to change the UUID on the installer side in 1TR, by shipping a macos compiled tune2fs, but I don't know enough about how the installation procedure works
#asahi-alt · 2022-12-06 09:06
arndGlanzmann: ok, I see
#asahi-alt · 2022-12-06 09:06
arnd_jannau_: the first time I actually got into 4k mode with the install, I had a slightly older kernel that I built last week, and that ended up hanging a few seconds after logging into xfce, but I think that was either a bug in the kernel, or a mismatched firmware version
#asahi-alt · 2022-12-06 09:03
arndGlanzmann: on the uuid thing, would it be possible to do the 'tune2fs -U random' as part of the installation process, or do you need the UUID to be hardcoded in grub.cfg/fstsab/... inside of the image?
#asahi-alt · 2022-12-06 09:00
arnd_jannau_: yes, I could still boot with a 1080p framebuffer, just not switch to 4k
#asahi-alt · 2022-12-06 08:59
arndstage2
#asahi-alt · 2022-12-06 08:59
arndthe property was added after v1.1.8 in m1n1
#asahi-alt · 2022-12-06 08:58
arndGlanzmann: sorry I should have mentioned I used a custom .config. The problem I saw is that after kernel commit 314199f7b863 ("drm/apple: Check if DCP firmware is supported"), I get a warning "Could not read 'apple,firmware-version'" followed by a probe failure
#asahi-alt · 2022-12-06 08:36
arndWhen I installed a second image to a separate partition, both installs got the same UUID on the rootfs, and I had to manually change one with tune2fs to be able to boot both
#asahi-alt · 2022-12-06 08:34
arndhttp://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/commitdiff/ada5f71b6752b1b0263be0bcc4e50e94f486463d caused dcp to fail because it now needs a new m1n1
#asahi-alt · 2022-12-06 08:34
arndGlanzmann: I did a fresh Debian install the other day, and ran into two problems, not sure where you track those, or if they are known: