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

FYI. I found a corner case with DV playback and wanted to mention it.

It is very important that your TV and receiver, sound bar etc are fully powered on at the very least and probably set to proper inputs/outputs before either rebooting the box or powering on from a full shutdown condition. Otherwise it appears this can trigger a TV changed condition during DV playback, since the current codebase appears to be comparing current EDID to what was established during boot up in order to determine a TV changed condition.

I doubt this will occur after resume from suspend however so at least there’s that.

1 Like

@Portisch The new changes have made things worse. The video freezes on the BL_EL.mkv around 15 seconds in and the Power Rangers video shows a double image with a green bar at the bottom.
https://pastebin.com/raw/KBCBJvMf

This doesn’t solve this device’s CEC issue for me. Here’s what I’d expect it to do:

  1. Press TV remote power button to power ON
  2. TV Turns ON
  3. Receiver turns ON
  4. Press TV remote INPUT button and select “CoreELEC” (the AM6B+)
  5. AM6B+ turns ON
  6. Press TV remote power button to power OFF
  7. TV turns OFF
  8. Receiver turns OFF
  9. AM6B+ SUSPENDS
  10. Everything is now OFF
  11. Repeat

Here’s what actually happens:

  1. Press TV remote power button to power ON
  2. TV Turns ON
  3. Receiver turns ON
  4. Press TV remote INPUT button, and “CoreELEC” (the AM6B+) is MISSING
  5. Workarounds are either (A) manually turn on the AM6B+, or (B) manually set receiver to the AM6B+'s input.
  6. AM6B+ turns ON
  7. Press TV remote power button to power OFF
  8. TV turns OFF
  9. Receiver turns OFF
  10. AM6B+ SUSPENDS
  11. Everything is now OFF
  12. Repeat

Alternatively, I tried setting the AM6B+ to always stay on and never suspend, and it automatically turned my receiver back on over CEC even after disabling everything under Input > Peripherals > CEC, which should ensure that doesn’t happen.

CEC Power On and Input switching is critical IMO to this device eventually being usable in more people’s home theater setups.

CE-20 or CE-21?
Any “cut” log will be ignored.
CE-20 is going EOL so be sure to test CE-21.
For real debugging you need to enable video and audio/video timing logging as well.

Is FEL playback close to stable in CE21?

Are you saying we all should be focusing on CE21 or just for a specific issue?

I thought most of us were currently testing CE20.5

ok, guys. I did some extended testing:

hardware: Ugoos AM6b+, Sony A95L (2023 QDOLED)
software: latest CE 20.5 nightly 20240326
options: cd/cs auto; no whitelist

I tried two testfiles (fileinfo read via mediainfo):

Testfile 1: 3840x2160, 23,976, HDR, 4:2:0, 10 Bit File (UHD Movie Remux)
Testfile 2: 1920x1080, 23,976, SDR, 4:2:0, 8 Bit File (F-HD Movie Remux)

here are my findings:

first of all, I can repoduce the wrong color bug only on the first try after a restart. If I do a second try, the file plays fine.

Testfile 1 (UHD movie):

GUI set to 1920x1080, 60: wrong colors on the first play, second try works, TV receives the following informations on both tries: 3840x2160, 24, BT2020, YUV 4:4:4, 12 bit

GUI set to 3840x2160, 60: wrong colors on the first try, second try plays fine, TV receives the following informations on both tries: 3840x2160, 24, BT2020, YUV 4:4:4, 12 bit

GUI set to 3840x2160, 23,98: playback is fine on both tries, TV receives the following informations on both tries: 3840x2160, 24, BT2020, YUV 4:4:4, 12 bit

Testfile 2 (FHD Movie):

This file plays fine on all three GUI settings. TV receives 3840x2160, 23,98, BT709, YUV 4:4:4 12 Bit if the GUI is set to UHD resoltion and 1920x1080, 23,98, BT709, YUV 4:4:4, 12 Bit if the GUI is set to FHD resolution.

to sum up:

only the UHD file makes problems and only on the first playback after a fresh start of the box. with GUI set to 3840x2160, 23,98 it always plays fine.

my question is: why does the TV receive a 4:4:4 12 bit signal during playback of the FHD movie? shouldn’t it get the native 4:2:0 of the file with 10 bit color?

Edit: I will do the same testings with 21 nightly later

CE-21. How do I enable enable video and audio/video timing logging?

what does this mean?

When I play a HDR10+ test file I get:
4K23.976 444 BT2020 12b HDR+ 445MHz

This is not correct?

Under component logging settings.

Open player debug window while playing and what the vq: ??% (??%, ??MB) if it goes down to 0 while playing.

it means this:

TV gets the same info as you, but it displays the colors wrong on the first start of the movie file…

Shouldn’t the TV get a native 10bit 4:2:0 Signal?!

I wonder why the TV gets alwas a 12bit 4:4:4 signal with both file (one is 8 bit and the other is 10 bit)

did some further testing:

CE 21 nightly behaves exactly the same like 20.5 nighly does…

plus the 1917 Dolby Vision playback freezes after chapterskip or fast forward (works with 20.5)

I did not find any debug log from your setup. So please post at least a dmesg log including when you started first video.

No, this is for 4k50/60Hz

Maybe you have a TV what do need to forced 422 mode, so try to set this in display settings. When I active it I get 4K23.975 422 BT2020 12b HDR+ 297MHz

@Portisch Here is an updated log with with the component logging.

https://pastebin.com/raw/49EBEbJg

sorry, I don’t get it. Shouldn’t the TV always get the native settings, so it can do the upscaling? Or does the amlogic box always convert it to 12bit 4:4:4?

how can I do that?

https://wiki.coreelec.org/coreelec:debuglogs

https://wiki.coreelec.org/coreelec:kodi_ce_sys_settings#version_2

here
https://paste.coreelec.org/UCEe5C

and here a full log after restart, first playback with wrong colors and second playback with correct colors:
https://paste.coreelec.org/Po80k1

Po80k1 not found.

does this work?

https://paste.coreelec.org/TzA5w9

but is 12 bit correct?

I doublechecked with my Vero V device and it shows 10bit 4:4:4

Then maybe your TV doesn’t like 12bit, use force colour depth to 10bit and try again.
Set colour subsampling back to auto.

In past it was maximum 10bit but we did increase it 12bit because of newer TVs do support it.