2023-02-12, 12:52
Just an update.. I have output. Working on hardware acceleration.
(2023-03-06, 15:16)mengerlein Wrote: OpenLGTV discord is working on kodi including hardware acceleration. Maybe you can have a look? https://github.com/webosbrew/xbmc/tree/feature/webOS
Prototype version plays 4K H265 DoVi on my LG B1 WebOS 6.0 TV!
sudo apt-get install curl
sudo apt-get install libssl-dev libcurl4-openssl-dev
mkdir $HOME/kodi-dev
cd $HOME/kodi-dev
wget https://github.com/openlgtv/buildroot-nc...oot.tar.gz
tar xfz arm-webos-linux-gnueabi_sdk-buildroot.tar.gz -C $HOME/kodi-dev
cd $HOME
git clone https://github.com/xbmc/xbmc kodi
cd $HOME/kodi/tools/depends
./bootstrap
./configure --with-target-cflags='-O3 -march=cortex-a55 -mfloat-abi=softfp -mfpu=neon' --prefix=$HOME/kodi-deps --host=arm-webos-linux-gnueabi --with-toolchain=$HOME/kodi-dev/arm-webos-linux-gnueabi_sdk-buildroot --enable-debug=no
make -j$(getconf _NPROCESSORS_ONLN)
make -j$(getconf _NPROCESSORS_ONLN) -C tools/depends/target/binary-addons PREFIX=$HOME/kodi/build/tools/webOS/packaging
Quote:make: Entering directory '/home/runner/kodi/tools/depends/target/cmakebuildsys'what am I missing?
mkdir -p /home/runner/kodi/build
cd /home/runner/kodi/build; /home/runner/kodi-deps/x86_64-linux-gnu-native/bin/cmake -DCMAKE_TOOLCHAIN_FILE=/home/runner/kodi-deps/arm-webos-linux-gnueabi-release/share/Toolchain.cmake -DCMAKE_INSTALL_PREFIX=/home/runner/kodi-deps/arm-webos-linux-gnueabi-release -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DENABLE_INTERNAL_CROSSGUID=ON -DENABLE_INTERNAL_FFMPEG=OFF /home/runner/kodi
-- Mirror download location: http://mirrors.kodi.tv
-- Source directory: /home/runner/kodi
-- Build directory: /home/runner/kodi/build
-- Generator: Single-configuration: Release (Unix Makefiles)
-- CMake Version: 3.26.4
-- System type: Linux
-- Linker: GNU gold
-- include/linux/udmabuf.h not found
-- include/linux/dma-heap.h not found
-- include/linux/dma-buf.h not found
-- memfd_create() not found
-- Host architecture is little-endian
-- Core system type: linux
-- Platform: webos
-- CPU: armeabi-v7a, ARCH: arm
-- Cross-Compiling: TRUE
-- Execute build artefacts on host:
-- Depends based build: 1
-- statx() not found
-- Could not find hardware support for SSE (missing: _SSE_TRUE _SSE_OK)
-- Could not find hardware support for SSE2 (missing: _SSE2_TRUE _SSE2_OK)
-- Could not find hardware support for SSE3 (missing: _SSE3_TRUE _SSE3_OK)
-- Could not find hardware support for SSSE3 (missing: _SSSE3_TRUE _SSSE3_OK)
-- Could not find hardware support for SSE4.1 (missing: _SSE41_TRUE _SSE41_OK)
-- Could not find hardware support for SSE4.2 (missing: _SSE42_TRUE _SSE42_OK)
-- Could not find hardware support for AVX (missing: _AVX_TRUE _AVX_OK)
-- Could not find hardware support for AVX2 (missing: _AVX2_TRUE _AVX2_OK)
-- NEON optimization enabled
-- Could NOT find CCache (missing: CCACHE_PROGRAM)
-- External TexturePacker for KODI_DEPENDSBUILD will be executed during build: /home/runner/kodi-deps/x86_64-linux-gnu-native/bin/TexturePacker
-- Could NOT find Avahi (missing: AVAHI_CLIENT_LIBRARY AVAHI_COMMON_LIBRARY AVAHI_CLIENT_INCLUDE_DIR AVAHI_COMMON_INCLUDE_DIR)
-- Could NOT find Bluetooth (missing: BLUETOOTH_LIBRARY BLUETOOTH_INCLUDE_DIR)
-- Could NOT find Bluray (missing: BLURAY_LIBRARY BLURAY_INCLUDE_DIR BLURAY_VERSION) (Required is at least version "0.9.3")
-- Could NOT find CAP (missing: CAP_LIBRARY CAP_INCLUDE_DIR)
-- Could NOT find Dav1d (missing: DAV1D_LIBRARY DAV1D_INCLUDE_DIR)
-- Could NOT find DBus (missing: DBUS_LIBRARY DBUS_INCLUDE_DIR DBUS_ARCH_INCLUDE_DIR)
-- Could NOT find Cdio (missing: CDIO_LIBRARY CDIO_INCLUDE_DIR)
-- Could NOT find Iso9660pp (missing: ISO9660PP_LIBRARY ISO9660PP_INCLUDE_DIR ISO9660_LIBRARY ISO9660_INCLUDE_DIR CDIO_LIBRARY CDIO_INCLUDE_DIR CDIOPP_INCLUDE_DIR)
-- Could NOT find LCMS2 (missing: LCMS2_LIBRARY LCMS2_INCLUDE_DIR)
-- Could NOT find LircClient (missing: LIRCCLIENT_LIBRARY LIRCCLIENT_INCLUDE_DIR)
-- Could NOT find MDNS (missing: MDNS_LIBRARY MDNS_INCLUDE_DIR)
-- Could NOT find MicroHttpd (missing: MICROHTTPD_LIBRARY MICROHTTPD_INCLUDE_DIR)
-- Could NOT find Pipewire (missing: PIPEWIRE_LIBRARY PIPEWIRE_INCLUDE_DIR SPA_INCLUDE_DIR) (Required is at least version "0.3.50")
-- Could NOT find Plist (missing: PLIST_LIBRARY PLIST_INCLUDE_DIR)
-- Could NOT find Python3 (missing: Python3_INCLUDE_DIRS Python3_LIBRARIES Development Development.Module Development.Embed) (Required is exact version "3.11")
CMake Error at cmake/modules/FindPython.cmake:65 (find_library):
Could not find INTL_LIBRARY using the following names: intl
Call Stack (most recent call first):
cmake/scripts/common/Macros.cmake:403 (find_package)
cmake/scripts/common/Macros.cmake:452 (find_package_with_ver)
CMakeLists.txt:260 (core_optional_dep)
-- Configuring incomplete, errors occurred!
make: *** [Makefile:37: all] Error 1
make: Leaving directory '/home/runner/kodi/tools/depends/target/cmakebuildsys'