Posts by Cyph3r

    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.

    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:

    I have a complex setup and an issue.

    I have libreelec installed on a pi4. CEC is disabled for now. The HDMI0 port is connected to my LG C1 TV and the HDMI1 port to my Marantz SR7007. I did this so I can play HDR on my TV (the Marantz is not capable for that) and to have bitstreaming for all formats. This all works good.

    Next I use squeezelite (addon package). I stop Kodi with node red and start squeezelite on HDMI1. This also works.

    When everything is freshly started and working, I could go to watching TV on my TV, and the receiver switches to 'TV audio', and I

    have sound.

    So far so good. Now the issues:

    When I turn of my TV, the Marantz does not turn off (which it should do).

    When I switch the TV and receiver off, and I wait a few minutes, the following happens after that:

    If I switch the TV on, the receiver turns on too. But I have no sound through the receiver anymore. When I try to change the volume on the TV, I get an icon saying it's not possible.

    Only way to reset this, is to unplug both HDMI cables from the Pi, and turn off and then turn on the Marantz receiver. Then sound is coming back.

    So I assume the receiver is getting 'locked' by the pi? Is there a way to 'unlock' this with software? Or maybe through the command line?

    Already tried vcgencmd display_power 0 and vcgencmd display_power 1.

    I disabled CEC, there is no issue. If i disable these options, it also does not start my TV so that's good.

    But my problem is a bit more complicated. This is what I'm trying to achieve.

    I want to use the pi as a Kodi player and for squeezelite (installed the addon). In general I use squeezelite more. But these 2 programs don't run well together.

    So when I boot the pi, I also start portainer. And this starts node red. Node red then stops Kodi and starts squeezelite.

    When I send a http post to node red from yatse, this will stop squeezelite and start Kodi. Kodi then turns on the TV and receiver through the options you mentioned.

    So I see a few options to solve my problem.

    1. Kodi does not start the TV and receiver on reboot only.

    2. Maybe the best one: prevent Kodi to even start on boot. My searches only gave me the option to stop Kodi on the command line: systemctl stop kodi. But this: systemctl disable kodi, did not work. So is this possible in any way?

    So when I reboot my Pi 4, the TV (LG) and receiver (Marantz) turns on.

    I have this set in the /flash/config.txt: hdmi_ignore_cec_init=1

    Before I used OSMC with that same option, but that went fine.

    Also messed a bit with the CEC settings. Used the default and the settings I used in OSMC. But that made no difference.

    So what else can I try?