View previous topic :: View next topic |
Author |
Message |
octanez Tux's lil' helper
Joined: 18 Apr 2004 Posts: 149 Location: Washington DC Metro, USA, Earth
|
Posted: Mon May 19, 2008 5:51 pm Post subject: [SOLVED] Flash/npviewer.bin breaks ALSA sound (not Flash) |
|
|
After viewing a website with flash, YouTube, etc; mpd would hang. Killing firefox would fix this, more specifically, just killing npviewer.bin would restore sound.
When trying to play something with mpg321 it would just hang with no output, playing something with mplayer resulted in: Code: | ==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 192.0 kbit/13.61% (ratio: 24000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy
[AO_ALSA] alsa-lib: pcm_dmix.c:996:(snd_pcm_dmix_open) unable to open slave
[AO_ALSA] Playback open error: Device or resource busy
mcop warning: user defined signal handler found for SIG_PIPE, overriding |
I am using: Code: | www-client/mozilla-firefox-2.0.0.14
net-www/netscape-flash-9.0.124.0
net-www/nspluginwrapper-0.9.91.5-r1
media-libs/alsa-lib-1.0.16
media-sound/alsa-headers-1.0.16
media-sound/alsa-tools-1.0.16
media-sound/alsa-utils-1.0.16 |
Solution: upgrading to app-emulation/emul-linux-x86-soundlibs-20080418 fixed the sound issue. _________________ Adopt an orphan
Last edited by octanez on Mon May 19, 2008 7:58 pm; edited 2 times in total |
|
Back to top |
|
|
YetiBarBar Guru
Joined: 23 Dec 2005 Posts: 532
|
Posted: Mon May 19, 2008 7:44 pm Post subject: |
|
|
Hi!
Which version of emul-linux-x86-soundlib are you using at the time?
I means only 20080418 and perhaps (but not sure) 20080316 are based on alsa-lib 1.0.16 and only those will work properly with flash but they are ~amd64 and alsa-lib-1.0.16. |
|
Back to top |
|
|
octanez Tux's lil' helper
Joined: 18 Apr 2004 Posts: 149 Location: Washington DC Metro, USA, Earth
|
Posted: Mon May 19, 2008 7:49 pm Post subject: |
|
|
YetiBarBar wrote: | Which version of emul-linux-x86-soundlib are you using at the time? |
Code: | app-emulation/emul-linux-x86-soundlibs-20071125 |
YetiBarBar wrote: | I means only 20080418 and perhaps (but not sure) 20080316 are based on alsa-lib 1.0.16 and only those will work properly with flash but they are ~amd64 and alsa-lib-1.0.16. |
Thanks, I will try upgrading to ~20080418! _________________ Adopt an orphan |
|
Back to top |
|
|
chacha n00b
Joined: 21 Apr 2008 Posts: 5
|
Posted: Tue May 20, 2008 12:58 pm Post subject: Problem with alsa |
|
|
Hey guys,
I am currently experiencing a problem I don't how to solve at all.
For one week, I haven't been able to use (mplayer or amarok) WITH flash.
If I first play music with amarok, then no sound comes from the flash video (but it is properly playing)
If I first play the flash video, then mplayer tells me
[AO_ALSA] alsa-lib: pcm_dmix.c:996:(snd_pcm_dmix_open) unable to open slave
[AO_ALSA] Erreur ouverture de lecture : Device or resource busy
An other issue is that skype tells me there is a problem with audio playback. However Everything was perfectly working before.
And I can have amarok and mplayer playing music at the same time.
I tried to update to a new kernel, supress oss support, but the problem is I don't even know where it can come from.
Right now I am hesitating of reinstalling a new gentoo....
Thanks _________________ Hicham Tahiri |
|
Back to top |
|
|
aidy l33t
Joined: 07 Apr 2005 Posts: 915
|
Posted: Tue May 20, 2008 12:59 pm Post subject: |
|
|
<3<3<3<3<3!
thanks a lot for the suggestion |
|
Back to top |
|
|
octanez Tux's lil' helper
Joined: 18 Apr 2004 Posts: 149 Location: Washington DC Metro, USA, Earth
|
Posted: Tue May 20, 2008 2:37 pm Post subject: |
|
|
Are you on AMD64 and using nspluginwrapper? If so check out this solution. _________________ Adopt an orphan |
|
Back to top |
|
|
chacha n00b
Joined: 21 Apr 2008 Posts: 5
|
Posted: Tue May 20, 2008 5:20 pm Post subject: |
|
|
Thanks so much! I have been looking for a solution for days, and everything solved within 2 steps!
Thanks again! _________________ Hicham Tahiri |
|
Back to top |
|
|
bunder Bodhisattva
Joined: 10 Apr 2004 Posts: 5934
|
Posted: Tue May 20, 2008 5:31 pm Post subject: |
|
|
merged some posts. _________________
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 |
|
|
hcintra n00b
Joined: 27 Jan 2005 Posts: 51
|
Posted: Tue May 20, 2008 5:44 pm Post subject: |
|
|
Great... This is right on the mark. Pity I didn't find it before going through the hurdle of re-compiling the kernel, re-running alsaconf and the works...
Though the fact that killing npviewer.bin returns sound immediately, it is a funny thing that my alsasound initscript got lost. What could have eliminated the entry from my rc-update db appears to be beyond the solution, which nevertheless works. |
|
Back to top |
|
|
robnotts Guru
Joined: 15 Mar 2004 Posts: 405 Location: Nottingham, UK
|
Posted: Wed May 21, 2008 12:19 pm Post subject: |
|
|
Thanks for the fix... all working wonderfully again _________________ ---
Gentoo Phenom][ X4 955 on AMD790 + Geforce 220GT 8GB/1.75TB (Desktop)
+ MythTV (3xFreeview,1xFreesat HD) on 1080p
Gentoo Turion64 X2 Geforce 6150 2GB/120GB (Laptop) |
|
Back to top |
|
|
zAfi Apprentice
Joined: 08 Aug 2006 Posts: 220 Location: Austria
|
Posted: Sat May 31, 2008 7:50 pm Post subject: |
|
|
thank you! fixed it for me as well. _________________ Gentoo 2008.0/desktop | Kernel: 2.6.27-tuxonice | Arch: amd64 | KDE 3.5.9 | WU Wien |
----------
Share your kernel information @ http://klive.cpushare.com/ |
|
Back to top |
|
|
regomodo Guru
Joined: 25 Mar 2008 Posts: 445
|
Posted: Mon Jun 09, 2008 8:01 am Post subject: |
|
|
cheers. Upgrading emul-linux-x86-soundlibs worked on my amd64 box. |
|
Back to top |
|
|
gentunian Tux's lil' helper
Joined: 10 Jul 2006 Posts: 118 Location: Río Cuarto, Argentina
|
Posted: Sun Jun 22, 2008 10:47 pm Post subject: |
|
|
regomodo wrote: | cheers. Upgrading emul-linux-x86-soundlibs worked on my amd64 box. |
I have the same problem and I started a new thread in:
https://forums.gentoo.org/viewtopic.php?p=5129563#5129563
I updated the soundlibs:
Code: |
app-emulation/emul-linux-x86-soundlibs
selected: 20071125
protected: 20080418
omitted: none |
I restarted alsasound but the problem arises again when I for example ran 2 mplayer in 2 consoles. The first one start playing music while the second one (i mean first and second in the order of time) still gives me this error:
Code: | [AO OSS] audio_setup: Imposible abrir dispositivo de audio /dev/dsp: Device or resource busy
[AO_ALSA] alsa-lib: pcm_dmix.c:996:(snd_pcm_dmix_open) unable to open slave
[AO_ALSA] Error de apertura en la reproducción: Device or resource busy
[AO SDL] Samplerate: 44100Hz Canales: Stereo Formato s16le
[AO_ALSA] alsa-lib: pcm_dmix.c:996:(snd_pcm_dmix_open) unable to open slave
[AO SDL] Imposible abrir audio: No available audio device |
Any other way to solve this? _________________ Si un pueblo tiene hambre, no le des un pez. Enséñale a pescar.
http://labombiya.com.ar |
|
Back to top |
|
|
|