#
✕ nick:marcan
#asahi-gpu · 2022-12-21 19:29
marcanFWIW iBoot maps the EOTFs 1->13, 2->16 and the colorspaces 1->0, 2->12, 3->9
#asahi-gpu · 2022-12-21 19:28
marcanso maybe it's a firmware bug?
#asahi-gpu · 2022-12-21 19:28
marcanbut as far as I can tell in iboot it works with all planes, though I *think* I saw it glitch into bad colors at some point but I couldn't reproduce...
#asahi-gpu · 2022-12-21 19:27
marcanI guess I should switch to 12.3 to double check...
#asahi-gpu · 2022-12-21 19:27
marcanbut I don't understand why it works in iBoot with what I believe is surface 0 (unless this changed in a newer firmware, I'm looking at an old one)
#asahi-gpu · 2022-12-21 19:27
marcanjannau: this works: https://github.com/AsahiLinux/linux/commit/8704b6589b7d611a448190eeff5e1a15fc807381
#asahi-gpu · 2022-12-21 19:26
marcanjannau: colorspace=12
#asahi-gpu · 2022-12-21 19:20
marcanyes, we talked about that on the fedora channel
#asahi-gpu · 2022-12-21 19:07
marcanbut iBoot nominally uses surface 0, I *think*, though there is some weird allocation-ish stuff that might have me confused
#asahi-gpu · 2022-12-21 19:07
marcansomehow.
#asahi-gpu · 2022-12-21 19:07
marcanjannau: it works on surface 1. it does not work on surface 0.
#asahi-gpu · 2022-12-21 19:06
marcan... oh ffs.
#asahi-gpu · 2022-12-21 19:03
marcan... so why isn't it working in the main dcp?
#asahi-gpu · 2022-12-21 19:03
marcanbut also, the colorspace stuff is working properly in iboot
#asahi-gpu · 2022-12-21 19:03
marcanif I change the bounding box, the apple alpha mask shows up
#asahi-gpu · 2022-12-21 19:02
marcanjannau: ok, so for w18p the extra plane is alpha, and the interesting thing is that we can't see it in the boot FB because there is some kind of optimization where if the plane covers the whole screen alpha is disabled
#asahi-gpu · 2022-12-21 17:33
marcanohh. but.
#asahi-gpu · 2022-12-21 17:32
marcanjannau: so I tried the iboot interface from python and it works fine, the image looks normal (with w30r) after doing a swap
#asahi-gpu · 2022-12-21 17:18
marcanjannau: do you think it's possible iBoot issues a set_matrix? (that is a thing in the iboot interface too)
#asahi-gpu · 2022-12-21 16:54
marcannope... I think I have it copied exactly at this point
#asahi-gpu · 2022-12-21 16:21
marcannope, not that :(
#asahi-gpu · 2022-12-21 16:19
marcanconfused himself
#asahi-gpu · 2022-12-21 16:18
marcanwait no sec
#asahi-gpu · 2022-12-21 16:16
marcanlet me clean this up.
#asahi-gpu · 2022-12-21 16:16
marcanaand fixed it.
#asahi-gpu · 2022-12-21 16:10
marcanI see 0xdf values
#asahi-gpu · 2022-12-21 16:10
marcanif so the apple isn't quite opaque, which is interesting
#asahi-gpu · 2022-12-21 16:06
marcanlet me see if I find any other unknowns around here...
#asahi-gpu · 2022-12-21 16:06
marcanso that's not it.
#asahi-gpu · 2022-12-21 16:05
marcanhowever... using that and faking the second plane, KDE is still crunched.
#asahi-gpu · 2022-12-21 16:05
marcan2 planes, no idea what the second one is? it's 8bpp and has the bootup apple (and has had always had it with simpledrmfb and I don't see any apple-shaped artifacts so...)
#asahi-gpu · 2022-12-21 16:04
marcanjannau: interesting. so it's not w30r, it's w18p. I dumped the surface descriptor from DCP memory.
#asahi-gpu · 2022-12-21 15:25
marcanI have an idea
#asahi-gpu · 2022-12-21 12:45
marcan(don't have a better scheme)
#asahi-gpu · 2022-12-21 12:44
marcanhm, guess I could push dated tags yeah
#asahi-gpu · 2022-12-19 16:20
marcanpushed to asahi-dev
#asahi-gpu · 2022-12-19 16:16
marcanalyssa: I squashed it into the last commit, hope that's what you wanted :p
#asahi-gpu · 2022-12-19 03:23
marcan(that said, "push it and see if anyone complains" *is* a valid strategy for mesa-asahi-edge, JFYI)
#asahi-gpu · 2022-12-19 03:22
marcanok
#asahi-gpu · 2022-12-19 03:22
marcanplease hold off?
#asahi-gpu · 2022-12-19 03:21
marcanalyssa: I haven't pushed last night's package out to most users, I can hold off if you think it regresses something
#asahi-gpu · 2022-12-18 14:03
marcanwhoops, that's what I get for not paying attention. fixed.
#asahi-gpu · 2022-12-18 13:54
marcan*to asahi-dev
#asahi-gpu · 2022-12-18 13:18
marcanpushed an updated mesa-asahi-edge
#asahi-gpu · 2022-12-06 16:10
marcanthat doesn't sound like what a GPU driver bug would do
#asahi-gpu · 2022-12-06 16:10
marcandaniels: I think I'm going to blame any single-line glitches on fractional scaling issues until proven otherwise, yeah
#asahi-gpu · 2022-12-06 15:33
marcanthere's another one lina mentioned, the mouse cursor glitches up transparent-blurred backgrounds in wayland. that one also smells like not-a-driver-bug
#asahi-gpu · 2022-12-06 15:32
marcanI get the feeling there's a lot of weird brokenness in fractional scaling that has nothing to do with the GPU driver
#asahi-gpu · 2022-12-06 15:31
marcan_jannau_: as in text cursor btw
#asahi-gpu · 2022-12-06 15:31
marcanoh huh and now I'm seeing that text redraws in konsole cause thin single-pixel line artifacts if you are dragging an adjacent window... I wonder if that's again a Kwin thing or a driver bug...

plus ›