MichaIng / DietPi

Lightweight justice for your single-board computer!
https://dietpi.com/
GNU General Public License v2.0
4.81k stars 494 forks source link

DietPi-Software | Kodi: Video playback freezes after few seconds on Odroid XU4 #2584

Closed awtur closed 2 years ago

awtur commented 5 years ago

Required Information

Additional Information

Steps to reproduce

  1. Install Kodi
  2. Attempt playback of any video file or stream on Kodi

Expected behaviour

Video should be playing smoothly with audio.

Actual behaviour

Video starts playing for a few seconds, then stutters and freezes, but the file is still being processed (the timer continues). No audio is heard.

Extra details

Tested on Vizio P55-F1 (TV) via HDMI Tested multiple video file formats and codecs, all with the same result Tested video stream from CBC News video add-on Tested files on NTFS and EXT4-formatted drives, both microSD and external USB drives Uninstalled Kodi and re-installed with no change.

Kodi video playback problems on XU4 have been reported on the forum by multiple users with no resolutions: https://dietpi.com/phpbb/viewtopic.php?t=3916 https://dietpi.com/phpbb/viewtopic.php?t=2920 https://dietpi.com/phpbb/viewtopic.php?t=5539

MichaIng commented 4 years ago

@S10t Strange, actually v6.27 introduced a bug to not correctly apply CPU governor, hence it should be performance governor now, as defined in our default boot.ini: https://github.com/MichaIng/DietPi/blob/master/boot_xu4.ini#L31

The GPU driver is installed via malit628-odroid APT package, which should be correctly used by the kodi-odoid package.

MichaIng commented 4 years ago

@S10t @autur @Speeedfire A new Buster-based image has been uploaded for testing. You might want to try if this solves the freeze issue: #2979

MichaIng commented 4 years ago

I mark this as closed due to new Buster-based image, Kodi version and several other changes. Feel free to reopen if issue persists.

awtur commented 3 years ago

@MichaIng I have just done a clean install of the latest Dietpi version (Buster) on the Odroid XU4 and can confirm that we still have the same issue with Kodi video playback freezing.

MichaIng commented 2 years ago

We provide now Bullseye images for Odroid XU4 where no dedicated kodi-odroid packages are available, but the regular kodi package from Debian is used. I'm not sure how performance compares, but the open source Mesa drivers have greatly improves with v20 provided on Debian Bullseye + Kodi has native GBM/DRM support, hence does not make use of the X server anymore, unless starting from within a desktop session. So this may be tested. Also upgrading to Bullseye can be done: https://dietpi.com/blog/?p=811

I'll organise an XU4 the next weeks and get the shipped kernel updated to v5.4 and then do intense tests with Kodi as well.

As this issue does not apply to the current provided setup anymore, I'll mark it as closed.