2019-07-21, 21:53
I built the Leia_pi4 fork by @popcornmix but video play back does not work. I get either a blank screen (audio plays), or a frozen GUI (no video/no audio). I verified my hardware (RPi4B 4G) is good by playing the same videos running LE. I'd like to get this fork running on Arch ARM while Kodi v19 is under development.
Here is the kodi.log when trying to play a video (h264). I was able to hit the "x" key to stop it after 5-10 second.
Here is the kodi.log when trying to play a x265 video. It crashed kodi.
Here is how I built the fork:
1) I copied
2) I renamed the following directories from the buildroot:
With the buildroot prepared, I built the fork with this cmake stanza which completes without error:
For completeness, here is the cmake build log.
Here is the kodi.log when trying to play a video (h264). I was able to hit the "x" key to stop it after 5-10 second.
Here is the kodi.log when trying to play a x265 video. It crashed kodi.
Here is how I built the fork:
(2019-07-19, 13:12)popcornmix Wrote: Ah okay, leia_pi4 is a temporary hack.
You need to do a little surgery to make it build as it needs mmal headers and pc files but not the opengl ones.
I build with:
Code:PKG_CONFIG_PATH=/home/pi/projects/kodi/vc/lib/pkgconfig cmake ../kodi_mmal -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/usr/local -DCORE_PLATFORM_NAME=gbm -DGBM_RENDER_SYSTEM=gles -DENABLE_VAAPI=OFF -DENABLE_VDPAU=OFF
and I've copied to /home/pi/projects/kodi/vc/lib/pkgconfig
bcm_host.pc mmal.pc vcsm.pc
1) I copied
bcm_host.pc mmal.pc vcsm.pc
into /pkgconfig
in my build root.2) I renamed the following directories from the buildroot:
/opt/vc/include/{EGL,GLES,GLES2}
appending a hyphen to them so the build would not look into them.With the buildroot prepared, I built the fork with this cmake stanza which completes without error:
Code:
export PKG_CONFIG_PATH="/pkgconfig"
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DCMAKE_BUILD_TYPE=Debug \
-DVERBOSE=ON \
-DENABLE_INTERNAL_FFMPEG=ON \
-DENABLE_INTERNAL_FMT=ON \
-DENABLE_INTERNAL_CROSSGUID=ON \
-DENABLE_INTERNAL_FSTRCMP=ON \
-DENABLE_INTERNAL_FLATBUFFERS=ON \
-DENABLE_VAAPI=OFF \
-DENABLE_VDPAU=OFF \
-Dlibdvdcss_URL="/kodi-libdvdcss-1.4.2-Leia-Beta-5.tar.gz" \
-Dlibdvdnav_URL="/kodi-libdvdnav-6.0.0-Leia-Alpha-3.tar.gz" \
-Dlibdvdread_URL="/kodi-libdvdread-6.0.0-Leia-Alpha-3.tar.gz" \
-DFFMPEG_URL="/kodi-ffmpeg-4.0.3-Leia-18.2.tar.gz" \
-DFMT_URL="/kodi-fmt-5.1.0.tar.gz" \
-DCROSSGUID_URL="/kodi-crossguid-8f399e8bd4.tar.gz" \
-DFSTRCMP_URL="/kodi-fstrcmp-0.7.D001.tar.gz" \
-DFLATBUFFERS_URL="/kodi-flatbuffers-1.9.0.tar.gz" \
-DCORE_PLATFORM_NAME=gbm \
-DGBM_RENDER_SYSTEM=gles \
../xbmc-"932b08f071fd6cf8d95d01fe0c9e186821a38983"
make
make preinstall
For completeness, here is the cmake build log.