mpd no access to soundcard using pulseaudio
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mpd (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
pulseaudio (Ubuntu) |
Invalid
|
Wishlist
|
Unassigned | ||
Bug Description
Binary package hint: pulseaudio
Version info:
uname -r: 2.6.24-8-generic
pulseaudio Version: 0.9.9-1ubuntu2
mpd : Version: 0.13.1-3ubuntu1
After changing from esound to pulseaudio, MPD is not able to access the sound card.
MPD logs the following errors in /var/log/
No protocol specified
E: client-conf-x11.c: XOpenDisplay() failed
*** PULSEAUDIO: Unable to connect: Access denied
By giving "xhost +" and restarting mpd the XOpenDisplay() error disappears, but the error regarding PULSEAUDIO still persists.
This happend using the latest ubuntu gutsy as of 16.02.2008, as well as the current Hardy.
Pulseaudio was installed using https:/
I have added mpd and root to all pulseaudio groups (pulse, pulse-access, pulse-rt), but this did not solve the problem.
Xine works using native pulse output and mythtv works using "ALSA:default" output device.
Regards,
Rune
Changed in pulseaudio: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
Changed in pulseaudio: | |
status: | Confirmed → Invalid |
Changed in mpd (Ubuntu): | |
status: | New → Confirmed |
I forgot to add the audio_output section of /etc/mpd.conf
audio_output {
type "pulse"
name "My MPD PulseAudio"
# server "localhost" # optional
# sink "alsa_output" # optional
}
Rune