#
…

2026-07-29

00:20ddxtanx has joined #asahi-dev
00:37hdbngr has joined #asahi-dev
00:41picnoir has quit [Ping timeout: 480 seconds]
00:45hdbngr has quit [Ping timeout: 480 seconds]
00:53picnoir has joined #asahi-dev
01:42leah has quit [Quit: i will return]
02:00yurix has quit [Remote host closed the connection]
02:00yurix has joined #asahi-dev
02:19leah has joined #asahi-dev
02:21svenfair enough!
02:36pb17 has quit [Ping timeout: 480 seconds]
02:37pb17 has joined #asahi-dev
02:47hdbngr has joined #asahi-dev
02:55hdbngr has quit [Ping timeout: 480 seconds]
03:02tjemke774 has joined #asahi-dev
03:08tjemke77 has quit [Ping timeout: 480 seconds]
03:08tjemke774 is now known as tjemke77
03:13nora has joined #asahi-dev
03:13voidah has joined #asahi-dev
03:15nora_ has quit [Ping timeout: 480 seconds]
03:21hdbngr has joined #asahi-dev
03:30hdbngr has quit [Ping timeout: 480 seconds]
03:50voidah has quit [Ping timeout: 480 seconds]
04:05marvin24 has quit [Ping timeout: 480 seconds]
04:07voidah has joined #asahi-dev
04:15voidah has quit [Ping timeout: 480 seconds]
04:29eluks has quit [Remote host closed the connection]
04:30eluks has joined #asahi-dev
05:00hdbngr has joined #asahi-dev
05:08hdbngr has quit [Ping timeout: 480 seconds]
05:13hdbngr has joined #asahi-dev
05:13rosalyntg has quit [Ping timeout: 480 seconds]
05:14rosalyntg has joined #asahi-dev
05:21hdbngr has quit [Ping timeout: 480 seconds]
05:22hdbngr has joined #asahi-dev
05:31hdbngr has quit [Ping timeout: 480 seconds]
05:35yuyichao_ has quit [Remote host closed the connection]
05:35yuyichao_ has joined #asahi-dev
05:51pb17 has quit [Ping timeout: 480 seconds]
05:52pb17 has joined #asahi-dev
06:03hdbngr has joined #asahi-dev
06:06mildsunrise has quit [Quit: disconnect]
06:07mildsunrise has joined #asahi-dev
06:11hdbngr has quit [Ping timeout: 480 seconds]
06:22Z750 has joined #asahi-dev
06:23hdbngr has joined #asahi-dev
06:32hdbngr has quit [Ping timeout: 480 seconds]
06:41sofusjust went from 0 tests passing to 37 :p
06:41Sobek[m]For which piece of software ?
06:57hdbngr has joined #asahi-dev
07:05unifiedgravity[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
07:06hdbngr has quit [Ping timeout: 480 seconds]
07:07unifiedgravity[m]I am going to try finish USB4 support. I own M2, M2 Max and M1 Pro chips but starting on M1 Pro
07:09anon_ has quit [Ping timeout: 480 seconds]
07:09unifiedgravity[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.
07:19chadmedderp, i had both tabs open next to each other. ill fix that now
07:24hdbngr has joined #asahi-dev
07:26unifiedgravity[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?
07:30unifiedgravity[m]nvm fixed it cheers
07:30unifiedgravity[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
07:32chadmedthe m1n1 you install as the macos boot object shouldnt really have anything concatenated on to it
07:33hdbngr has quit [Ping timeout: 480 seconds]
07:41hdbngr has joined #asahi-dev
08:08unifiedgravity[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.
08:11chadmedhypervisor scripts are loaded by the time xnu starts doing things
08:14svenyou can also pass -S to run guest and you'll be dropped to a shell before the hv starts
08:29ArcaneNibble_ has joined #asahi-dev
08:36ArcaneNibble_ is now known as ArcaneNibble
10:46svenunifiedgravity[m]: fwiw, https://github.com/AsahiLinux/linux/tree/sven/tbt-wip is my current (well... months old) work. it bringsup everything with a mmio trace similar to macos iirc but the co-processor then never sees the cable that's actually connected
10:46svenit doesn't bringup pcie or dpd or anything else yet, but the first step is anyway to make it recognize the connection and setup tunnels
10:47svenonce that works we can move on to usb 3 tunneling (which is likely the easiest), then pcie tunneling (somewhat harder and won't work with very long chains due to the current linux hotplug code) and finally DP (that's gonna be annoying because DCP)
11:06hdbngr has quit [Ping timeout: 480 seconds]
11:15hdbngr has joined #asahi-dev
11:33hdbngr has quit [Ping timeout: 480 seconds]
11:42hdbngr has joined #asahi-dev
12:22fl0_iddoes anybody know if somebody previously worked a bit on ave? afaik opposed to avd it is based on asc/mailbox and uses an rtkit os, right
12:22fl0_idI get it might not be as useful as avd, but could maybe also use v4l2
12:26chaos_princessasc/mailbox, more specifically the isp-like channel system
12:28fl0_idright. whiile I don't know much about internals of video encoding, it seems like a well enclosed project... to at leat get a little bith further
12:39remexre has joined #asahi-dev
13:04sven[cpu0] SPTM breakpoint: panic at 0xfffffff0270f395c
13:04sven[cpu0] x0 = "%s: Couldn't find nvme-queue-entries"
13:04svenshould probably actually install macos 27 at this point
14:27Yushi has quit [Remote host closed the connection]
14:28Yushi has joined #asahi-dev
15:08chaos_princesssven: very stupid question, when you were testing tb, have you tried it with cable in both orientations?
15:09svenyes :D
15:09sveni even tried all the cables i have
15:10chaos_princessoh, nvm, i had a suspicion, but was reading the wrong part of atcphy.c
15:41foltz58 has joined #asahi-dev
15:44foltz5 has quit [Ping timeout: 480 seconds]
15:44foltz58 is now known as foltz5
15:51hdbngr has quit [Ping timeout: 480 seconds]
15:52josiedotlol has quit [Ping timeout: 480 seconds]
16:04josiedotlol_ has joined #asahi-dev
16:08josiedotlol_ has quit [Remote host closed the connection]
16:10seb_ has joined #asahi-dev
16:14josiedotlol_ has joined #asahi-dev
16:36seb_ has quit [Quit: Konversation terminated!]
16:39Yushi has quit [Remote host closed the connection]
16:40Yushi has joined #asahi-dev
16:41yukajannau: the sd card reader was not working for you on t8122/t6030, right?
16:41yukaor was that just a pwren thing
16:41yukaI believe there is a part of pcie init missing on t8122, judging by this trace: https://noopwafel.net/asahi/pcie_m3_trace_notes.txt
16:42yukaat least the ltssm stuff which is conditional to t602x
16:45yukaand these:
16:45yuka0x59400c020 (apcie[7], offset 0x4020) = 0x3
16:45yuka0x594004080 (apcie[10], offset 0x80) = 0x1
16:45yukaalso conditional to t602x
16:47Yushi has quit [Remote host closed the connection]
16:47hdbngr has joined #asahi-dev
16:48Yushi has joined #asahi-dev
16:57hdbngr has quit [Ping timeout: 480 seconds]
17:01hdbngr has joined #asahi-dev
17:03sofusyuka: sd card seems to work on t6030, at the least just plugging in and mounting does
17:08anon has joined #asahi-dev
17:10seb_ has joined #asahi-dev
17:11seb_ has quit []
17:15voidah has joined #asahi-dev
17:25voidah has quit [Ping timeout: 480 seconds]
17:34voidah has joined #asahi-dev
17:43voidah has quit [Read error: Connection reset by peer]
17:43eluks has quit [Ping timeout: 480 seconds]
17:45chadmed has quit [Quit: Konversation terminated!]
17:45chadmed has joined #asahi-dev
17:51hdbngr has quit [Ping timeout: 480 seconds]
17:55Yushi has quit [Remote host closed the connection]
17:56Yushi has joined #asahi-dev
18:01eluks has joined #asahi-dev
18:05hdbngr has joined #asahi-dev
18:12seb_ has joined #asahi-dev
18:14ninelore has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
18:14ninelore has joined #asahi-dev
18:19hdbngr has quit [Ping timeout: 480 seconds]
18:22hdbngr has joined #asahi-dev
18:23seb_ has quit [Quit: Konversation terminated!]
18:27voidah has joined #asahi-dev
18:31hdbngr has quit [Ping timeout: 480 seconds]
19:01Ardu0us has joined #asahi-dev
19:06hdbngr has joined #asahi-dev
19:06Ardu0us_ has quit [Ping timeout: 480 seconds]
19:23hdbngr has quit [Ping timeout: 480 seconds]
19:29beastd has joined #asahi-dev
19:29voidah has quit [Ping timeout: 480 seconds]
19:36hdbngr has joined #asahi-dev
19:37voidah has joined #asahi-dev
19:46svenbah, this is going to very annoying. both sptm and xnu now seem to make the hard assumption that they run in EL2/GL2 :(
19:46voidah has quit [Ping timeout: 480 seconds]
19:48chaos_princesswhich is m2+ :(
19:48sveni have another very cursed idea, but it's also going to be very annoying
19:48chaos_princessdoes it involve running xnu in el0
19:49sveni can probably just patch some _EL12 to just _EL1 and just anything that's truly _EL2-only to a hvc and try to emulate it
19:53chaos_princessyou may or may not need to also mess with tlbi instructions
19:53hdbngr has quit [Ping timeout: 480 seconds]
19:54svenyeah :(
19:55hdbngr has joined #asahi-dev
20:01svencan't be worse than fixing thunderbolt :P
20:03hdbngr has quit [Ping timeout: 480 seconds]
20:03chaos_princessoh, now i see why you are so interested in sptm :P
20:04svenyup :D
20:05svenanother reason against NV: they also use the _GL registers, so that would work on M2/M3 but i'd be stuck again on m4+
20:07sveni.e. if i have to take care of GL12/GL2 crap i may as well just handle the EL part the same
20:07chaos_princessnv does give you tlbi and at for free*
20:07svenhm, also true
20:08svenhrm, though tlbi might not an issue because i trap all of that already for the sprr/gxf emulation
20:08chaos_princessvia hcr or patching el1 undef?
20:09chaos_princessthere are el2 forms of tlbi that undef at el1
20:10chaos_princessand nv makes them trap to el2
20:10svenjust patch them to hvc then i guess :D
20:11svenboth xnu and sptm code being read-only makes that kinda painless
20:11chaos_princessat some point in the past i have looked into "why do you actually need feat_nv to do nv", and still remember some things
20:17AntonPalgunov[m] has joined #asahi-dev
20:19hdbngr has joined #asahi-dev
20:28voidah has joined #asahi-dev
20:50hdbngr has quit [Ping timeout: 480 seconds]
20:59hdbngr has joined #asahi-dev
21:08hdbngr has quit [Ping timeout: 480 seconds]
21:14hdbngr has joined #asahi-dev
21:31hdbngr has quit [Ping timeout: 480 seconds]
21:37hdbngr has joined #asahi-dev
21:46hdbngr has quit [Ping timeout: 480 seconds]
21:59hdbngr has joined #asahi-dev
22:07hdbngr has quit [Ping timeout: 480 seconds]
22:21voidah has quit [Read error: Connection reset by peer]
22:23ansg191_ has joined #asahi-dev
22:26ansg191_ has quit [Remote host closed the connection]
22:38hdbngr has joined #asahi-dev
22:47hdbngr has quit [Ping timeout: 480 seconds]
22:52millefy14 has quit [Ping timeout: 480 seconds]
23:23hdbngr has joined #asahi-dev
23:27MrnasTechGuy has joined #asahi-dev
23:27MrnasTechGuy has quit []
23:32hdbngr has quit [Ping timeout: 480 seconds]
23:39hdbngr has joined #asahi-dev
23:50millefy14 has joined #asahi-dev
23:54hdbngr has quit [Ping timeout: 480 seconds]
…