#
#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 12:02
kode54but sensible
#asahi-gpu · 2022-06-19 12:02
kode54wow, that's wacky
#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
yuni<3
#asahi-gpu · 2022-06-17 16:26
lina<3
#asahi-gpu · 2022-06-17 16:26
yunilina: so proud of you <3
#asahi-gpu · 2022-06-17 16:21
linaIt worked!!! (*^▽^*)
#asahi-gpu · 2022-06-17 16:11
Dementor[m]lina: 👆
#asahi-gpu · 2022-06-17 16:11
Dementor[m]Awesome work Lina!!!
#asahi-gpu · 2022-06-17 06:18
linaAnd I figured out the remaining corner cases for <64 size textures and things like that
#asahi-gpu · 2022-06-17 06:17
linadougall figured out the weird padding thing!
#asahi-gpu · 2022-06-17 06:05
chadmedlina figured out the mipmapping algorithm off stream iirc
#asahi-gpu · 2022-06-17 06:02
dottedmagopticron: mipmap was figured out on the stream, or later?
#asahi-gpu · 2022-06-16 17:46
alyssaElla[m]: Keep in mind I grew up with https://github.com/Astron/Astron/blob/c8ba9823d6a5f3c92a09a92fcd1eb416f112e46e/test/test_clientagent.py#L176
#asahi-gpu · 2022-06-16 17:42
alyssaFair enough ^_^
#asahi-gpu · 2022-06-16 17:36
Ella[m]I wasn't complaining just slightly intrigued :3
#asahi-gpu · 2022-06-16 17:36
alyssawould you have complained less if I passed "Canada" or "USA"? :p
#asahi-gpu · 2022-06-16 17:35
Ella[m]understandable xD
#asahi-gpu · 2022-06-16 17:34
alyssaElla[m]: https://www.youtube.com/watch?v=VOKz3z27Qx4
#asahi-gpu · 2022-06-16 17:33
Ella[m]alyssa: is there any particular reason why "Equestria" is passed to `AGX_SELECTOR_SET_API`
#asahi-gpu · 2022-06-16 17:33
alyssaI guess if you liked Lina's mipmap extravaganza I have more where that came from
#asahi-gpu · 2022-06-16 17:32
alyssaI've been working on the driver a little bit but streaming takes a lot more energy than coding
#asahi-gpu · 2022-06-16 17:32
alyssaDcow[m]: I dunno. Maybe?
#asahi-gpu · 2022-06-16 14:58
Dcow[m]yeah, I know that, but thanks
#asahi-gpu · 2022-06-16 14:58
opticronmostly related, lina is going to do another one tomorrow now that the mipmap stuff is worked out
#asahi-gpu · 2022-06-16 14:57
Dcow[m]alyssa: is there any chance that you going to stream work anytime soon? I've been missing your streams
#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-10 05:49
linaI'm assuming that's the /dev/null renderer score ^^
#asahi-gpu · 2022-06-09 16:11
Dcow[m]oh, sorry. missed the CPU note. why it's here then?)
#asahi-gpu · 2022-06-09 16:10
Dcow[m]alyssa: is means it passed all the tests now?
#asahi-gpu · 2022-06-09 14:08
alyssa_jannau_: CPU only test, no GPU ;)
#asahi-gpu · 2022-06-09 13:56
_jannau_looks too good to be true for m1 with 8 gpu cores (glmark2 default benchmarks at 800x600)
#asahi-gpu · 2022-06-09 13:39
alyssavroom vroom
#asahi-gpu · 2022-06-09 13:39
alyssaglmark2 Score: 60375
#asahi-gpu · 2022-06-09 06:27
linaThe buffer manager has to be in the kernel since that data structure is in kernel address space, but I was thinking the actual management should be done from userspace (making the decisions and donating pages of memory)

plus ›