#asahi-gpu · 2022-05-26 07:43
linaThey seem to use /255 scaling for the RGB side and /256 scaling for the YUV side to get round numbers, for all components, which doesn't make sense (white ends up as 256, 128, 128 in fullrange YUV which is out of range for Y)#asahi-gpu · 2022-05-26 07:42
linaso there is one unknown matrix, the rest "make sense" but the rounding is weird and I'm pretty sure there are off by one errors#asahi-gpu · 2022-05-26 07:42
linahttps://gist.github.com/asahilina/2a80fe5e4476de56412508ec78245b9b#asahi-gpu · 2022-05-26 07:13
linaAh, I think I figured out YUV->RGB limited. There's the weird off by one error again but it's not wrong, there's just strange scaling involved.#asahi-gpu · 2022-05-26 06:54
phiregotta continue my naming scheme of appending letters when you have more than one#asahi-gpu · 2022-05-26 06:53
linaI just called it HWDataB now#asahi-gpu · 2022-05-26 06:53
linaYeah...#asahi-gpu · 2022-05-26 06:53
phirethis unkptr_1a0 sturucture is such a mismash of (read-only?) data. Color conversion, io mappings, power states#asahi-gpu · 2022-05-26 06:47
linaRGB->YUV full has the textbook coefficients; RGB->YUV limited range I suspect they have an off-by-one error in the limited range adjustment; YUV->RGB full has weird rounding error (e.g. zero coefficients that are some small number instead), and YUV->RGB limited I just can't make sense of, it looks like the limited adjustment is either wildly off there or I don't understand the input scaling.#asahi-gpu · 2022-05-26 06:45
linait has RGB<->YUV for BT.601, BT.709, BT.2020, each full/limited range, plus one I haven't identified yet, one identity (or negation?) matrix and an empty slot#asahi-gpu · 2022-05-26 06:44
linaSo we can probably do a *better* job than them.#asahi-gpu · 2022-05-26 06:44
linaThe better news is I'm pretty sure Apple's matrices have excessive rounding error at least, and some might be outright wrong.#asahi-gpu · 2022-05-26 06:44
phireoh, interesting#asahi-gpu · 2022-05-26 06:43
linaThe good news is we can regenerate it ourselves easily.#asahi-gpu · 2022-05-26 06:43
linaI figured it out... it's... colorspace conversion matrices.#asahi-gpu · 2022-05-26 06:43
linaphire: Remember that mystery blob next to the iomaps?#asahi-gpu · 2022-05-26 04:09
kode54https://irc.losno.co/uploads/89994885572cbd9b/Screen%20Recording%202022-05-25%20at%203.10.42%20PM.mp4 #asahi-gpu · 2022-05-26 04:09
kode54it ends up doing stuff like this#asahi-gpu · 2022-05-26 04:07
kode54like, moving my mouse over some objects, and it will only be repainting the mouseovers that are under the square encompassing the mouse cursor#asahi-gpu · 2022-05-26 04:07
kode54ever since installing 12.4, now I have GPU glitches in Edge#asahi-gpu · 2022-05-26 04:07
kode54okay#asahi-gpu · 2022-05-25 17:07
alyssa:p#asahi-gpu · 2022-05-25 16:58
asieA for Absolutely Awe-inspiring#asahi-gpu · 2022-05-25 16:37
alyssagot an A, too! :p#asahi-gpu · 2022-05-25 16:37
alyssawhich I completed in Krita on a budget netbook with no graphics acceleration#asahi-gpu · 2022-05-25 16:36
alyssaI once had a class teaching Photoshop on school iMacs#asahi-gpu · 2022-05-25 16:36
asiethis is... not perfect advice#asahi-gpu · 2022-05-25 16:35
asiethis is how i survived three months in university using VNC on a 5" phone with an old Bluetooth keyboard to write LibreOffice reports while away from home#asahi-gpu · 2022-05-25 13:24
Dcow[m]if you can wait you don't really need the thing xD#asahi-gpu · 2022-05-25 02:45
kode54never buy now, always plan to buy "some time in the future" and that will always be a sliding window that never arrives#asahi-gpu · 2022-05-25 02:44
kode54always wait for the next thing#asahi-gpu · 2022-05-24 19:49
boulabiar[m]I hope a minimal accelerated desktop will arrive soon, then when the news is shared other will come to help#asahi-gpu · 2022-05-24 19:45
LeidenfrostGot it#asahi-gpu · 2022-05-24 19:44
alyssaI expect compositors are ok#asahi-gpu · 2022-05-24 19:44
LeidenfrostYeah I'm aware of that. But I always guessed that compositors used a small % of most OpenGL extensions, and as long as those are covered, desktop apps that are not games are fine#asahi-gpu · 2022-05-24 19:43
alyssaand of course y'all don't want GLES2, you want GL4.7 and Vulkan 1.4 and whatever :v#asahi-gpu · 2022-05-24 19:43
alyssabut what's tested is a small subset of what's possible in GLES2 (the combinatorics suck)#asahi-gpu · 2022-05-24 19:43
alyssaat best, it means more or less 97% of features tested by the GLES2 conformance tests work#asahi-gpu · 2022-05-24 19:42
alyssapassing 97% of GLES2 tests does not mean 97% of apps work#asahi-gpu · 2022-05-24 19:42
alyssayes and no#asahi-gpu · 2022-05-24 19:39
Leidenfrostkernel driver aside#asahi-gpu · 2022-05-24 19:38
Leidenfrost(trying to stay ontopic) passing GLES tests don't imply that apps actually work?#asahi-gpu · 2022-05-24 19:36
alyssa(About the memeing. Please keep the offtopic to the other channel :) )#asahi-gpu · 2022-05-24 19:36
alyssaYou're good :)#asahi-gpu · 2022-05-24 19:27
Dcow[m]alyssa: bad joke/meme and offtopic flooding#asahi-gpu · 2022-05-24 19:27
marcanlina, alyssa (and yuni): let's keep it cool, 'kay? :-)#asahi-gpu · 2022-05-24 19:24
alyssaDcow[m]: Why?#asahi-gpu · 2022-05-24 19:19
Dcow[m]I feel bad#asahi-gpu · 2022-05-24 19:16
Dcow[m]https://i.kym-cdn.com/entries/icons/original/000/030/157/womanyellingcat.jpg#asahi-gpu · 2022-05-24 19:16
alyssa("I didn't realize I walked into Mean Girls, Reverse-Engineering Edition")