#
#asahi-alt · 2022-12-30 16:18
arndI can see that I have mesa packages versioned 23.0.0-202212211820 installed, which matches the files in https://thomas.glanzmann.de/asahi/pool/main/
#asahi-alt · 2022-12-30 16:17
mpsarnd: 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
#asahi-alt · 2022-12-30 16:16
mpstry downgrade mesa pkgs to debian default
#asahi-alt · 2022-12-30 16:15
mpsthat is, mesa-asahi doesn't work without DRM_ASAHI, I had same problem
#asahi-alt · 2022-12-30 16:14
arndyes, I added his repo and did a dist-upgrade with everything that was newer than the normal debian-stable
#asahi-alt · 2022-12-30 16:14
mpsupgraded*
#asahi-alt · 2022-12-30 16:14
mpsdid you upgrade mesa-dri-gallium from Glanzman repo
#asahi-alt · 2022-12-30 16:13
mpsah, iirc Glanzman told that default libunwind is broken on debian
#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:09
mpshttps://git.alpinelinux.org/aports/tree/testing/linux-asahi/config-asahi.aarch64
#asahi-alt · 2022-12-30 16:08
mpsarnd: I could post you alpine kernel config, it worked previous week when I tested
#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-29 13:06
mpshmm, better say 'some arm32'
#asahi-alt · 2022-12-29 13:05
mpsmostly arm32
#asahi-alt · 2022-12-29 13:05
jannaunot sure how rare it is with older SoCs
#asahi-alt · 2022-12-29 13:05
mpsuhm
#asahi-alt · 2022-12-29 13:04
mpsfor*
#asahi-alt · 2022-12-29 13:04
mpsfo
#asahi-alt · 2022-12-29 13:04
mpslooks like CMA for SoCs which don't have iommu
#asahi-alt · 2022-12-29 13:04
ncopathanks
#asahi-alt · 2022-12-29 13:03
jannauncopa: yes, every HW block which might require physically continuous memory is behind an iommu
#asahi-alt · 2022-12-29 13:03
mpslooks like it is not
#asahi-alt · 2022-12-29 13:03
ncopai was not sure if m1 chip was a rare case of SoC or not
#asahi-alt · 2022-12-29 13:02
mpsI opened bug report on alpine for linux-edge about this
#asahi-alt · 2022-12-29 13:02
ncopaok
#asahi-alt · 2022-12-29 13:01
mpsncopa: well, jannau confirmed that and also gregkh told me that it is used in rare cases with some SoCs and that it should be enabled on machines where we are sure it is used
#asahi-alt · 2022-12-29 13:00
ncopamps: are you sure apple silicon does not use CMA?
#asahi-alt · 2022-12-29 11:57
mpsncopa: if you want different kernels I'm not against
#asahi-alt · 2022-12-29 11:55
ncopaalright.. so we do want different kernel configs. I'll revert the last hour of work i did
#asahi-alt · 2022-12-29 11:52
ncopalooks like that is what asahi edge kernel adds
#asahi-alt · 2022-12-29 11:30
mpsit is tempting for me to have kernel flavor with gpu in alpine
#asahi-alt · 2022-12-29 11:29
ncopathey do have two flavors: "base" and "edge"
#asahi-alt · 2022-12-29 11:28
ncopagood for them
#asahi-alt · 2022-12-29 11:27
mpsncopa: btw, asahi distro build two version of linux-asahi from same PKGBUILD, without _flavor
#asahi-alt · 2022-12-29 11:26
mpss/like/liked/
#asahi-alt · 2022-12-29 11:25
mpsnever like _flavor in alpine kernels APKBUILD ;-)
#asahi-alt · 2022-12-29 11:25
mpsthen you could simplify it
#asahi-alt · 2022-12-29 11:24
mpsah yes, forgot that
#asahi-alt · 2022-12-29 11:24
ncopabecause build is done in-tree
#asahi-alt · 2022-12-29 11:23
mpswhy?
#asahi-alt · 2022-12-29 11:23
ncopathey cannot build multi flavor anyway
#asahi-alt · 2022-12-29 11:23
mpsyes, I left _flavor just in case we need it or someone wants to use multi flavor locally
#asahi-alt · 2022-12-29 11:22
mpsfor now I think we don't need it except if we want gpu driver, and then we will have to add mesa-asahi pkg to aports
#asahi-alt · 2022-12-29 11:22
ncopaI'm gonna simplify it
#asahi-alt · 2022-12-29 11:21
ncopathe current APKBUILD uses a list of _flavors which opens up for this, but does not use out-of-tree builds, which closes this possibility again
#asahi-alt · 2022-12-29 11:20
mpsncopa: I contemplated this but didn't come to any conclusion

plus ›