Nheko misrendering on RK3399 (Mali T860)
System information
- OS: NixOS
- GPU: Mali T860
- Kernel version: Linux 5.15.34
- Mesa version: 22.0.1
- Xserver version (if applicable): 1.21.1.3
- Desktop manager and compositor: Plasma/KWin
Describe the issue
Text (and sometimes, background) colors of the application (nheko a Qt-based Matrix client) are switched around. It seems that only colors that are actually supposed to be somewhere on screen are used, but even in places they shouldn't be.
I have not noticed this issue appearing in any other application, Qt or no (which is surprising since I don't think Nheko does anything particularly special with rendering).
This issue has been around for a long time (if I had to guess, the entire time since I started using panfrost). I don't know how to try a different Mesa version in NixOS without rebuilding the entire system, so confirming this is a bit hard for me.
Screenshot / Trace
In this screenshot (most of) the text is not supposed to be magenta, but black:
An ApiTrace I made that triggers the issue: nheko.trace.zst The artifacts start appearing around half-way through, but I couldn't figure out how to trim the trace without breaking it.