[pulseaudio-tickets] [PulseAudio] #42: MPD will not connect *randomly* when trying to play over TCP
PulseAudio
trac-noreply at tango.0pointer.de
Tue Nov 7 21:51:06 PST 2006
#42: MPD will not connect *randomly* when trying to play over TCP
--------------------+-------------------------------------------------------
Reporter: avuton | Owner: lennart
Type: defect | Status: new
Priority: normal | Milestone:
Component: daemon | Severity: major
Keywords: |
--------------------+-------------------------------------------------------
Hello,
I have Pulseaudio working on box X, MPD working on box Y on mpd server 0.
It works perfectly. Anytime I hit 'play' it just works. I tried putting
the same exact configuration on my wifes' computer (She is on box Z, MPD
playing on box Y, mpd server 1). Sometimes, it refuses to play. Try again
3 minutes later (nothing changed) it will play. There's not much telling
from the logs, but what it does tell me I will paste to the best of my
ability here:
----
{{{
tulip etc # grep -v ^# pulse/default.pa | grep -v '^ *$'
load-module module-alsa-sink sink_name=output
load-module module-hal-detect
add-autoload-source input module-native-protocol-tcp source_name=input
load-module module-native-protocol-tcp auth-anonymous=1
set-default-sink output
set-default-source input
}}}
{{{
tulip etc # grep -v ^# pulse/daemon.conf | grep -v '^;.*$' | grep -v '^
*$'
high-priority = 1
log-target = syslog
resample-method = src-sinc-best-quality
system-instance = 0
}}}
----
Here is some observed sample output (From box Z):
{{{
Nov 7 17:42:39 tulip pulseaudio[11841]: socket-server.c:
socket(PF_INET6): Address family not supported by protocol
Nov 7 17:42:39 tulip pulseaudio[11841]: module.c: Failed to load module
"module-alsa-sink" (argument: "device=hw:0
sink_name=alsa_output.pci_10de_6a_alsa_playback_0"): init
ialization failed.
Nov 7 17:42:39 tulip pulseaudio[11841]: module-alsa-sink.c: Error opening
PCM device hw:0: Device or resource busy
Nov 7 17:42:39 tulip pulseaudio[11841]: alsa-util.c: device doesn't
support 44100 Hz, changed to 48000 Hz.
Nov 7 17:42:25 tulip pulseaudio[11729]: socket-server.c:
socket(PF_INET6): Address family not supported by protocol
Nov 7 17:42:25 tulip pulseaudio[11729]: module.c: Failed to load module
"module-alsa-sink" (argument: "device=hw:0
sink_name=alsa_output.pci_10de_6a_alsa_playback_0"): init
ialization failed.
Nov 7 17:42:25 tulip pulseaudio[11729]: module-alsa-sink.c: Error opening
PCM device hw:0: Device or resource busy
Nov 7 17:42:25 tulip pulseaudio[11729]: alsa-util.c: device doesn't
support 44100 Hz, changed to 48000 Hz.
Nov 7 08:19:04 tulip pulseaudio[5618]: module-alsa-source.c:
snd_pcm_readi() failed: Streams pipe error
Nov 7 08:19:04 tulip pulseaudio[5618]: module-alsa-sink.c:
snd_pcm_writei() failed: Streams pipe error
Nov 6 19:39:05 tulip pulseaudio[5618]: socket-server.c: socket(PF_INET6):
Address family not supported by protocol
Nov 6 19:39:05 tulip pulseaudio[5618]: module.c: Failed to load module
"module-alsa-sink" (argument: "device=hw:0
sink_name=alsa_output.pci_10de_6a_alsa_playback_0"): initi
alization failed.
Nov 6 19:39:05 tulip pulseaudio[5618]: module-alsa-sink.c: Error opening
PCM device hw:0: Device or resource busy
Nov 6 19:39:05 tulip pulseaudio[5618]: alsa-util.c: device doesn't
support 44100 Hz, changed to 48000 Hz.
Nov 6 10:33:51 tulip pulseaudio[3290]: module-alsa-source.c:
snd_pcm_readi() failed: Streams pipe error
Nov 6 10:33:51 tulip pulseaudio[3290]: module-alsa-sink.c:
snd_pcm_writei() failed: Streams pipe error
}}}
Most of the time when the error occurs, after I press play in MPD (on box
Y server 1) I get:
{{{
Nov 07 17:42 : problems opening audio device while playing "New
Music/GERZ.ru_Enigma__2003__Sleep/Enigma - (2003) - Sleep/02 - Center Of
The Sun (vocals by Poe).mp3"
}}}
Rarely, but sometimes I get:
{{{
Nov 07 17:42 : Cannot connect to server in PulseAudio output "Trish's
Computer" (attempt 1): No such entity
}}}
Sometimes, If I don't have a few minutes to wait, I restart the services
(pulseaudio on Box Z or sometimes mpd server 1 on box Y will make it
work).
I have no idea why this is happening; and I'm not really sure where to
start to try to find out more.
Also, about the
{{{
Nov 6 19:39:05 tulip pulseaudio[5618]: socket-server.c: socket(PF_INET6):
Address family not supported by protocol
}}}
I'm not sure why I'm getting this error, I have IPv6 support compiled in
on box Y, but not box Z, which is strictly IPv4. Nor do I have IPv6
support compiled on Box X and it works fine. I have diffed all configure
files (pulse/ and mpd/) of boxes X and Z and they seem fine. I also do not
get this IPv6 warning/error on box X.
If there's any information I can help with or any way I can turn on extra
debugging please let me know. I really need to get this working for the
wife :)
Box X: amd64/Linux-2.6.18.2/alsa-driver-1.0.13/Gentoo ~amd64/
media-sound/pulseaudio-0.9.5-r4 USE="X alsa hal -avahi -caps -jack -lirc
-oss -tcpd"
Box Z: x86/Linux-2.6.18.1/alsa-driver-1.0.13/Gentoo ~x86/
media-sound/pulseaudio-0.9.5-r4 USE="X alsa hal -avahi -caps -jack -lirc
-oss -tcpd"
--
Ticket URL: <http://pulseaudio.org/ticket/42>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server
More information about the pulseaudio-bugs
mailing list