Learning about Dolby Vision and CoreELEC development

My first attempt was to manually set the kodi resolution to 1080p (to match the image), force 8-bit RGB mode, and then open the image - didn’t work though.

Thinking it may be the EOTF / other hdmi settings, I modified the code with a flag I can set via SSH to skip doing anything in the hdmitx_set_current_vmode function. I then started a 1080p dolby vision file to get a reported 8-bit RGB full DV-Std ouput, set the flag, stoppped the video, checked the reported output hadn’t changed and navigated to the image using the live video of hyperion (as the TV doesn’t show anything as some as the box enters DV mode). Still didn’t work.

Next I’ll try to see if the output is actually being output ‘bit perfect’. Thought was to try and use the screenshot code from here to see if the image is exactly being output. I’m not sure though if this captures the data exactly as it would go out of the hdmi though… Does anyone know the answer to this?

A way to exactly capture the raw bytes that are transmitted over the hdmi would be ideal and would make it easy for other with boxes that can do DV to provide samples without needing external hardware. Does anyone know how to do this? Bonus points if we can modify/set the data as well just before it is sent.

I’m also not entirely sure of the test pattern, I’ve extracted the metadata bits and can make sense it some of it, but I cannot seem to get a calculated crc to match the one in the data. Actual samples from someone with a working TV-led setup and an external capture device would be ideal at this point.