[pulseaudio-tickets] [PulseAudio] #456: Crackling intead of sound when tunneling

PulseAudio trac-noreply at tango.0pointer.de
Sun Feb 1 13:11:28 PST 2009


#456: Crackling intead of sound when tunneling
-----------------------+----------------------------------------------------
  Reporter:  spitfire  |       Owner:  lennart
      Type:  defect    |      Status:  new    
  Priority:  normal    |   Milestone:         
 Component:  daemon    |    Severity:  normal 
Resolution:            |    Keywords:         
-----------------------+----------------------------------------------------
Comment (by mgrela):

 Sorry for double posting, I had to add formatting (evil wiki ;).

 I'm having a similar issue. The only difference is that instead of
 crackling I get silence. I'm using two machines - ix and 4pll00555. The ix
 is the home server with speakers connected to it. The other one I will
 refer as "laptop" because it is a Thinkpad T61p. I have exported the ix's
 soundcard by enabling zeroconf-publish and manually adding module-native-
 tcp with authentication disabled. The ix's card is properly detected on
 the laptop (using an autoconfigured tunnel). When I launch a player
 application supporting pulseaudio (I've tested mplayer and rhythmbox) it
 plays back audio correctly through the local pulseaudio server. However,
 when I run pavucontrol and try to move the stream to ix the playback
 stops. During the freeze the following messages in the logs:

 ix:
 {{{
 Feb  1 20:42:09 ix pulseaudio[4554]: sink-input.c: Requesting rewind due
 to uncorking
 Feb  1 20:42:09 ix pulseaudio[4554]: module-suspend-on-idle.c: Sink
 alsa_output.pci_8086_266e_sound_card_0_alsa_playback_0 becomes busy.
 Feb  1 20:42:09 ix pulseaudio[4554]: module-alsa-sink.c: Requested to
 rewind 65536 bytes.
 Feb  1 20:42:09 ix pulseaudio[4554]: module-alsa-sink.c: Limited to 536
 bytes.
 Feb  1 20:42:09 ix pulseaudio[4554]: module-alsa-sink.c: before: 134
 Feb  1 20:42:09 ix pulseaudio[4554]: module-alsa-sink.c: after: 134
 Feb  1 20:42:09 ix pulseaudio[4554]: module-alsa-sink.c: Rewound 536
 bytes.
 Feb  1 20:42:09 ix pulseaudio[4554]: sink.c: Processing rewind...
 Feb  1 20:42:09 ix pulseaudio[4554]: sink-input.c: Have to rewind 536
 bytes on render memblockq.
 Feb  1 20:42:09 ix pulseaudio[4554]: sink-input.c: Have to rewind 536
 bytes on render memblockq.
 Feb  1 20:42:09 ix pulseaudio[4554]: protocol-native.c: Requesting rewind
 due to end of underrun.
 Feb  1 20:42:11 ix pulseaudio[4554]: protocol-native.c: Requesting rewind
 due to end of underrun.
 Feb  1 20:42:12 ix pulseaudio[4554]: protocol-native.c: Requesting rewind
 due to end of underrun.
 Feb  1 20:42:14 ix pulseaudio[4554]: protocol-native.c: Requesting rewind
 due to end of underrun.
 Feb  1 20:42:15 ix pulseaudio[4554]: protocol-native.c: Requesting rewind
 due to end of underrun.
 Feb  1 20:42:17 ix pulseaudio[4554]: protocol-native.c: Requesting rewind
 due to end of underrun.
 Feb  1 20:42:18 ix pulseaudio[4554]: protocol-native.c: Requesting rewind
 due to end of underrun.
 Feb  1 20:42:20 ix pulseaudio[4554]: protocol-native.c: Requesting rewind
 due to end of underrun.
 }}}
 laptop:
 {{{
 Feb  1 21:26:11 4pll00555 pulseaudio[15301]: module-tunnel.c: Server
 signalled buffer overrun/underrun.
 Feb  1 21:26:11 4pll00555 pulseaudio[15301]: module-tunnel.c: Server
 reports playback started.
 Feb  1 21:26:11 4pll00555 pulseaudio[15301]: module-tunnel.c: Server
 signalled buffer overrun/underrun.
 Feb  1 21:26:11 4pll00555 pulseaudio[15301]: module-tunnel.c: Server
 reports playback started.
 Feb  1 21:26:11 4pll00555 pulseaudio[15301]: module-tunnel.c: Server
 signalled buffer overrun/underrun.
 Feb  1 21:26:12 4pll00555 pulseaudio[15301]: module-tunnel.c: Server
 reports playback started.
 Feb  1 21:26:12 4pll00555 pulseaudio[15301]: module-tunnel.c: Server
 signalled buffer overrun/underrun.
 }}}
 When I move the stream back to my local soundcard on the laptop the audio
 starts playing again. The interesting part is that, when I launch mplayer
 or rhythmbox and connect directly to ix's server using PULSE_SERVER env
 variable the audio plays fine. I have tried to test for this problem with
 both tsched=0 in module-detect-hal parameters and without it - no effect.

 Both of the boxes run Gentoo and the software on them is as follows:
 {{{
 4pll00555 (laptop):
 Kernel:  2.6.28-gentoo
 alsa-stuff:
 [I--] [ ~] media-libs/alsa-lib-1.0.19 (0)
 [I--] [ ~] media-plugins/alsa-plugins-1.0.19 (0)
 [I--] [ ~] media-sound/alsa-headers-1.0.19 (0)
 [I--] [ ~] media-sound/alsa-utils-1.0.19 (0.9)
 pulseaudio:
 [I--] [ ~] media-sound/pulseaudio-0.9.14 (0)
 }}}
 {{{
 ix (server):
 kernel: 2.6.28-gentoo-ix
 alsa-stuff:
 [I--] [M~] media-libs/alsa-lib-1.0.19 (0)
 [I--] [M~] media-sound/alsa-headers-1.0.19 (0)
 [I--] [M~] media-sound/alsa-utils-1.0.19 (0.9)
 pulseaudio: [I--] [M~] media-sound/pulseaudio-0.9.14 (0)
 }}}

 The hardware on ix is:
 {{{
 00:00.0 Host bridge: Intel Corporation 82915G/P/GV/GL/PL/910GL Memory
 Controller Hub (rev 04)
 00:01.0 PCI bridge: Intel Corporation 82915G/P/GV/GL/PL/910GL PCI Express
 Root Port (rev 04)
 00:02.0 VGA compatible controller: Intel Corporation 82915G/GV/910GL
 Integrated Graphics Controller (rev 04)
 00:02.1 Display controller: Intel Corporation 82915G Integrated Graphics
 Controller (rev 04)
 00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family)
 PCI Express Port 1 (rev 03)
 00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
 Family) USB UHCI #1 (rev 03)
 00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
 Family) USB UHCI #2 (rev 03)
 00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
 Family) USB UHCI #3 (rev 03)
 00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
 Family) USB UHCI #4 (rev 03)
 00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
 Family) USB2 EHCI Controller (rev 03)
 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d3)
 00:1e.2 Multimedia audio controller: Intel Corporation
 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)
 00:1f.0 ISA bridge: Intel Corporation 82801FB/FR (ICH6/ICH6R) LPC
 Interface Bridge (rev 03)
 00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
 Family) IDE Controller (rev 03)
 00:1f.2 IDE interface: Intel Corporation 82801FB/FW (ICH6/ICH6W) SATA
 Controller (rev 03)
 00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus
 Controller (rev 03)
 02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751
 Gigabit Ethernet PCI Express (rev 01)
 }}}

 spitfire: Can you provide some info on your sw and hw configurations ?
 Maybe we're having a similar issue.

 Best regards,
 Maciej Grela

-- 
Ticket URL: <http://www.pulseaudio.org/ticket/456#comment:4>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server


More information about the pulseaudio-bugs mailing list