#
#asahi-dev · 2026-07-29 08:08
unifiedgravity[m]Just curious, last time I was doing mmio tracing, it was not from boot time. This time, I need to trace certain regions from the moment the macOS kernel starts - any ideas would be appreciated.
#asahi-dev · 2026-07-29 07:32
chadmedthe m1n1 you install as the macos boot object shouldnt really have anything concatenated on to it
#asahi-dev · 2026-07-29 07:30
unifiedgravity[m]I put same m1n1.bin as boot.bin into /Volumes/Preboot/[uuid]/boot/ idk if that did it or if it was just redoing all the bputil stuff again
#asahi-dev · 2026-07-29 07:30
unifiedgravity[m]nvm fixed it cheers
#asahi-dev · 2026-07-29 07:26
unifiedgravity[m]Also I got the stage 1 working but it doesn't seem to pause for -v for proxy despite -v and having done all the nkcas disable and csrutil disable etc, any need for installing stage 2 under macos?
#asahi-dev · 2026-07-29 07:19
chadmedderp, i had both tabs open next to each other. ill fix that now
#asahi-dev · 2026-07-29 07:09
unifiedgravity[m]Also I found out about Nvidia Nova recently - finally, they are doing something useful - and looks like it will work over USB4 on Apple Silicon pcierc using pure DMA - no BAR misaligned memops. Exciting. No path forward for a MacOS driver because they might cut off kext support, and dext does not expose the necessary APIs, but for Linux, it should be cool.
#asahi-dev · 2026-07-29 07:07
unifiedgravity[m]I am going to try finish USB4 support. I own M2, M2 Max and M1 Pro chips but starting on M1 Pro
#asahi-dev · 2026-07-29 07:05
unifiedgravity[m]Heys just to note that I like the documentation improvements here, but that the link to archive.org for 14.8.3 is the same URL as the one for 13.5. Not a problem for me as I got 14.8.3 from Apple's servers, but it might be useful for someone else if the link were corrected. :) https://asahilinux.org/docs/sw/m1n1-hypervisor/ cheers everyone
#asahi-dev · 2026-07-29 06:41
sofusav1
#asahi-dev · 2026-07-29 06:41
Sobek[m]For which piece of software ?
#asahi-dev · 2026-07-29 06:41
sofusjust went from 0 tests passing to 37 :p
#asahi-dev · 2026-07-29 02:21
svenfair enough!
#asahi-dev · 2026-07-28 23:47
farchords/posting/joining/
#asahi-dev · 2026-07-28 23:47
farchordWe got a decent amount of bots that did that in the past. Join and just post really.... bad images
#asahi-dev · 2026-07-28 23:46
farchordsven: Actually, the ban occured because he posted an image right after posting.
#asahi-dev · 2026-07-28 22:26
svenbut that’s problems for later, first I need to actually support gl0 and then bring up SPTM and TXM in there
#asahi-dev · 2026-07-28 22:25
svenyeah, and if we have to we can make safari or any other process that uses jit work
#asahi-dev · 2026-07-28 22:25
chaos_princessthe only relatively spicy thing that safari had was vp9, but 1. its done, 2. there are other ways
#asahi-dev · 2026-07-28 22:25
svendunno what the gpu folks need to trace but even that shouldn’t be a problem
#asahi-dev · 2026-07-28 22:24
svenyeah, I doubt it’ll be necessary
#asahi-dev · 2026-07-28 22:24
chaos_princesssafari shouldn't have any spicy entitlements, so whatever?
#asahi-dev · 2026-07-28 22:23
svenif it comes to that we can probably patch that dylib to make the msr/mrs into a nop and just mal the jit index as rwx
#asahi-dev · 2026-07-28 22:23
JamesCalligeros[m]hopefully we wont need to trace safari then (or any JITted software)
#asahi-dev · 2026-07-28 22:22
svenI also had to steal about a GB of RAM to have enough headroom to cache the shadow copies of the pagetables
#asahi-dev · 2026-07-28 22:22
svenSafari with aprr_jit=0 in bootargs e.g. pegs a cpu core at 100% almost completely in the hv and doesn’t even start after 10 minutes
#asahi-dev · 2026-07-28 22:21
svenIt’s not *great*, it’s just enough for tracing
#asahi-dev · 2026-07-28 22:20
mmediouni[m]back when playing with it on qemu, the whole overhead of going all the way back to UM each time made it really expensive, happy you're getting better results here
#asahi-dev · 2026-07-28 22:18
svenwe have a path that looks viable to fix that SPRR/GXF mess now at least
#asahi-dev · 2026-07-28 22:16
svenI’ll be happy enough if they maybe unlock a few more regs (see above) and don’t regress them for every new soc release then
#asahi-dev · 2026-07-28 22:14
mmediouni[m]It's not that much of a bad fit but yeah...
#asahi-dev · 2026-07-28 22:13
JamesCalligeros[m]it would be implementing an entirely new arch
#asahi-dev · 2026-07-28 22:13
mmediouni[m]the sptm to xnu ABI is surprisingly very stable though
#asahi-dev · 2026-07-28 22:13
JamesCalligeros[m]no one is volunteering to rewrite mm
#asahi-dev · 2026-07-28 22:13
mmediouni[m]And non upstreamable
#asahi-dev · 2026-07-28 22:12
mmediouni[m]And making Linux work with libsptm sounds to be more pain than it's worth
#asahi-dev · 2026-07-28 22:12
JamesCalligeros[m]all we can do is keep filing radars i suppose
#asahi-dev · 2026-07-28 22:11
svenespecially because they don’t seem to test the non-entitled boot mode and the approach seems to have been „just lock down everything that’s not in the arm arm“
#asahi-dev · 2026-07-28 22:11
svenit’s a pity really
#asahi-dev · 2026-07-28 22:10
mmediouni[m]so all this stuff really doesn't make much sense tbh
#asahi-dev · 2026-07-28 22:09
mmediouni[m]All you have to do is com.apple.private.hypervisor + raise ISA level to 4 + clear up the impdef trap bit in the 0 (hcr_el2) control field and then put whatever random stuff into the hacr control field
#asahi-dev · 2026-07-28 22:08
svenyeah :(
#asahi-dev · 2026-07-28 22:08
mmediouni[m]bad decisions abound, especially when SPRR + GXF are very much testable in VMs officially bc PCC vre
#asahi-dev · 2026-07-28 22:07
svenyeah, I don’t care all that much about TSO either. Would’ve been nice if it was an oversight and just lacking testing but apparently it was an intentional decision so *shrug*
#asahi-dev · 2026-07-28 22:07
JamesCalligeros[m]I just dont think its the end of the world if we dont get it back
#asahi-dev · 2026-07-28 22:06
JamesCalligeros[m]Yeah no i understand all that
#asahi-dev · 2026-07-28 22:06
mmediouni[m][@chadmed:matrix.org](https://matrix.to/#/@chadmed:matrix.org) because apple has hw tso anyway, their lrcpc impl is slow and seems to outright alias to LDAR perf wise on quite some SoCs
#asahi-dev · 2026-07-28 22:05
chaos_princessnot what its for
#asahi-dev · 2026-07-28 22:05
svenand if I could get a wish granted SPRR/gxf but well… :-D
#asahi-dev · 2026-07-28 22:05
JamesCalligeros[m]tbqh get a pc if you wanna game competitively

plus ›