ChanServ changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | General project discussion | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
<j_ey>
marcan: that looks like someting good for a stream ^_^
<j_ey>
(also your hexdump has colours now, fancy)
<j_ey>
or is that a diff.. cool
<marcan>
j_ey: it's been in proxyutils since the dark ages, pretty sure it dates back to the wii or at least wii u
<marcan>
RegMonitor :)
<marcan>
though I'm using it on shared memory here, made a few changes to have it read memory through the DART translation
<marcan>
also added ASCII (didn't need that for registers)
<j_ey>
cool, in fact i think I vaugely remember seeing it from some of the earliest streams now
<j_ey>
but anyway, doesnt make it less cool >:D
<marcan>
yeah, I used it with AIC
<marcan>
I'll do a stream shortly
jn has quit [Remote host closed the connection]
<marcan>
I mostly solved all the mysteries of the IOP commands; it really is all in shared memory, there are just separate blocks and the pages aren't physically contiguous
<marcan>
diffing big chunks in IOVA address space instead of dumping just the head page made everything show up
<marcan>
there are at least two if more more command/buffer protocols involved here :p
<marcan>
so now time to implement that
<marcan>
the whole thing is uber slow now because I dump *all* of the endpoing buffers in their entirety on *every* command :D
jn has joined #asahi
<j_ey>
well it's not like you need to interact with macOS much, I hope!
<marcan>
not for the startup stuff, and once I have the actual command protocol interpreted it'll be much lighter of course
<marcan>
right now it's just dump the world every time to see what's moving
aleasto has quit [Quit: Konversation terminated!]
aleasto has joined #asahi
choozy has joined #asahi
tmbinc1 has joined #asahi
manawyrm has quit [Ping timeout: 480 seconds]
manawyrm has joined #asahi
tmbinc has quit [Ping timeout: 480 seconds]
Stary_ has joined #asahi
Stary has quit [Ping timeout: 480 seconds]
edwinistrator has joined #asahi
<bloom>
marcan: woot woot
choozy has quit [Remote host closed the connection]
<bloom>
marcan: The IOKit parsing thing scares the living bajeebus out of me.
<bloom>
Though maybe with luck we only need to ingest a small, fixed subset to avoid an entire parser (in favour of just some magic offsets etc)? I don't know, I really don't want to see a string-indexed hash table in the middle of the display driver.
Darksecond has joined #asahi
choozy has joined #asahi
<marcan>
bloom: hardcoding offsets is a no-go, that's going to break badly with firmware changes
<marcan>
we might be able to get away with a reduced parser that only follows the expected parts of the structure and ignores the rest though
choozy has quit [Remote host closed the connection]
choozy has joined #asahi
edwinistrator has quit [Ping timeout: 480 seconds]
choozy has quit [Ping timeout: 480 seconds]
edwinistrator has joined #asahi
edwinistrator has quit []
<j_ey>
marcan: did you get anywhere in the last 1-2hours of the stream?
<marcan>
j_ey: I think I got the general idea for messages right, though some things are still a bit strange
<j_ey>
mfw text makes your browser stutter a little
<j_ey>
marcan: is the goal of this more about the IOP / mailbox stuff, than dcp?
<j_ey>
Im not sure exactly what settings / commands you'd need from DCP
<marcan>
both
<marcan>
we still need to implement DCP
* marcan
off to sleep
<j_ey>
cya
Andalu30 has joined #asahi
Andalu30 has quit [Quit: Konversation terminated!]
Andalu30 has joined #asahi
<bloom>
marcan: Do we err have to deal with DCP fw updates? I guess so but that really sucks.
<bloom>
I worry in general about linux drivers being a moving target if we can't pin a specific version .. and if the fw is non-redistributable i guess we can't ...
<bloom>
marcan: I'm still not sure your shared mem stuff is right