3D Frame Packed (MVC) output with CoreELEC?

cd /sys/class/amhdmitx/amhdmitx0/
cat rawedid >/storage/edid.txt

more /storage/edid.txt

Hey all,

tested with the ng generic nightly on Ugoos AM6B+ on 4k passive LG E6.

Can confirm, nothing works anymore :-). Playing a MVC file starts it in 2D, forcing 3D with the glasses bottom right leads to a strange picture with a duplicate half height picture and some of it above the center line is like “smeared” for the lack of better word.

Other modes also broke: FSBS works-ish, but only if you let 3D off and force the TV itself into 3D. It plays only in HSBS resolution then. HSBS works, but also only when leaving 3D off in CE and telling the TV how to handle it. Same with FTAB and HTAB.

Also there are no popups anymore, it just starts in 2D. The selector seems to work though, as when you go to the 3D menu (glasses), it correctly chose the right mode, only that enabling it breaks everything :-).

Right, 3D is no longer working. It looks like one change that may have affected this is that hardware based has been removed from Settings > Player > Stereoscopic 3D? But, even with it enabled under System > Preferred Mode, it doesn’t work. Patiently waiting for what looks to be a simple configuration or setup issue. Thanks again for all the work on 3D.

The next update 20240724 should fix Amlogic-ng 3D.
When this works well also the Amlogic-ne support will be included.
But only for SoC SC2 because the newer ones do use a newer driver hdmitx21 what does look not support 3D anymore at all - at least not fully implemented. It will require more time to maybe fix it.

6 Likes

Tested this build and, in my system, only halfsbs, fullsbs, halfou work properly.
MVC and Iso play in 2D.
Thank you for your continue efforts.

Enable Kodi debug and make kodi.log.
Does Kodi say it switch stereo to hw based?

Please have a test if this image does work:

1 Like

Hey all,

I did some testing again with the nightly, as always with the Ugoos AM6B+ box on an LG passive 4k E6. On my end, everything works for the most part, especially the MVC bit.

MVC (from mkv, mk3d, iso and BDMV): work flawlessly, auto selection works without problems

FSBS/FTAB: They work and trigger the correct mode on the TV, but I noticed, that they seem to only play in half resolution (same as HSBS/HTAB). At least my TV reports 1080p, whereas in the nightlies, before 3D was patched in, it reported 4k for any FSBS/FTAB content, but did not trigger 3D by itself. It could have always been the case in the dev builds, since the SBS handling was changed and I didn’t catch it so far. The difference in visual fidelty is quite apparent. My guess would be, that with triggering 3D via the metadata, the TV switiches to a fixed 1080p and therefore loses resolution, whereas before, it handled the signal without 3D metadata and just combined it into “4k” 3D when being told to do so? @Portisch: I tested against the nightly “CoreELEC-Amlogic-ng.arm-21.1-Omega_nightly_20240619-Generic.img.gz” and the output seems to be different. I can work around it though by just disabling 3D in the pop up, therby sending the picture without flags and letting the TV handle it. It might just be a quirk of my TV, as FSBS was an obscure format anyways, and mybe my TV is just mishandling it, when the 3D flag is present. As far as I know, the flag is the same for half and full resolution, so I don’t think CE can do anything about it except disabling 3D for FSBS by default, which is not a good idea I think, as it might just be my TV :-).

HTAB/FTAB: Works, couldn’t see issues.

The UI still glitches out sometimes, especially when manually closing out of FSBS/FTAB-videos. No glitches with MVC so far.

Last thing I noticed: The 3D mode selection window is quite aggressive, as in it doesn’t let you cancel out of it with the cancel button and also the back button does nothing. You have no choice but to choose a mode, start the movie and then back out again. Not a problem though :-).

The 4k was a bug. 3D is only supported up to 1080p.
But full media should have real two 1920x1080 frames instead two 1920x960 for SBS as example.

The stereo selection is Kodi style, not a CE issue.

