Hi, using Volumio 2.917, I keep getting pops when playing music. Either streaming direct from my NAS (Flac 44khz/16-bit), or when streaming from Spotify (through Spotify Connect plugin). The pops are very frequent, but at random intervals.
I have an external DAC (Motu M4) connected through USB on a Rpi4 (already tried different USB ports, either USB 3 or USB 2 and no change in results). Software mixer is disabled, all volume is controlled on the DAC itself. I also have a small OLED screen installed, using the MPD OLED plugin, and I know sound gets routed through something first so the OLED can display a spectrum of the current playback. With Spotify it can’t route the audio through anything, but I still get pops when playing music through Spotify (so I don’t think MPD OLED is causing it).
Any ideas that can help me troubleshoot how to fix this?
Ok, I disabled MPD_OLED, and I still get pops. Then disabled Spotify Connect and GPIO Buttons plugin, and still pops.
SW Mixer is “None”. So volume in Volumio is locked to 100%.
Playback mode options:
DSD Playback Mode: Direct
DSD Auto Volume: Off
Volume Normalization: Off
Audio Buffer Size: 2MB
Buffer Before Play: 10%
Persistent Queue: On
Playback Mode: On
I changed buffer size to 12MB and Buffer Before Play to 40%, and I still get pops.
Within the track, not at change/start of track (that’s clean).
My DAC shouldn’t be doing any resampling as far as I know. It will just play the sample rate from the source file. It’s a DAC I use all the time with my Win10 PC without issues, FWIW.
Not sure if this DAC is fully supported under linux as I see mention of drivers for both MAC as Windows. maybe the folks from Volumio can provide support here.
You run it on a rPi4?
Hmmm, I get command not found when I type “pinout” when connected to SSH. I’ve been having that with a few commands actually. Does something need to be added to path here?
Running a Rpi 4 Model B with 4GB RAM. DAC is connected to USB 2, as it’s technically a USB 2 device. But I got pops on USB 3 as well.
I just tried enabling software resampling to 48khz/24bit, but still get pops and clicks during playback.
some other commands that will get the rev of your pi.
cat /proc/cpuinfo
cat /proc/device-tree/model
As there have been some issue reported on V1.5. Also try to upgrade to V3 as V2 is EOL. (Read the instructions carefully)
Make sure to use USB3, as the your DAC is an USB3 DAC.
I initially had V3 installed, but a lot of plugins are missing from that as well, specifically GPIO Buttons, as I built a streamer box with a few buttons on it to control playback. MPD_OLED I can do manually, though the plugin makes it easier.
Will try USB 3 again, but earlier I got pops on that as well.
I would advise to start with a fresh V3, GPIO-Buttons is pretty straight forward to install.
But first we need to get the audio OK, before adding plugins.
If on a fresh install the DAC is all ready producing pops/clicks, I’m afraid it’s related to missing drivers/not fully supported HW. But that is for Volumio to determine.
And by the way, in Volumio 2 I had commented out “dtparam=i2c_arm=on”, and added “dtparam=i2c_vc=on”, to essentially move SDA/SCL from pins 3 and 5 to pins 27 and 28. Not sure if that could have cause the popping/clicking.
Although the MOTU M4 has proprietary drivers it works as a class compliant audio device with no specific drivers. The drivers just offer some configuration flexibility that is not defined by the USB audio standards.