freedreno: a508 has a huge amount of various rendering artifacts
System information
- OS: postmarketOS Edge
- CPU: Snapdragon SDM630
- GPU: Adreno 508
- Kernel version: 6.2.0-rc7
- Mesa version: 22.3.6-r6
- Desktop manager and compositor: tinydm
Describe the issue
Large amount of rendering artifacts present on all enviroments, although Plasma Mobile is most affected. Not all areas show the same issues.
Issues include:
- Tiled corruption, generally also arranged in triangles
- Missing characters or other elements (for example, on this boot some letters including T, F, G, Y, and k were not rendered in the terminal app)
The Plasma Mobile "desktop" seems to not have any (noticeable) corruption, although many/most apps have full screen artifacts. The login screen also has these full screen artifacts (first video). Also, going to the app drawer seems to temporarily "fix" the corruption (second video).
These can generally be worked around with FD_MESA_DEBUG=inorder,gmem
.
I have not yet investigated which one of these options fixes what, although it seems that only both of them at the same time have a significant effect.
The kernel I am running has been patched with this patch: https://patchwork.freedesktop.org/series/113981/#rev1
Regression
I never got it working, although some research seems to indicate that this issue might have gradually become more apparent over time.