MPD + PulseAudio = Jerky sound ?

Cool stuff you can do with MPD. A place for you to put your hacks and patches, or be inspired by others'.
Post Reply
jean_bruder
Posts: 6
Joined: February 10th, 2021, 8:30 pm

MPD + PulseAudio = Jerky sound ?

Post 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
max
Forum team
Posts: 1254
Joined: January 15th, 2013, 3:43 pm

Re: MPD + PulseAudio = Jerky sound ?

Post 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/
jean_bruder
Posts: 6
Joined: February 10th, 2021, 8:30 pm

Re: MPD + PulseAudio = Jerky sound ?

Post 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
max
Forum team
Posts: 1254
Joined: January 15th, 2013, 3:43 pm

Re: MPD + PulseAudio = Jerky sound ?

Post by max »

MPD 0.21.5 is very old and unsupported. You should upgrade to the latest version before you report problems.
jean_bruder
Posts: 6
Joined: February 10th, 2021, 8:30 pm

Re: MPD + PulseAudio = Jerky sound ?

Post 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?
max
Forum team
Posts: 1254
Joined: January 15th, 2013, 3:43 pm

Re: MPD + PulseAudio = Jerky sound ?

Post by max »

jean_bruder
Posts: 6
Joined: February 10th, 2021, 8:30 pm

Re: MPD + PulseAudio = Jerky sound ?

Post 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
skidoo
Posts: 220
Joined: April 28th, 2013, 10:06 pm
Location: Western Germany

Re: MPD + PulseAudio = Jerky sound ?

Post by skidoo »

Unable to read verbose output.

Code: Select all

/tmp/mpd.log
jean_bruder
Posts: 6
Joined: February 10th, 2021, 8:30 pm

Re: MPD + PulseAudio = Jerky sound ?

Post 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 !
skidoo
Posts: 220
Joined: April 28th, 2013, 10:06 pm
Location: Western Germany

Re: MPD + PulseAudio = Jerky sound ?

Post by skidoo »

Is your user mpd a member of group 100 (users)?
jean_bruder
Posts: 6
Joined: February 10th, 2021, 8:30 pm

Re: MPD + PulseAudio = Jerky sound ?

Post 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 ?
max
Forum team
Posts: 1254
Joined: January 15th, 2013, 3:43 pm

Re: MPD + PulseAudio = Jerky sound ?

Post 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.
Post Reply