Video Glitching on LE 11 Beta 2 (RPi4)

  • I have some issues while playing some videos from my HDD. The image glitches sometimes and others the system just reboots itself from nowhere. My versión is 10.95.1 and it happened in 10.95.0 also. Any ideas on what is happening?

  • I have some issues while playing some videos from my HDD. The image glitches sometimes and others the system just reboots itself from nowhere. My versión is 10.95.1 and it happened in 10.95.0 also. Any ideas on what is happening?

    Unless you explain what hardware is being used (and perhaps provide a sample of the problem media that exhibits the issue) .. No ideas.

  • titoasi Lemme guess, Raspberry Pi 4?

    I'm experiencing the same, unfortunately.

    Correct.

    Unless you explain what hardware is being used (and perhaps provide a sample of the problem media that exhibits the issue) .. No ideas.

    It happens with different formats and qualities.. from avi to mkv. From 1080p to 4K

    I don't know why, but I will probably go back to 10.0 version to check if it's the same

  • I use an RPi4 as the family daily-driver and have no glitches with any local media (aside from very broken test files). Have you enabled "Adjust refresh" and whitelisted modes, or are you forcing everything to the desktop resolution (1080p@60)?

  • I use an RPi4 as the family daily-driver and have no glitches with any local media (aside from very broken test files). Have you enabled "Adjust refresh" and whitelisted modes, or are you forcing everything to the desktop resolution (1080p@60)?

    I haven't touched anything. Just installed and start playing videos. Is there a configuration that I should tweak?

    Edit: enabled refeesh and whitelisted every resolution (don't know exactly how it works)

    Now I don't see any glitches! Thank you!

    I only see a problem. If I skip the video ahead some minutes, the system reboots. Is there a way to check/ log what happens?

    Edited once, last by titoasi (February 22, 2023 at 1:37 PM).

  • Is there a way to check/ log what happens?

    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
  • As a general rule whitelist all 3840 4K modes that are visible (ignore 4096 4K) and 1080p @ 60/59.94/50/24/23.98 (23.976). Enable refresh-rate doubling (so 25 runs at 50) and enable adjust refresh. Kodi switches the TV to the native resolution and refresh rate for the media playing and does not adapt playback to 1080p @ 60 which will work for most (but not all) media .. and when it doesn't quite work and you notice; you can't stop noticing.

  • That was inevitable. The majority of users complaining about video quality annd don’t supply logs invariably are using banned addons and omit to include logs in the hope that some user might resolve their issue without one.

  • Do logs persist after reboot? Or they start loggin on each boot? Because then I don't see anything that caused the crash

    kodi.log contains info about your current session. If LE crashes and reboots, kodi.old.log contains the crash.

    Because pastekodi only works for kodi.log, I suggest to upload kodi.old.log to PasteBin, and post the link.

  • Do logs persist after reboot? Or they start loggin on each boot? Because then I don't see anything that caused the crash

    There is almost never a reboot, only kodi is crashing. In this case you do see it in

    Code
    Feb 24 16:10:19.617112 TitoasiRB kodi.sh[860]: Segmentation fault (core dumped)
    Feb 24 16:10:34.647132 TitoasiRB kodi.sh[860]: Crash report available at /storage/.kodi/temp/kodi_crashlog_20230224161019.log
    Feb 24 16:10:34.685475 TitoasiRB systemd[1]: kodi.service: Main process exited, code=exited, status=139/n/a
    Feb 24 16:10:34.720498 TitoasiRB systemd[1]: kodi.service: Failed with result 'exit-code'.
    Feb 24 16:10:34.720994 TitoasiRB systemd[1]: kodi.service: Consumed 20min 44.716s CPU time.
    Feb 24 16:10:36.842051 TitoasiRB systemd[1]: kodi.service: Scheduled restart job, restart counter is at 1.
    Feb 24 16:10:36.842767 TitoasiRB systemd[1]: Stopped kodi.service.
    Feb 24 16:10:36.842817 TitoasiRB systemd[1]: kodi.service: Consumed 20min 44.716s CPU time.
    Feb 24 16:10:36.863162 TitoasiRB systemd[1]: Starting kodi.service...
    Feb 24 16:10:36.875145 TitoasiRB systemd[1]: Started kodi.service.

    Pasting the Crash Logs via LE Settings Addon will give more information.

    Maybe someone know what the burst of kodi.sh[864]: Failed to import fence to syncobj: -1 means.