Can't install latest stable version on Odroid C2

  • There are, actually, LE13 versions that supports internal and external subtitles for the C2 (https://test.libreelec.tv/13.0/Amlogic/odroid-c2/). The latest version that worked for me is the 20240710 nightly.

    So LibreELEC-AMLGX.aarch64-13.0-nightly-20240715-a8655f2-odroid-c2.img.gz doesn't work for you?

    My understanding is it would have broke on July 18th due to the mesa bump, but the nightly builds had stopped during that time.

  • Subtitles are broken on Amlogic devices that use a Mali Utgard GPU (all GXBB, GXL and GXM boards) due to changes in OpenGLES shaders that Kodi uses. The developer who made the breaking shader changes (Sarbes) is aware of the issue caused, but he doesn't appear to be doing anything about un-breaking things either.

    I assume Allwinner/Rockchip devices are also impacted as some of them also use Utgard GPUs, although I've not seen user reports.

  • "So LibreELEC-AMLGX.aarch64-13.0-nightly-20240715-a8655f2-odroid-c2.img.gz doesn't work for you?

    My understanding is it would have broke on July 18th due to the mesa bump, but the nightly builds had stopped during that time."

    That's correct.

  • Just to document it then, the Kodi changes that are included as part of this commit are what causes the subtitle issue:

    Kodi "Piers" by heitbaum · Pull Request #8936 · LibreELEC/LibreELEC.tv
    kodi: update to githash d212b0a (July 6 2024) kodi: update to githash d7876de (July 9 2024) kodi: update to githash 060417c (July 14 2024) pcre: drop unused…
    github.com

    The Kodi delta being:

    Comparing 21.0-Omega...060417ccfa5b21939669d404b9a223c3004ba132 · xbmc/xbmc
    Kodi is an award-winning free and open source home theater/media center software and entertainment hub for digital media. With its beautiful interface and…
    github.com

    EDIT :: Looking at that Mesa issue, it looks like that change was only made in 25.0 which wasn't included in the nightlies at that time. I started further bisecting the issue and similarly proved it was not the font scaling. I was able to determine the front to back rendering change is the culprit. The later FBO fix-up has no impact. The default is supposed to be FBO off, so I also tried explicitly setting it to off with no effect.

    Edited once, last by smf007 (June 17, 2025 at 5:37 AM).

  • The mesa issue is absolutely not related to the subtitle issue.

    After identifying that it was the changes introduced when adding the front-to-back rendering option (while still in back-to-front rendering no less) that was the source of the subtitle breakage, I tried reverting those changes on top of the current Kodi used by LibreElec. While it is a big patch file, I do have a system that is current and does have subtitles.

    chewitt I'm fairly certain this is a patch that would never be accepted in LibreElec, is there any thoughts on who might be able to identify where the back-to-front GLES rendering messes up subtitles? I'm not sure sarbes is around, however I did leave a comment on the merged Kodi pull #22919 about the breakage.