#
…

2022-06-12

01:04DarkShadow44 has quit [Quit: ZNC - https://znc.in]
01:05DarkShadow44 has joined #asahi-gpu
02:18amarioguy has quit [Quit: Leaving]
02:33PhilippvK has joined #asahi-gpu
02:37al3xtjames has quit [Quit: al3xtjames]
02:42al3xtjames has joined #asahi-gpu
03:01al3xtjames has quit [Quit: al3xtjames]
03:04al3xtjames has joined #asahi-gpu
03:24PyroPeter has joined #asahi-gpu
03:26pyropeter3 has quit [Ping timeout: 480 seconds]
03:40kendfinger has quit [Remote host closed the connection]
03:40kendfinger has joined #asahi-gpu
03:57kov has quit [Quit: Coyote finally caught me]
06:44cr1901 has quit [Read error: Connection reset by peer]
06:45cr1901 has joined #asahi-gpu
07:59chadmed has quit [Quit: Konversation terminated!]
08:00chadmed has joined #asahi-gpu
10:02nepeat has quit [Ping timeout: 480 seconds]
10:36nepeat has joined #asahi-gpu
11:00chadmed has quit [Ping timeout: 480 seconds]
11:56chadmed has joined #asahi-gpu
14:16bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:03yuniI've been looking into why Inochi2D rendering doesn't work on the Asahi GPU driver in Mesa.
17:04yunilina gave me an apitrace of her model, which I can replay on macOS with the apitrace patches I wrote a few weeks ago.
17:04yuniWith upstream Mesa, the trace triggers a GPU fault. Nothing renders.
17:04yuniI've isolated the issue to two driver bugs:
17:06yuni1. Stencil buffers and stencil testing are broken. There are a number of bugs affecting stencil. The most obvious is a flag that the driver has to set to enable stencil testing, which Mesa was failing to do. Setting that flag fixes a number of tests related to stencil.
17:07yuniLess obvious, some configuration of the stencil buffer in memory is causing GPU faults in certain circumstances. I'm not sure yet why, or how to fix it. I don't think Lina's setup is affected by this bug, but it should still be fixed.
17:08yuni2. The texture layout code is incorrect. The faults with Lina's trace seem to result from *underallocating* texture memory. Lina makes heavy use of mipmapping, which has special requirements for allocation. There's an issue with that. I don't think that's anything we can't fix with a bit of reverse-engineering and some unit tests, though.
17:09yuniAll that said, it's pretty close to working on top of macOS. I guess Alyssa did an okay job after all.
18:31lonjil2 has quit [Remote host closed the connection]
18:32lonjil has joined #asahi-gpu
19:49opticron has quit [Ping timeout: 480 seconds]
19:59opticron has joined #asahi-gpu
20:05opticron has quit [Read error: Connection reset by peer]
20:10opticron has joined #asahi-gpu
20:39Emantor has quit [Quit: ZNC - http://znc.in]
20:40Emantor has joined #asahi-gpu
21:13ella[m] has joined #asahi-gpu
21:44ella[m] is now known as Ella[m]
22:00yrlf has quit [Quit: The Lounge - https://thelounge.chat]
22:21yrlf has joined #asahi-gpu
22:32nsklaus_ has joined #asahi-gpu
22:37nsklaus has quit [Ping timeout: 480 seconds]
…