Rock3a running Armbian video acceleration issue

Hello. My system is running Rock3a Armbian 24.11.2 Noble Gnome, which is a Ubuntu 24.04.
Linux kernel: 6.6.63, Wayland, Gnome

I have downloaded and installed rockchip-linux/mpp.git from Github.

glxinfo | grep “OpenGL renderer” --> Mali-G52 r1 (Panfrost)
It seems GPU acceleration is working.
“glmark2” works and it returns a score 446 which is good.

However, video playback is slow on mpv or vlc. It seems the video hardware acceleration is not working.

“vainfo” returns:
libva info: VA-API version 1.20.0
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/panfrost_drv_video.so
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error), exit

Anything I need to install to fix the problem? Any input is much appreciated.

Linux 6.6 is mainline kernel, mpp won’t work.
Mpp only works with 5.10 or 6.1 kernel from rockchip.

I see. Thank you.