CE-NG Dolby Vision for G12 boxes (u22xj, am6+, firetv cube)

Hi how do i find out if my device can play dv in coreelec. My device is beelink gs king x. Thank you.

The GS King X isn’t licensed for DV.

You can check for DV support with:
CoreELEC:~ # dmesg | grep ‘dv capability’

That will return a bitwise number. The first bit indicates whether the SOC has DV support. bit0 = 1 indicates DV support

/*bit0: 0-> efuse, 1->no efuse; */
/*bit1: 1->ko loaded*/
/*bit2: 1-> value updated*/

So that would be dmesg values of dv compatibility 1, 3, 5 or 7 = DV support

2 Likes

Thanks. Can we re-efuse / enable it?

No, it’s 1x programmable memory. Amlogic should be given a little credit :smile:

2 Likes

:rofl::rofl: sometimes stupidity can be adorable.

But we can ignore it details here.

Can which dv capabilities be determined? i.e., profiles, cmv2.9 vs cmv4.0, FEL vs MEL?

You makemkv to open movie file you will see it is mel or fel, dont know about cm

I don’t know anything for certain so the less I say, the better, because there’s a good chance it will be wrong.

I’m very sceptical that Amlogic has different variations of the same SOC with different DV features. I think it’s either the SOC has DV support or it doesn’t. The Cube (s922z) for example can play FEL, but Amazon doesn’t list it as supported. It doesn’t make sense they would pay extra for a feature that isn’t available in FireOS.

I don’t know about the cause of the differences in DV options (FEL, cmv4.0) between different Amlogic SOC famlies. SC2 SOCs are using kernel 5.4 with updated amlogic source that has lots of changes. We’ll have to wait to see what the CE Team can do. Or maybe there is a SC2 hardware limitation, IDK.

Could someone with a working setup please enable debug logging in CoreELEC, enable debug_dolby with this:
echo 0xFFFF > /sys/module/amdolby_vision/parameters/debug_dolby
and post a dmesg log that plays a DV file?

edit: in tv-led mode

I get green screen with hdr logo on my gs king x: https://paste.coreelec.org/3rZM6Q

From here this

The reason for the green screen is that when you send the AVI Infoframe to the display to expect a YCbCr signal, PGenerator may still be sending RGB. When a display sees a mismatch like this, you will see a green screen. In fact, you can see this in reverse too, when a display is expecting to receive RGB but in fact receives YCbCr, the screen would be magenta

may help in diagnosing green / magenta screens and flashes that are seen when switching hdmi modes.

Hey Guys, just got my Ugoos AM6B+ and trying to follow posts above as to which CE version to install. Assume 20.5 over 21 for now? Is 21.0-Omega_rc2 generic okay as well?

nm :wink: … installed 21.0-Omega_rc2 generic and DV is a success!

1 Like

Hey again. I’d like to install CE to the eMMc. Followed directions (so I thought). What am I doing wrong? Appreciate any guidance. Thank you.

Starting CoreELEC eMMC installation tool...

System is not supported: g12b_s922x_ugoos_am6b!
CoreELEC:~ # ceemmc -x

Starting CoreELEC eMMC installation tool...

System is not supported: g12b_s922x_ugoos_am6b!

There is NO official support by Team CoreELEC
if you continue to run this tool!
Continue? [y]: y

eMMC size: 0x000747c00000 [32GB]

No CoreELEC installation found on eMMC

Install in dual boot mode, CoreELEC and Android on eMMC
  Use CoreELEC data from
    [1] current used SD or USB device
    [2] existing backup on current used SD or USB device

Install in single boot mode, only CoreELEC on eMMC
  Use CoreELEC data from
    [3] current used SD or USB device
    [4] existing backup on current used SD or USB device

Please choose one option? [1/2/3/4]: 3

Free space of 'partition CE_FLASH': 512MB
Warning: Could not find 'dto' partition!
Could not find 'CE_STORAGE' partition!
Failed to read size of partition 'CE_STORAGE'!
Failed to create new partition table!

I’m on CE 21 RC2.

Nothing, this is intended, see CoreELEC and Dolby Vision
This may change in future, as meanwhile Androids dovi.ko can be stored under CE .storage/ folder, but no prio for now…

1 Like

Thank you. Not a biggie… performance is pretty snappy using a mSD card, but wanted snappier with eMMc install :stuck_out_tongue:.

Use the dual boot option

1 Like

Thanks for that suggestion. I need to read up on how to go to/from Android OS to CE with dual boot (with both installed to eMMc). Never done it before.

Reboot from nand in coreelec power menu will reboot to android. Coreelec will have priority from cold coot .

1 Like

Is that officially supported? The dolby vision post says installation to emmc isn’t supported.