#
…

2021-06-23

01:06riker77_ has joined #asahi
01:11riker77 has quit [Ping timeout: 480 seconds]
01:11riker77_ is now known as riker77
02:43PhilippvK has quit [Ping timeout: 480 seconds]
03:37marvin24 has joined #asahi
03:40marvin24_ has quit [Ping timeout: 480 seconds]
04:43Emantor has quit [Quit: ZNC - http://znc.in]
04:45Emantor has joined #asahi
08:17Fanfwe42 is now known as Fanfwe
08:17aleasto has joined #asahi
08:51robinp_ has joined #asahi
08:59robinp has quit [Ping timeout: 480 seconds]
10:44j_eymarcan: that looks like someting good for a stream ^_^
10:45j_ey(also your hexdump has colours now, fancy)
10:45j_eyor is that a diff.. cool
11:07marcanj_ey: it's been in proxyutils since the dark ages, pretty sure it dates back to the wii or at least wii u
11:07marcanRegMonitor :)
11:07marcanthough I'm using it on shared memory here, made a few changes to have it read memory through the DART translation
11:07marcanalso added ASCII (didn't need that for registers)
11:07j_eycool, in fact i think I vaugely remember seeing it from some of the earliest streams now
11:07j_eybut anyway, doesnt make it less cool >:D
11:07marcanyeah, I used it with AIC
11:08marcanI'll do a stream shortly
11:08jn has quit [Remote host closed the connection]
11:08marcanI 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
11:09marcandiffing big chunks in IOVA address space instead of dumping just the head page made everything show up
11:09marcanthere are at least two if more more command/buffer protocols involved here :p
11:09marcanso now time to implement that
11:10marcanthe whole thing is uber slow now because I dump *all* of the endpoing buffers in their entirety on *every* command :D
11:10jn has joined #asahi
11:10j_eywell it's not like you need to interact with macOS much, I hope!
11:10marcannot for the startup stuff, and once I have the actual command protocol interpreted it'll be much lighter of course
11:10marcanright now it's just dump the world every time to see what's moving
12:09aleasto has quit [Quit: Konversation terminated!]
12:16aleasto has joined #asahi
12:32choozy has joined #asahi
13:16tmbinc1 has joined #asahi
13:17manawyrm has quit [Ping timeout: 480 seconds]
13:17manawyrm has joined #asahi
13:18tmbinc has quit [Ping timeout: 480 seconds]
13:19Stary_ has joined #asahi
13:19Stary has quit [Ping timeout: 480 seconds]
13:49edwinistrator has joined #asahi
13:53bloommarcan: woot woot
14:00choozy has quit [Remote host closed the connection]
14:03bloommarcan: The IOKit parsing thing scares the living bajeebus out of me.
14:05bloomThough 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.
14:15Darksecond has joined #asahi
14:16choozy has joined #asahi
14:20marcanbloom: hardcoding offsets is a no-go, that's going to break badly with firmware changes
14:20marcanwe might be able to get away with a reduced parser that only follows the expected parts of the structure and ignores the rest though
14:21choozy has quit [Remote host closed the connection]
16:06choozy has joined #asahi
16:25edwinistrator has quit [Ping timeout: 480 seconds]
16:28choozy has quit [Ping timeout: 480 seconds]
17:06edwinistrator has joined #asahi
17:09edwinistrator has quit []
17:16j_eymarcan: did you get anywhere in the last 1-2hours of the stream?
17:19marcanj_ey: I think I got the general idea for messages right, though some things are still a bit strange
17:19marcanall pushed
17:20marcanhttps://hub.marcan.st/t/dcplog.txt if anyone wants to stare at it
17:21j_eymfw text makes your browser stutter a little
17:22j_eymarcan: is the goal of this more about the IOP / mailbox stuff, than dcp?
17:23j_eyIm not sure exactly what settings / commands you'd need from DCP
17:23marcanwe still need to implement DCP
17:24* marcanoff to sleep
17:30Andalu30 has joined #asahi
17:36Andalu30 has quit [Quit: Konversation terminated!]
17:37Andalu30 has joined #asahi
17:47bloommarcan: Do we err have to deal with DCP fw updates? I guess so but that really sucks.
17:48bloomI 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 ...
17:51bloommarcan: I'm still not sure your shared mem stuff is right
17:51bloom00000000 44 69 73 70 6c 61 79 50 69 70 65 53 74 72 69 64 |DisplayPipeStrid|
17:51bloom00000010 65 52 65 71 75 69 72 65 6d 65 6e 74 73 00 72 61 |eRequirements.ra|
17:51bloom00000030 52 54 4b 53 54 41 43 4b 52 54 4b 53 54 41 43 4b |RTKSTACKRTKSTACK|
17:51bloom00000020 6d 65 74 65 72 73 00 4b 52 54 4b 53 54 41 43 4b |meters.KRTKSTACK|
17:51bloomRTKSTACK is very clearly not part of the message ...
17:51bloomUnless the whole message is /just/ the string "DisplayPipeStrideRequirements" and nothing else.
17:52marcanbloom: seems to be just that string
17:52marcandon't ask me why
17:52bloomfair enough
17:52marcanI think it might be a registry notification
17:52marcan"this property changed"
17:52bloomso just missing a size field somewhere?
17:53marcanit's 00 terminated
17:53marcanprobably a fixed sized uninitialized buffer they strcpied a string into or whatever
17:53bloomawful ;p
17:53j_eyRTK STACK?
17:53j_eyRT Kit Stack?
17:53marcanthat seems to be what they fill the stack with
17:53bloomj_ey: RTKit stack, that's their version 0xDEADBEEF
17:53bloom"ADP is generic pipe"
17:54bloomWhat's ADP?
17:54bloom"Generic pipe"
17:54bloomnot helpful
17:54j_eyceci n'est pas une generic pipe
17:54marcanbloom: we can pin the version btw
17:54marcanAIUI Apple tends to leave their OSes up forever, and M1s don't have hard call home requirements, you can run OSes in permissive mode
17:55marcanso all we need to do is have our installer slurp the blobs from their site if it comes to that
17:55bloomj_ey: lolololol
17:55bloommarcan: ack
17:55marcan(but I kind of hope this is backwards compatible to some extent)
18:44choozy has joined #asahi
19:26aleasto has quit [Remote host closed the connection]
20:02Andalu30 has quit [Quit: Konversation terminated!]
20:02Andalu30 has joined #asahi
20:04Andalu30 has quit [Remote host closed the connection]
21:40choozy has quit [Remote host closed the connection]
…