panfrost: poor performance on Mali g31
- OS: Manjaro ARM
- GPU: Mali g31
- Platform: X96 Air TV box / Amlogic S905X3 SoC
- Kernel version: 5.11.13
- Mesa version: mesa 21.0.3-3
- Xserver version (if applicable): X.Org X Server 1.20.11
- Desktop manager and compositor: MATE 1.24.1
Describe the issue
I have enabled glamor in my xorg.conf but even simple 2D performance is very poor - for example moving a window around the screen is laggy. Also, there are frequent display artifacts when scrolling in a browser or the terminal etc.
I am using a 4K display but I know its under-performing because I have another TV box that uses the Mali T720 and that performs much better when dragging and scrolling windows on a 4K display, under Armbian bullseye.
I tried upgrading to the latest git version of mesa yesterday using the Manjaro ARM mesa-git PKGBUILD but it was even worse as text wasn't being displayed.
Regression
Unknown
Log files as attachment
- Output of
dmesg
I have attached a screenshot of the panfost/bifrost dmesg messages took from Android running on this box. dmesg on Manjaro says:
[ 3.352289] panfrost ffe40000.gpu: clock rate = 24000000
[ 3.352363] panfrost ffe40000.gpu: dev_pm_opp_set_regulators: no regulator (mali) found: -19
[ 3.356201] panfrost ffe40000.gpu: mali-g31 id 0x7093 major 0x0 minor 0x0 status 0x0
[ 3.356217] panfrost ffe40000.gpu: features: 00000000,3fde77ff, issues: 00000000,00000400
[ 3.356227] panfrost ffe40000.gpu: Features: L2:0x07100206 Shader:0x00000000 Tiler:0x00000209 Mem:0x1 MMU:0x00002821 AS:0xff JS:0x7
[ 3.356238] panfrost ffe40000.gpu: shader_present=0x1 l2_present=0x1
[ 3.365394] [drm] Initialized panfrost 1.1.0 20180908 for ffe40000.gpu on minor 0
Screenshots/video files (if applicable)
I can upload a video capture of my display if required.
Any extra information would be greatly appreciated
xorg log:
https://gist.github.com/danboid/1a1e4a29166a09126a4e2514a6a3b7f1