Posts by vasonline

    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 ?

    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!

    Hi Chewitt,

    Thank you for your reply.

    I know, but thanks for the clarification.

    That Kodi overrides the set resolution is actually a good thing in this case.

    With Libreelec 11, the interlaced display mode, now works.

    (see: LE 10 beta for i4 force hdmi resolution )

    The command during kernel boot is what is displaying the wrong output mode.

    I ask for 720x576iD in the kernel DRM. Notice the letter i between the numbers 576 and D.

    And I get a 720x576p resolution instead. I could be wrong, but this not what I asked in the kernel drm...

    Anyone who wants to add

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

    to his cmdline.txt ?

    Then Kodi starts, and "takes over" set the video resolution

    to 576i (good!)

    So basically, at boot up and shut down, our video output

    is "mangled" to 576p (unwanted - the TV can't handle that)

    and when Kodi is started it's Okay, because it's overridden the initial kernel DRM with the correct 576i output.


    Greetings

    Problem

    Issue with selecting 575i video mode during boot of the Rasberry Pi 4.

    I have the following in cmdline.txt:

    Code
    boot=UUID=<uuid value here> quiet video=HDMI-A-1:720x576@50iD

    Expected: See the Libreelec logo in 576i.

    Result: The output switches to 576p

    Picture comes on fine in 576i, when Kodi is booted.

    But during boot, video is in 576p mode.

    How to reproduce: add to /flash/cmdline.txt

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

    Can you reproduce this issue?


    Greetings & many thanks!

    :) :) Confirm FIXED pixellation problem! :) :)

    Thanks everyone involved for the help!

    This with libreelec 11 on RPI4.

    Just one humble question:

    - How can I set the 16:9 aspect ratio in 576i video mode?

    Because see screenshot, there are two 576i aspect ratio's.

    (16:9 and 4:3)

    The CRT is 16:9, It defaults to 4:3. 4:3 default is okay

    for me, but how to change it?

    - Tried playing with the picture calibration. Some GUI elements are still stretched. Ok for the video.

    It's HDMI mode 22 instead of 21.


    Hi Hiassoft

    Thank you for your reply.

    Added to cmdline.txt

    You would say it works, however

    There seems something wrong with interlaced modes coming from the PI4

    anyone with a pi 4 wants to test that?

    Selecting 576p in Kodi settings -> works.

    Selecting 576i in Kodi settings -> garbage pixelated.

    Selecting 480p in Kodi settings -> works.

    Selecting 480i in Kodi settings-> garbage pixelated.

    Please see attached pictures showing 576i pixellated and 576p normal.

    Please understand that it _need_ interlaced. Otherwise the retro CRT TV doesn't like it.

    Also it's the wrong aspect ratio. I want 16:9, not 4:3

    ( :) difficult me)

    Here is a photo I took on a recent-ish lcd tv to illustratie the picture quality problem.

    The retro crt will not want to give a meaningfull picture with this garbage PQ.

    I am using my pi 4 to drive my retro-crt TV

    I have the following in config.txt to enforce a 576i resolution.

    The setting is ignored by LE. It just switches to a resolution it has found with the edid from the hdmi <-> vga/rgb converter.

    The crt TV is not happy with a HDresolution :)

    Is this a bug in LE10 or did I overlook something (/lol me stupid)

    Only the "rainbow" boot screen is displayed in 576i.

    hdmi_group=1

    hdmi_mode=22

    hdmi_ignore_edid=0xa5000080

    Contents of the new disp_cap file:

    Code: /storage/.kodi/userdata/disp_cap
    480cvbs
    576cvbs

    And that's all. :cool:

    If you have edited the file, you will need to restart the device and then you can start the calibration, which will not be lost now.

    Be careful not to accidentally switch to 720x480i60hz if possible, because I don't think European CRT TV with 60Hz will be able to do anything.

    Hi Dtech,

    Works!

    Thanks for your help.

    BTW your build runs really nice on the S905D w 1Gb, much better then the stock Android firmware.

    Greetings,

    Steven.

    Hi Dtech,

    :)

    I tried to set the aspect ratio during a playing video, and that indeed works!.

    (Setup -> Video settings -> Video calibration)

    Now both video and GUI look good!

    Just as you said, it does not survive reboot.

    Cool that you can fix this bug :) Thanks!

    What does survive reboot is: during a playing video -> Setup -> Video settings -> stretch to 16:9

    Then the video looks good, but gui is still on 4:3 mode (ugly stretched).