v19 Compiling Kodi 19 on RaspiOS RPI4 HW-decoding problems - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Raspberry Pi (https://forum.kodi.tv/forumdisplay.php?fid=166) +---- Thread: v19 Compiling Kodi 19 on RaspiOS RPI4 HW-decoding problems (/showthread.php?tid=361928) |
Compiling Kodi 19 on RaspiOS RPI4 HW-decoding problems - ElectricPim - 2021-04-06 Unfortunately kernel 5.10 caused major regressions for the default Kodi (18.7) on Raspberry Pi OS on a RPI4. The Kodi version that is shipped in the default repository. HEVC files don't play and MPEG4 videos play jerky I too experience files that don't play in the default Kodi and Kernel 5.10 on RaspiOS. They worked fine before in kernel 5.4 and they work fine in LibreElec 10 beta. So I decided to build Kodi 19 on RaspiOS, to see if that helps. Using this version from popcornmix: https://github.com/popcornmix/xbmc/tree/gbm_matrix
Building on a RPI400 takes around 2 hours. Code: // Changes config.txt I end up with a build that does start, does have HW support, but crashes at the moment I play an HEVC file with HW acceleration enabled. Code: groups pi Code:
I tried to follow the advises in this thread, but I guess I missed something. RE: Compiling Kodi 19 on RaspiOS RPI4 HW-decoding problems - popcornmix - 2021-04-06 Have you increased cma allocation? Try with: Code: dtoverlay=vc4-kms-v3d,cma-512 RE: Compiling Kodi 19 on RaspiOS RPI4 HW-decoding problems - ElectricPim - 2021-04-06 (2021-04-06, 12:24)popcornmix Wrote: Have you increased cma allocation? Try with: Thank you, but that's exactly what I did, (quoted the config.txt settings in my OP) I also tried with and without: dtoverlay=rpivid-v4l2 I'm not sure if that is needed, but it doesn't make a difference. Something with the ffmpeg version that is downloaded in the build process? RE: Compiling Kodi 19 on RaspiOS RPI4 HW-decoding problems - ElectricPim - 2021-04-11 (2021-04-06, 12:24)popcornmix Wrote: Have you increased cma allocation? Try with: Yes I've done that, but I must be doing something wrong, tried it all over today with a fresh RaspiOS image. Compile steps: build script Changes /boot/config.txt /boot/config.txt Still getting these errors: Code: INFO <general>: CDVDVideoCodecDRMPRIME::Open - using decoder V4L2 mem2mem HEVC decoder wrapper What's wrong? |