Following the informative news article in July about pipewire and pulseaudio, I decided to migrate my systems over to pipewire. This proceeded without any problem, but I have one remaining issue which I would like to fix. I use MPD to manage my music collection, and since the migration I am struggling to get it working. First of all, pipewire and wire plumber are at the unstable level:
Code: Select all
media-video/pipewire
Installed versions: 0.3.59(0/0.4)^t{tbz2}(06:30:36 13/10/22)(X bluetooth dbus doc pipewire-alsa sound-server ssl udev v4l -echo-cancel -extra -flatpak -gstreamer -jack-client -jack-sdk -lv2 -system-service -systemd -test -zeroconf ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
media-video/wireplumber
Installed versions: 0.4.12(0/0.4)^t{tbz2}(22:09:38 12/10/22)(elogind -system-service -systemd -test LUA_SINGLE_TARGET="lua5-4 -lua5-3")
MPD configuration - I have issues when choosing to use pulse or pipewire. Here is the relevant section of the /etc/mpd.conf file:
Code: Select all
audio_output {
type "pipewire"
name "Pipewire Sound Server"
}
#audio_output {
# type "pulse"
# name "My pulse output"
#}
Here is the output of the log file from mpd - pulseaudio first, followed by pipewire:
Code: Select all
Oct 12 20:19 : player: played "4beat6/01_Airmail_Special.mp3"
Oct 12 21:48 : exception: Failed to enable output "My pulse output" (pulse); pa_context_connect() has failed: Connection refused
...
Oct 13 06:17 : player: played "BBC_Music/Wind_Quintets/03-Carl_Nielson-Praeludium-Adagio-Tema_con_variazioni.ogg"
Oct 13 06:37 : exception: Failed to open "Pipewire Sound Server" (pipewire); Failed to connect stream: Host is down
I have tried enabling the pipewire-alsa use flag, but no change to the output. Strangely, I can't find anything on google with this "...Host is down" error message.
So I guess my questions are as follows:
- Have any of you managed to get mpd working with pipewire?
- Was it an "out of the box" experience, or did you have to make configuration changes? If so, what did you do?
- Any pointers as to where I should investigate next to resolve this problem? I have it on two similarly configured gentoo systems (AMD desktop and Intel laptop), so I don't think this is a hardware issue, It seems to be more of a configuration issue.



