Hi everyone,
I really appreciate all the RockChip work done here, but LibreELEC as a distribution does not fit my needs.
Therefore I have created packages for my distribution with the LibreELEC patches and keep kernel+Kodi versions aligned with LibreELEC insofar the patches apply and work.
Currently I am running LInux 6.2.2 (patches for 6.1.2 applied cleanly), Kodi 20.0, FFMPEG 4.4.1-Nexus-Alpha1 (LibreELEC patches which seem to be for 5.1.2 apply cleanly here too).
I have most things working fine, except that I cannot seem to decode HEVC content which does work on LibreELEC when I checked last week.
For the kernel, I have applied these patches:
https://github.com/LibreELEC/Libr…s/linux/default
For FFMPEG; I applied these patches:
https://github.com/LibreELEC/Libr…s/v4l2-drmprime
https://github.com/LibreELEC/Libr…es/v4l2-request
My build scripts can be found here (the FFMPEG patches I integrated into Kodi's FFMPEG build as that is how my distro builds kodi):
I have an old Kodi log of mine (Kodi 19.0 Alpha,FFMPEG 4.2.2, Linux 5.7.0) which shows the HEVC decoding working: kodi_working.log
It goes on to probe the various devices, set up the pixel format yuv420p10le, and continue on its merry way.
Currently, running the above patched binaries, I get the story in "kodi_broken.log"
For some reason it can't set the format it wants on the v4l2 device.
Note: this latter log is produced by trying to play a file that plays correctly under LIbreELEC.
Is there some Kodi or FFMPEG or Linux configuration that might cause this difference?
Aside from sifting through LibreELEC patches, I have tried:
- ensuring there is only one /dev/videoN device (rkvdec, and well, rkvenc but that one should be skipped...) by unloading the other modules (rockchip_rga, rockchip_hantro, rockchip_iep)
- Checking the v4l2-ctl output through v4l2-ctl: v4l2-ctl.log
I will try using FFMPEG 5.1.2 but I fear that won't make much difference, as I've had this problem for quite a while (since right after the "kodi_working.log".
Any help is much appreciated!