11-29-2021, 02:15 AM
(11-25-2021, 08:28 AM)roderickvd Wrote:(11-24-2021, 04:53 PM)the_bertrum Wrote:(11-23-2021, 08:24 AM)roderickvd Wrote:(11-18-2021, 04:23 PM)ElmhurstFun Wrote:(11-18-2021, 08:05 AM)the_bertrum Wrote: I actually noticed this too last night. Most of my players have maximum volume all the time (downstream amplifiers control the volume), but one in an old radio in the kitchen uses in-player controls. I rarely listen to Spotify on that one, but did just last night. I wondered if it was simply that I'm using a Pi Zero and it can't cope. What hardware is yours running on?
That is a common element between us! This is on a Pi Zero W, with a Hifiberry DAC+ Pro HAT. I know the librespot version changed in this release, so maybe that is a factor. I will experiment this weekend with the clean install (I had in-place upgraded from 7.4.1) and I have plenty of larger PI's I can test with to see if the Pi Zero is the root or not.
librespot 0.3 introduced dithering which can be taxing on lower-end hardware. You could try on your Pi Zero with dithering disabled.
Alas turning off dithering had no effect. Nor did dropping the bitrate.
I may mention it on the librespot support forum, see if anyone else over there sees the issue.
I am one of the librespot maintainers. I can't say I've heard of anyone else reporting this. Which isn't to say it can't be an issue because at least you two are obviously encountering it. Hence my interest.
We target the RPi Zero as the lowest-powered device that we support. I don't have one, but one of our members does, and he tested both the dithering and 64-bit sample pipeline on it. So at this point I don't understand what's going on, but think it's worth pursuing.
When you run top, what CPU and RAM usage do you see? What's the current load? Perhaps high I/O usage or blocking? We'd have to investigate further and I can't reproduce.
Thanks for jumping in - found something that may be significant. I attached two screenshots. First screenshot shows 'top' output when spotify connect running for 20 min or so at a constant stable volume. Second screenshot shows 'top' output during a change in volume where I pressed volume up/down several times on iphone that is being used as the spotify connect 'remote'. Note the huge spike in 1-min load average and a whole bunch of moodeutl processes. I can try to load moode 7.4.1 which uses earlier version of librespot and see if same thing happens. But wondering if its librespot or moodeutl at this point.