So nightly MVC does work now as it should or not?

Works flawlessly for me in the nightly. Tested maybe 15 different sources and formats, everything perfect.

Should I test your new dev build?

Tested your new devbuild quickly. Still works, so I cannot report any changes as nothing broken before for me :-).

Tested the latest build. Now MVC and Iso work properly as also many halfsbs and halfou.
For unknown reason Avatar samples (all four samples) produce a splitted screen image even if the TV shows 3D. Before they were ok as I said in my previous post. Anyway a big step forward Maestro Portisch. Sorry for the Kodi log, I still must learn how to do it.

For avatar sample you must choose tab mode.

Looks like your TV is that old and does not report a correct EDID at all.

This is the log for avatar:
https://paste.coreelec.org/FlyersScars

Edit. tried also Tab and all possible settings. Nothing to do with Avatar.

It set 1080p60hz, this is wrong. It need to pick 1080p24hz as this is the correct FP mode. I will try tomorrow with your EDID again.

You maybe can test it by whitelist only 1080p24hz in display settings. Not sure…

Anyway, next nightly should work like last devel test image and support old TV with defect EDID.

1 Like

Thanks @Portisch
Will try now changing to 1080/24

Your edid report not support FSBS:

Extended HDMI video details:
      3D present
      3D-capable-VIC mask present
      Base EDID image size is aspect ratio
      3D: Side-by-side (half, quincunx)
      3D: Side-by-side (half, horizontal)
      3D: Top-and-bottom
      3D: Frame-packing
      3D VIC indices that support these capabilities:
        VIC  20:  1920x1080i  50.000000 Hz  16:9     28.125 kHz     74.250000 MHz
        VIC   5:  1920x1080i  60.000000 Hz  16:9     33.750 kHz     74.250000 MHz
        VIC  32:  1920x1080   24.000000 Hz  16:9     27.000 kHz     74.250000 MHz
        VIC  19:  1280x720    50.000000 Hz  16:9     37.500 kHz     74.250000 MHz
        VIC   4:  1280x720    60.000000 Hz  16:9     45.000 kHz     74.250000 MHz
      3D VIC indices with specific capabilities:
        VIC  31:  1920x1080   50.000000 Hz  16:9     56.250 kHz    148.500000 MHz (top-and-bottom)
        VIC  16:  1920x1080   60.000000 Hz  16:9     67.500 kHz    148.500000 MHz (top-and-bottom)
        VIC  31:  1920x1080   50.000000 Hz  16:9     56.250 kHz    148.500000 MHz (side-by-side, any subsampling)
        VIC  16:  1920x1080   60.000000 Hz  16:9     67.500 kHz    148.500000 MHz (side-by-side, any subsampling)
        VIC  18:   720x576    50.000000 Hz  16:9     31.250 kHz     27.000000 MHz (top-and-bottom)
        VIC   3:   720x480    59.940060 Hz  16:9     31.469 kHz     27.000000 MHz (top-and-bottom)
        VIC  18:   720x576    50.000000 Hz  16:9     31.250 kHz     27.000000 MHz (side-by-side, any subsampling)
        VIC   3:   720x480    59.940060 Hz  16:9     31.469 kHz     27.000000 MHz (side-by-side, any subsampling)

Did all the mods you have suggested. No changes in Avatar samples.

For your further information I have done a fresh install using “CoreELEC-Amlogic-ng.arm-21.0-Omega-Generic.img” and then updating with “CoreELEC-Amlogic-ng.arm-21.1-Omega_devel_20240619161602” and everything, including Avatar 4 samples, work perfectly in 3D.

I wonder if this is a case of your TV supporting a mode it doesn’t report via the EDID. I think the only solution might be to have an overwrite EDID setting to force compatibly.

All works correct here with your EDID:

Please update with new nightly and make kodi.log debug again.
EDIT: with your EDID included in your debug log I can now see it pick 1080p60hz, so let’s see why…

1 Like