Posts by popcornmix

    The working edid is the typical two 128-byte blocks.

    The not-working edid is four 128-byte blocks which is unusual.

    Not sure if something changed in the 6.6 to 6.12 kernel bump that means the extra edid blocks are reported, and whether their presence causes any issue for display-info library.

    Looks like the first two blocks are the same. The additional blocks decode to:
    ```

    While trying to get HDR working, leave second hdmi disconnected to avoid complicating things.

    Can you post your edid? One way is to run:

    Code
    cat /sys/devices/platform/axi/axi:gpu/drm/card?/card?-HDMI-A-1/edid | hexdump -v -e '/1 "%02x"'

    and copy/paste the output.

    Not sure if this is related, but this is surprising:

    Code
    Connector 0 (33) HDMI-A-1 (connected)
      Encoder 0 (32) TMDS
        Crtc 3 (100) [email protected] 594.000 3840/176/88/296/+ 2160/8/10/72/+ 60 (60.00) P|D 
          Plane 6 (125) fb-id: 726 (crtcs: 1 2 3 4 5) 0,0 1920x1080 -> 0,0 3840x2160 (XR24 AR24 AB24 XB24 RG16 BG16 AR15 XR15 RG24 BG24 YU16 YV16 YU24 YV24 YU12 YV12 NV12 NV21 NV16 NV61 P030 XR30 AR30 AB30 XB30 RGB8 BGR8 XR12 AR12 XB12 AB12 BX12 BA12 RX12 RA12)
            FB 726 1920x1080 XR24
    Connector 1 (42) HDMI-A-2 (connected)
      Encoder 1 (41) TMDS
        Crtc 4 (112) [email protected] 297.000 4096/1020/88/296/+ 2160/8/10/72/+ 24 (24.00) D 256:135

    Do you have a second hdmi display connected?

    The resolution list from kodi tends to be the list extracted from the edid, plus the mode kodi was launched in (internally denoted RES_DESKTOP). The latter of these shows as a duplicate.

    In some places (like setting the default resolution for the GUI) they behave differently. Consider choosing 1920x1080@60 vs RES_DESKTOP (which we'll assume was 1920x1080@60).

    e.g. if you connected to a different display that reported 1280x720@50 as it's preferred mode (but still supported 1920x1080@60) then choosing the former option would result in a 1920x1080@60 GUI resolution, whereas choosing the latter would result in 1280x720@50 GUI (this monitor's RES_DESKTOP).

    As kodi doesn't make it clear which is which in the GUI, this distinction is less useful.

    It would be better if in settings, RES_DESKTOP showed with a unique name (e.g. "DEFAULT").

    And it should probably be filtered out from whitelist.


    Your second duplicate resolution is probably the edid reporting two different modes with same refresh/timing, but some other differences (e.g. blanking period or aspect ratio).

    Code
    edid-decode /sys/devices/platform/axi/axi:gpu/drm/card?/card?-HDMI-A-1/edid

    may provide some clue.

    There doesn't seem to be much in the way of instructions at that GitHub page on what to do and what to expect... Is this the expected result? Do I simply power down, replace it with my (previously functional) libreELEC SD and reboot?

    Yes - green screen means eeprom programmed correctly. Red screen means it failed.

    Docs are here.

    Quote

    When the green activity LED blinks with a steady pattern and the HDMI display shows a green screen, you have successfully written the bootloader

    Quote
    • This suggests Kodi is dying when trying to render some text from an addon (or skin element) while Python is executing.

    I don't see evidence for that from a single crash log. The font rendering thread is just what kodi was doing when other thread crashed with a SEGV. The crashed thread was python related. It's most likely just luck what other threads happen to be doing when the python thread crashes.

    As chewitt says:

    find the date of first nightly with the issue.

    find if you can provoke the issue with a clean .kodi

    You might want to try installing kodi21 from RPiOS which supports wayland, and much like Xorg on the PC, allows the compositor (outside of Kodi's knowledge) to rotate the screen.

    Note that this will use EGL for composition, rather than DRM which is a less efficient path. It should be fine for 1080p60, but will struggle with 4K video.

    But you can give it a try quite easily, to see if it meets your requirements. Use the preferenced/screen configuration tool (from the desktop) to set the display rotation, then launch kodi (the desktop version, not the fullscreen version). You can switch the desktop kodi to use fullscreen when running.

    With that in the file, and the HDMI plugged in closest to the power cable, it does work, as long as the HDMI is plugged in at boot, and not afterwards.

    You should be using:

    video=HDMI-A-1:1920x1080M@60D

    The D means assume it's connected (otherwise you will need to have a display connected at boot).

    You should always use the primary hdmi connector (closest to power connector).