Added some further parameters to play with and got some interesting results.
As usual I am using display led (aka tv-led)
Changing the luminance looks to only effect the video when in graphics priority mode (i.e. the mode for menus / HDMV etc. please see dolby doc in previous post for more info), in video priority mode it is not effecting the picture, only the OSD e.g. the kodi on screen controls etc.
Turns out it was putting the processing into video priority mode that is improving the image.
I imagine we are still in “fake tv-led” according to others findings, but as it is not changing the luminance in this mode I can still hold out hope it might yet be pushing the RPU to the tv for processing in video priority.
So to try it out for yourself:
I uploaded a tar here: 213.54 MB file on MEGA
I recommend doing a clean install of 20.4 ng dv and then applying this tar as an upgrade on your Ugoos AM6B+.
This build is for testing out mkv p7 mel and fel - not sure how it would behave with other material.
It gives three new parameters:
dolby_vision_hdmi_lum_min
set to 50 by default
dolby_vision_hdmi_lum_max
set to 4000 by default
These will override the HDMI luminance values being picked up in code from HDMI comms (e.g. the EDID)
I have set them high by default for simple comparisons to base.
dolby_vision_force_hdmi_lum
set to 0 by default
Set this to 1 to use the new hdmi lum min and max values
Set this to 0 to keep the HDMI EDID values.
The code will now by default run in video priority mode (when a video is playing)
note: setting /sys/module/amdolby_vision/parameters/dolby_vision_graphics_priority to 1 will be reverted back to 0 during playback.
In order to set graphics priority you will need to use the force flag: FLAG_PRIORITY_GRAPHIC i.e.:
echo 0x20000D > /sys/module/amdolby_vision/parameters/dolby_vision_flags
to set graphics priority
echo 0x0D > /sys/module/amdolby_vision/parameters/dolby_vision_flags
to revert back to video priority
Things to try:
echo 1 > /sys/module/amdolby_vision/parameters/dolby_vision_force_hdmi_lum
- Play a video and switch between graphics and video priority i.e.
echo 0x20000D > /sys/module/amdolby_vision/parameters/dolby_vision_flags
echo 0x0D > /sys/module/amdolby_vision/parameters/dolby_vision_flags
You should see a large difference in the picture, in both settings the video should respond to RPU.
- In video priority mode switch on and off dolby_vision_force_hdmi_lum
echo 1 > /sys/module/amdolby_vision/parameters/dolby_vision_force_hdmi_lum
echo 0 > /sys/module/amdolby_vision/parameters/dolby_vision_force_hdmi_lum
You should see a difference in the kodi on screen controls, but the video will stay the same, again video should be responding to the RPU.
When in graphics priority mode with dolby_vision_force_hdmi_lum
on, you can then play with the min and max lum and it should effect everything including the video.
The default settings on this build (combined with code change) are set to what I think is best so far:
video priority
dolby_vision_wait_delay set to 16 for mel detection
You can check the log to see the change in graphics / video priority as detailed in previous posts, using:
journalctl -kf
Hope I explained everything right, let me know what you find.