04-02-2023, 04:07 PM
Hi,
I'm getting glitches playing music via Spotify. First I thought it might be a network problem, but then I discovered the load was too high:
After some time load goes down and librespot uses about 30% CPU and the sound is ok. But only for a while.
There are no problems playing audio from other sources, this occurs only with Spotify.
I'm using a Raspberry Pi Model B Plus Rev 1.2 with HiFiBerry DIGI+ pro.
Any help greatly appreciated!
Gernot
I'm getting glitches playing music via Spotify. First I thought it might be a network problem, but then I discovered the load was too high:
Code:
top - 17:33:21 up 8:35, 1 user, load average: 1.53, 0.97, 0.72
Tasks: 106 total, 1 running, 105 sleeping, 0 stopped, 0 zombie
%Cpu(s): 13.2 us, 86.2 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.6 si, 0.0 st
MiB Mem : 429.8 total, 92.1 free, 82.5 used, 255.2 buff/cache
MiB Swap: 0.0 total, 0.0 free, 0.0 used. 292.8 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3550 root 20 0 19244 8320 6440 S 81.2 1.9 2:47.22 librespot
4075 pi 20 0 8524 2712 2208 R 1.9 0.6 0:00.36 top
1002 root 20 0 7752 1872 1688 S 0.6 0.4 1:18.00 watchdog.+
11 root 20 0 0 0 0 S 0.3 0.0 1:12.73 ksoftirqd+
After some time load goes down and librespot uses about 30% CPU and the sound is ok. But only for a while.
There are no problems playing audio from other sources, this occurs only with Spotify.
I'm using a Raspberry Pi Model B Plus Rev 1.2 with HiFiBerry DIGI+ pro.
Any help greatly appreciated!
Gernot