LE11 don't recognize all possible monitor (TV) resolutions

  • Hi

    LE11 don't recognize all possible monitor (TV) resolutions ans see attachment Kodi log files.

    An example, these resolutions are important for DVD, 720x576p with 25fps:

    The following Monitor (TV) resolutions are possible:

    Additional mode: Generic PnP Monitor #1: 720x576 @ 50.00Hz

    Additional mode: Generic PnP Monitor #1: 720x576 @ 23.98Hz

    Additional mode: Generic PnP Monitor #1: 720x576 @ 24.00Hz

    Additional mode: Generic PnP Monitor #1: 720x576 @ 25.00Hz

    Additional mode: Generic PnP Monitor #1: 720x576 @ 29.97Hz

    Additional mode: Generic PnP Monitor #1: 720x576 @ 30.00Hz

    Additional mode: Generic PnP Monitor #1: 720x576 @ 59.94Hz

    Additional mode: Generic PnP Monitor #1: 720x576 @ 60.00Hz

    But only following resolution is recognized:

    Additional mode: Generic PnP Monitor #1: 720x576 @ 50.00Hz

    These resolutions are not recognized by LE11:

    Additional mode: Generic PnP Monitor #1: 720x576 @ 23.98Hz

    Additional mode: Generic PnP Monitor #1: 720x576 @ 24.00Hz

    Additional mode: Generic PnP Monitor #1: 720x576 @ 25.00Hz

    Additional mode: Generic PnP Monitor #1: 720x576 @ 29.97Hz

    Additional mode: Generic PnP Monitor #1: 720x576 @ 30.00Hz

    Additional mode: Generic PnP Monitor #1: 720x576 @ 59.94Hz

    Additional mode: Generic PnP Monitor #1: 720x576 @ 60.00Hz

    But from Kodi 20 on Windows 10 64bit all 8 possible resolutions are recognized.

    Log file and Kodi 20 Log file

  • Whitelist the 1080p @ 60/59.94/50/24/23.98 modes and enable adjust-refresh (start/stop) and allow mode doubling (so 25Hz is rendered at 50Hz, etc) then Kodi will upscale the PAL resolutions to 1080p, you can handle deinterlaced media, and you have no missing modes. Even if those modes did exist under Linux something still needs to scale the output to 1080p so you might as well have Kodi do it.

  • Yes, so it works. But it's not optimal, it scales twice. First from Kodi to 1080p and then from TV to 8K dispaly.

    The TV scales better than Kodi from 576p to 8K.

  • Do you actually have any media outside of 576@25 (PAL) and [email protected] (NTSC) .. because ye olde analogue broadcast standards certainly don't include those refresh rates; which is prob. why Linux doesn't invent/expose them.

    480p23.976 isn't that unusual. If you have movies or TV shows shot at 23.976fps on film, and carried as 3:2 29.97fps interlaced on DVD or in MPEG2, some people will transcode the MPEG2 to h.264/5 480p23.976 to allow the content to replay natively at 23.976fps avoiding 3:2 pull-down judder (or to avoid their TV having to do 3:2 detection and removal).

    Personally I'm fine with this stuff replayed at 1080p23.976 as I doubt my TV's upscaling can make much more of a silk purse from a 480p sow's ear...

    (I don't think 480p23.976 is a CEA supported HDMI mode anyway)

    However in 50Hz land, 576i25 (aka 576/50i) is the most common format - though in Australia they flirted with 576p50 as an 'HDTV' standard for a while... (Long since ditched for 720p50 and/or 1080i25 now)

  • I think that's the problem, because 576p/50fps is the only CEA supported HDMI mode.

    But the standard for DVD in 50Hz land is 576p/25fps.

    What the CEA does wrong, Linux doesn't have to do wrong too?

    Windows still supports 576p/25fps.

  • I think that's the problem, because 576p/50fps is the only CEA supported HDMI mode.

    But the standard for DVD in 50Hz land is 576p/25fps.

    What the CEA does wrong, Linux doesn't have to do wrong too?

    Windows still supports 576p/25fps.

    DVD is 720x576i25 (aka 575/50i) interlaced - not 720x576p25 (aka 576/25p) progressive. The DVD video can contain native 576p25 contents (stored as psf)

    The two standards that are supported over HDMI for 576 line video are 720x576p50 and 1440x576i25 (aka 1440x576/50i)

    576p50 sends 576 active lines 50 times per second, i.e. 50 progressive frames.

    576i25 sends 288 line fields at 50 times per second, sometimes referred to as 576 line interlaced frames at 25 frames per second i.e. 25 interlaced frames made up of 50 interlaced fields.

    HOWEVER the 1440 in the horizontal resolution of the 576i25 interlaced standard is a workaround in the HDMI spec and is based around repeating every 720x576 sample/pixel to get the pixel clock high enough, it doesn't actually give you twice the horizontal resolution. (The HDMI spec doesn't allow for pixel clock as low as would be required for 720x576i25 video without the pixel doubling/repetition)

    Bottom line is that MPEG2 DVDs in Europe are based on MPEG2 interlaced video - 576i25 (aka 576/50i).

    If the DVD contains native interlaced video (with 50Hz motion) then you need to deinterlace to 576p50 for full motion.

    If the DVD contains native 25fps progressive video (say stuff shot on film or HD / UHD at 25fps, or sped up from 24fps) then you can deinterlace to 576p25 and not lose any motion. However 576p25 isn't a valid HDMI mode (and in the days of CRT would have been unwatchable because of flicker) - so you frame repeat to get to 576p50, just as you deinterlace 576i25 native interlaced content to.

    For info CEA-861 modes 17 and 18 are 4:3 and 16:9 720x576p50, and CEA-861 modes 21 and 22 are 4:3 and 16:9 1440x576i25 (which is the pixel repetition route to carrying 720x576i25 video)

  • I mean my UHD player UDP-203.

    The player sends DVDs to my TV at 4:3 and 16:9 720x576p50.

    On the Vero 4K+ (Linux OSMC) I'll have to look later.

    I don't want to say anything wrong.

  • I mean my UHD player UDP-203.

    The player sends DVDs to my TV at 4:3 and 16:9 720x576p50.

    On the Vero 4K+ (Linux OSMC) I'll have to look later.

    I don't want to say anything wrong.

    I'm asking what platform are you running LibreElec on.

  • :( with Vero 4K+ (Armlogic) it is the same. 1080/50 :(

    DVD reference for Linux should be the CEA specification with 4:3 and 16:9 720x576p50 and not 1080p50, right?

  • Code
    2023-01-21 12:57:25.898 T:751      info <general>: Found resolution 720x576 with 720x576 @ 50.000000 Hz
    2023-01-21 12:57:25.898 T:751      info <general>: Found resolution 720x480 with 720x480 @ 59.940063 Hz

    ^ the 4:3 modes are present.

  • I can see that "720x576 @ 50.000000 Hz" is in the whitelist. Please ensure "adjust refresh" is enabled then reboot (to create a clean log) and play something that should be switched to that resolution, then share the log URL.

  • Yes it is activated always "Adjust display refresh rate" with status "On start/stop".

    Immediately the message "Resolution not allowed" appears.

    I have to allow the resolution 1080/50 in the white list. After that the video is displayed.

    I will create a log URL this evening.