#asahi-gpu · 2022-06-19 15:31
yuniFor reference, tiling pattern for a 256x256 RGBA8 image:#asahi-gpu · 2022-06-19 15:30
yunier that's missing some rows#asahi-gpu · 2022-06-19 15:30
yunix₇ x₆ y₅ x₅ y₄ x₄ y₃ x₃ y₂ x₂ y₁ x₁ y₀ x₀#asahi-gpu · 2022-06-19 15:30
yuniFor reference, tiling pattern for a 256x256 RGBA8 image:#asahi-gpu · 2022-06-19 15:23
yuniNow to remember how to interpret that ...#asahi-gpu · 2022-06-19 15:15
yuniy₇ y₆ x₇ x₆ y₅ x₅ y₄ x₄ y₃ x₃ y₂ x₂ y₁ x₁ y₀ x₀#asahi-gpu · 2022-06-19 15:15
yuniTiling pattern for a 256x256 RG8 image:#asahi-gpu · 2022-06-19 14:41
yunikode54: seriously#asahi-gpu · 2022-06-19 01:40
yuniIt raises tons of questions, though.#asahi-gpu · 2022-06-19 01:40
yuni16384 = 128 * 128 * 1 = 128 * 64 * 2 = 64 * 64 * 4 = ...#asahi-gpu · 2022-06-19 01:39
yuniIt's sensible -- it means that 1 tile is exactly 1 page.#asahi-gpu · 2022-06-19 01:38
yuniThis seems annoying to deal with... non-square tiles sound complicated.#asahi-gpu · 2022-06-19 01:38
yunilina: It looks like 16-bit pixel formats use 128x64 tiles, and 64-bit pixel formats use 64x32 tiles.#asahi-gpu · 2022-06-17 16:26
yunilina: so proud of you <3#asahi-gpu · 2022-06-12 17:09
yuniAll that said, it's pretty close to working on top of macOS. I guess Alyssa did an okay job after all.#asahi-gpu · 2022-06-12 17:08
yuni2. 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.#asahi-gpu · 2022-06-12 17:07
yuniLess 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.#asahi-gpu · 2022-06-12 17:06
yuni1. 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.#asahi-gpu · 2022-06-12 17:04
yuniI've isolated the issue to two driver bugs:#asahi-gpu · 2022-06-12 17:04
yuniWith upstream Mesa, the trace triggers a GPU fault. Nothing renders.#asahi-gpu · 2022-06-12 17:04
yunilina gave me an apitrace of her model, which I can replay on macOS with the apitrace patches I wrote a few weeks ago.#asahi-gpu · 2022-06-12 17:03
yuniI've been looking into why Inochi2D rendering doesn't work on the Asahi GPU driver in Mesa.#asahi-gpu · 2022-06-11 20:37
yunilina: pretty deceptive imho#asahi-gpu · 2022-06-08 13:34
yunilina: Nice job on the bunny =D#asahi-gpu · 2022-06-05 00:51
yunialyssa: Wow, swooping in to paste a link instead of letting people do one Google search ...#asahi-gpu · 2022-06-05 00:50
yunilina: I'm still upset about the golem thing, but Phoronix gave you credit for your acheivement :)#asahi-gpu · 2022-06-02 14:08
yunisighs#asahi-gpu · 2022-06-02 14:04
yunithat was *her* accomplishment!#asahi-gpu · 2022-06-02 14:04
yuni_jannau_: and they left Lina out entirely! V_V#asahi-gpu · 2022-06-02 00:21
yuniizzyisles[m]: lina did the work!#asahi-gpu · 2022-06-01 12:57
yunilina: So proud of you <3#asahi-gpu · 2022-05-23 21:47
yunifreaking tab complete#asahi-gpu · 2022-05-23 21:47
yunisorry wrong window#asahi-gpu · 2022-05-23 21:47
yunisimjnd[m]: <3#asahi-gpu · 2022-05-22 20:32
yuniAnd make sure Lina doesn't get evicted for failing to pay rent because she blew her funding on an M1 Ultra, which would be bad for the project. Does that count? :-p#asahi-gpu · 2022-05-22 20:31
yuniI'm a student, and unlike her, I actually care about doing well in my classes #_##asahi-gpu · 2022-05-22 20:30
yuniObviously I don't do as much as Lina, though :-)#asahi-gpu · 2022-05-22 20:30
yuniSobek[m]: I mean, just yesterday I did the apitrace port https://gitlab.freedesktop.org/asahi/apitrace#asahi-gpu · 2022-05-22 20:16
yuniSobek[m]: I'm Lina's grumpy older sister.#asahi-gpu · 2022-05-22 19:48
yunialyssa: Sent the patch.#asahi-gpu · 2022-05-22 19:47
yuniAnd Inochi2D, I hope ;-)#asahi-gpu · 2022-05-22 19:46
yuniRight...#asahi-gpu · 2022-05-22 19:45
yuniThe GLX support is enough to test traces. And then discover how broken your code is.#asahi-gpu · 2022-05-22 19:45
yuniThe EGL support doesn't build but that's probably fine.#asahi-gpu · 2022-05-22 19:45
yuniWith a really gross patch, I made apitrace mostly build for macOS with GLX.#asahi-gpu · 2022-05-22 19:44
yuniThat's one way to put it!#asahi-gpu · 2022-05-22 19:43
yuniThere's effectively an "#ifndef __APPLE__" around the GLX code.#asahi-gpu · 2022-05-22 19:43
yuniApitrace _does_ support GLX, but only *nix systems.#asahi-gpu · 2022-05-22 19:42
yuniAnyway, since your driver wants OpenGL to go through GLX instead, for an XQuartz (X11) window, I need GLX support in apitrace.