#
✕ nick:amw
#asahi · 2023-11-07 07:36
amwjanneg: Those all seem like patching over the issue not really addressing it properly - but perhaps that's too hard. Thnks
#asahi · 2023-11-07 07:33
amwok - but it works for me - so perhaps someone who understands this has a better fix...?
#asahi · 2023-11-07 06:45
amwIf anyone has a better place or way to report this issue I'm all ears - thanks
#asahi · 2023-11-07 06:44
amwFor some reason my 6.4 kernel worked but in 6.5 efifb driver has grabs the memory first and then simpledrm tries to grab it again later and fails and results in NO FB device available at all...
#asahi · 2023-11-07 06:42
amwAccording to https://github.com/AsahiLinux/linux/blob/asahi/drivers/video/aperture.c#L27 a FB driver should call aperture_remove_conflicting_devices() in it's probe function to release it from an earlier driver
#asahi · 2023-11-07 06:40
amwAs per my report - https://oftc.irclog.whitequark.org/asahi/2023-11-05#32627097 - simpledrm was failing to allocate memory due to conflict and thus causing X not to have a fb and fail
#asahi · 2023-11-07 06:38
amwI think there is a generic bug in simpledrm driver - as this fixes it and allows X to work again for me - https://paste.debian.net/1297396/
#asahi · 2023-11-05 10:37
amwI have to go now - so I can debug some more later - but thanks - greatly - this has been a real pain for me - Yeah!
#asahi · 2023-11-05 10:36
amwFrom my earlier dmesg - the first FB works ok and the 2nd fails and I guess screws it up.
#asahi · 2023-11-05 10:34
amwYes - it's all working again... - beautiful
#asahi · 2023-11-05 10:32
amwj`ey: Yes that worked great! - https://paste.debian.net/1297195/
#asahi · 2023-11-05 10:24
amwSo perhaps now I should try disabling it as per your early message?
#asahi · 2023-11-05 10:23
amwIt shows two calls to devm_aperture_acquire() - the 2nd failing - Yep I did have EFI_FB enabled (my grep was wrong)
#asahi · 2023-11-05 10:21
amwj`ey: Here's the dmesg output = https://paste.debian.net/1297193/
#asahi · 2023-11-05 09:59
amwj`ey: I'm doing the full bindeb-pkg thingie - Sigh
#asahi · 2023-11-05 09:39
amwj`ey: ok
#asahi · 2023-11-05 09:38
amwOnly working kernel requires complete bindeb-pkg which takes a long time to buid everything...
#asahi · 2023-11-05 09:38
amwj`ey: I've been trying to rebuild my kernel alone but it keeps falling through to initramdisk now very frustrating
#asahi · 2023-11-05 09:36
amwActually CONFIG_FB_EFI is in all configs - must have muck'ed up my grep
#asahi · 2023-11-05 09:28
amwj`ey: My working 6.4 kernel has CONFIG_FB_EFI but my failing 6.5 doesn't
#asahi · 2023-11-05 04:45
amwIs there some magic apple-dart protection that no longer allows the allocation?
#asahi · 2023-11-05 04:45
amwI believe it is this CONFIG_DRM_SIMPLE - drivers/gpu/drm/tiny/simpledrm.c code
#asahi · 2023-11-05 04:43
amwYes I believe I am still trying to use the simple frame buffer set up before boot - is that no longer supported?
#asahi · 2023-11-05 04:42
amwX11 working on 6.4 but failing on 6.5 - suspect it is related to this kernel error: simple-framebuffer bd58dc000.framebuffer: [drm] *ERROR* could not acquire memory range [??? 0xffff6e1d8629d580-0x2a5000001a7 flags 0x0]: -16
#asahi · 2023-11-02 08:46
amwNo sign of apple-dcp - I have to go off now - but thanks for the help so far
#asahi · 2023-11-02 08:45
amwI have uploaded : grep -C3 --color -E 'framebuffer|Linux version|apple-dcp' /var/log/kern.log - as https://paste.debian.net/1296933/
#asahi · 2023-11-02 08:39
amwjanneg: Not sure which particular number you mean - my kernel is vmlinuz-6.4.0-asahi-00514-gbb1ea272fd94
#asahi · 2023-11-02 08:37
amwHmm - I see on the failing kernel: simple-framebuffer bd58dc000.framebuffer: [drm] *ERROR* could not acquire memory range [??? 0xffff07880629d480-0x2a5000001a7 flags 0x0]: -16
#asahi · 2023-11-02 08:29
amwPaulFertser: I need to boot up in my not working kernel - do it later
#asahi · 2023-11-02 08:28
amwjanneg: In my working kernel only /dev/dri/card0 and by-path
#asahi · 2023-11-02 08:23
amwPaulFertser: Thanks - I guess the card0 device is something else - not sure what but it gives me a way in
#asahi · 2023-11-02 08:22
amwI'm not bothered with HW acceleration - so perhaps that is why
#asahi · 2023-11-02 08:22
amwI
#asahi · 2023-11-02 08:20
amwHmm only see CONFIG_DRM_ASAHI=y in my 6.3 kernel???
#asahi · 2023-11-02 08:16
amwIt's a good idea - I made a diff of the configs here : https://paste.debian.net/1296932/
#asahi · 2023-11-02 08:13
amwThe following are present in both kernel configs : CONFIG_DRM_SIMPLEDRM CONFIG_DRM_PANFROST CONFIG_DRM_APPLE
#asahi · 2023-11-02 08:10
amwgrep ASAHI shows nothing on both working and non-working kernels
#asahi · 2023-11-02 08:02
amwPaulFertser: Do you know the kernel CONFIG I should be looking for?
#asahi · 2023-11-02 07:50
amwMy Aug 3rd kernel - 6.4.0-asahi-00514 ok - but the 6.5-asahi ones are not
#asahi · 2023-11-02 07:49
amwX11 crashing with recent kernels - SIGABRT no stack trace - https://paste.debian.net/1296930/ - any suggestions how to debug this further?
#asahi · 2023-08-22 12:41
amwThat's plenty for me to read for the moment
#asahi · 2023-08-22 12:38
amwj`ey: Thanks - will look at that and read about ARCH system - seems important
#asahi · 2023-08-22 12:36
amwOK - thats the branch - PKGBUILD is something in ARCH system - thanks
#asahi · 2023-08-22 12:32
amwIs there a branch asociated with wip or linux-asahi of the github.com/AsahiLinux/linux ?
#asahi · 2023-08-22 12:30
amwCan someone explain how you access the linux-asahi-edge package - only in fedora or arch or elsewhere?
#asahi · 2022-12-06 07:19
amwExcept bluetooth now :-(
#asahi · 2022-12-06 07:19
amwI had tried to remove the directory but failed so may be it had some old .o's as a complete rebuild took a longer time and works...
#asahi · 2022-12-06 07:17
amwGlanzmann: I think my compilation was not clean - I recompiled the kernel and it boots fine
#asahi · 2022-12-06 02:41
amwSorry 2. is backup /boot/efi/EFI and rerun asahi installer
#asahi · 2022-12-06 02:40
amwI am thinking either 1. Just rebuild and upgrade u-boot or backup /boot/efi/EFI and redo asahi installer...

plus ›