RPi 4 LE 11 screen tear and crash while playing videos

  • Hello,

    I am using LibreElec 11.0.4 on a Raspberry Pi 4 (official power supply). While playing videos (typically 1080p on Youtube, HW or SW), I experience sudden video pause, a brief screen tearing and eventually a system crash followed by a full reboot of LE. These problems happen after some time (typically 10 minutes) but the CPU and GPU temperatures seem fine (under 60°). If I stop the video player, wait a few minutes and start a new video, the video does not play, not until I fully reboot LE. The problem seem to be related to the network but I am not sure.

    I tried to generate a debug log so I switched on the logging mode. Interestingly, the video problems happened much later. But after it happened and video playback stopped, I could not produce a log file, neither through the GUI (in the settings menu, LibreELEC → System) nor through SSH with pastekodi.

    I unplugged the ethernet from the RPi 4 and plugged it again and then I was able to generate a log file but it had restarted...

    Desperate, I tried the LibreElec 12 nightly and it solved the problem! Also, the image quality is now fantastic.

  • A week later, I am still very satisfied with LE12 nightly. Everything is very stable and the image quality is still great.

    I only have a weird problem with one addon which streams videos from Crunchyroll. While the videos look truly HD, the video player menu says that the steam definition is 720p... I did not have this issue on LE 11, all videos were designed as 1080p on this addon.

  • You'll probably find that the addon uses inputstream.adaptive and the stream is 'adapting' and serving the optimum quality stream for current conditions. Note that 'optimum' doesn't only mean what's best for you, it also covers what's best for the upstream CDN infrastructure and under conditions where resources are constrained and actively managed you might be served 720p streams and not the normal/expected 1080p. Or the add-on needs reworking to accomodate some upstream change.