cmdline.txt video=... not working as expected.

  • Hi,


    Hardware: Pi4.

    Sofware: LE11 latest stable version.


    Steps to reproduce:

    - SSH into Libreelec

    - Mount /flash and edit cmdline.txt

    LibreELEC:~ # mount -o remount,rw /flash
    LibreELEC:~ # nano /flash/cmdline.txt

    Locate end of cmdline.txt

    Change: video=HDMI-A-1:D

    to:

    video=HDMI-A-1:720x576@50iD

    Save (ctrl+y)

    mount /flash readonly

    mount -o remount,ro /flash

    Reboot Librelec.

    Expected result:

    -> boot in 720x576 interlaced

    Actual result:

    -> boot in 720x576 progressive


    That is wrong! it must be interlaced.


    When Kodi boots all is well, because I have cloned the HDMI edid and I enforce a 720x576 interlaced resolution.

    Full cmdline.txt below

    boot=UUID=1108-5701 disk=UUID=3542a3ff-9e05-4d2b-80ce-0438958f4de6 quiet drm.edid_firmware=HDMI-A-1:edid/edid-HDMI-A-1.bin video=HDMI-A-1:720x576@50iD


    I made two Screenshots. Look at upper left corner.

    The Pi4 is connected to a flatscreen TV with it's HDMI input.

    (if I connect it to my retro CRT I can take a picture of "no picture"during boot lol :) )


    1. during boot (wrong):


    2. When Kodi is started. (fine)


    Am i overlooking something?

    Is this a bug?

    Would you want to try to reproduce this issue on your hardware for me?


    Greetings & thanks for the effort!

  • LE doesn't support interlaced mode on RPi, so switching to progressive is expected.

    Thanks for the answer,


    I have a spare Intel NUC for testing.

    So If I add:

    720x576@50iD

    to it's kernel boot parameter, it will output interlaced video during boot?

  • On Kodi level: no. Your question has been answered earlier:

    chewitt
    April 4, 2023 at 2:12 PM


    Hi,

    Thanks for the response.

    I have the feeling we are talking over each other.

    I'll try to clarify.

    I understand that Kodi overrides the video output, but that's not my question.


    1) I already have interlaced video output in Kodi. I cloned the HDMI edid from a TV and set resolution to 720x576i. Works fine.

    2) I want interlaced output during boot too. I want to see the boot up screen and shutdown screen too.

    Now I have:

    ->boot ->576 progressive ->Kodi Started-> 576 interlaced (good!) - Shutdown -> 576 progressive


    I use the Pi4 for driving a CRT TV that only accepts 576 interlaced :)

    So you understand why I am so hung up on it :)


    So

    720x576@50iD

    on my Intel NUC would that work during boot level?

    But not on the Pi4 for the boot level ?

    Edited 2 times, last by vasonline (December 29, 2023 at 9:38 AM).