[Bug 571035] [NEW] No sound in Flash videos after hibernate

Launchpad Bug Tracker 571035 at bugs.launchpad.net
Tue Jun 22 19:04:29 UTC 2010


You have been subscribed to a public bug:

Binary package hint: firefox-3.5

My bug is like some, but not all of the problems I've seen mentioned in
bug 302276.

If I hibernate with firefox running, when I wake the system back up,
flash videos have no sound unless I restart firefox.  I am running alsa
without pulseaudio.  After waking the system, when sound is not working
I have the following:

$ sudo fuser -v /dev/dsp* /dev/snd/* /dev/seq*
                     USER        PID ACCESS COMMAND
/dev/snd/pcmC0D0p:   hursh      2275 F...m rhythmbox
                     hursh     32694 F...m firefox
/dev/snd/seq:        timidity   1826 F.... timidity

I can fix it by quiting firefox and restarting it.  I can just use the
quite option in the menu.  I do not need to forcefully kill firefox as
others have.  I would be happy with a work around that does not require
terminating firefox since that kind of defeats the purpose of
hibernating.

Other info:
1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu.
$ lsb_release -rd
Description:	Ubuntu 9.10
Release:	9.10

2) The version of the package you are using, via 'apt-cache policy packagename' or by checking in Synaptic.
$ apt-cache policy firefox flashplugin-installer
firefox:
  Installed: 3.5.9+nobinonly-0ubuntu0.9.10.1
  Candidate: 3.5.9+nobinonly-0ubuntu0.9.10.1
  Version table:
 *** 3.5.9+nobinonly-0ubuntu0.9.10.1 0
        500 http://ca.archive.ubuntu.com karmic-updates/main Packages
        500 http://security.ubuntu.com karmic-security/main Packages
        100 /var/lib/dpkg/status
     3.5.3+build1+nobinonly-0ubuntu6 0
        500 http://ca.archive.ubuntu.com karmic/main Packages
flashplugin-installer:
  Installed: 10.0.45.2ubuntu0.9.10.1
  Candidate: 10.0.45.2ubuntu0.9.10.1
  Version table:
 *** 10.0.45.2ubuntu0.9.10.1 0
        500 http://ca.archive.ubuntu.com karmic-updates/multiverse Packages
        500 http://security.ubuntu.com karmic-security/multiverse Packages
        100 /var/lib/dpkg/status
     10.0.32.18ubuntu1 0
        500 http://ca.archive.ubuntu.com karmic/multiverse Packages

3) What you expected to happen
I expect sound in flash videos after I hibernate.  I would at least like to not have to restart application after hibernating.  Restarting a driver or or some other (seemingly) non-stateful thing would be fine.

4) What happened instead
After hibernate, flash videos in firefox have no sound.  This is true for pages that where open when the system was put into hibernation and for pages that where opened after awakening from hibernation.  Quitting firefox and restarting it restores sound.  This only seems affects flash videos.  It may have affected ogg videos before, but I can't say with certainty.  I do not use pulseaudio, so it cannot be a pulse issue.  I have a multi-open sound card so it is not an issue with one application blocking the sound card.

Having just looked at the directions for reporting firefox problems, I
did not create a clean profile prior to my last hibernate.  I'll try to
do that in the next day.  I also had not started firefox from a
terminal.  I'll do that as well.  I have the problem with many web
sites.  Youtube is common.  The site at the moment is
'http://www.gearheadrpg.com/?p=85' with an embedded Gundam video that I
assume has sound.  The 'http://freegamer.blogspot.com/2010/04/open-
source-rpgs-coming-up-dawn-rpg.html' has several embedded videos that
had no sound.  Interestingy enough, the tinyogg link for one of the
videos did have sound.  I don't know if that means ogg is not affected
or if it is just because I hadn't viewed any ogg videos prior to
hibernating.  The page 'http://www.youtube.com/watch?v=2_HXUhShhmY' had
sound last night and I know 'http://www.youtube.com/watch?v=X3aV1yHQtfU'
has sound as well.

Having just looked at the sound problem reporting page, I have the
problem with the grep error and I do not have alsa-info.sh on my system.

$ locate alsa-info.sh
$

I do have sound on my system as with the tinyogg video mentioned above
and several other apps.  Rhythmbox was open before the hibernate and
continues to work.

Concerning volume levels, my volume levels in alsamixer are the same as
they were before I hibernated.  Center and Surround where both set to
zero, but I always have them that way since they do not appear to affect
anything.  I run normal 2 speaker stereo with a subwoofer.  To test, I
raised both of them and it did not restore sound for flash videos.

I only have one sound device visible to the system.  I have a Realtek
sound device that is disabled in bios since it had considerable problems
with pulseaudio and and without pulseaudio it had a few sound issies and
also required aoss for some oss applications I run.

cat /proc/asound/cards
 0 [Live           ]: EMU10K1 - SB Live! Value [CT4832]
                      SB Live! Value [CT4832] (rev.8, serial:0x80271102) at 0xd000, irq 19


My permissions were ok and the sound server did not respond, which I expect since gnome only  supports pulseaudio.

I do have a .asoundrc & .asoundrc.asoundconf setup to use the Live card
and I'd rather not delete unless I know I need to because I believe I
need them to get sound.  Also, I would question why this would cause a
problem only after hibernate though I admit I have no expertise on the
matter.  I will try it if someone believes this step is necessary for
this problem.

Since I opened this bug using the option in the firefox Help menu, I
suspect I am missing debug information that might come from 'ubuntu-bug
-p alsa-base'.  I don't know if this is a firefox issue, a flash issue
or a sound issue.  I have to pick one.  Let me know if I need to gather
more data.

Thanks

ProblemType: Bug
Architecture: i386
Date: Tue Apr 27 19:20:56 2010
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
NonfreeKernelModules: nvidia
Package: firefox-3.5 3.5.9+nobinonly-0ubuntu0.9.10.1
ProcEnviron:
 PATH=(custom, user)
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-20.58-generic
SourcePackage: firefox-3.5
Uname: Linux 2.6.31-20-generic i686
--- 
Architecture: i386
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
NonfreeKernelModules: nvidia
Package: firefox-3.5 3.6.3+nobinonly-0ubuntu4
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_CA.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
Tags: lucid
Uname: Linux 2.6.32-22-generic i686
UserGroups: adm admin audio cdrom dialout lpadmin plugdev sambashare sudo

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug apport-collected i386
-- 
No sound in Flash videos after hibernate
https://bugs.launchpad.net/bugs/571035
You received this bug notification because you are a member of Kernel Bugs, which is subscribed to linux in ubuntu.




More information about the kernel-bugs mailing list