Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on AMD64
  • Search

[SOLVED] Flash/npviewer.bin breaks ALSA sound (not Flash)

Have an x86-64 problem? Post here.
Locked
Advanced search
13 posts • Page 1 of 1
Author
Message
octanez
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 149
Joined: Sun Apr 18, 2004 12:37 am
Location: Washington DC Metro, USA, Earth

[SOLVED] Flash/npviewer.bin breaks ALSA sound (not Flash)

  • Quote

Post by octanez » Mon May 19, 2008 5:51 pm

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: Select all

==========================================================================
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: Select all

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.
Last edited by octanez on Mon May 19, 2008 7:58 pm, edited 2 times in total.
Adopt an orphan
Top
YetiBarBar
Guru
Guru
Posts: 532
Joined: Fri Dec 23, 2005 5:21 pm

  • Quote

Post by YetiBarBar » Mon May 19, 2008 7:44 pm

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.
Top
octanez
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 149
Joined: Sun Apr 18, 2004 12:37 am
Location: Washington DC Metro, USA, Earth

  • Quote

Post by octanez » Mon May 19, 2008 7:49 pm

YetiBarBar wrote:Which version of emul-linux-x86-soundlib are you using at the time?

Code: Select all

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
Top
chacha
n00b
n00b
Posts: 5
Joined: Mon Apr 21, 2008 1:22 pm

Problem with alsa

  • Quote

Post by chacha » Tue May 20, 2008 12:58 pm

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
Top
aidy
l33t
l33t
Posts: 915
Joined: Thu Apr 07, 2005 8:46 am

  • Quote

Post by aidy » Tue May 20, 2008 12:59 pm

<3<3<3<3<3!
thanks a lot for the suggestion :)
Top
octanez
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 149
Joined: Sun Apr 18, 2004 12:37 am
Location: Washington DC Metro, USA, Earth

  • Quote

Post by octanez » Tue May 20, 2008 2:37 pm

Are you on AMD64 and using nspluginwrapper? If so check out this solution.
Adopt an orphan
Top
chacha
n00b
n00b
Posts: 5
Joined: Mon Apr 21, 2008 1:22 pm

  • Quote

Post by chacha » Tue May 20, 2008 5:20 pm

Thanks so much! I have been looking for a solution for days, and everything solved within 2 steps!
Thanks again!
Hicham Tahiri
Top
bunder
Bodhisattva
Bodhisattva
Posts: 5956
Joined: Sat Apr 10, 2004 5:13 am

  • Quote

Post by bunder » Tue May 20, 2008 5:31 pm

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
Top
hcintra
n00b
n00b
Posts: 51
Joined: Thu Jan 27, 2005 3:51 pm

  • Quote

Post by hcintra » Tue May 20, 2008 5:44 pm

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.
Top
robnotts
Guru
Guru
User avatar
Posts: 405
Joined: Mon Mar 15, 2004 11:27 pm
Location: Nottingham, UK
Contact:
Contact robnotts
Website

  • Quote

Post by robnotts » Wed May 21, 2008 12:19 pm

Thanks for the fix... all working wonderfully again :lol:
---

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)
Top
zAfi
Apprentice
Apprentice
User avatar
Posts: 220
Joined: Tue Aug 08, 2006 7:49 pm
Location: Austria

  • Quote

Post by zAfi » Sat May 31, 2008 7:50 pm

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/
Top
regomodo
Guru
Guru
Posts: 445
Joined: Tue Mar 25, 2008 8:19 pm
Contact:
Contact regomodo
Website

  • Quote

Post by regomodo » Mon Jun 09, 2008 8:01 am

cheers. Upgrading emul-linux-x86-soundlibs worked on my amd64 box.
Top
gentunian
Tux's lil' helper
Tux's lil' helper
Posts: 118
Joined: Mon Jul 10, 2006 6:51 am
Location: Río Cuarto, Argentina
Contact:
Contact gentunian
Website

  • Quote

Post by gentunian » Sun Jun 22, 2008 10:47 pm

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:

http://forums.gentoo.org/viewtopic.php? ... 63#5129563

I updated the soundlibs:

Code: Select all

 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: Select all

[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
Top
Locked

13 posts • Page 1 of 1

Return to “Gentoo on AMD64”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic