@graysky2,
On the RPI5, are you able to get Kodi to use hardware acceleration for HEVC decoding?
Caveats:
* RPI5 HEVC decoding hardware acceleration is exposed by the kernel using v4l2request (Stateless API)
* upstream ffmpeg does not support v4l2request yet
* Raspberry PI and LibreELEC have been maintaining Kodi builds with external patches to get hardware acceleration.
On LibreELEC, the v4l2request is supported via DRM Prime using GBM.
which is enabled in
[code]
<group id="3">
<setting id="videoplayer.useprimedecoder">
<default>true</default>
</setting>
<setting id="videoplayer.useprimedecoderforhw">
<visible>true</visible>
</setting>
<setting id="videoplayer.useprimerenderer">
<default>0</default>
</setting>
</group>
[/code]
in [code]/usr/share/kodi/system/settings/appliance.xml[/code]
make_clickable_callback(MAGIC_URL_FULL, '
', 'https://github.com/LibreELEC/LibreELEC.tv/blob/master/packages/mediacenter/kodi/config/appliance-gbm.xml', '', ' class="postlink"')make_clickable_callback(MAGIC_URL_FULL, '
', 'https://github.com/LibreELEC/LibreELEC.tv/blob/f2a4102007f008086a12c952de202a30e8d4d6a8/packages/mediacenter/kodi/package.mk#L77', '', ' class="postlink"')make_clickable_callback(MAGIC_URL_FULL, '
', 'https://github.com/LibreELEC/LibreELEC.tv/blob/f2a4102007f008086a12c952de202a30e8d4d6a8/packages/mediacenter/kodi/package.mk#L404-L408', '', ' class="postlink"')
Would the kodi-rpi package ever include defaults like this? It would be difficult, because the kodi package supports running on x11, wayland, and GBM?
