2020-10-11, 21:54
I have a Raspberry Pi 3 connected via USB to a hard drive that stores my media, and with HDMI out to a TV. Versions/specs:
$ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs
$ uname -a
Linux rasxi 4.19.118-v7+ #1311 SMP Mon Apr 27 14:21:24 BST 2020 armv7l GNU/Linux
$ kodi --version
18.7 Git:20200612-e2aefdbee4 Media Center Kodi
$ vcgencmd get_mem gpu
gpu=512M
(With that last value having been set by me after reading https://forum.kodi.tv/showthread.php?tid=335961 reading https://www.raspberrypi.org/documentatio.../memory.md)
Despite the direct (not over network) connection between media and Pi, and the increased gpu mem, I’m still seeing disrupted, choppy, or laggy playback on some items:
At first I thought the format might be to blame - but the 3rd playback item is an mp4 file as well, and played fine.
I still see many errors in the first log about getBuffer() failed, thread_get_buffer() failed, and decode_slice_header error, even after setting gpu mem higher during earlier investigation. What else should I try?
$ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs
$ uname -a
Linux rasxi 4.19.118-v7+ #1311 SMP Mon Apr 27 14:21:24 BST 2020 armv7l GNU/Linux
$ kodi --version
18.7 Git:20200612-e2aefdbee4 Media Center Kodi
$ vcgencmd get_mem gpu
gpu=512M
(With that last value having been set by me after reading https://forum.kodi.tv/showthread.php?tid=335961 reading https://www.raspberrypi.org/documentatio.../memory.md)
Despite the direct (not over network) connection between media and Pi, and the increased gpu mem, I’m still seeing disrupted, choppy, or laggy playback on some items:
- Log1 (https://paste.kodi.tv/elatidemis, mp4 file) - Audio plays fine, but video is highly pixellated, laggy, and colour-distorted (plays fine on a different machine)
- Log2 (https://paste.kodi.tv/mobuxinune, avi file) - slight occasional visual lag, but otherwise fine
- Log3 (https://paste.kodi.tv/pojazagasu, mp4 file) - flawless playback
At first I thought the format might be to blame - but the 3rd playback item is an mp4 file as well, and played fine.
I still see many errors in the first log about getBuffer() failed, thread_get_buffer() failed, and decode_slice_header error, even after setting gpu mem higher during earlier investigation. What else should I try?