<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">2014-03-07 12:09 GMT+02:00 Tanu Kaskinen <span dir="ltr"><<a href="mailto:tanu.kaskinen@linux.intel.com" target="_blank">tanu.kaskinen@linux.intel.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class=""><br></div>
<br>
Could you get logs from both machines?<br>
<br>
1) remove module-tunnel-sink(-new) from <a href="http://default.pa" target="_blank">default.pa</a> if you have it there<br>
2) disable autospawning on Raspi and the PC:<br>
        echo autospawn = no > ~/.config/pulse/client.conf<br>
2) start pulseaudio on Raspi and the PC with "pulseaudio -vvv"<br>
3) Load the tunnel on the PC:<br>
        pactl load-module module-tunnel-sink-new server=192.168.1.225<br>
4) Try to play something:<br>
        paplay /usr/share/sounds/alsa/Front_Center.wav<br>
5) Stop pulseaudio on Raspi and the PC with Ctrl-C.<br>
6) Save the logs and put them to some pastebin (they're probably too<br>
large to get through to the mailing list as attachments).<br></blockquote><div><br></div><div><div><br></div><div>Ok, here is what I did:</div><div><br></div><div>raspi$ pulseaudio -vvv</div><div><br></div><div>pc$ pulseaudio -vvv</div>
<div><br></div><div>pc$ pactl load-module module-tunnel-sink-new server=192.168.1.225</div><div>29</div><div><br></div><div>- After this there is constant network traffic from PC to raspi.</div><div><br></div><div>pc$ paplay -d tunnel-sink-new.192.168.1.225 /usr/share/sounds/alsa/Front_Center.wav</div>
<div><br></div><div>- Network traffic is paused, but after a while there is distorted audio from raspi. Network traffic is recovered.</div><div><br></div><div>pc$ pavucontrol</div><div><br></div><div>- Network traffic is cut and ended for good.</div>
<div><br></div><div>pc$ paplay -d tunnel-sink-new.192.168.1.225 /usr/share/sounds/alsa/Front_Center.wav</div><div>Failed to drain stream: Timeout</div><div>pc$ </div><div><br></div><div><br></div><div>Logs can be found from here. I added line of dashes to logs after every given command.</div>
<div><br></div><div>Raspi log:</div><div><br></div><div><a href="https://drive.google.com/file/d/0B4vqDczJWwTbekNUVHBJS3N2cWM">https://drive.google.com/file/d/0B4vqDczJWwTbekNUVHBJS3N2cWM</a></div><div><br></div><div>PC log:</div>
<div><br></div><div><a href="https://drive.google.com/file/d/0B4vqDczJWwTbQXg3azBJWl9kblE">https://drive.google.com/file/d/0B4vqDczJWwTbQXg3azBJWl9kblE</a></div><div><br></div><div><br></div><div>These were the latencies of the network:</div>
<div><br></div><div>Ping from PC In a flooded mode:</div><div><br></div><div>--- 192.168.1.225 ping statistics ---</div><div>3000 packets transmitted, 3000 received, 0% packet loss, time 5259ms</div><div>rtt min/avg/max/mdev = 1.375/1.680/18.901/0.556 ms, ipg/ewma 1.753/1.536 ms</div>
<div><br></div><div>and with 1 sec interval:</div><div><br></div><div>--- 192.168.1.225 ping statistics ---</div><div>3000 packets transmitted, 2994 received, 0% packet loss, time 3004010ms</div><div>rtt min/avg/max/mdev = 1.565/2.001/15.767/0.505 ms</div>
</div><div><br></div><div>Hopefully this helps...</div><div><br></div><div>Harri</div></div></div></div>