LE 10.0.2 on RPi4 not playing files that 10.0.1 had no problems with.

  • Hardware: Raspberry Pi4B, 4GB RAM

    LE/Kodi Version: 10.0.2/19.4 and 10.0.1/19.3 (both my existing installation and completely fresh installs)

    I've found that some files do not start playing on 10.0.2 that worked flawlessly on 10.0.1. It looks like the HDMI Signal completely blanks out.

    Funnily enough, as i found out by accident: When i start playing a file that works and then, while still playing, i select and start the problematic file it works as well.

    You can find one of the problematic files (or, well, a 10 second sample i cut from it without re-rendering that shows the same behaviour) here:

    https://www.dropbox.com/s/g4kwjf1g33i8wyl/test_LE10.0.2_rpi4.mkv?dl=1

    Display Spoiler


    General
    Unique ID : x
    Complete name : test_LE10.0.2_rpi4.mkv
    Format : Matroska
    Format version : Version 4
    File size : 24.9 MiB
    Duration : 13 s 513 ms
    Overall bit rate : 15.4 Mb/s
    Encoded date : UTC 2020-03-29 17:08:40
    Writing application : Lavf58.45.100
    Writing library : Lavf58.45.100
    ErrorDetectionType : Per level 1

    Video
    ID : 1
    Format : HEVC
    Format/Info : High Efficiency Video Coding
    Format profile : Main [email protected]@High
    Codec ID : V_MPEGH/ISO/HEVC
    Duration : 10 s 802 ms
    Bit rate : 22.3 Mb/s
    Width : 3 840 pixels
    Height : 1 744 pixels
    Display aspect ratio : 2.2:1
    Frame rate mode : Variable
    Frame rate : 7 910.942 FPS
    Original frame rate : 23.976 (24000/1001) FPS
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 10 bits
    Bits/(Pixel*Frame) : 0.000
    Stream size : 9.25 GiB
    Writing library : x265 3.2+38-fdbd4e4a2aff:[Windows][GCC 9.2.1][64 bit] 10bit
    Encoding settings : cpuid=1111039 / frame-threads=4 / numa-pools=16 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=3840x1744 / interlace=0 / total-frames=85454 / level-idc=51 / high-tier=1 / uhd-bd=0 / ref=5 / no-allow-non-conformance / repeat-headers / annexb / aud / hrd / info / hash=0 / no-temporal-layers / open-gop / min-keyint=23 / keyint=250 / gop-lookahead=0 / bframes=8 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=40 / lookahead-slices=8 / scenecut=40 / hist-scenecut=0 / radl=0 / no-splice / no-intra-refresh / ctu=64 / min-cu-size=8 / no-rect / no-amp / max-tu-size=32 / tu-inter-depth=4 / tu-intra-depth=4 / limit-tu=4 / rdoq-level=0 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / strong-intra-smoothing / max-merge=4 / limit-refs=1 / no-limit-modes / me=1 / subme=5 / merange=57 / temporal-mvp / no-frame-dup / no-hme / weightp / weightb / no-analyze-src-pics / deblock=-3:-3 / no-sao / no-sao-non-deblock / rd=4 / selective-sao=0 / early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=0.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=19.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / vbv-maxrate=160000 / vbv-bufsize=160000 / vbv-init=0.9 / crf-max=0.0 / crf-min=0.0 / ipratio=1.30 / pbratio=1.20 / aq-mode=1 / aq-strength=0.85 / no-cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=1 / overscan=0 / videoformat=5 / range=0 / colorprim=1 / transfer=1 / colormatrix=1 / chromaloc=0 / display-window=0 / cll=0,0 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / hist-threshold=0.01 / no-opt-cu-delta-qp / no-aq-motion / no-hdr10 / no-hdr10-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=0 / analysis-save-reuse-level=0 / analysis-load-reuse-level=0 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=1 / refine-ctu-distortion=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-analysis-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei / no-hevc-aq / no-svt / no-field / qp-adaptation-range=1.00 / no-scenecut-aware-qpconformance-window-offsets / right=0 / bottom=0
    Default : Yes
    Forced : No
    Color range : Limited
    Color primaries : BT.709
    Transfer characteristics : BT.709
    Matrix coefficients : BT.709

    Edited 2 times, last by Azurewrath (March 18, 2022 at 4:12 PM).

  • Go to Best Answer
  • I might try that, but i highly doubt that that's the issue.. since other 10bit HDR files play fine.

    This one, for example, is playing perfectly:

    Display Spoiler


    General
    Unique ID : x
    Complete name : 123.mkv
    Format : Matroska
    Format version : Version 4
    File size : 11.5 GiB
    Duration : 1 h 0 min
    Overall bit rate : 27.1 Mb/s
    Encoded date : UTC 2018-09-06 23:03:00 / UTC 2018-07-04 13:47:44
    Writing application : mkvmerge v25.0.0 ('Prog Noir') 64-bit
    Writing library : libebml v1.3.6 + libmatroska v1.4.9 / Lavf58.0.0

    Video
    ID : 1
    Format : HEVC
    Format/Info : High Efficiency Video Coding
    Format profile : Main 10@L5@Main
    HDR format : SMPTE ST 2086, HDR10 compatible
    Codec ID : V_MPEGH/ISO/HEVC
    Duration : 1 h 0 min
    Bit rate : 25.9 Mb/s
    Width : 3 840 pixels
    Height : 1 920 pixels
    Display aspect ratio : 2.000
    Frame rate mode : Constant
    Frame rate : 23.976 (24000/1001) FPS
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 10 bits
    Bits/(Pixel*Frame) : 0.147
    Stream size : 11.0 GiB (96%)
    Writing library : x265 2.8+66-88ee12651e30:[Windows][MSVC 1915][64 bit] 10bit
    Encoding settings : cpuid=1111039 / frame-threads=4 / numa-pools=0,28 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=3840x1920 / interlace=0 / total-frames=0 / level-idc=0 / high-tier=1 / uhd-bd=0 / ref=5 / no-allow-non-conformance / repeat-headers / annexb / no-aud / no-hrd / info / hash=0 / no-temporal-layers / open-gop / min-keyint=23 / keyint=250 / gop-lookahead=0 / bframes=8 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=40 / lookahead-slices=0 / scenecut=40 / radl=0 / no-intra-refresh / ctu=64 / min-cu-size=8 / no-rect / no-amp / max-tu-size=32 / tu-inter-depth=3 / tu-intra-depth=3 / limit-tu=4 / rdoq-level=2 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / strong-intra-smoothing / max-merge=4 / limit-refs=1 / limit-modes / me=3 / subme=4 / merange=57 / temporal-mvp / weightp / weightb / no-analyze-src-pics / deblock=0:0 / sao / no-sao-non-deblock / rd=6 / no-early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=1.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=12.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / ipratio=1.40 / pbratio=1.30 / aq-mode=1 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=0 / overscan=0 / videoformat=5 / range=0 / colorprim=9 / transfer=16 / colormatrix=9 / chromaloc=0 / display-window=0 / master-display=G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(40000000,50) / max-cll=2945,279 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / no-opt-cu-delta-qp / no-aq-motion / hdr / hdr-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=5 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=0 / limit-sao / ctu-info=0 / no-lowpass-dct / refine-mv-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei
    Default : Yes
    Forced : No
    Color range : Limited
    Color primaries : BT.2020
    Transfer characteristics : PQ
    Matrix coefficients : BT.2020 non-constant
    Mastering display color primar : Display P3
    Mastering display luminance : min: 0.0050 cd/m2, max: 4000 cd/m2
    Maximum Content Light Level : 2945 cd/m2
    Maximum Frame-Average Light Le : 279 cd/m2

  • Just tested your sample and got the same "no signal" issue here. Not quite sure what's going wrong, I've informed RPi devs about it.

    so long,

    Hias

  • Just received some "Ultra High Speed" aka HDMI 2.1 cables and adapters. (Micro-to-Fullsize, Fullsize-to-Fullsize with Adapter)

    Same issue: Files work fine in LE 10.0.1, don't play at all in 10.0.2 and 11 Nightly.

    Oh and, is there some kind of bugtracker where this issue might be listed? Just so i could track the issue myself without nagging people about it. :)

  • The hell.. you're a genius.

    Just did, now the file plays fine in 10.0.2

    Strangely enough when hdmi_enable_4kp60=1 is enabled it never plays, no matter what resolution or framerate i set for the GUI or if framerate change on start/stop is enabled or disabled or whitelist is enabled or not.

    Also, the file is 23.976fps, so that shouldn't matter as well..

    Would you say this is some kind of Kodi or LE bug or a RPi4 issue? Or a combination?

  • Probably a kernel display bug, but I'm currently confused.

    I just noticed the file played fine for me initially (where I didn't have hdmi_enable_4kp60=1) then later on a different setup did fail.

    Looks like the more common [email protected] video doesn't have this failure, but yours of [email protected] does.

    I'm guessing the resolution is having some effect on clocks or timing.

  • I use Libreelec on an rpi4b.

    Yesterday I did the proposed update to 10.0.2 and since then the 3840x2160 24p video no longer switches to 24p but stay in 50p. In 1080p no problem, the tv goes well in 1080p24. Did you have the same problem or do you have a solution please?

    I posted on another topic but got no response.

  • Azurewrath can you try this test build.

    I think the issue was your video was 10-bit but not HDR, which is a little unusual.

    That meant the kernel didn't do a full modeset (as HDR colourspace didn't change) but did change the colour depth (which adjusts the pixel clock) which really wants a full modeset.

    The test build is a stanard Matrix build with a kernel patch added to force the modeset.

  • popcornmix Just did, all the variations just to make sure.

    10.0.2 -> plays

    10.0.2 with hdmi_enable_4kp60=1 -> fails

    test build -> plays

    test build with hdmi_enable_4kp60=1 -> PLAYS

    Very cool, seems that fixed it. Thank you very much, looking forward to a release with the fix included. :)