Video playback stops after a few seconds / VAAPI bug ?

  • Issue is present in both official 9.2.2 binaries and self build from master

    Code
    LibreELEC (community): devel-20200414225037-837464c (Generic.x86_64)
    LibreELEC:~ # cat /proc/version
    Linux version 5.6.0 (hydro@ubuntu) (gcc version 9.3.0 (GCC)) #1 SMP Tue Apr 14 23:12:49 CEST 2020

    The test is simply booting off installation media in live mode and playing a 1080p file from local SSD (ie. a saved YouTube video): payback starts fine but after a few seconds video freezes (interface and controls still work) and Kodi binary starts pegging 100% of one core:

    Playback hardware is a Pentium G3258 with HD Graphics.

  • Gotta start somewhere, might as well be with a full kodi log file.

    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
  • Okay I think I found the issue:

    I was testing with my audio system off and apparently having the default audio output pointing to the wrong output device causes something to be stuck in a loop that ends up blocking video playback.

    Here is an attached debug log with 1st playback working fine when using audio device hdmi:CARD=HDMI,DEV=1 "ABT iScan Duo on HDMI #1"

    and secondly, reproducing the issue, when playing back while having audio device set to hdmi:CARD=HDMI,DEV=0 "HDMI #0"

    Download link
    WeTransfer
    1 item
    01_KODI.log 974 KB