Maybe these bugs are related/duplicates?

  * bug #471203
  * bug #471607
  * bug #498678
  * bug #499112


@Micah Gersten:

The problem still remains with an empty profile, like keinerwieder, and
also within Firefox safe mode.


@keinerwieder and others that may have this issue:

I made some tests and I would like your help to see if the errors apply
to other people. Can you please test if the videos/animations work with
no sound system working at all? Just close all browsers instances, run
the following commands and test with some Youtube or other video that
used not to work:

Edit /etc/pulse/client.conf and add the line "autospawn = no" to it,
without the quotes, of course.

$ sudo service alsasound stop
$ pulseaudio -k              

Make sure that pulseaudio is not working, so run "ps aux | grep pulse".
No /usr/bin/pulseaudio should be listed. Try some flash videos now. Send
us a feedback telling if the video worked. Thanks!!

PS: to get sound working again, remove the line added to
/etc/pulse/client.conf and restart the system.


@all:

I had some guesses of what was causing this issue. I'm quite sure it is
some sound related problem. Quite sure that it's not a Firefox problem
as well, because this affects Epiphany and Konqueror too. And maybe
affects other players like Totem, as I will add some example later.
Anyway, I don't know if it's a Gstreamer problem, Pulse, Alsa or the
connection module between Pulse and Alsa.

First let me explain what happens to me: I try to watch an Youtube
video; it starts loading and playing, with video and sound working
perfectly; at some random point, sound and video stop; the button that
indicates the video position jumps to some random time, seconds ahead,
while I can see the "buffering" animation; the jump happens two or more
times and Firefox freezes. If I try to watch a video at Youtube through
Totem, exactly the same happens! Except that I can see the buffer
loading a lot of times until 100%, the jump occurs, the buffer gets
filled again and so on.

With Totem I found how to get some debug messages with the following
command:

$ GST_DEBUG=*:2 totem --debug

And at some point of the messages I get something like:

0:00:42.025612547 32291  0x962a8a0 WARN                   pulse
pulsesink.c:523:gst_pulsering_stream_underflow_cb:<audio-sink> Got
underflow

After a while, the error happens and I get the prompt full of messages
from ffmpeg dropping frames.

With this warning from Pulse, I suspected about the audio system. I
tried turning Pulse off, but the sound continues in Flash, as I think it
uses Alsa. At Totem, with no sound, the video worked perfectly. So I
turned off Alsa too, and got the video working at Firefox, obviously
with no sound.

At Firefox I get *a lot* of these lines with Pulse and Alsa off:

ALSA lib pcm_direct.c:1494:(_snd_pcm_direct_get_slave_ipc_offset) Invalid value 
for card
ALSA lib pcm_hw.c:1435:(_snd_pcm_hw_open) Invalid value for card

Strangely, I can't get audio back in Firefox after starting Pulse and
Alsa services again, I must restart the PC. I don't know why.

I attached the syslog part of a session of pulseaudio run with --log-
level=debug. An Youtube video in Firefox was started at 21:42:44 and the
error happened around 21:43:35.

Thanks for your help.


PS: Really sorry for the long post.


** Attachment added: "syslog-pulseaudio-session"
   http://launchpadlibrarian.net/37195847/syslog-pulseaudio-session

-- 
flash plugin is not working with several web sites ( megavideo.com ... )
https://bugs.launchpad.net/bugs/496987
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to