Dolby Vision for Minix U22X-J (Max) and Ugoos AM6+

Found some time to get the code compiling and made some code changes to have it ignore the OSD when determining if the processing should be with graphics or video priority.

When it uses graphics priority it is fixing the luminance to min 50 max 4000 nits and processes the rpu data etc according to those values - if that matches your display then probably no need for any change. My LG being an OLED is well under that and is indicating it is min 1 and max 700 - though being 6 years old now even that maybe optimistic!


The OSD needs to stay on for subtitles - I have not found a way to force that plane off yet in the processing, but with this change the rpu data should be being applied according to the connected displays min and max luminance (note: I have only been testing in display led mode (aka: tv-led, sink-led, receiver-led).

I have confirmed with @Kaan’s rpu response test file, the rpu is still being applied but now the output is more appealing to me with a better sense of depth, subtle colour and contrast improvement - previously I felt it was pushing too bright for my display and having a slight flattening effect . (granted this is for my setup in which this maybe more obvious).

The changes have been implemented though another parameter - so can change on the fly whilst watching to judge more easily the effect.

The code changes will:

  • Change the wait delay from 2 to 16 for better mel detection.
  • Change the flags from 0x05 to 0x0D, adding FLAG_USE_SINK_MIN_MAX to set the luminance for the processing according to the HDMI comms from the Display.
  • Add an additional parameter to effectively force video priority - even though the OSD is always on.
  • Make sure the luminance of the graphics is though still ok to show subtitles correctly and the OSD when seeking / changing settings etc.

If you want to try the same - I think you should be able to see the changes needed here:

For those interested I also stripped out non G12 SoC related code (well most of it - I think still some more to go), so I could understand more what is going on in that module without scrolling endlessly, can find that here - this is the version I run:

Good luck with trying it out!

3 Likes