marcan changed the topic of #asahi-gpu to: Asahi Linux: porting Linux to Apple Silicon macs | GPU / 3D graphics stack black-box RE and development (NO binary reversing) | Keep things on topic | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-gpu
wiloon has joined #asahi-gpu
Necrosporus is now known as Guest92356
Guest92356 has quit [Killed (hitchcock.freenode.net (Nickname regained by services))]
Necrosporus has joined #asahi-gpu
Necrosporus is now known as Guest47765
Guest47765 has quit [Killed (tepper.freenode.net (Nickname regained by services))]
Necrosporus has joined #asahi-gpu
aratuk has joined #asahi-gpu
modwizcode has quit [Quit: Later]
ah-[m] has joined #asahi-gpu
<bloom> Looks like marcan will be outshining me. Guess I better work faster ;-)
wiloon has quit [Quit: Connection closed for inactivity]
* JTL is excited for stream
<Shiz> it's a collaborative project right :P
<bloom> Shiz: Ostensibly
<bloom> In reality it might be marcan and I racing against each other ;)
<bloom> <marcan, probably> I never agreed to this
<Shiz> :D
<Shiz> well, people are never really alone :)
<hthh_> i noticed wrap.c doesn't build as-is (on lines 145/147 "is_cmdbuf" and "cpu" aren't member names) - i'm guessing it's "type" and "map" respectively?
Necrosporus_ has joined #asahi-gpu
Necrosporus is now known as Guest75664
Guest75664 has quit [Killed (weber.freenode.net (Nickname regained by services))]
Necrosporus_ is now known as Necrosporus
Tokamak_ has joined #asahi-gpu
wiloon has joined #asahi-gpu
Tokamak has quit [Ping timeout: 256 seconds]
Tokamak_ has quit [Ping timeout: 240 seconds]
Tokamak has joined #asahi-gpu
Tokamak_ has joined #asahi-gpu
Necrosporus has quit [Ping timeout: 265 seconds]
Tokamak has quit [Ping timeout: 260 seconds]
<bloom> hthh_: Oops, yeah, upload might've been too hasty
<bloom> (My local copy of wrap.c is hacked up with huge piles of if 0's for different experiments)
<hthh_> heh, i know the feeling (also, if it helps, AGX_SELECTOR_SET_API returns 1 (KERN_INVALID_ADDRESS) for success and 0 (KERN_SUCCESS) for failure)
DarthCloud has quit [Ping timeout: 240 seconds]
DarthCloud has joined #asahi-gpu
Necrosporus has joined #asahi-gpu
DarthCloud has quit [Ping timeout: 240 seconds]
DarthCloud has joined #asahi-gpu
aratuk_ has joined #asahi-gpu
aratuk has quit [Ping timeout: 264 seconds]
Necrosporus has quit [Read error: Connection reset by peer]
Necrosporus has joined #asahi-gpu
aratuk_ has quit [Read error: Connection reset by peer]
aratuk has joined #asahi-gpu
wiloon has quit [Quit: Connection closed for inactivity]
aratuk has quit []
robinp_ has joined #asahi-gpu
robinp has quit [Ping timeout: 264 seconds]
frode_0xa has joined #asahi-gpu
Tokamak_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Axenntio has joined #asahi-gpu
aratuk has joined #asahi-gpu
Axenntio_ has joined #asahi-gpu
Axenntio_ has quit []
Axenntio has quit [Quit: Leaving]
Axenntio has joined #asahi-gpu
icecream95 has quit [Ping timeout: 246 seconds]
wiloon has joined #asahi-gpu
bjornjulander[m] has joined #asahi-gpu
wiloon has quit [Quit: Connection closed for inactivity]
Axenntio has quit [Ping timeout: 246 seconds]
nutmanja[m] has joined #asahi-gpu
Axenntio has joined #asahi-gpu
enverb[m] has joined #asahi-gpu
Axe has joined #asahi-gpu
Axenntio has quit [Quit: Leaving]
Axe has quit [Remote host closed the connection]
Axenntio has joined #asahi-gpu
<bloom> hthh_: ---That is incredibly random. Ok.
<bloom> Thanks for looking into that.
<bloom> dino
<davidrysk[m]> hthh_: you're saying that's intentional of Apple's API?
<davidrysk[m]> bloom: can you intercept the result values with wrap?
<bloom> davidrysk[m]: yeah, just not currently printing, will do so to confirm when I next do work on asahi stuff
<davidrysk[m]> okie :)
<bloom> I see marcan is on stream
<dhewg> shaving yaks for +6h, as always
<sven> my favourite yak shaving part so far was the serial baudrate debugging
aratuk has quit [Remote host closed the connection]
<Shiz> lord
<bloom> sven: what was that?
frode_0xa has quit [Remote host closed the connection]
frode_0xa has joined #asahi-gpu
frode_0xa has quit [Client Quit]
modwizcode has joined #asahi-gpu
Tokamak has joined #asahi-gpu
m42uko has quit [Remote host closed the connection]
m42uko has joined #asahi-gpu
<bloom> hthh_: davidrysk[m]: I can confirm this.
<bloom> That's awfully random.
<davidrysk[m]> gross!
<bloom> Also, just as a heads-up to people here: PMs are closed, if you PM I will not receive the message. Please keep chat to the public channel. Thank you :)
<davidrysk[m]> bloom: that's fine, though I'm curious if there's feedback when someone attempts
<davidrysk[m]> (on the end of the person attempting, not on your end)
<bloom> davidrysk[m]: I believe there is.
<j`ey> bloom is in +g mode (server-side ignore.)
<j`ey> bloom has been informed that you messaged them.
<davidrysk[m]> cool :)
<davidrysk[m]> we had some really awful waves of PM spam on freenode a while back. Seems that crap died down
* bloom is picking at this memory map structure
<davidrysk[m]> hah I see there's a a PM spam filter and a umode +u that disables it :)
<davidrysk[m]> I think that's new
<bloom> For each allocation that needs to be mapped for the job, there's an entry containing two unknown numbers and the handle
<bloom> Said unknowns are correlated with the memory allocation flags, but there's more to it I think.
Tokamak has quit [Ping timeout: 256 seconds]
Tokamak has joined #asahi-gpu
Tokamak_ has joined #asahi-gpu
Tokamak has quit [Ping timeout: 260 seconds]
Tokamak_ has quit [Read error: Connection reset by peer]
Tokamak has joined #asahi-gpu
aratuk has joined #asahi-gpu
aratuk has quit [Ping timeout: 240 seconds]
Tokamak has quit [Ping timeout: 256 seconds]
Tokamak has joined #asahi-gpu
Tokamak has quit [Ping timeout: 240 seconds]
Tokamak has joined #asahi-gpu
<bloom> The nice thing is that it lets me see clearly which allocations are actually used.
<bloom> "Linux is required for this software."
<bloom> I am not used to macOS development.
<bloom> ASAN seems to work .
Tokamak has quit [Ping timeout: 240 seconds]
Tokamak has joined #asahi-gpu
Tokamak has quit [Ping timeout: 246 seconds]
Tokamak has joined #asahi-gpu
<sven> bloom: he, erm, spent quite some time debugging and fixing some auto baudrate detection code just so that he didn't have to restart his client after switching to a higher baudrate
<sven> but that doesn't really do it justice. definitely watch (part of) that stream if you have some time :-)
Tokamak has quit [Ping timeout: 272 seconds]
Tokamak has joined #asahi-gpu
icecream95 has joined #asahi-gpu
Tokamak has quit [Ping timeout: 256 seconds]
aratuk has joined #asahi-gpu
aratuk has quit [Ping timeout: 265 seconds]
Tokamak has joined #asahi-gpu
Tokamak has quit [Ping timeout: 265 seconds]
Tokamak has joined #asahi-gpu
icecream95 has quit [Read error: Connection reset by peer]
icecream95 has joined #asahi-gpu
<bloom> sven: Oh boy.
<davidrysk[m]> bloom: you may also find libgmalloc useful
<davidrysk[m]> (man 3 libgmalloc)
<bloom> davidrysk[m]: Interesting, thank you.
<davidrysk[m]> > "Linux is required for this software."
<davidrysk[m]> is that re valgrind or something else?
HeN has joined #asahi-gpu
<bloom> valgrind
<davidrysk[m]> but I think it's broken on M1
<davidrysk[m]> it's broken on 11 even
<davidrysk[m]> (basically: it needs some rearchitecting to handle the packed dyld_shared_cache correctly)
<davidrysk[m]> macOS does give you dtrace, but that's a different sort of tool (more of a powered-up strace)
Axenntio has quit [Remote host closed the connection]
<marcan> sven: I wasn't fixing autobaud, I was just trying to figure out if any single repeated character could correctly sync up a new baudrate with 1 stopbit and no pauses (the answer is no)
<marcan> gave up, used a 32bit pattern, that worked fine
<marcan> I didn't touch the autobaud code :p
<sven> didn't you want to go to bed like 5 hours ago? :-P
<marcan> yeah yeah
<marcan> good night
<sven> good night!
<bloom> night :
<bloom> so I guess I just need to have a triangle drawn before marcan wakes up so we'll be even? :p
<opticron> gotta one-up him with *2* triangles
<bloom> opticron: why not like
<bloom> 12 triangles
<bloom> cube spinning go brrgh? ;P
<bloom> ("Something tells me you won't be sleeping tonight")
<sven> :-)
<dhewg> i expect 8 penguins on simplefb soon, so go for at least 9 triangles
<opticron> heh
<bloom> dhewg: Ack.
aratuk has joined #asahi-gpu
sumoon[m] has quit [Ping timeout: 260 seconds]
sumoon[m] has joined #asahi-gpu
enverb[m] has quit [Ping timeout: 260 seconds]
os[m] has quit [Ping timeout: 260 seconds]
titanous has quit [Ping timeout: 260 seconds]
os[m] has joined #asahi-gpu
enverb[m] has joined #asahi-gpu
titanous has joined #asahi-gpu
aratuk has quit [Ping timeout: 256 seconds]
<davidrysk[m]> bloom: are there any examples that you can check into the repo that wrap can be used with?
<davidrysk[m]> also what's your compile line for wrap?
icecream95 has quit [Read error: Connection reset by peer]
<davidrysk[m]> also are all your files checked in?
<davidrysk[m]> wrap.c:145:44: error: no member named 'is_cmdbuf' in 'struct agx_allocation'
icecream95 has joined #asahi-gpu
<bloom> davidrysk[m]: in order, 1) not yet but very soon, 2) clang *.c -framework IOKit 3) no but the code that's not is being held for good reason
<bloom> on my todo list to cleanup and fix and make things buildable
<davidrysk[m]> that's fine, just would be nice if everything were to be compilable
<bloom> it will be
<davidrysk[m]> ok!
<j`ey> fill-in-the-blanks! :P
<hthh_> davidrysk[m]: heh, i can't be sure, but i don't think it's intentional that they only return KERN_SUCCESS on failure
<davidrysk[m]> hthh_: I figured it was a bug, but that's really funny
<hthh_> haha yep, definitely a weird one
<davidrysk[m]> almost like they're not bothering to check the return value at all
<davidrysk[m]> and just assume it works
<bloom> hthh_: I have seen stranger things :p
superk has quit [Ping timeout: 256 seconds]
aratuk has joined #asahi-gpu
Tokamak has quit [Ping timeout: 264 seconds]
Tokamak has joined #asahi-gpu
HeN has quit [Quit: Connection closed for inactivity]