panfrost GLSL poor performance on MaliT860
System information
Gear: Pine64 RockPro64 4GB
System: Host: omv-rockpro64 Kernel: 5.11.15-server-1omv4050 aarch64 bits: 64 compiler: gcc v: 10.3.0
Desktop: KDE Plasma 5.21.4 wm: kwin_wayland dm: SDDM Distro: OpenMandrivaLinux 4.50 Argon
CPU: Info: 6-Core (2-Die) model: N/A variant-1: cortex-a72 variant-2: cortex-a53 bits: 64 type: MCP MCM arch: ARMv8
rev: 4
features: Use -f option to see features bogomips: 0
Speed: 600 MHz min/max: 408/1416:1800 MHz Core speeds (MHz): 1: 408 2: 408 3: 408 4: 408 5: 1608 6: 1608
Graphics: Device-1: display-subsystem driver: rockchip_drm v: N/A bus-ID: N/A chip-ID: rockchip:display-subsystem
Device-2: rk3399-dw-hdmi driver: dwhdmi_rockchip v: N/A bus-ID: N/A chip-ID: rockchip:ff940000
Device-3: rk3399-mali driver: panfrost v: kernel bus-ID: N/A chip-ID: rockchip:ff9a0000
Display: wayland server: OpenMandriva X.org 1.20.11 compositor: kwin_wayland driver: loaded: modesetting
unloaded: fbdev resolution: 1920x1080~50Hz s-dpi: 96
OpenGL: renderer: Mali T860 (Panfrost) v: 3.1 Mesa 21.1.0-rc2 direct render: Yes
- OS: OpenMandriva Lx cooker
- GPU: MaliT860
- Kernel version: Linux omv-rockpro64 5.11.15-server-1omv4050 #1 (closed) SMP Sun Apr 18 15:11:24 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
- Mesa version: OpenGL version string: 3.1 Mesa 21.1.0-rc2
- Xserver version (if applicable): (
sudo X -version
) - Desktop manager and compositor: KDE Plasma kwin-5.21.4
If applicable
Describe the issue
I'm running KDE Plasma 5.21.4 on my Pine64 RockPro64. I noticed that Plasma is very laggy and sluggish, compared to other desktops (LxQt, plain weston), and i started to dig a little bit. What i found is that KWin effect called "Blur" is responsible for 50% of frame drop. Without this effect enabled i get 60fps on my 1920x1080/60p screen with "performance" GPU governor. With other ogevernors things are even worse. This Blur effect uses GLSL through GL_ARB_shader_object, GL_ARB_fragment_shader and GL_ARB_vertex_shader extensions. Question is whether MaliT860 is cabaple of GLSL on a decent level.
For a reference: https://invent.kde.org/plasma/kwin/-/merge_requests/883