kodi-git build script for mainline hwaccel media decoding
#16
(06-13-2020, 09:28 AM)spikerguy Wrote: Hi @xmixahlx

I have added your vdec patch to `linux-pinebookpro` it built fine then I tried building ffmpeg full but it have too many extra libs enabled so I moved to ffmpeg with only v4l2_request and it was build just fine.

Now I am stuck with kodi-git I tried my PKGBuild with your config and it fails with errors then I think I will just run your script and it fails with missing deps and after I install those deps then it fails with missing packages which are not part of arch linux example `fstrcmp` and `libdvdread` errors.

Have you tried building using the kodi script on your pbp-tools repo? Can you add full dep list?

Thanks for your work.

@spikerguy

see CMakeLists.txt and note the -DENABLE_INTERNAL_?=OFF entries, and the ON entries under general. you may have to toggle those. also review required dependencies, and optional:
https://github.com/xbmc/xbmc/blob/master/CMakeLists.txt

from:
https://gitlab.manjaro.org/manjaro-arm/p...r/PKGBUILD
https://aur.archlinux.org/cgit/aur.git/t...h=kodi-git

try:
pacman -S afpfs-ng bluez-libs cmake curl doxygen glew gperf hicolor-icon-theme java-runtime libaacs libass libbluray libcdio libcec libgl mariadb-libs libmicrohttpd libmodplug libmpeg2 libnfs libplist libpulse libva libvdpau libxrandr libxslt lirc lzo mesa nasm python-pycryptodomex python-pillow python-pybluez python-simplejson shairplay smbclient taglib tinyxml swig upower giflib rapidjson ghostscript desktop-file-utils hicolor-icon-theme mesa python-pycryptodomex python-pillow python-simplejson xorg-xdpyinfo shairplay git meson gtest bluez-libs curl lcms2 libass libbluray libcdio libcec libinput libmicrohttpd libnfs libpulse libva libxkbcommon libxslt lirc mariadb-libs python smbclient taglib tinyxml libpng giflib libjpeg-turbo lzo afpfs-ng bluez python-pybluez libplist pulseaudio upower

cmake .. \
-DCORE_PLATFORM_NAME=gbm \
-DGBM_RENDER_SYSTEM=gles \
-DFFMPEG_PATH=/usr/local \
-DENABLE_TESTING=OFF \
-DCMAKE_INSTALL_LIBDIR=/usr/local/lib/aarch64-linux-gnu \
-DENABLE_INTERNAL_FFMPEG=OFF \
-DENABLE_INTERNAL_FMT=ON \
-DENABLE_INTERNAL_CROSSGUID=ON \
-DENABLE_INTERNAL_FSTRCMP=ON \
-DENABLE_INTERNAL_FLATBUFFERS=ON \
-DENABLE_INTERNAL_SPDLOG=ON

you may need to pair these down. when you get something that works, LMK.


Messages In This Thread
RE: kodi-git build script for mainline hwaccel media decoding - by xmixahlx - 06-15-2020, 07:09 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to mainline kernel on daniel thompson's debian installer? hellojack 14 9,842 09-07-2023, 09:38 PM
Last Post: Der Geist der Maschine
  Armbian VPU decoding support coming soon LivingLinux 0 1,057 11-13-2022, 02:32 PM
Last Post: LivingLinux
  A true mainline Linux Kernel for the Pinebook Pro tsys 154 236,199 06-20-2021, 09:26 AM
Last Post: linuxad
  Battery gauge issue (mainline kernel) lfourquaux 4 5,815 05-22-2021, 02:43 PM
Last Post: jiyong
  UBOOT - Mainline not booting from SD card / BSP OK Anarethos 1 3,285 01-10-2021, 12:33 AM
Last Post: Anarethos
  How does one get working deep/S3 sleep with Ubuntu Focal/5.7 mainline kernel? Syonyk 7 11,110 10-26-2020, 02:03 PM
Last Post: edward
  Funny Conky like script to monitor your PBP state as400 1 3,634 08-19-2020, 12:57 PM
Last Post: xmixahlx
  mainline kernel hardware acceleration xmixahlx 33 58,336 06-11-2020, 10:41 AM
Last Post: xmixahlx
  Default Manjaro KDE build download link for Pinebook Pro? qeek 8 9,925 03-21-2020, 09:41 AM
Last Post: MrDitchy
  Kodi on Manjaro brent.thierens 12 19,334 03-16-2020, 09:10 AM
Last Post: spikerguy

Forum Jump:


Users browsing this thread: 3 Guest(s)