a540: Weird graphic glitches
System information
Host: freecollective Kernel: 5.17.1 arch: aarch64 bits: 64 compiler: N/A
Desktop: GNOME tk: GTK v: 3.90.99 wm: phoc dm: N/A
Distro: postmarketOS edge
CPU:
Info: 2x 4-core model: N/A variant: kryo280 bits: 64 type: MCP AMP
arch: ARMv8 rev: 4
Speed (MHz): avg: 2131 high: 2362 min/max: 300/1901:2362 cores: 1: 1901
2: 1901 3: 1901 4: 1901 5: 2362 6: 2362 7: 2362 8: 2362 bogomips: N/A
Features: Use -f option to see features
Graphics:
Device-1: adreno-540.1 driver: adreno v: N/A bus-ID: N/A
chip-ID: qcom:5000000
Display: wayland server: Xwayland v: 22.1.2 compositor: phoc driver:
gpu: adreno,hdmi_msm,msm,msm-dp-display,msm_dpu,msm_dsi,msm_dsi_phy,msm_hdmi_phy,msm_mdp
display-ID: 0 note: no compositor data
Monitor-1: DSI-1 size-res: N/A
Message: Wayland GBM/EGL data currently not available.
Issue description
Everything that is rendered on the GPU with freedreno driver has some "glitches", may freeze and update slowly, not rendering some parts of something (e.g. menus in libadwaita may be partially rendered), and it is impossible to use the OS.
Regression
The last correctly working version of Mesa is 21.1.8 (in case of correct render, and not the render speed which was higher in the future versions), after that some micro glitches appeared, i.e. freezing of some parts of the screen during animation for a few hundred milliseconds, but in the latest development version (git main a0c2b342) it's worse than before.
Log file
Video file
A540_dumpling (Shows phosh 0.17 with mesa 21.3.7, but on 22.1.0 exactly the same)
Edited by exploit