Wrong display resolution passed to hyperion.

  • I have hyperion installed on my libreelec@amd64. It worked for me correctly through years, including Libreelec updates.

    Unfortunately - something failed now. Hyperion reads output resolution wrongly.

    Kodi side shows correct resolution: 1360x768. Unfortunately hyperion reads it wrongly - 3280x1080. There is completely no relationship between this value and hardware or any software. How to fix presenting resolution from LE/Kodi to hyperion?

    As the effect - part of my LEDs do nothing.

  • I've found it!

    The issue is outside of hyperion, kodi and libreelec. It's closer to hardware, some kind of hung up.


    I completely forgot about one thing: few month ago I've connected HDMI wireless transmitter (with converter of course) to the second DisplayPort. From time to time I use FullHD projector with it.

    So starting from this July I had:

    - DP1 with 1360x768 TV

    - DP2 with 1920x1080 transmitter


    This worked great till now and without any reason - failed. With completely no action performed, including any connections or turning projector on/off.

    I've checked:

    # xrandr

    Screen 0: minimum 320 x 200, **current 3280 x 1080**, maximum 16384 x 16384

    DisplayPort-0 connected **primary** **1360x768+0+0** (normal left inverted right x axis y axis) 1600mm x 900mm

    1360x768 60.02*+

    [...]

    DisplayPort-1 connected **1920x1080+1360+0** (normal left inverted right x axis y axis) 708mm x 398mm

    1920x1080 60.00*+ 50.00 59.94 30.00 24.00 29.97 23.98

    [...]


    Looks like Screen 0 changed its primary display.

    Now just disconnected transmitter and connected back and looks that DP-1 does not determine final resolution. I can see:


    Screen 0: minimum 320 x 200, current **1360 x 768**, maximum 16384 x 16384

    DisplayPort-0 connected **primary** **1360x768+0+0** (normal left inverted right x axis y axis) 1600mm x 900mm

    1360x768 60.02*+

    [...]DisplayPort-1 connected (normal left inverted right x axis y axis)

    1920x1080 60.00 + 50.00 59.94 30.00 24.00 29.97 23.98

    1920x1080i 50.00

    1280x1024 75.02 60.02

    1440x900 59.90

    1360x768 60.02

    1280x720 60.00 50.00 59.94

    1024x768 75.03 70.07 60.00

    800x600 72.19 75.00 60.32 56.25

    720x576 50.00

    720x480 60.00 59.94

    640x480 60.00 59.94


    None is marked by star "*".


    Probably I could fix my issue using command:

    xrandr --output DisplayPort-0 --primary

    I'll check it next time...


    Now LEDs work fine