Kodi on Orange Pi 5 with GPU Hardware Acceleration and HDMI Audio
Huge thanks to user @roykon the Armbian forums for the directions on this in their various forum posts and Armbian forum user @amazingfate for maintaining the PPAs and software builds required for GPU acceleration. I have simply listed below, for the reference of others, the minimum Steps used to get Kodi running with GPU hardware acceleration (for x264/x265 decode) plus HDR auto switching and with HDMI Audio output*.
If there are people that still have problems with the overlays in Kodi, unable to see the OSD while playing a movie. You could try the following:
Install the overlay: sudo armbian-add-overlay vop.dts
Then:
armbian-config -> System -> DTC
Then search (crtl+w) for 'disable-win-move;' and remove that line. After that ctrl+x and save and agree to reboot
The correct way would be to edit/patch the dtb of course, but I thought it would be better to first check if