Kodi Community Forum
video hardware acceleration with v4l2 - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: video hardware acceleration with v4l2 (/showthread.php?tid=373135)



video hardware acceleration with v4l2 - adamNo - 2023-05-14

i have compiled Kodi for i.MX 8M with Vivante GC7000Lite GPU (Librem5). this device supports only v4l2 hw accelleration.

that's the build command I've used:
make -C /home/purism/kodi.source/xbmc/tools/depends/target/cmakebuildsys BUILD_DIR=/home/purism/kodi/ CMAKE_EXTRA_ARGUMENTS="-DENABLE_CEC=OFF -DENABLE_PIPEWIRE=OFF"
i had to disable PipeWire since the target platform (Librem5) does not supports it!

unfortunately when i play back FHD videos the CPU load on all 4 cores is above 80%.
so, i am pretty sure, it's without hw accel.

I've read somewhere that since version 19 Kodi supports video acceleration in hardware utilizing v4l2.

why is hw accel not working?
is it due to disabled PipeWire?


RE: video hardware acceleration with v4l2 - Klojum - 2023-05-14

Moved the thread to the Linux subforum for now, unless other factors suggest a different subforum.