#asahi-dev · 2026-01-03 11:35
chadmedmost of the layer we interact with for all the nice features is ex-iomfb#asahi-dev · 2026-01-03 11:35
chadmednickchan: it was reimplemented in the dcp firmware#asahi-dev · 2026-01-03 11:35
chadmedso the same dinky little thing has to do 1hz vrr on a watch sized oled on one end of the spectrum, and 12 bit dolby vision with dts-ma or atmos bitstream on the other end#asahi-dev · 2026-01-03 11:34
nickchanioframebuffer is gone; not a thing anymore on apple silicon#asahi-dev · 2026-01-03 11:34
nickchaniomobileframebuffer#asahi-dev · 2026-01-03 11:34
chadmedbut the thing has so many jobs. its used in everything from the apple watch to the apple tv #asahi-dev · 2026-01-03 11:33
chadmedmost of it is iomfb which used to be a kext that got moved to the other side of the iommu because it was so full of security holes #asahi-dev · 2026-01-03 11:32
lacamar_Just imagine having to reimplement all that#asahi-dev · 2026-01-03 11:32
lacamar_Fuarrk#asahi-dev · 2026-01-03 11:32
chadmedthe uncompressed blob is 9 MB :P #asahi-dev · 2026-01-03 11:32
chadmed>some#asahi-dev · 2026-01-03 11:31
lacamar_chadmed: Apple lets you have some load bearing firmware, as a treat#asahi-dev · 2026-01-03 11:29
nickchanthere's some minor errors but I think https://arxiv.org/pdf/2510.09272 is the most comprehensive explaination (+sptm/txm/xnu as well)#asahi-dev · 2026-01-03 11:27
chadmedhaving the firmware do all of the really hard stuff is actually quite pleasant. the most annoying part is that we have to bend atomic modesetting around what iomfb wants to do, and this requires some pretty heinous crimes against the atomic api#asahi-dev · 2026-01-03 11:26
lacamar_nickchan: what is this exclavekit for?#asahi-dev · 2026-01-03 11:22
lacamar_I didn't really appreciate how much DCP was responsible for. Don't know how you guys do it#asahi-dev · 2026-01-03 11:20
nickchanruns in the GLs#asahi-dev · 2026-01-03 11:20
nickchan...and exclavekit has its own kernel and rootfs dmg#asahi-dev · 2026-01-03 11:17
chadmedbut its going to need to go upstream eventually so its gonna need to be good, and we might as well make it do what it's supposed to while we're at it#asahi-dev · 2026-01-03 11:17
chadmedthe driver is really scary and held together with hopes and prayers so no one really wanted to touch it :p#asahi-dev · 2026-01-03 11:16
lacamar_Color accuracy, wide gamut, and HDR is important to me so I'm grateful it's being worked on#asahi-dev · 2026-01-03 11:15
lacamar_It's exciting to see the progress on the display side, it's something I've been looking forward to for a long time#asahi-dev · 2026-01-03 11:13
nickchanthere's some m4 exclave images in certain firmwares but i don't think they are actually used #asahi-dev · 2026-01-03 11:08
nickchanm5 has its own problem that SPTM tries to run its own VM called ExcalveKit#asahi-dev · 2026-01-03 10:45
svenI expect them to hide most tbt5 changes in the tunables #asahi-dev · 2026-01-03 10:36
jannauno, I left a comment in PR and you've already picked up my changes#asahi-dev · 2026-01-03 10:32
jannauI have at least https://github.com/jannau/m1n1/commits/bootloader-cal-blobs/ on top but unfortunately don't remember if I had anything additional#asahi-dev · 2026-01-03 10:26
chaos_princessAs far as i remember i pushed everything. #asahi-dev · 2026-01-03 10:25
jannauchaos_princess: do you have any changes for agx initdata in m1n1 beyond the pull request? I'd like to get that merged soon-ish#asahi-dev · 2026-01-03 10:23
jannauI'm expecting atc-phy changes for tbt5 / dp2.1 which would be preferably figured out by tracing#asahi-dev · 2026-01-03 09:45
svens/usb4/tbt5/#asahi-dev · 2026-01-03 09:44
svenso i think we can have two cursed streams running in parallel: 1) bring up m4 by guessing and luck and 2) virtualize sptm on m3/m4 :D#asahi-dev · 2026-01-03 09:44
sveniirc the linux tbt driver already has usb4 support so i suspect it won't be that hard with a m3 ultra#asahi-dev · 2026-01-03 09:28
jannaueven thunderbolt5 / dp 2.1 might be doable with a m3 ultra (if that hasn't the same issue as m4 systems)#asahi-dev · 2026-01-03 09:26
jannauI suspect everything except agx might be doable with supporting the same fw version on m1 - m3 a mixture of cursing, guessing and luck#asahi-dev · 2026-01-03 09:17
sveni also still think we can probably bring up m4 except for dcp, gpu, and other complex co-processors almost blindly without the hv :D#asahi-dev · 2026-01-03 09:12
svenmight also be useful to reverse engineer iboot and figure out how exactly the lock out works#asahi-dev · 2026-01-03 09:12
svenit might be its own knob but I don't think we can set it individually#asahi-dev · 2026-01-03 09:12
chadmedprobably because thats the sane thing they should have done #asahi-dev · 2026-01-03 09:12
chadmedoh right, idk why i thought it was its own boot policy knob#asahi-dev · 2026-01-03 09:10
svenno, but then we're running under SPTM#asahi-dev · 2026-01-03 09:10
chadmedif we install stage1 m1n1 as a mach-o do they still get disabled#asahi-dev · 2026-01-03 09:09
svenstill leaves the issue of all those other apple isa extensions that are disabled#asahi-dev · 2026-01-03 09:09
svenhm.. so thinking about virtualizing sptm: i think we don't even need two separate EL1 VMs or even two separate sets of pagetables: it might be enough to "just" build a single shadow page table that has has max(gl2, el2) permissions set and fake genter/gexit transitions#asahi-dev · 2026-01-03 08:22
chadmedall the important stuff is there though#asahi-dev · 2026-01-03 08:22
chadmedurgh the lines got truncated#asahi-dev · 2026-01-03 08:18
JamesCalligeros[m]that does seem like the cause. ill see if reverting that fixes it later#asahi-dev · 2026-01-03 08:18
JamesCalligeros[m]https://0x0.st/P-FL.txt#asahi-dev · 2026-01-03 08:16
jannausounds like it's caused by https://github.com/AsahiLinux/linux/pull/433 then cc: chaos_princess #asahi-dev · 2026-01-03 08:13
JamesCalligeros[m]M2 max studio