Ticket #786 (new defect)

Opened 5 weeks ago

Last modified 3 weeks ago

When sound at remote sink, "client" gets buffer underrun and sound doesn't work

Reported by: Konstigt Owned by: lennart
Milestone: Component: daemon
Keywords: remote sink buffer underrun Cc: michal@…

Description

(copy of problem description from Launchpad bug #511562)

When I use Firefox or Chrome for watching a flash video from Youtube for example, all works good. I then transfer the sound to a remote sink using Sound Preferences > Output > Internal Audio Analog Stereo on myuser@otherhost.

After this is done, the flash video halts. This is also true if I restart firefox and start a new video, already having transferred the sound. Sometimes you can see the video taking huge skips forward. For example, on a 3 minute music video, I see 3-4 different frames from different places in the video.

The sound is OK though!

100% reproducible and if I transfer the sound back to local speakers the video resumes and plays perfectly.

Edit:

This doesn't affect just flash, it affects pretty much all applications I can think of.

I have narrowed it down to a buffer underrun problem and I can reproduce it by starting a mp3 with rhythmbox, a Xvid video with VLC, a wav-file with aplay etc.

Attachments

totem.log (4.8 kB) - added by Konstigt 5 weeks ago.
Example of how it looks on the client
aplay.log (4.2 kB) - added by Konstigt 5 weeks ago.
Example of how it looks on the client with aplay

Change History

Changed 5 weeks ago by Konstigt

Example of how it looks on the client

Changed 5 weeks ago by Konstigt

Example of how it looks on the client with aplay

Changed 5 weeks ago by Konstigt

$ apt-cache policy pulseaudio pulseaudio:

Installed: 1:0.9.21-0ubuntu3~~karmic~ubuntuaudiodev1 Candidate: 1:0.9.21-0ubuntu3~~karmic~ubuntuaudiodev1 Version table:

*** 1:0.9.21-0ubuntu3~~karmic~ubuntuaudiodev1 0

500 http://ppa.launchpad.net karmic/main Packages 100 /var/lib/dpkg/status

1:0.9.19-0ubuntu4.1 0

500 http://se.archive.ubuntu.com karmic-updates/main Packages

1:0.9.19-0ubuntu4 0

500 http://se.archive.ubuntu.com karmic/main Packages

Same version on both server and client.

Changed 5 weeks ago by Saviq

  • cc michal@… added

I'm having similar issues on openSUSE 11.2 > Gentoo, both at PA 0.9.21.

Source reports:

D: protocol-native.c: Underrun on Third Eye' autorstwa 'Tool, 0 bytes in queue. D: protocol-native.c: Requesting rewind due to rewrite. D: protocol-native.c: Requesting rewind due to rewrite. D: protocol-native.c: Requesting rewind due to rewrite. D: protocol-native.c: Requesting rewind due to rewrite.

Nothing interesting on the remote server, though.

Changed 3 weeks ago by Konstigt

Since reporting this bug both client and server has new versions of PA. Client is now Ubuntu Lucid

ii pulseaudio 1:0.9.22~0.9.21+stable-queue-32-g8478-0ubuntu4~~karmic~ubuntuaudiodev1 PulseAudio sound server

Server has almost the same version from the sound-devel ppa:

ii pulseaudio 1:0.9.22~0.9.21+stable-queue-32-g8478-0ubuntu5 PulseAudio sound server

Same problem though!

Note: See TracTickets for help on using tickets.