Posts by HiassofT

    Please give the LibreELEC 10 beta 1 build a try - with LE 9.2 you need to add a bunch of settings to config.txt to override the video mode, the simple cmdline.txt solution only works with LE 10.

    If you connected a 4k monitor then it could also be that the HDMI cable is not specced for 4k - it's easy to find out though, LE 10 with the video mode option in cmdline.txt will start in HD, then you can try switching to 3840x2160 in Kodi (Settings->System->Display). If you get "no signal" on TV wait a couple of seconds, then kodi will automatically switch back to the previous (HD) mode.

    so long,

    Hias

    Thanks a lot for your edid!

    I gave it a try and got a picture with it, but it's skewed horizontally. Not really sure what's going on there, could be that my monitors can't cope with that mode, could be some odd issue in the video driver. I've contacted RPi devs.

    BTW: you could also try using video=HDMI-A-1:1360x768M@60 - that will give you a mode that's closer to the probably native panel resolution and thus avoids down/up scaling from 1920x1080 or 1280x720 and may give a clearer GUI. Not all monitors/TVs accept that mode though.

    so long,

    Hias

    Thanks, this is looking good now.

    Keep the video= setting in cmdline.txt, this is the standard linux method to configure video modes (and work around video/edid issues) - see modedb default video mode support — The Linux Kernel documentation

    Out of curiosity: can you upload your edid? run

    Code
    cat /sys/class/drm/card0-HDMI-A-1/edid > edid.bin

    and then attach the edid.bin file - we'll have a look if it's possible to improve video mode handling in the driver.

    so long,

    Hias

    The logs shows you still have all the old cruft you added in config.txt - again, drop that, this is not going to work and very likely causing your crashes.

    Replace your config.txt with the stock version from /usr/share/bootloader/config.txt and don't touch gpu_mem, distroconfig.txt or kms overlays.

    so long,

    Hias

    It's a bit puzzling that HDMI-A-2 shows connected status but edid is not being read - please run "pastekodi" and post the URL.

    It might be worth forcing connector status to enabled (eg with video=HDMI-A-2:D) and double-checking your cmdline is correct.

    eg this should work (using lg-55c8.dat edid on first HDMI, forcing mode to HD and your pioneer edid on second HDMI forcing to always on without specific mode - you could also use 1920x1080@60D there):

    Code
    drm.edid_firmware=HDMI-A-1:edid/lg-55c8.dat,HDMI-A-2:edid/pioneer-vsx520.bin video=HDMI-A-1:1920x1080@60D video=HDMI-A-2:D

    Testing that here (with nothing connected to second HDMI) worked fine.

    EDID loaded lines in dmesg:

    Code
    [ 3.434129] [drm] Got external EDID base block and 1 extension from "edid/lg-55c8.dat" for connector "HDMI-A-1"
    [ 3.444927] [drm] Got external EDID base block and 1 extension from "edid/pioneer-vsx520.bin" for connector "HDMI-A-2"

    and kodi also detected the audio device with the pioneer AVR

    Code
    2021-03-21 13:22:04.378 T:948 INFO <general>: Device 6
    2021-03-21 13:22:04.379 T:948 INFO <general>: m_deviceName : hdmi:CARD=vc4hdmi1,DEV=0
    2021-03-21 13:22:04.379 T:948 INFO <general>: m_displayName : vc4-hdmi-1
    2021-03-21 13:22:04.379 T:948 INFO <general>: m_displayNameExtra: PIO VSX-520 on HDMI
    2021-03-21 13:22:04.379 T:948 INFO <general>: m_deviceType : AE_DEVTYPE_HDMI
    2021-03-21 13:22:04.379 T:948 INFO <general>: m_channels : FL, FR, LFE, FC, BL, BR, BLOC, BROC
    2021-03-21 13:22:04.379 T:948 INFO <general>: m_sampleRates : 32000,44100,48000,88200,96000,176400,192000
    2021-03-21 13:22:04.379 T:948 INFO <general>: m_dataFormats : AE_FMT_RAW,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE,AE_FMT_U8,AE_FMT_RAW
    2021-03-21 13:22:04.379 T:948 INFO <general>: m_streamTypes : STREAM_TYPE_AC3,STREAM_TYPE_DTSHD,STREAM_TYPE_DTSHD_MA,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_512,STREAM_TYPE_EAC3,STREAM_TYPE_TRUEHD

    so long,

    Hias

    Please stop messing around with config.txt and do the very simple thing I told you: start from scratch with a fresh installation and only add the video parameter to cmdline.txt.

    I'm very confident that adding that single option to cmdline.txt will solve your video problems and that the other issues you are seeing are caused by your messing around with config.txt / gpu mem / video driver etc settings.

    You can save yourself and me a lot of time by following the advice I gave you.

    so long,

    Hias

    Sigh. If you disable distroconfig.txt and manually enable fkms the hdmi options will of course have an effect - but you should not do this.

    The thing I asked for is very simple: does the video option added to cmdline.txt on a clean LE10 installation, with unmodified http://config.txt/distroconfig.txt give you a working screen or not?

    If it works, please post a pastekodi log and your edid.

    so long,

    Hias

    OK, your TV seems to be a "HD Ready" one with a 1366x768 panel inside. RPi4 doesn't support this mode, the kernel driver filters that out, but your edid seems to contain a detailed node entry which shows up as 58Hz in kodi log and isn't filtered out.

    Does it work if you append video=HDMI-A-1:1920x1080M@60 to cmdline.txt?

    PS: please use the "pastekodi" script to generate logs.

    so long,

    Hias

    Please start with a clean installation of LE10 and just add video=HDMI-A-1:1920x1080M@60D to the end of cmdline.txt (in the same line, separated by a blank from "quiet".

    This should get LE into a state where you have screen output and can grab logs and your edid.

    Note: if you had to add hdmi_force_hotplug=1 and manually configure hdmi modes it could also be that you have a defective cable - this isn't too uncommon and can lead to hotplug detection and/or edid reading not working.

    so long,

    Hias

    Maschingun thanks a lot for your edid!

    It looks like the TV successfully added speaker allocation map and audio formats from your soundbar. On my LG C8 I only get 2-channel PCM and no speaker allocation block - and I assume that without the soundbar your TV would provide (almost) identical information.

    so long,

    Hias