https://bugs.freedesktop.org/show_bug.cgi?id=90125
--- Comment #7 from rh <[email protected]> --- Thanks for your instructions. My new findings (both pulseaudio-6.0-2.fc22.x86_64): 1) WITH DEFAULT-SERVER When using default-server = <name-of-pc.lan> instead of zeroconf-publish/discover on PC B, 5.1 sound transmission to PC A works perfectly. There are no suspicious log messages, neither on PC A nor on PC B. However, when using this configuration, I can't switch to the local headphones on PC-B in Gnome audio settings because the local sound card is not used by pulseaudio. 2) WHEN ADDING THE SINK MANUALLY WITH PARAMETERS AS TOLD BY zeroconf-discover When following your instructions, zeroconf-discover reports this sink (+ another HDMI sink which I won't use): server=[<ip of PC A>]:4713 sink=alsa_output.pci-0000_00_1b.0.analog-surround-51 format=s16le channels=6 rate=44100 sink_name=tunnel.PC-A.local.alsa_output.pci-0000_00_1b.0.analog-surround-51 channel_map=front-left,front-right,rear-left,rear-right,front-center,lfe When adding this on PC B with "pactl load-module module-tunnel-sink", pactl prints "24". I don't even have to play something: immediately after adding the sink on PC B, PC A prints these lines to the logs: --------------------------- Jun 10 21:23:38 PC-A.lan pulseaudio[3268]: [pulseaudio] protocol-native.c: Client sent non-aligned memblock: index 0, length 18824, frame size: 12 Jun 10 21:23:38 PC-A.lan pulseaudio[3268]: [pulseaudio] protocol-native.c: Client sent non-aligned memblock: index 18824, length 17376, frame size: 12 --------------------------- The memblock indexes and the count of these lines vary when I try several times. Now the strange thing: When using "module-tunnel-sink-new", the same lines appear and it doesn't work, either. 3) WITHOUT ADDING A SINK MANUALLY, BUT USING paplay Now the even more strange thing: When using "paplay -v -s PC-A.lan some-stereo-sample.wav", all works: --------------------------- Opening a playback stream with sample specification 's16le 2ch 44100Hz' and channel map 'front-left,front-right'. Connection established. Stream successfully created. Buffer metrics: maxlength=4194304, tlength=352800, prebuf=349276, minreq=3528 Using sample spec 's16le 2ch 44100Hz', channel map 'front-left,front-right'. Connected to device alsa_output.pci-0000_00_1b.0.analog-surround-51 (index: 1, suspended: no). Stream started. Stream underrun. Playback stream drained.: 382721 usec. Draining connection to server. --------------------------- When playing a 5.1 sample WAV file, it does NOT work: --------------------------- LANG=en paplay -s pc-a.lan -v 6_Channel_ID.wav Opening a playback stream with sample specification 's16le 6ch 44100Hz' and channel map 'front-left,front-right,front-center,lfe,rear-left,rear-right'. Connection established. Stream successfully created. Buffer metrics: maxlength=4194312, tlength=1058400, prebuf=1047828, minreq=10584 Using sample spec 's16le 6ch 44100Hz', channel map 'front-left,front-right,front-center,lfe,rear-left,rear-right'. Connected to device alsa_output.pci-0000_00_1b.0.analog-surround-51 (index: 1, suspended: no). <<gets stucked here until I hit Ctrl+C>> ^CGot signal, exiting.cy: 666643 usec. --------------------------- (on PC A, the non-aligned memblocks are printed) So I guess this must be somehow related to how 5.1 sound is transmitted. Does this make any sense to you? Can I do more debugging, maybe with paplay? -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.
_______________________________________________ pulseaudio-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs
