2021-01-14
00:01wiloon has joined #asahi-gpu
01:01Necrosporus is now known as Guest92356
01:01Guest92356 has quit [Killed (hitchcock.freenode.net (Nickname regained by services))]
01:01Necrosporus has joined #asahi-gpu
01:10Necrosporus is now known as Guest47765
01:10Guest47765 has quit [Killed (tepper.freenode.net (Nickname regained by services))]
01:10Necrosporus has joined #asahi-gpu
01:10aratuk has joined #asahi-gpu
01:39modwizcode has quit [Quit: Later]
01:57ah-[m] has joined #asahi-gpu
02:10wiloon has quit [Quit: Connection closed for inactivity]
02:44hthh_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?
03:24Necrosporus_ has joined #asahi-gpu
03:24Necrosporus is now known as Guest75664
03:24Guest75664 has quit [Killed (weber.freenode.net (Nickname regained by services))]
03:24Necrosporus_ is now known as Necrosporus
03:36Tokamak_ has joined #asahi-gpu
03:37wiloon has joined #asahi-gpu
03:39Tokamak has quit [Ping timeout: 256 seconds]
03:40Tokamak_ has quit [Ping timeout: 240 seconds]
03:47Tokamak has joined #asahi-gpu
04:18Tokamak_ has joined #asahi-gpu
04:19Necrosporus has quit [Ping timeout: 265 seconds]
04:21Tokamak has quit [Ping timeout: 260 seconds]
04:34bloom(My local copy of wrap.c is hacked up with huge piles of if 0's for different experiments)
04:40hthh_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)
04:54DarthCloud has quit [Ping timeout: 240 seconds]
04:55DarthCloud has joined #asahi-gpu
05:08Necrosporus has joined #asahi-gpu
05:18DarthCloud has quit [Ping timeout: 240 seconds]
05:20DarthCloud has joined #asahi-gpu
05:46aratuk_ has joined #asahi-gpu
05:50aratuk has quit [Ping timeout: 264 seconds]
06:15Necrosporus has quit [Read error: Connection reset by peer]
06:15Necrosporus has joined #asahi-gpu
06:40aratuk_ has quit [Read error: Connection reset by peer]
06:40aratuk has joined #asahi-gpu
06:56wiloon has quit [Quit: Connection closed for inactivity]
07:21aratuk has quit []
07:47robinp_ has joined #asahi-gpu
07:50robinp has quit [Ping timeout: 264 seconds]
08:13frode_0xa has joined #asahi-gpu
08:30Tokamak_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:46Axenntio has joined #asahi-gpu
08:50aratuk has joined #asahi-gpu
08:53Axenntio_ has joined #asahi-gpu
09:04Axenntio_ has quit []
09:07Axenntio has quit [Quit: Leaving]
09:07Axenntio has joined #asahi-gpu
09:12icecream95 has quit [Ping timeout: 246 seconds]
09:50wiloon has joined #asahi-gpu
10:44bjornjulander[m] has joined #asahi-gpu
11:58wiloon has quit [Quit: Connection closed for inactivity]
12:32Axenntio has quit [Ping timeout: 246 seconds]
12:39nutmanja[m] has joined #asahi-gpu
13:20Axenntio has joined #asahi-gpu
13:28enverb[m] has joined #asahi-gpu
13:29Axe has joined #asahi-gpu
13:29Axenntio has quit [Quit: Leaving]
13:29Axe has quit [Remote host closed the connection]
13:29Axenntio has joined #asahi-gpu
14:14davidrysk[m]hthh_: you're saying that's intentional of Apple's API?
14:14davidrysk[m]bloom: can you intercept the result values with wrap?
14:34bloomdavidrysk[m]: yeah, just not currently printing, will do so to confirm when I next do work on asahi stuff
14:45davidrysk[m]okie :)
15:26aratuk has quit [Remote host closed the connection]
15:36frode_0xa has quit [Remote host closed the connection]
15:37frode_0xa has joined #asahi-gpu
15:38frode_0xa has quit [Client Quit]
15:42modwizcode has joined #asahi-gpu
16:16Tokamak has joined #asahi-gpu
16:21m42uko has quit [Remote host closed the connection]
16:22m42uko has joined #asahi-gpu
16:40davidrysk[m]gross!
16:46bloomAlso, 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 :)
16:56davidrysk[m]bloom: that's fine, though I'm curious if there's feedback when someone attempts
16:56davidrysk[m](on the end of the person attempting, not on your end)
16:58davidrysk[m]cool :)
16:59davidrysk[m]we had some really awful waves of PM spam on freenode a while back. Seems that crap died down
17:01davidrysk[m]hah I see there's a a PM spam filter and a umode +u that disables it :)
17:01davidrysk[m]I think that's new
17:03bloomFor each allocation that needs to be mapped for the job, there's an entry containing two unknown numbers and the handle
17:03bloomSaid unknowns are correlated with the memory allocation flags, but there's more to it I think.
17:10Tokamak has quit [Ping timeout: 256 seconds]
17:12Tokamak has joined #asahi-gpu
17:17Tokamak_ has joined #asahi-gpu
17:20Tokamak has quit [Ping timeout: 260 seconds]
17:21Tokamak_ has quit [Read error: Connection reset by peer]
17:27Tokamak has joined #asahi-gpu
17:27aratuk has joined #asahi-gpu
17:31aratuk has quit [Ping timeout: 240 seconds]
17:33Tokamak has quit [Ping timeout: 256 seconds]
17:36Tokamak has joined #asahi-gpu
17:42Tokamak has quit [Ping timeout: 240 seconds]
17:44Tokamak has joined #asahi-gpu
18:02Tokamak has quit [Ping timeout: 240 seconds]
18:04Tokamak has joined #asahi-gpu
18:13Tokamak has quit [Ping timeout: 246 seconds]
18:16Tokamak has joined #asahi-gpu
18:17svenbloom: 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
18:18svenbut that doesn't really do it justice. definitely watch (part of) that stream if you have some time :-)
19:15Tokamak has quit [Ping timeout: 272 seconds]
19:17Tokamak has joined #asahi-gpu
19:20icecream95 has joined #asahi-gpu
19:28Tokamak has quit [Ping timeout: 256 seconds]
19:28aratuk has joined #asahi-gpu
19:33aratuk has quit [Ping timeout: 265 seconds]
19:35Tokamak has joined #asahi-gpu
19:43Tokamak has quit [Ping timeout: 265 seconds]
19:59Tokamak has joined #asahi-gpu
20:00icecream95 has quit [Read error: Connection reset by peer]
20:01icecream95 has joined #asahi-gpu
20:28davidrysk[m]bloom: you may also find libgmalloc useful
20:29davidrysk[m](man 3 libgmalloc)
20:31davidrysk[m]> "Linux is required for this software."
20:31davidrysk[m]is that re valgrind or something else?
20:32HeN has joined #asahi-gpu
20:47davidrysk[m]but I think it's broken on M1
20:49davidrysk[m]it's broken on 11 even
20:50davidrysk[m](basically: it needs some rearchitecting to handle the packed dyld_shared_cache correctly)
20:51davidrysk[m]macOS does give you dtrace, but that's a different sort of tool (more of a powered-up strace)
20:53Axenntio has quit [Remote host closed the connection]
21:09marcansven: 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)
21:17bloomso I guess I just need to have a triangle drawn before marcan wakes up so we'll be even? :p
21:29aratuk has joined #asahi-gpu
21:30sumoon[m] has quit [Ping timeout: 260 seconds]
21:30sumoon[m] has joined #asahi-gpu
21:30enverb[m] has quit [Ping timeout: 260 seconds]
21:30os[m] has quit [Ping timeout: 260 seconds]
21:30titanous has quit [Ping timeout: 260 seconds]
21:31os[m] has joined #asahi-gpu
21:32enverb[m] has joined #asahi-gpu
21:32titanous has joined #asahi-gpu
21:33aratuk has quit [Ping timeout: 256 seconds]
21:35davidrysk[m]bloom: are there any examples that you can check into the repo that wrap can be used with?
21:37davidrysk[m]also what's your compile line for wrap?
21:37icecream95 has quit [Read error: Connection reset by peer]
21:39davidrysk[m]also are all your files checked in?
21:39davidrysk[m]wrap.c:145:44: error: no member named 'is_cmdbuf' in 'struct agx_allocation'
21:41icecream95 has joined #asahi-gpu
21:50bloomdavidrysk[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
21:50davidrysk[m]that's fine, just would be nice if everything were to be compilable
22:05hthh_davidrysk[m]: heh, i can't be sure, but i don't think it's intentional that they only return KERN_SUCCESS on failure
22:06davidrysk[m]hthh_: I figured it was a bug, but that's really funny
22:08davidrysk[m]almost like they're not bothering to check the return value at all
22:08davidrysk[m]and just assume it works
22:21superk has quit [Ping timeout: 256 seconds]
22:58aratuk has joined #asahi-gpu
23:32Tokamak has quit [Ping timeout: 264 seconds]
23:34Tokamak has joined #asahi-gpu
23:40HeN has quit [Quit: Connection closed for inactivity]