Is there a good reason not to switch to the gles render backend? Note that this enables HDR support now (at least on Intel platforms if using GBM and maybe wayland?), and the performance is also generally way better. I can't imagine there's many platforms that don't have gles2 support...
I just added: -DAPP_RENDER_SYSTEM=gles
Also your clean-chroot-manager script is really cool - I had a bunch of crappy bash scripts doing similar things but this is way nicer. Thanks!
Pinned Comments
graysky commented on 2022-06-11 11:49 (UTC)
@laichiaheng - kodi is bound to a specific version of ffmpeg which is generally older than Arch's package. We avoid incompatibilities by using that specific version (ie internal ffmpeg). Recommend that you build kodi in clean chroot. See: https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot
I wrote a script that automates much of that called clean-chroot-manager offered here in the AUR.