Odroid HC4 - video acceleration not working

Creating a bug report/issue

I have searched the existing open and closed issues

Required Information

  • DietPi version | 9.9.0
  • Distro version | bookworm
  • Kernel version | 6.6.65-current-meson64
  • Architecture | arm64
  • SBC model | Odroid C4/HC4 (aarch64)
  • Power supply used | 15V 6A
  • SD card used | not used (petitboot & SSD)

Additional Information (if applicable)

  • Software title | Kodi
  • Was the software title installed freshly or updated/migrated? Fresh install
  • Can this issue be replicated on a fresh installation of DietPi? yes
  • Bug report ID | none

Steps to reproduce

  1. install Kodi through dietpi-software

Expected behaviour

  • video acceleration should work

Actual behaviour

  • video stutters

Extra details

Kodi log:

libva info: VA-API version 1.17.0
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/meson_drv_video.so
libva info: va_openDriver() returns -1

vainfo error:

$ sudo vainfo 
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
error: can't connect to X server!
libva info: VA-API version 1.17.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

Content of /usr/lib/aarch64-linux-gnu/dri/:

$ ls /usr/lib/aarch64-linux-gnu/dri/
armada-drm_dri.so   ili9225_dri.so      kgsl_dri.so        mcde_dri.so       nouveau_dri.so        r600_drv_video.so      st7586_dri.so     v3d_dri.so
d3d12_dri.so        ili9341_dri.so      kirin_dri.so       mediatek_dri.so   nouveau_drv_video.so  radeonsi_dri.so        st7735r_dri.so    vc4_dri.so
d3d12_drv_video.so  imx-dcss_dri.so     kms_swrast_dri.so  meson_dri.so      panfrost_dri.so       radeonsi_drv_video.so  stm_dri.so        virtio_gpu_dri.so
etnaviv_dri.so      imx-drm_dri.so      komeda_dri.so      mi0283qt_dri.so   pl111_dri.so          rcar-du_dri.so         sun4i-drm_dri.so  virtio_gpu_drv_video.so
exynos_dri.so       imx-lcdif_dri.so    lima_dri.so        msm_dri.so        r300_dri.so           repaper_dri.so         swrast_dri.so     vmwgfx_dri.so
hx8357d_dri.so      ingenic-drm_dri.so  mali-dp_dri.so     mxsfb-drm_dri.so  r600_dri.so           rockchip_dri.so        tegra_dri.so      zink_dri.so