Raspberry Pi 4 Crashing Repeatedly During Movie

  • Hello,

    I tried watching this movies on my Raspberry Pi 4, and on at least twice but I think 3 times during the movie, the screen suddenly went black, forcing me to reset the device and pick back up where I left off. I have posted the mediainfo and system log below.

    I very much appreciate any help in isolating the problem!

    Thanks

    mediainfo:

    Video
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : [email protected]
    Format settings : CABAC / 9 Ref Frames
    Format settings, CABAC : Yes
    Format settings, Reference frames : 9 frames
    Codec ID : V_MPEG4/ISO/AVC
    Duration : 2 h 3 min
    Bit rate : 15.7 Mb/s
    Width : 1 200 pixels
    Height : 720 pixels
    Display aspect ratio : 5:3
    Frame rate mode : Constant
    Frame rate : 24.000 FPS
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Bits/(Pixel*Frame) : 0.759
    Stream size : 13.6 GiB (98%)
    Title : npuer @ NPUBits
    Writing library : x264 core 161 r3027+53 2464769 t_mod_New [(8 & 10)-bit@all X86_64]
    Encoding settings : cabac=1 / ref=9 / deblock=1:-3:-3 / analyse=0x3:0x133 / me=umh / subme=11 / psy=1 / fade_compensate=0.00 / psy_rd=1.18:0.00 / mixed_ref=1 / me_range=64 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=24 / lookahead_threads=5 / sliced_threads=0 / nr=0 / decimate=0 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / fgo=0 / bframes=16 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=250 / rc=crf / mbtree=0 / crf=17.4000 / qcomp=0.63 / qpmin=0:0:0 / qpmax=69:69:69 / qpstep=4 / vbv_maxrate=62500 / vbv_bufsize=78125 / crf_max=0.0 / nal_hrd=none / filler=0 / ip_ratio=1.30 / pb_ratio=1.20 / aq=3:0.68 / aq-sensitivity=10.00 / aq-factor=1.00:1.00:1.00 / aq2=0 / aq3=0 / zones=175911,177774,crf=22.0
    Language : English
    Default : Yes
    Forced : No
    Color range : Limited
    Matrix coefficients : BT.709

    system log:

    Actually it was too long to paste straight in (43000 characters), so if you can specify which section of the log that is necessary I should be able to just paste that in, or put it on pastebin I guess.

  • Please provide a full debug log.

    How to post a log (wiki)

    1. Enable debugging in Settings>System Settings>Logging
    2. Restart Kodi
    3. Replicate the problem
    4. Generate a log URL (do not post/upload logs to the forum)

    use "Settings > LibreELEC > System > Paste system logs" or run "pastekodi" over SSH, then post the URL link
  • Please provide a full debug log.

    How to post a log (wiki)

    1. Enable debugging in Settings>System Settings>Logging
    2. Restart Kodi
    3. Replicate the problem
    4. Generate a log URL (do not post/upload logs to the forum)

    use "Settings > LibreELEC > System > Paste system logs" or run "pastekodi" over SSH, then post the URL link

    Hi Chewitt, I tried to replicate the problem just now and it didn't seem to crop back up again. That said, I have a couple questions:

    1. Is there a way to have debug logging enabled without the distracting debug OSD, so I can watch movies in debug logging mode without the distraction?
    2. I hear these debug logs are "volatile". Does that mean they only last for one crash, and then if I turn the pi off manually, the logs from the crash will be gone?

    Thanks

  • XML
    <?xml version="1.0" encoding="utf-8" ?>
    <advancedsettings version="1.0">
      <loglevel hide="false">1</loglevel>
    </advancedsettings>

    That ^ content will enable debug logging without the OSD.

    The current log is /storage/.kodi/temp/kodi.log and previous log is kodi.old.log, there are kodi crashlog(s) in the same folder. The current and previous log are rotated with each reboot so they are persistent but not preserved. Crashlogs are preserved.