Back in Dec 2023, I had some success in building Kodi for Raspberry 5 with all necessary HW acceleration for HEVC. Worked like a charm for 2 years.
Now that I lost that build, I am trying to rebuild it following the same steps already discussed here.
Unfortunately this doesn't seem to work with LibreELEC 12.0.2 and going back on the master history to Dec 2023 doesn't work either for some reason.
The key blockers are these:
- MESA drivers: I follow this package.mk to fetch the right version (25.1.1). Then I go to this patch directory. Strangely, a patch that was present in the past is missing, so when I build. Is it possible that MESA now by defaults consolidates all drivers (including v3d and vc4) into one library called libgallium-25.1.1.so?
- ffmpeg build: I follow this package.mk and I'm very careful to build with all flags that are necessary for this to run on a Raspberry Pi 5 (--disable-mmal --enable-sand and all other necessary ones for libdrm, libudev, etc.). I build on a patched 7.1.1, where the patches are taken from here, but it seems that ffmpeg-001-v4l2-drmprime.patch and ffmpeg-001-v4l2-request.patch are consolidated into ffmpeg-001-rpi.patch. Is that the case?
Then I build Kodi as per this package.mk with all patches reported there.
When I play HEVC unfortunately I get stuttering video and I keep thiking there is something wrong with libdrm (I also tried building this from source), mesa driver or ffmpeg not enabling the v3d, vc4 drivers and the HW acceleration.
chewitt Any idea?