Page 1 of 1

MPD + PulseAudio = Jerky sound ?

Posted: February 11th, 2021, 7:16 pm
by jean_bruder
Good evening,

Several years ago I set up an MPD server running on a Seagate dock running Debian, which broadcasts music via PulseAudio to connected speakers based on RaspberryPI Zero W. A few days ago I migrated the MPD server to a new, more robust hardware (Rock64), but since then, without any further changes, the sound has been chopped.

When I play music from my computer also via PulseAudio to the connected speakers, the sound is normal and audible.

Is MPD known not to work properly on certain types of hardware (Rock64)?

Thank you in advance for your answers,
Jean

Re: MPD + PulseAudio = Jerky sound ?

Posted: February 11th, 2021, 7:37 pm
by max
jean_bruder wrote: February 11th, 2021, 7:16 pm Is MPD known not to work properly on certain types of hardware (Rock64)?
No. MPD has extremely low hardware requirements, and Rock64 is overpowered by several orders of magnitude.

To analyze your problem, more information is necessary. See https://www.musicpd.org/help/

Re: MPD + PulseAudio = Jerky sound ?

Posted: February 12th, 2021, 10:22 am
by jean_bruder
max wrote: February 11th, 2021, 7:37 pm No. MPD has extremely low hardware requirements, and Rock64 is overpowered by several orders of magnitude.
Indeed, MPD worked very well on the Seagate DockStar with very little power. I upgraded to a Rock64 because I shared my home automation tools.
max wrote: February 11th, 2021, 7:37 pm To analyze your problem, more information is necessary. See https://www.musicpd.org/help/
I went through the manual and set up the same configuration that worked on the old hardware.
All prerequisites are checked. However, my version of Debian is 10.8, and it does not have the latest updated version of MPD in the repositories. Currently, I'm using version 0.21.5.
I analyzed the logs in verbose mode, and did not detect any message that could help to understand the problem. If you need them, I can make them available later.
You can find the version at this address : https://pastebin.com/pdGKhD4W
And at this address the configuration: https://pastebin.com/XPtdYc5f

I thank you in advance for any ideas that could help me to determine the cause of this problem that no longer allows me to take advantage of the absolutely great software that is MPD ...

Regards,
Jean

Re: MPD + PulseAudio = Jerky sound ?

Posted: February 12th, 2021, 3:28 pm
by max
MPD 0.21.5 is very old and unsupported. You should upgrade to the latest version before you report problems.

Re: MPD + PulseAudio = Jerky sound ?

Posted: February 12th, 2021, 7:16 pm
by jean_bruder
max wrote: February 12th, 2021, 3:28 pm MPD 0.21.5 is very old and unsupported. You should upgrade to the latest version before you report problems.
Good evening Max. How do I update MPD if the packages available in the repositories are not up to date?

Re: MPD + PulseAudio = Jerky sound ?

Posted: February 13th, 2021, 3:38 pm
by max

Re: MPD + PulseAudio = Jerky sound ?

Posted: February 14th, 2021, 11:02 am
by jean_bruder
Dear Max,

As my device's processor is an arm64 class (nor amd64, nor armf), the best way was to upgrade from the stable release to "bulleyes" (testing release). Now, the version of MPD is 0.22.4.

But the sound is not yet better ...

Here you have the output of the "--version" command line parameter : https://termbin.com/tal0

And here, the command line verbose output : https://termbin.com/pga6

Where can that "Failed to set groupe" error come from ?

Thanks in advance for your answer,
Regards,
Jean

Re: MPD + PulseAudio = Jerky sound ?

Posted: February 14th, 2021, 5:21 pm
by skidoo
Unable to read verbose output.

Code: Select all

/tmp/mpd.log

Re: MPD + PulseAudio = Jerky sound ?

Posted: February 14th, 2021, 8:14 pm
by jean_bruder
skidoo wrote: February 14th, 2021, 5:21 pm Unable to read verbose output.

Code: Select all

/tmp/mpd.log
Oups ... Sorry for that mistake ... Here's the awaited content : https://termbin.com/di3o

Thanks in advance !

Re: MPD + PulseAudio = Jerky sound ?

Posted: February 15th, 2021, 1:38 pm
by skidoo
Is your user mpd a member of group 100 (users)?

Re: MPD + PulseAudio = Jerky sound ?

Posted: February 15th, 2021, 2:29 pm
by jean_bruder
skidoo wrote: February 15th, 2021, 1:38 pm Is your user mpd a member of group 100 (users)?
Dear skidoo,

Yes, the MPD user is member of the group 100 "users", but I comment the parameter, and the MPD Server now start successfully.

Here's the output of the verbose log : https://termbin.com/8eua

Why is the state changing so much ?

Re: MPD + PulseAudio = Jerky sound ?

Posted: February 16th, 2021, 6:10 am
by max
What was the point of this "Group" setting? Why tell MPD to change the group (and drop all other supplementary groups)? Of course, this is broken.