View previous topic :: View next topic |
Author |
Message |
vtrac Tux's lil' helper
Joined: 16 Apr 2004 Posts: 86
|
Posted: Tue May 27, 2008 6:17 pm Post subject: Flash sound locks up ALSA |
|
|
I just noticed this a few days ago.. I'm not sure what package upgrades could have caused this, but was wondering if anyone else is having this issue. I'm using in-kernel ALSA (not as a module). All of my alsa apps play fine, but if:
1) ALSA is in use - flash video (e.g. youtube) plays without sound for 2 seconds and stops. Other audio continues to play and mix fine.
or
2) ALSA is not in use - flash plays fine, but then all other audio results in:
Code: |
ALSA lib pcm_dmix.c:996:(snd_pcm_dmix_open) unable to open slave
aplay: main:564: audio open error: Device or resource busy
|
I then can't use any other audio device until I kill/restart Firefox.
This happens in both FF3 and Flock, so it is something specific to flash. Anyone come across this? |
|
Back to top |
|
|
bunder Bodhisattva
Joined: 10 Apr 2004 Posts: 5934
|
Posted: Tue May 27, 2008 6:18 pm Post subject: |
|
|
downgrade alsa-lib.
cheers _________________
Neddyseagoon wrote: | The problem with leaving is that you can only do it once and it reduces your influence. |
banned from #gentoo since sept 2017 |
|
Back to top |
|
|
vtrac Tux's lil' helper
Joined: 16 Apr 2004 Posts: 86
|
Posted: Tue May 27, 2008 6:24 pm Post subject: |
|
|
bunder wrote: | downgrade alsa-lib.
cheers |
Yup.. that works. Is there a bug report for this? (if not, I'll submit one) |
|
Back to top |
|
|
bunder Bodhisattva
Joined: 10 Apr 2004 Posts: 5934
|
|
Back to top |
|
|
bunder Bodhisattva
Joined: 10 Apr 2004 Posts: 5934
|
Posted: Wed May 28, 2008 10:06 am Post subject: |
|
|
figures they would close it on me because i don't feel like upgrading my kernel. if you're using a newer kernel and have the same problem, i would file a bug yourself... seeing as the alsa devs don't want to help me, i am masking alsa-* permanently. it's not what i wanted to do, but if they want to treat this like it's my fault, so be it. _________________
Neddyseagoon wrote: | The problem with leaving is that you can only do it once and it reduces your influence. |
banned from #gentoo since sept 2017 |
|
Back to top |
|
|
Oak Apprentice
Joined: 25 Jan 2005 Posts: 239 Location: Sweden
|
Posted: Mon Aug 10, 2009 4:45 pm Post subject: |
|
|
I have this problem as well, but since versions below 1.0.17a aren't available in portage, I can't downgrade.
Any solutions to this?
gentoo-2.6.30-r2
Intel HDA _________________ GCC-4.3.3-r1 - march=core2, gentoo-sources-2.6.30-r2 SMP x86_64 @ Core2Duo 2.4GHz, 4GB RAM |
|
Back to top |
|
|
shira Tux's lil' helper
Joined: 27 Aug 2002 Posts: 122
|
Posted: Sun Aug 16, 2009 3:46 am Post subject: |
|
|
I got caught in this mess as well.
2.6.30-gentoo-r4
alsa lib/tools/utils 1.0.20-r1
intel8x0 |
|
Back to top |
|
|
shira Tux's lil' helper
Joined: 27 Aug 2002 Posts: 122
|
Posted: Wed Aug 26, 2009 11:26 pm Post subject: |
|
|
Is anyone else fighting with this issue? |
|
Back to top |
|
|
mikegpitt Advocate
Joined: 22 May 2004 Posts: 3224
|
Posted: Thu Aug 27, 2009 1:51 am Post subject: |
|
|
I might also have this issue. I thought it had to do with firefox, but it might have been due to an alsa update. Even since I updated to firefox 3.0.11 (and now 3.5.x) I started having problems with flash and audio. I definitely experienced the youtube audio freezes. Typically just closing out firefox and restarting it will solve the issue. Now that I know it might be related to alsa, I'll experiment a bit more with the issue. |
|
Back to top |
|
|
shira Tux's lil' helper
Joined: 27 Aug 2002 Posts: 122
|
Posted: Thu Aug 27, 2009 2:39 am Post subject: |
|
|
Yeah
In my case, it looks like the automagic dmix for less sophisticated soundcards is either disabled or non-functional. |
|
Back to top |
|
|
Oak Apprentice
Joined: 25 Jan 2005 Posts: 239 Location: Sweden
|
Posted: Fri Aug 28, 2009 12:10 pm Post subject: |
|
|
This really sucks. Any news about this problem yet? _________________ GCC-4.3.3-r1 - march=core2, gentoo-sources-2.6.30-r2 SMP x86_64 @ Core2Duo 2.4GHz, 4GB RAM |
|
Back to top |
|
|
OPelerin Guru
Joined: 17 Jul 2004 Posts: 354 Location: Belgium
|
Posted: Sat Aug 29, 2009 8:48 pm Post subject: |
|
|
I think I've something similar.
Since few months, if I keep firefox for few hours, then when I play something on youtube and others, the sounds get crappy [ eg it repeats the first half second 10 to 20 times and then do the same for an another half second 10 to 20 times and so on.
Restarting firefox always fixes the issue.
In my case, I've a pretty recent kernel.
Quote: |
uname -a
Linux kroupouk 2.6.30-gentoo-r4 #1 SMP Fri Jul 24 07:42:57 CEST 2009 i686 Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz GenuineIntel GNU/Linux
|
PC is fully up to date....
It's happening on my T60P lenovo laptop
Quote: |
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
|
Wierd enough, I never saw that on my old pc....
kroupouk olpeleri # uname -a
Linux kroupouk 2.6.30-gentoo-r4 #1 SMP Fri Jul 24 07:42:57 CEST 2009 i686 Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz GenuineIntel GNU/Linux _________________ Olivier PELERIN |
|
Back to top |
|
|
OPelerin Guru
Joined: 17 Jul 2004 Posts: 354 Location: Belgium
|
Posted: Mon Sep 07, 2009 8:23 am Post subject: |
|
|
I've removed esd from /etc/make.conf and did an emerge --newuse.
Since then... no issues are seen _________________ Olivier PELERIN |
|
Back to top |
|
|
zalx n00b
Joined: 07 Apr 2007 Posts: 12
|
|
Back to top |
|
|
mikegpitt Advocate
Joined: 22 May 2004 Posts: 3224
|
Posted: Wed Nov 04, 2009 8:34 pm Post subject: |
|
|
Anyone in this thread still experiencing the alsa/flash/firefox problem? I've not had any improvement of the situation... |
|
Back to top |
|
|
mikegpitt Advocate
Joined: 22 May 2004 Posts: 3224
|
Posted: Wed Dec 09, 2009 5:25 am Post subject: |
|
|
I noticed today that when sound is locked in firefox, sound still works in chromium, so I guess in my case that the problem is more related to firefox and not flash. These problems also seem to occur typically after suspending my machine... |
|
Back to top |
|
|
mikegpitt Advocate
Joined: 22 May 2004 Posts: 3224
|
Posted: Thu Dec 10, 2009 1:54 pm Post subject: |
|
|
fedrorpet wrote: | I think the true fix here is abolishing ESD completely and making Ubuntu use ALSA plain (which works for many people) for everything. Then I could have the OS sounds (I want to hear the beautiful startup/shutdown sounds without ESD) and other nice stuff without all the hassle regarding the alsa-oss package, which only manages to make Firefox lock up whenever I try it. | My system is pure alsa -- no esd or pulseaudio. Every application has worked fine for years, until firefox earlier this year. I think I first started noticing the problems with the 3.0 branch around the same time 3.5 was released. I can't remember exactly which 3.0.x began the problems however. |
|
Back to top |
|
|
timeBandit Bodhisattva
Joined: 31 Dec 2004 Posts: 2719 Location: here, there or in transit
|
Posted: Fri Dec 11, 2009 9:26 pm Post subject: |
|
|
fedrorpet wrote: | I think the true fix here is abolishing ESD completely and making Ubuntu use ALSA plain (which works for many people) for everything. | On the other hand, I think the true fix is to ban spambots. I win. _________________ Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others. |
|
Back to top |
|
|
|