Problem detecting HDR compliant display in Kodi 21 and Batocera Linux



Hi,
I have an HP ProDesk 400 G4 mini with 2 Display Ports and 1 HDMI running Batocera Linux and Kodi 21 installed from Flatpak. Its connected to an LG Oled C3 TV by HDMI cable.
But when I run Kodi it says no HDR screen detected and I’m not able to view HDR videos correctly. I don’t know what to do more to get it working so any help is appreciated.

I put a debug.log here https://pastebin.com/fGzATGYU