2016-06-16, 23:39
Hi All,
I'm trying to get kodi to run on an NVidia Jetson TX1 (Tegra ARM, http://www.nvidia.com/object/jetson-tx1-dev-kit.html). I compiled everything from scratch. The UI works fine, but whenever I try to play a video it hangs after the first frame. Even the debug output in the top left (FPS/CPU etc.) stops until I kill the program. I tried different streams from the web and different versions of the Big Buck Bunny movie from http://download.blender.org/peach/bigbuckbunny_movies/, and all show the same result.
Any hints welcome...
Thanks!
Info:
Debug Log: http://paste.ubuntu.com/17413827/
Config Log: http://paste.ubuntu.com/17413838/
Sideline: It's dirty because I had to do the following changes to make it compile:
diff --git a/configure.ac b/configure.ac
index 8cc0ba8..554a669 100644
--- a/configure.ac
+++ b/configure.ac
@@ -616,8 +616,8 @@ case $host in
ARCH="arm"
use_arch="arm"
use_neon=yes
- use_gles=yes
- use_gl=no
+ ##use_gles=yes
+ ##use_gl=no
USE_STATIC_FFMPEG=1
;;
aarch64*-*-linux-gnu*|aarch64*-*-linux-uclibc*)
@@ -1545,14 +1545,14 @@ if test "${USE_STATIC_FFMPEG}" = "1"; then
if test "$with_ffmpeg" = "yes" || test "$FFMPEG_FOUND" = "false"; then
# ffmpeg not found with pkg-config, lets install it
AC_MSG_NOTICE("Installing FFmpeg")
- CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" ${ffmpeg_build}/autobuild.sh ${FFMPEG_OPTS}
+ CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" ${ffmpeg_build}/autobuild.sh ${FFMPEG_OPTS} --arch=${use_arch}
export PKG_CONFIG_PATH="${ffmpeg_build}/ffmpeg-install/lib/pkgconfig:$PKG_CONFIG_PATH"
fi
elif test "$with_ffmpeg" = "force"; then
# always build our ffmpeg
AC_MSG_NOTICE("FFmpeg installation forced by user - installing our version")
- CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" ${ffmpeg_build}/autobuild.sh ${FFMPEG_OPTS}
+ CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" ${ffmpeg_build}/autobuild.sh ${FFMPEG_OPTS} --arch=${use_arch}
export PKG_CONFIG_PATH="${ffmpeg_build}/ffmpeg-install/lib/pkgconfig:$PKG_CONFIG_PATH"
elif test "$with_ffmpeg" != "no"; then
diff --git a/m4/xbmc_arch.m4 b/m4/xbmc_arch.m4
index d28f263..b8511d5 100644
--- a/m4/xbmc_arch.m4
+++ b/m4/xbmc_arch.m4
@@ -23,7 +23,7 @@ case $build in
powerpc64-*-linux-gnu*|powerpc64-*-linux-uclibc*)
AC_SUBST(NATIVE_ARCH_DEFINES, "-DTARGET_POSIX -DTARGET_LINUX -D_LINUX -D_POWERPC64")
;;
- arm*-*-linux-gnu*|arm*-*-linux-uclibc*)
+ arm*-*-linux-gnu*|arm*-*-linux-uclibc*|aarch64*-*-linux-gnu*|aarch64*-*-linux-uclibc*)
AC_SUBST(NATIVE_ARCH_DEFINES, "-DTARGET_POSIX -DTARGET_LINUX -D_LINUX")
;;
*)
I'm trying to get kodi to run on an NVidia Jetson TX1 (Tegra ARM, http://www.nvidia.com/object/jetson-tx1-dev-kit.html). I compiled everything from scratch. The UI works fine, but whenever I try to play a video it hangs after the first frame. Even the debug output in the top left (FPS/CPU etc.) stops until I kill the program. I tried different streams from the web and different versions of the Big Buck Bunny movie from http://download.blender.org/peach/bigbuckbunny_movies/, and all show the same result.
Any hints welcome...
Thanks!
Info:
Debug Log: http://paste.ubuntu.com/17413827/
Config Log: http://paste.ubuntu.com/17413838/
Sideline: It's dirty because I had to do the following changes to make it compile:
diff --git a/configure.ac b/configure.ac
index 8cc0ba8..554a669 100644
--- a/configure.ac
+++ b/configure.ac
@@ -616,8 +616,8 @@ case $host in
ARCH="arm"
use_arch="arm"
use_neon=yes
- use_gles=yes
- use_gl=no
+ ##use_gles=yes
+ ##use_gl=no
USE_STATIC_FFMPEG=1
;;
aarch64*-*-linux-gnu*|aarch64*-*-linux-uclibc*)
@@ -1545,14 +1545,14 @@ if test "${USE_STATIC_FFMPEG}" = "1"; then
if test "$with_ffmpeg" = "yes" || test "$FFMPEG_FOUND" = "false"; then
# ffmpeg not found with pkg-config, lets install it
AC_MSG_NOTICE("Installing FFmpeg")
- CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" ${ffmpeg_build}/autobuild.sh ${FFMPEG_OPTS}
+ CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" ${ffmpeg_build}/autobuild.sh ${FFMPEG_OPTS} --arch=${use_arch}
export PKG_CONFIG_PATH="${ffmpeg_build}/ffmpeg-install/lib/pkgconfig:$PKG_CONFIG_PATH"
fi
elif test "$with_ffmpeg" = "force"; then
# always build our ffmpeg
AC_MSG_NOTICE("FFmpeg installation forced by user - installing our version")
- CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" ${ffmpeg_build}/autobuild.sh ${FFMPEG_OPTS}
+ CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" ${ffmpeg_build}/autobuild.sh ${FFMPEG_OPTS} --arch=${use_arch}
export PKG_CONFIG_PATH="${ffmpeg_build}/ffmpeg-install/lib/pkgconfig:$PKG_CONFIG_PATH"
elif test "$with_ffmpeg" != "no"; then
diff --git a/m4/xbmc_arch.m4 b/m4/xbmc_arch.m4
index d28f263..b8511d5 100644
--- a/m4/xbmc_arch.m4
+++ b/m4/xbmc_arch.m4
@@ -23,7 +23,7 @@ case $build in
powerpc64-*-linux-gnu*|powerpc64-*-linux-uclibc*)
AC_SUBST(NATIVE_ARCH_DEFINES, "-DTARGET_POSIX -DTARGET_LINUX -D_LINUX -D_POWERPC64")
;;
- arm*-*-linux-gnu*|arm*-*-linux-uclibc*)
+ arm*-*-linux-gnu*|arm*-*-linux-uclibc*|aarch64*-*-linux-gnu*|aarch64*-*-linux-uclibc*)
AC_SUBST(NATIVE_ARCH_DEFINES, "-DTARGET_POSIX -DTARGET_LINUX -D_LINUX")
;;
*)