[Amlogic S905X3][X96max] No HDMI video signal, but CEC works

TV (1366x768) shows “No signal” and blank black screen when connected to HDMI port to device. But at the same time I can control TV with device by doing commands like ‘echo “on 0” | cec-client -s’.

I’ve checked TV with linux laptop and there HDMI works fine, but with Xorg driver not framebuffer like on x96.
I’ve checked x96 with another HDMI monitor and video is ok.

So I believe the problem is in finding correct video mode for TV.

Dispinfo report: https://paste.coreelec.org/TakinPerfecto

Workaround I use now: connected TV with AV cable and set resolution to 720x480p with “echo 480cvbs > /storage/.kodi/userdata/disp_cap”

Buy a used 1080p screen with about €20,-?

It’s not a solution for my case, sorry.

For now I’ve tried:

  1. setting vout=‘720p60hz’ in /flash/config.ini
    No result.

  2. wanted to set modeline /flash/config.ini, but I don’t have any clue how to fill that numbers, if none of them can be avoided. I mean, I can copy settings from debian laptop which sends signal normally using xrandr, but I don’t know hot to translate Xorg modeline to FB modeline. Maybe you know?

Also maybe it is important: x96 box doesn’t outputs AV signal during boot, only when Kodi starts. But if I attach x96 to another display via HDMI I can see both boot logo and Kodi.

Did you try enabling VESA mode support?
Settings > CoreELEC Settings > Hardware > VESA modes

Yes, tried both positions of that setting. With device reboot after each switching.

So what I’ve also tried so far:

  1. Added these vals to fw_setenv -s :
outputmode 720p60hz
hdmimode 720p60hz
ubootenv.var.hdmimode 720p60hz
ubootenv.var.outputmode 720p60hz
ubootenv.var.is.bestmode 720p60hz
hdmi_read_edid 0
disablehpd 1
hpd_state 0
hpd 0
display_autodetect 0

Rebooted.No effect.

  1. Gathered allfmt_names from /flash/resolution.ini and tried to do things like:

echo “1080p60hz” | tee /sys/devices/virtual/amhdmitx/amhdmitx0/disp_mode

And finally HDMI output became alive! I’ve meesed up the guisettings.xml by removing all resolutions and leaving just one 480p, so kodi crashes the screen when I’m entering the “Settings” => “System”.

So now the only way to use HDMI is to set:

echo “1080p60hz” > “/storage/.kodi/userdata/disp_cap”

Set guisettings resolution list to single one, just to make it boot(I know resolution is wrong):

    <resolutions>
        <resolution>
            <description>720x480 @ 59.94 - Full Screen</description>
            <subtitles>463</subtitles>
            <pixelratio>1.200000</pixelratio>
            <overscan>
                <left>24</left>
                <top>11</top>
                <right>696</right>
                <bottom>469</bottom>
            </overscan>
        </resolution>
    </resolutions>

And not enter the “Settings” or it will crash.

Also need to turn off frequency adjust in Settings>Player>Video, or screen will crash after video opening.

Another problem can be in CEC. So if after all manipuations from above you still see no image: try to restart TV, better restart TV via:

echo "on 0" | cec-client -s
echo "standby 0" | cec-client -s
echo "on 0" | cec-client -s

until image appear.