#
…

2023-07-26

00:20fenix144 has quit [Quit: Leaving...]
00:37darkapex has joined #asahi-gpu
01:23mikelee has joined #asahi-gpu
01:25mikelee has quit [Remote host closed the connection]
01:28darkapex has quit [Remote host closed the connection]
01:30jeisom has quit [Ping timeout: 480 seconds]
01:39mikelee has joined #asahi-gpu
01:39mikelee has quit [Remote host closed the connection]
01:40mikelee has joined #asahi-gpu
01:41mikelee_ has joined #asahi-gpu
01:41mikelee_ has quit [Remote host closed the connection]
01:42mikelee_ has joined #asahi-gpu
01:48mikelee has quit [Ping timeout: 480 seconds]
02:00crabbedhaloablut has quit []
02:24ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
02:54nst_ has joined #asahi-gpu
02:57nst has quit [Ping timeout: 480 seconds]
02:59linaMary: Those "out of slots" messages mean you're out of global GPU resources... it's supposed to just block until they free up then, but those codepaths haven't been tested much so I wouldn't be surprised if things go wrong...
02:59linaMaybe reduce the parallelism?
03:00lina(This whole thing is going to be redesigned in the driver so I don't really want to try to fix it if it's broken right now ^^;;)
03:00linaActually no, I think what happened there is the GPU firmware crashed/froze
03:00linaThis is a known issue when you get faults, there's a chance it might happen and I don't know why yet
03:01linaRunning out of slots is normal then because all GPU jobs gets stuck...
03:01linaIf you get "Job timed out on the DRM scheduler" then things are going to break
03:18alyssanote to self: enabling layered rendering entails
03:18alyssa- setting "set whn reloading z or s 2"?
03:18alyssa- setting fb layers
03:18alyssa- additional varyings as known
03:19linaalyssa: I'll review your MR later (sorry, got caught up in apartment/move stuff last night... still setting up wiring and stuff ^^;;)
03:19alyssaall good
03:20linaDoes layered rendering work on the Linux driver? I think that was never really tested
03:20alyssaNo, but I don't know if it's my bug or yours or both
03:20linaCould easily be mine
03:20linaThat was implemented blind and I wouldn't be surprised if I missed some *layers somewhere...
03:21alyssaunfortunately I don't have a good test case yet
03:21linaBTW today I wanted to look at something simple as a bit of a walkthrough some reversing stuff, think YUV textures are okay?
03:21linaI figured it's not too complicated to explain ^^
03:21linaJust going to look at the descriptors
03:29lina has quit [Remote host closed the connection]
03:32lina has joined #asahi-gpu
04:34cylm_ has quit [Ping timeout: 480 seconds]
06:08zalyx0 has quit [Read error: Connection reset by peer]
06:08zalyx0 has joined #asahi-gpu
07:25mikelee_ has quit [Remote host closed the connection]
07:41mikelee has joined #asahi-gpu
07:51mikelee has quit [Ping timeout: 480 seconds]
08:00mikelee has joined #asahi-gpu
08:04bisko has joined #asahi-gpu
08:17mikelee has quit [Ping timeout: 480 seconds]
08:39Marylina: I got it to not freeze by disabling power management (it's stuck on 6 of them but that's fine ^^)
08:44mikelee has joined #asahi-gpu
08:48mikelee has quit [Remote host closed the connection]
08:48mikelee has joined #asahi-gpu
09:11bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
09:12bisko has joined #asahi-gpu
09:13c10l563 has quit []
09:13c10l has joined #asahi-gpu
09:13bisko has quit []
09:15bisko has joined #asahi-gpu
09:36mikelee has quit [Remote host closed the connection]
09:41mikelee has joined #asahi-gpu
09:49mikelee has quit [Ping timeout: 480 seconds]
09:52chadmedlina: AVD supports VP9 not VP8 just FYI, you can enable (experimental) avd decode of vp9 in safari with the dev tools
09:52chadmedalso thanks for explaining how chroma subsampling works in memory :P
09:56_jannau__vp9 support has to be enabled? I thought they added vp9 support explicitly for youtube, maybe just for the youtube ios app
09:57chadmedi havent actually booted macos in months but last time i was in there you had to turn on safari dev tools and explicitly enable it
09:57chadmedlast time i was in there was to update system fw for the smc charge control changes
09:57crabbedhaloablut has joined #asahi-gpu
09:57_jannau__I would have expected it to be supported in the initial m1 macos release
09:58mikelee has joined #asahi-gpu
10:01chadmedhuh i cant even find where i first saw that anymore
10:07mikelee has quit [Ping timeout: 480 seconds]
10:10mini_https://caniuse.com/webm suggests it's been enabled for a while now on desktop safari
10:17mikelee has joined #asahi-gpu
10:18nsklaus has joined #asahi-gpu
10:25mikelee has quit [Ping timeout: 480 seconds]
10:36mikelee has joined #asahi-gpu
10:37ourdumbfuture has joined #asahi-gpu
10:50mikelee has quit [Ping timeout: 480 seconds]
10:59mikelee has joined #asahi-gpu
11:05ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
11:07mikelee has quit [Ping timeout: 480 seconds]
11:08ourdumbfuture has joined #asahi-gpu
11:17mikelee has joined #asahi-gpu
11:22ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
11:25ourdumbfuture has joined #asahi-gpu
11:29mikelee has quit [Ping timeout: 480 seconds]
11:36mikelee has joined #asahi-gpu
11:38chadmed has quit [Quit: Konversation terminated!]
11:48ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
12:13mikelee has quit [Ping timeout: 480 seconds]
12:26mikelee has joined #asahi-gpu
12:30darkapex has joined #asahi-gpu
12:34mikelee has quit [Ping timeout: 480 seconds]
12:41hightower3 has quit [Ping timeout: 480 seconds]
12:42alyssalina: nice!
12:42alyssaand I've got you a minimal test case for layered rendering
12:43alyssabranch is agx/layered, information on how to test in the commit message
12:43alyssaThe way this is /supposed/ to work is that there is a special 32-bit varying written by the vertex shader contained the layer and viewport ID packed together
12:43alyssaand also we write the layer as a regular flat varying so it's accessible in the frag shader
12:44alyssaand that branch forces eMRT always, so just needs to handle doing image array writes from the frag shader with the layer given by that layer varying
12:44alyssahowever... I think the hardware tiler bit isn't working properly
12:44alyssawhich could mean either shader bug (possible but I've read the asm and it looks fine..)
12:44alyssaor kernel bug with the layered bits
12:44alyssaforcing pass type to TRANSLUCENT changes the failure slightly which is a smoking gun for that
12:45alyssagood luck :3
12:51mikelee has joined #asahi-gpu
12:56alyssalina: ^^ (stride / 16) - 1
12:56alyssamy guess is that's the stride of the second plane, with the appropriate shifting/biasing done to pack
12:59mikelee has quit [Ping timeout: 480 seconds]
13:00chadmed has joined #asahi-gpu
13:01Dementor has quit [Ping timeout: 480 seconds]
13:04Dementor has joined #asahi-gpu
13:05hightower2 has joined #asahi-gpu
13:08mikelee has joined #asahi-gpu
13:18mikelee has quit [Ping timeout: 480 seconds]
13:18linaYeah, that was my guess too ^^
13:20alyssaI hope you can figure out the layered rendering mystery because I'm p stuck :(
13:21linaIt's probably a kernel snafu...
13:23alyssacould also be a mesa snafu
13:23alyssapor que no los 2
13:26mikelee has joined #asahi-gpu
13:28darkapex has quit [Remote host closed the connection]
13:35mikelee has quit [Ping timeout: 480 seconds]
13:45mikelee has joined #asahi-gpu
13:53mikelee has quit [Ping timeout: 480 seconds]
14:02mikelee has joined #asahi-gpu
14:07alyssalina: OK, it's almost definitely kernel
14:07alyssaI've added a patch which disables hw layered rendering and uses only the sw emulation path, and that passes the test
14:07alyssaso I just need help getting it to pass with that commit reverted ^_^
14:09alyssaalso after that, passing ./amd_vertex_shader_layer-layered-depth-texture-render which will be more kernel stuff (or ZLS control bits)
14:11mikelee has quit [Ping timeout: 480 seconds]
14:16ourdumbfuture has joined #asahi-gpu
14:20mikelee has joined #asahi-gpu
14:30cylm_ has joined #asahi-gpu
14:36mikelee has quit [Ping timeout: 480 seconds]
14:40mikelee has joined #asahi-gpu
14:55ourdumbfuture has quit [Read error: Connection reset by peer]
14:58ourdumbfuture has joined #asahi-gpu
15:00mikelee has quit [Ping timeout: 480 seconds]
15:11mikelee has joined #asahi-gpu
15:22mikelee has quit [Remote host closed the connection]
15:22mikelee has joined #asahi-gpu
15:43ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
15:54mikelee has quit [Remote host closed the connection]
15:55mikelee has joined #asahi-gpu
16:02jeisom has joined #asahi-gpu
16:08jeisom has quit [Remote host closed the connection]
16:09mikelee has quit [Ping timeout: 480 seconds]
16:15mikelee has joined #asahi-gpu
16:24mikelee has quit [Ping timeout: 480 seconds]
16:31mikelee has joined #asahi-gpu
17:02mkurz has quit [Ping timeout: 480 seconds]
17:18hightower2 has quit [Ping timeout: 480 seconds]
17:27ourdumbfuture has joined #asahi-gpu
17:41deflated8837_ has quit [Read error: Connection reset by peer]
17:42deflated8837 has joined #asahi-gpu
17:48mikelee has quit [Ping timeout: 480 seconds]
17:53cylm has joined #asahi-gpu
18:00cylm_ has quit [Ping timeout: 480 seconds]
18:01mikelee has joined #asahi-gpu
18:09mikelee has quit [Ping timeout: 480 seconds]
18:10WindowPain has joined #asahi-gpu
18:15WindowPa- has quit [Ping timeout: 480 seconds]
18:17bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
18:20flokli has quit [Quit: WeeChat 4.0.2]
18:20mkurz has joined #asahi-gpu
18:20flokli has joined #asahi-gpu
18:34mikelee has joined #asahi-gpu
18:42mikelee has quit [Ping timeout: 480 seconds]
19:09mikelee has joined #asahi-gpu
19:14ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
19:21mikelee has quit [Ping timeout: 480 seconds]
19:23ourdumbfuture has joined #asahi-gpu
19:30mikelee has joined #asahi-gpu
19:33darkapex has joined #asahi-gpu
19:38mikelee has quit [Ping timeout: 480 seconds]
19:39mikelee has joined #asahi-gpu
19:43compassion1785 has quit [Read error: Connection reset by peer]
19:44compassion1785 has joined #asahi-gpu
19:47mikelee has quit [Ping timeout: 480 seconds]
19:53compassion1785 has quit [Remote host closed the connection]
19:55compassion1785 has joined #asahi-gpu
19:55mikelee has joined #asahi-gpu
20:04flokli has quit [Quit: WeeChat 4.0.2]
20:04mikelee has quit [Ping timeout: 480 seconds]
20:13mikelee has joined #asahi-gpu
20:22mikelee has quit [Ping timeout: 480 seconds]
20:30mikelee has joined #asahi-gpu
20:38mikelee has quit [Ping timeout: 480 seconds]
20:40flokli has joined #asahi-gpu
20:41flokli has quit []
20:44flokli has joined #asahi-gpu
20:45flokli has quit []
20:49flokli has joined #asahi-gpu
20:49flokli has quit []
20:54flokli has joined #asahi-gpu
20:57flokli has quit []
20:59flokli has joined #asahi-gpu
21:00mikelee has joined #asahi-gpu
21:19mikelee has quit [Ping timeout: 480 seconds]
21:27mikelee has joined #asahi-gpu
21:35mikelee has quit [Ping timeout: 480 seconds]
21:41ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
21:44mikelee has joined #asahi-gpu
21:49ourdumbfuture has joined #asahi-gpu
21:52mikelee has quit [Ping timeout: 480 seconds]
21:53mikelee has joined #asahi-gpu
22:01mikelee has quit [Ping timeout: 480 seconds]
22:11mikelee has joined #asahi-gpu
22:11WindowPain has quit [Quit: ZNC 1.8.2 - https://znc.in]
22:12linuxgemini180248 has quit []
22:13WindowPain has joined #asahi-gpu
22:14steven has quit [Quit: ZNC 1.8.2 - https://znc.in]
22:16ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
22:16steven has joined #asahi-gpu
22:19mikelee has quit [Ping timeout: 480 seconds]
22:22ourdumbfuture has joined #asahi-gpu
22:22nsklaus has quit [Ping timeout: 480 seconds]
22:24mikelee has joined #asahi-gpu
22:31crabbedhaloablut has quit []
22:32mikelee has quit [Ping timeout: 480 seconds]
22:59mikelee has joined #asahi-gpu
23:09mikelee has quit [Ping timeout: 480 seconds]
23:13linuxgemini180248 has joined #asahi-gpu
23:25linuxgemini180248 has quit [Ping timeout: 480 seconds]
23:35linuxgemini180248 has joined #asahi-gpu
23:54mikelee has joined #asahi-gpu
23:57linuxgemini180248 has quit [Ping timeout: 480 seconds]
…