On Sat, 2007-12-29 at 11:37 +0000, Colin Guthrie wrote: > Well you were talking about using Multicast RTP to get sound to output > on several network devices at once. I really just wanted to get the > sound from one machine to output on one other machine. Before I really > learned about pulse's capabilities properly I didn't realise about the > module-tunnel-sink (which is now loaded automatically when zeroconf > detects the presence of another pulse system on the network - previously > you needed to load it manually). With a tunnel I can easily redirect the > output of one machine to another which is all I really wanted. ;) Oh. So tunnel's the name for regular peer-to-peer connectivity. Thanks. That's what I wanted, as well. I'd rather not Multicast for my application. > > Are there any compile- or runtime options I could enable to help me > > debug why the virtual devices are immediately being removed? Try to > > figure out what's triggering the removal. Where the signal to do so is > > originating from. Etc. > > Well run pulseaudio -vvvv on both machines and look for the error > messages that pop up. Chances are it will say "Protocol error".... I've attached the output of pulseaudio -vvvv from both viper and duke from the point where I clear the option to "Make discoverable network sound devices available locally" on duke and re-enable it to where it finally stops spouting out things. It doesn't tell ME much, save that the "Stream died" (for who-knows-what reason). One thing I did notice that was different was that on viper, PS kept spouting out the line "Checking for dead streams ..." that duke did not. -- Richi Plana -------------- next part -------------- I: module.c: Unloading "module-zeroconf-discover" (index: #26). I: module.c: Unloaded "module-zeroconf-discover" (index: #26). D: module-gconf.c: Loading module 'module-zeroconf-discover' with args '' due to GConf configuration. I: module.c: Loaded "module-zeroconf-discover" (index: #31; argument: ""). D: module-zeroconf-discover.c: Loading module-tunnel-module-tunnel-sink with arguments 'server=[192.168.1.1]:4713 sink=alsa_output.pci_10de_59_alsa_playback_0 format=s16le channels=2 rate=48000 sink_name=tunnel.viper.local.alsa_output.pci_10de_59_alsa_playback_0 channel_map=front-left,front-right' D: module-tunnel.c: Using already loaded auth cookie. I: sink.c: Created sink 9 "tunnel.viper.local.alsa_output.pci_10de_59_alsa_playback_0" with sample spec "s16le 2ch 48000Hz" I: source.c: Created source 12 "tunnel.viper.local.alsa_output.pci_10de_59_alsa_playback_0.monitor" with sample spec "s16le 2ch 48000Hz" D: module-tunnel.c: Thread starting up D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+27 D: module-suspend-on-idle.c: Source tunnel.viper.local.alsa_output.pci_10de_59_alsa_playback_0.monitor becomes idle. D: module-suspend-on-idle.c: Sink tunnel.viper.local.alsa_output.pci_10de_59_alsa_playback_0 becomes idle. I: module.c: Loaded "module-tunnel-sink" (index: #32; argument: "server=[192.168.1.1]:4713 sink=alsa_output.pci_10de_59_alsa_playback_0 format=s16le channels=2 rate=48000 sink_name=tunnel.viper.local.alsa_output.pci_10de_59_alsa_playback_0 channel_map=front-left,front-right"). D: module-zeroconf-discover.c: Loading module-tunnel-module-tunnel-source with arguments 'server=[192.168.1.1]:4713 source=alsa_input.pci_10de_59_alsa_capture_0 format=s16le channels=2 rate=48000 source_name=tunnel.viper.local.alsa_input.pci_10de_59_alsa_capture_0 channel_map=front-left,front-right' D: module-tunnel.c: Using already loaded auth cookie. I: source.c: Created source 13 "tunnel.viper.local.alsa_input.pci_10de_59_alsa_capture_0" with sample spec "s16le 2ch 48000Hz" D: module-tunnel.c: Thread starting up D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+26 D: module-suspend-on-idle.c: Source tunnel.viper.local.alsa_input.pci_10de_59_alsa_capture_0 becomes idle. I: module.c: Loaded "module-tunnel-source" (index: #33; argument: "server=[192.168.1.1]:4713 source=alsa_input.pci_10de_59_alsa_capture_0 format=s16le channels=2 rate=48000 source_name=tunnel.viper.local.alsa_input.pci_10de_59_alsa_capture_0 channel_map=front-left,front-right"). D: module-tunnel.c: Connection established, authenticating ... D: module-zeroconf-discover.c: Loading module-tunnel-module-tunnel-sink with arguments 'server=[192.168.1.1]:4713 sink=combined format=s16le channels=2 rate=44100 sink_name=tunnel.viper.local.combined channel_map=front-left,front-right' D: module-tunnel.c: Using already loaded auth cookie. I: sink.c: Created sink 10 "tunnel.viper.local.combined" with sample spec "s16le 2ch 44100Hz" I: source.c: Created source 14 "tunnel.viper.local.combined.monitor" with sample spec "s16le 2ch 44100Hz" D: module-tunnel.c: Thread starting up D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+25 D: module-suspend-on-idle.c: Source tunnel.viper.local.combined.monitor becomes idle. D: module-suspend-on-idle.c: Sink tunnel.viper.local.combined becomes idle. I: module.c: Loaded "module-tunnel-sink" (index: #34; argument: "server=[192.168.1.1]:4713 sink=combined format=s16le channels=2 rate=44100 sink_name=tunnel.viper.local.combined channel_map=front-left,front-right"). D: module-tunnel.c: Connection established, authenticating ... D: module-zeroconf-discover.c: Loading module-tunnel-module-tunnel-sink with arguments 'server=[192.168.1.1]:4713 sink=rtp format=s16be channels=2 rate=44100 sink_name=tunnel.viper.local.rtp channel_map=front-left,front-right' D: module-tunnel.c: Using already loaded auth cookie. I: sink.c: Created sink 11 "tunnel.viper.local.rtp" with sample spec "s16be 2ch 44100Hz" I: source.c: Created source 15 "tunnel.viper.local.rtp.monitor" with sample spec "s16be 2ch 44100Hz" D: module-tunnel.c: Thread starting up D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+24 D: module-suspend-on-idle.c: Source tunnel.viper.local.rtp.monitor becomes idle. D: module-suspend-on-idle.c: Sink tunnel.viper.local.rtp becomes idle. I: module.c: Loaded "module-tunnel-sink" (index: #35; argument: "server=[192.168.1.1]:4713 sink=rtp format=s16be channels=2 rate=44100 sink_name=tunnel.viper.local.rtp channel_map=front-left,front-right"). D: module-tunnel.c: Connection established, authenticating ... D: module-tunnel.c: Connection established, authenticating ... D: module-tunnel.c: Connection authenticated, creating stream ... D: module-tunnel.c: Connection authenticated, creating stream ... D: module-tunnel.c: Connection authenticated, creating stream ... D: module-tunnel.c: Connection authenticated, creating stream ... W: module-tunnel.c: Stream died. I: module.c: Unloading "module-tunnel-sink" (index: #32). D: module-rescue-streams.c: No sink inputs to move away. D: module-rescue-streams.c: No source outputs to move away. D: module-tunnel.c: Thread shutting down I: sink.c: Freeing sink 9 "tunnel.viper.local.alsa_output.pci_10de_59_alsa_playback_0" I: source.c: Freeing source 12 "tunnel.viper.local.alsa_output.pci_10de_59_alsa_playback_0.monitor" I: module.c: Unloaded "module-tunnel-sink" (index: #32). W: module-tunnel.c: Stream died. W: module-tunnel.c: Stream died. I: module.c: Unloading "module-tunnel-source" (index: #33). D: module-rescue-streams.c: No source outputs to move away. D: module-tunnel.c: Thread shutting down I: source.c: Freeing source 13 "tunnel.viper.local.alsa_input.pci_10de_59_alsa_capture_0" I: module.c: Unloaded "module-tunnel-source" (index: #33). I: module.c: Unloading "module-tunnel-sink" (index: #34). D: module-rescue-streams.c: No sink inputs to move away. D: module-rescue-streams.c: No source outputs to move away. D: module-tunnel.c: Thread shutting down I: sink.c: Freeing sink 10 "tunnel.viper.local.combined" I: source.c: Freeing source 14 "tunnel.viper.local.combined.monitor" I: module.c: Unloaded "module-tunnel-sink" (index: #34). W: module-tunnel.c: Stream died. I: module.c: Unloading "module-tunnel-sink" (index: #35). D: module-rescue-streams.c: No sink inputs to move away. D: module-rescue-streams.c: No source outputs to move away. D: module-tunnel.c: Thread shutting down I: sink.c: Freeing sink 11 "tunnel.viper.local.rtp" I: source.c: Freeing source 15 "tunnel.viper.local.rtp.monitor" I: module.c: Unloaded "module-tunnel-sink" (index: #35). -------------- next part -------------- D: module-rtp-recv.c: Checking for dead streams ... D: module-rtp-recv.c: Checking for dead streams ... I: socket-server.c: TCP connection accepted by tcpwrap. I: client.c: Created 3 "Native client (TCP/IP client from 192.168.1.16:46184)" I: socket-server.c: TCP connection accepted by tcpwrap. I: client.c: Created 4 "Native client (TCP/IP client from 192.168.1.16:46185)" I: socket-server.c: TCP connection accepted by tcpwrap. I: client.c: Created 5 "Native client (TCP/IP client from 192.168.1.16:46186)" I: socket-server.c: TCP connection accepted by tcpwrap. I: client.c: Created 6 "Native client (TCP/IP client from 192.168.1.16:46187)" I: client.c: Client 4 changed name from "Native client (TCP/IP client from 192.168.1.16:46185)" to "PulseAudio" I: client.c: Client 3 changed name from "Native client (TCP/IP client from 192.168.1.16:46184)" to "PulseAudio" I: client.c: Client 6 changed name from "Native client (TCP/IP client from 192.168.1.16:46187)" to "PulseAudio" I: client.c: Client 5 changed name from "Native client (TCP/IP client from 192.168.1.16:46186)" to "PulseAudio" E: protocol-native.c: protocol error, kicking client I: client.c: Freed 4 "PulseAudio" E: protocol-native.c: protocol error, kicking client I: client.c: Freed 3 "PulseAudio" E: protocol-native.c: protocol error, kicking client I: client.c: Freed 6 "PulseAudio" E: protocol-native.c: protocol error, kicking client I: client.c: Freed 5 "PulseAudio" D: module-rtp-recv.c: Checking for dead streams ... D: module-rtp-recv.c: Checking for dead streams ... D: module-rtp-recv.c: Checking for dead streams ...