You are not logged in.

#1 2018-06-08 19:45:13

nomeed
Member
Registered: 2015-05-08
Posts: 13

[SOLVED] MPD with Pulseaudio output stopped working

After reboot mpd is unable enable its pulseaudio output.

Heres some debugging

$ mpd --no-daemon --stderr -v
...
exception: Failed to enable output "MPD PulseAudio Output" [pulse]
exception: nested: pa_context_connect() has failed: Connection refused
...
# ~/.mpd/mpd.conf
bind_to_address	"0.0.0.0"
port	"6600"
#password	"password@read,add,control,admin"


audio_output {
 type	  "httpd"
 name	  "mpd http stream"
 port	  "8000"
 bind_to_address "0.0.0.0"   # optional, IPv4 or IPv6
 encoder   "vorbis"	# optional, vorbis or lame
 quality   "5.0"	# do not define if bitrate is defined
# bitrate   "256"     # do not define if quality is defined
 format    "44100:16:1"
 max_clients "0"     # optional 0=no limit
}

audio_output {
  type  "pulse"
  name  "MPD PulseAudio Output"
#  sink  "sink name"
}

Strangely I am still able to play audio via mplayer. I do not have any user configuration or overrides in /etc/pulse or ~/.config/pulse

Also pulseaudio hangs when starting via $ systemctl --user start pulseaudio. Running it in console shows me nothing useful...

$ pulseaudio --log-level=debug --log-target=stderr -v
I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
D: [pulseaudio] core-rtclock.c: Timer slack is set to 50 us.

Does someone have any idea how to debug this?

Music Player Daemon 0.20.20
pulseaudio 11.1

Last edited by nomeed (2018-06-08 20:04:33)

Offline

#2 2018-06-08 20:03:52

nomeed
Member
Registered: 2015-05-08
Posts: 13

Re: [SOLVED] MPD with Pulseaudio output stopped working

should have read arch news about js52

polkit stopped working since it could not find /usr/lib/libmozjs-52.so.0.

$ pacman -S js52 && sudo systemctl restart polkit && systemctl --user stop pulseaudio.socket && pulseaudio -k && rm -rf ~/.config/pulse/* && pulseaudio --start && systemctl --user restart mpd

Offline

Board footer

Powered by FluxBB