Screen resolution not always changing to 4K from Full HD GUI

  • My system is setup to a GUI with 1920x1080p @ 120HZ.

    When I play a movie the refresh rate will change to match the framerate. It should also change the resolution to 4K when I play a movie. In some cases it does and in some cases it doesn't. I have multiple movies that change correctly and multiple that don't change correctly.

    Logs:

    https://paste.libreelec.tv/arriving-sloth.log


    I played the movie 'Fast Charlie' first (time: 2024-02-24 16:16:52.425). That resolution did not change. Then I played 'The Holdovers' (time: 2024-02-24 16:17:08.703), that resolution does change. Both 4K HDR movies.


    I'm using this machine: https://nl.aliexpress.com/item/1005005234838380.html. Directly connected with HDMI1 to my LG C1 tv. Sound output goes directly to my marantz receiver on HDMI2


    The holdovers:

    Code
    2024-02-24 16:17:08.771 T:963847    info <general>: [WHITELIST] Searching the whitelist for: width: 3840, height: 2160, fps: 23.976, 3D: false
    2024-02-24 16:17:08.771 T:963847   debug <general>: [WHITELIST] Using the default whitelist because the user whitelist is empty
    2024-02-24 16:17:08.771 T:963847   debug <general>: [WHITELIST] Searching for an exact resolution with an exact refresh rate
    2024-02-24 16:17:08.771 T:963847   debug <general>: [WHITELIST] Matched an exact resolution with an exact refresh rate 4096x2160 @ 23.976025 Hz (25)
    2024-02-24 16:17:08.771 T:963847   debug <general>: [WHITELIST] Matched an exact resolution with an exact refresh rate 3840x2160 @ 23.976025 Hz (32)
    2024-02-24 16:17:08.772 T:963847   debug <general>: [WHITELIST] Searching for an exact resolution with double the refresh rate
    2024-02-24 16:17:08.772 T:963847    info <general>: Display resolution ADJUST : 3840x2160 @ 23.976025 Hz (32) (weight: 0.000)

    Fast Charlie:

    Edited once, last by Cyph3r: Merged a post created by Cyph3r into this post. (February 24, 2024 at 3:42 PM).

  • It probably has something to-do with the media height being outside match parameters in code. The first (working) media is normal 2160p while the second (non-working) is 1592p. I'd expect that if you re-encode the file to a 2160p resolution (adding black bars) the resolution will match whitelist entries and play correctly. I'm not aware of any other remedy..

  • It probably has something to-do with the media height being outside match parameters in code. The first (working) media is normal 2160p while the second (non-working) is 1592p. I'd expect that if you re-encode the file to a 2160p resolution (adding black bars) the resolution will match whitelist entries and play correctly. I'm not aware of any other remedy..

    I don't have anything in my whitelist and re-encoding is not an option for me. You would say, that if a resolution is pretty close to a certain resolution, in this case 4K, then the resolution would change to 4K.