Jump to content

szx

Members
  • Posts

    5
  • Joined

  • Last visited

  1. FFmpeg says that it can use `drm` hwaccel method, so this is not caused by it. Found an interesting condition inside Kodi settings XML definitions: <setting id="videoplayer.useprimedecoder" type="boolean" label="13430" help="36172"> <requirement>HAS_GLES</requirement> <visible>false</visible> <level>2</level> <default>false</default> <control type="toggle" /> </setting> It looks like in order to be able to use DRM PRIME, Kodi must be compiled with GLES support. #ifdef HAS_GLES m_simpleConditions.insert("has_gles"); #endif However, the version of Kodi from the official XBMC PPA was not. So basically, yes, Kodi must be recopiled to get HW acceleration to work. Update: Actually, it turns out that Team Kodi don't provide ARM builds in the PPA, all this time I was using the Debian build (lol).
  2. Compiled ffmpeg from a different repo - https://github.com/jernejsk/FFmpeg - and copied the shared libs to /lib/arm-linux-gnueabihf (where Kodi appears to be looking for them according to ldd) but no luck. I'm not sure what I'm doing wrong at this point. Any ideas?
  3. OK, thank you for the clarifications, jernej. I've managed to compile FFmpeg-Cedrus (https://github.com/stulluk/FFmpeg-Cedrus) with the 4.4 release version of FFmpeg (same as used by Kodi) and installed the shared libraries (libav*) system-wide to a location used by Kodi (/lib/arm-linux-gnueabihf/ on my Armbian system). But the thing is, Kodi still uses SW decoding for some reason. And it appears to be already running in GBM mode as you mentioned. I'm using the version from the team-xbmc PPA for Ubuntu. /usr/lib/arm-linux-gnueabihf/kodi/kodi.bin --standalone --windowing=gbm Video decoder: ff-h264 (SW) FFmpeg configure flags: --enable-shared \ --enable-nonfree \ --enable-gpl \ --enable-version3 \ --enable-vdpau \ --enable-libx264 \ --enable-libmp3lame \ --enable-libpulse \ --enable-libv4l2 \ --enable-openssl Any clues? On LibreELEC the info panel shows: Video decoder: ff-h264-drm_prime (HW) Linux kernel version: 6.1.7-sunxi
  4. @MaccheseDid you have any success? I'm trying to do the same with Orange PC PC Plus.
  5. Hello, Is there a guide / tutorial on making Kodi run with hardware acceleration enabled on Armbian on Orange PI PC Plus? e.g. like how LibreELEC does it. I have found a bunch of information on different sites and forums, but I can't put it all together. What I know so far: * Apparently the HW-accelerated decoding is supposed to be done on Kodi's side via VDPAU API * The Kodi build in Armbian repos does not have built-in support for libvdpau (?) * ffmpeg, the video decoding library used by Kodi, doesn't support Allwinner GPU out of the box and needs patching * Kodi needs to be re-compiled with the patched ffmpeg version
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines