Compiling Kodi terminates with oom

finally i’ve cross-compiled Kodi for arm64 using toolchain from Downloads | GNU-A Downloads – Arm Developer.

I compiled it with

  1. VAAPI for hardware video acceleration
  2. Pipewire(, the new default in Kodi that acts as a replacement for Pulseaudio)

Both don’t work properly!

1.
video has stutters.

purism@pureos:~/kodi$ ./kodi.bin
libva info: VA-API version 1.10.0
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)

mpv videoplayer shows the same

purism@pureos:~$ mpv --hwdec=auto ~/Videos/Nextcloud\ intro.mp4
(+) Video --vid=1 () (h264 1920x1080 30.000fps)
(+) Audio --aid=1 --alang=deu (
) (aac 2ch 48000Hz)
[vaapi] libva: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[vaapi] libva: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[ffmpeg/video] h264_v4l2m2m: Could not find a valid device
[ffmpeg/video] h264_v4l2m2m: can’t configure decoder
Could not open codec.

i searched for drivers and found a merge to upstream Vivante gc7000 GPU support to mesa 22.2.

can someone (from purism) confirm that we will have hw video acceleration with mesa 22.2?
what’s the status of hw accel?

2.
there is no sound. Kodi has only pipewire as audio device. there is no Kodi sink in pavucontrol.
i see many

[E][000012432.495809][stream.c:319 stream_set_state()] stream 0xffff64001380: error no node available

is there a way to bridge it to pulseaudio? How to make it work?

any help much appreciated!