public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Absolutely no sound whatsoever after latest emerge update
@ 2008-09-26  6:14 Walter Dnes
  2008-09-26 14:27 ` Willie Wong
  2008-09-27 14:56 ` [gentoo-user] " ΔΗΜΗΤΡΙΟΣ ΡΟΠΟΚΗΣ
  0 siblings, 2 replies; 9+ messages in thread
From: Walter Dnes @ 2008-09-26  6:14 UTC (permalink / raw
  To: Gentoo Users List

  Like the subject line says... all quiet on the Gentoo sound front,
which is bad when I want music.  Here's what mplayer says (note the last
4 lines)...

[d530][waltdnes][~] mplayer /home/misc/movies/flv/dancing_monkeys.flv
MPlayer dev-SVN-r26753-4.1.2 (C) 2000-2008 MPlayer Team
CPU: Genuine Intel(R) CPU            2140  @ 1.60GHz (Family: 6, Model: 15, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Playing /home/misc/movies/flv/dancing_monkeys.flv.
Cache fill:  3.96% (1328800 bytes)
libavformat file format detected.
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
VIDEO:  [FLV1]  320x240  0bpp  29.970 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffflv] vfm: ffmpeg (FFmpeg Flash video)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 22050 Hz, 2 ch, s16le, 8.0 kbit/1.13% (ratio: 1000->88200)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
[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
DVB card number must be between 1 and 4
AO: [null] 22050Hz 2ch s16le (2 bytes per sample)



  mpg123 doesn't work

[d530][waltdnes][~] mpg123 /home/misc/music/pop_standards/Tennessee_Waltz_-_Patti_Page.mp3
ALSA lib pcm_dmix.c:996:(snd_pcm_dmix_open) unable to open slave
[alsa.c:146] error: cannot open device default
[audio.c:517] error: failed to open audio device
[mpg123.c:709] error: Failed to initialize output, goodbye.



  neither does mpg321

[d530][waltdnes][~] mpg321 /home/misc/music/pop_standards/Tennessee_Waltz_-_Patti_Page.mp3
No default libao driver available.



  my make.conf contains the following lines of interest

USE="-* X a52 aac bzip2 dga doc dri exif ffmpeg flac gif jpeg mmx mng mp3 mpeg nptl nptlonly nsplugin offensive ogg opengl png posix sse sse2 theora threads tiff truetype vim-syntax vorbis win32codecs wmf xcomposite xpm xv xvid zlib"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol"


  and uname says...

[d530][waltdnes][~] uname -a
Linux d530 2.6.25-gentoo-r7 #1 SMP Wed Aug 13 02:42:40 EDT 2008 i686
Genuine Intel(R) CPU 2140 @ 1.60GHz GenuineIntel GNU/Linux


  Any ideas?

-- 
Walter Dnes <waltdnes@waltdnes.org>



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Absolutely no sound whatsoever after latest emerge update
  2008-09-26  6:14 [gentoo-user] Absolutely no sound whatsoever after latest emerge update Walter Dnes
@ 2008-09-26 14:27 ` Willie Wong
  2008-09-27  7:35   ` [gentoo-user] [Resolved] " Walter Dnes
  2008-09-27 14:56 ` [gentoo-user] " ΔΗΜΗΤΡΙΟΣ ΡΟΠΟΚΗΣ
  1 sibling, 1 reply; 9+ messages in thread
From: Willie Wong @ 2008-09-26 14:27 UTC (permalink / raw
  To: gentoo-user

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=unknown-8bit, Size: 2377 bytes --]

On Fri, Sep 26, 2008 at 02:14:48AM -0400, Penguin Lover Walter Dnes squawked:
> [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
> DVB card number must be between 1 and 4
> AO: [null] 22050Hz 2ch s16le (2 bytes per sample)

This points to an issue with your alsa configuration/installation.

>   mpg123 doesn't work
> 
> [d530][waltdnes][~] mpg123 /home/misc/music/pop_standards/Tennessee_Waltz_-_Patti_Page.mp3
> ALSA lib pcm_dmix.c:996:(snd_pcm_dmix_open) unable to open slave
> [alsa.c:146] error: cannot open device default
> [audio.c:517] error: failed to open audio device
> [mpg123.c:709] error: Failed to initialize output, goodbye.

Same error as above, a problem with alsa. 

>   neither does mpg321
> 
> [d530][waltdnes][~] mpg321 /home/misc/music/pop_standards/Tennessee_Waltz_-_Patti_Page.mp3
> No default libao driver available.

Not quite sure what the error is, perhaps you need to run mpg321
verbosely. 
>   my make.conf contains the following lines of interest
> 
> USE="-* X a52 aac bzip2 dga doc dri exif ffmpeg flac gif jpeg mmx mng mp3 mpeg nptl nptlonly nsplugin offensive ogg opengl png posix sse sse2 theora threads tiff truetype vim-syntax vorbis win32codecs wmf xcomposite xpm xv xvid zlib"
> ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol"

So it seems you have all the plugins for ALSA enabled. 

> 
>   and uname says...
> 
> [d530][waltdnes][~] uname -a
> Linux d530 2.6.25-gentoo-r7 #1 SMP Wed Aug 13 02:42:40 EDT 2008 i686
> Genuine Intel(R) CPU 2140 @ 1.60GHz GenuineIntel GNU/Linux
> 

Just shooting randomly in the dark here:
  * Did you update alsa recently? Do you have old alsa pcm
    configurations files from before? Maybe those files are screwing
    things up.
  * Kernel module for your sound card?

W
-- 
(aikamuotojen käyttö aikamatkustuksessa)
"You can arrive (mayan arivan on-when) for any sitting you 
like without prior (late fore-when) reservation because you 
can book retrospectively, as it were when you return to 
your own time. (you can have on-book haventa forewhen 
presooning returningwenta retrohome.) "
Sortir en Pantoufles: up 658 days, 12:57



^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-user] [Resolved] Absolutely no sound whatsoever after latest emerge update
  2008-09-26 14:27 ` Willie Wong
@ 2008-09-27  7:35   ` Walter Dnes
  2008-09-27 19:38     ` Willie Wong
  0 siblings, 1 reply; 9+ messages in thread
From: Walter Dnes @ 2008-09-27  7:35 UTC (permalink / raw
  To: gentoo-user

On Fri, Sep 26, 2008 at 10:27:14AM -0400, Willie Wong wrote
> On Fri, Sep 26, 2008 at 02:14:48AM -0400, Penguin Lover Walter Dnes squawked:
> > [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
> > DVB card number must be between 1 and 4
> > AO: [null] 22050Hz 2ch s16le (2 bytes per sample)
> 
> This points to an issue with your alsa configuration/installation.
> 
> >   mpg123 doesn't work
> > 
> > [d530][waltdnes][~] mpg123 /home/misc/music/pop_standards/Tennessee_Waltz_-_Patti_Page.mp3
> > ALSA lib pcm_dmix.c:996:(snd_pcm_dmix_open) unable to open slave
> > [alsa.c:146] error: cannot open device default
> > [audio.c:517] error: failed to open audio device
> > [mpg123.c:709] error: Failed to initialize output, goodbye.
> 
> Same error as above, a problem with alsa. 

  Another Google search.  In addition to a bunch of people with
problems, this time around, someone had a solution...

http://www.nabble.com/Re%3A--Bug-37649--pulseaudio%2C-REOPENED%3A-ALSA-lib-pcm_dmix.c%3A996%3A%28-snd_pcm_dmix_open%29-unable-to-open-slave-p16659896.html

  Namely, restart alsasound (as root).

/etc/init.d/alsasound restart

  I've put this in my /etc/conf.d/local.start

-- 
Walter Dnes <waltdnes@waltdnes.org>



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Absolutely no sound whatsoever after latest emerge update
  2008-09-26  6:14 [gentoo-user] Absolutely no sound whatsoever after latest emerge update Walter Dnes
  2008-09-26 14:27 ` Willie Wong
@ 2008-09-27 14:56 ` ΔΗΜΗΤΡΙΟΣ ΡΟΠΟΚΗΣ
  1 sibling, 0 replies; 9+ messages in thread
From: ΔΗΜΗΤΡΙΟΣ ΡΟΠΟΚΗΣ @ 2008-09-27 14:56 UTC (permalink / raw
  To: gentoo-user

try:
$ alsaconf;gnome-alsamixer;timidity -iA&
this way all worked for me, wine programs also.




2008/9/26, Walter Dnes <waltdnes@waltdnes.org>:
>   Like the subject line says... all quiet on the Gentoo sound front,
> which is bad when I want music.  Here's what mplayer says (note the last
> 4 lines)...
>
> [d530][waltdnes][~] mplayer /home/misc/movies/flv/dancing_monkeys.flv
> MPlayer dev-SVN-r26753-4.1.2 (C) 2000-2008 MPlayer Team
> CPU: Genuine Intel(R) CPU            2140  @ 1.60GHz (Family: 6, Model: 15,
> Stepping: 2)
> CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
> Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
>
> Playing /home/misc/movies/flv/dancing_monkeys.flv.
> Cache fill:  3.96% (1328800 bytes)
> libavformat file format detected.
> [lavf] Video stream found, -vid 0
> [lavf] Audio stream found, -aid 1
> VIDEO:  [FLV1]  320x240  0bpp  29.970 fps    0.0 kbps ( 0.0 kbyte/s)
> ==========================================================================
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> Selected video codec: [ffflv] vfm: ffmpeg (FFmpeg Flash video)
> ==========================================================================
> ==========================================================================
> Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
> AUDIO: 22050 Hz, 2 ch, s16le, 8.0 kbit/1.13% (ratio: 1000->88200)
> Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
> ==========================================================================
> [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
> DVB card number must be between 1 and 4
> AO: [null] 22050Hz 2ch s16le (2 bytes per sample)
>
>
>
>   mpg123 doesn't work
>
> [d530][waltdnes][~] mpg123
> /home/misc/music/pop_standards/Tennessee_Waltz_-_Patti_Page.mp3
> ALSA lib pcm_dmix.c:996:(snd_pcm_dmix_open) unable to open slave
> [alsa.c:146] error: cannot open device default
> [audio.c:517] error: failed to open audio device
> [mpg123.c:709] error: Failed to initialize output, goodbye.
>
>
>
>   neither does mpg321
>
> [d530][waltdnes][~] mpg321
> /home/misc/music/pop_standards/Tennessee_Waltz_-_Patti_Page.mp3
> No default libao driver available.
>
>
>
>   my make.conf contains the following lines of interest
>
> USE="-* X a52 aac bzip2 dga doc dri exif ffmpeg flac gif jpeg mmx mng mp3
> mpeg nptl nptlonly nsplugin offensive ogg opengl png posix sse sse2 theora
> threads tiff truetype vim-syntax vorbis win32codecs wmf xcomposite xpm xv
> xvid zlib"
> ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file
> hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate
> route share shm softvol"
>
>
>   and uname says...
>
> [d530][waltdnes][~] uname -a
> Linux d530 2.6.25-gentoo-r7 #1 SMP Wed Aug 13 02:42:40 EDT 2008 i686
> Genuine Intel(R) CPU 2140 @ 1.60GHz GenuineIntel GNU/Linux
>
>
>   Any ideas?
>
> --
> Walter Dnes <waltdnes@waltdnes.org>
>
>



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] [Resolved] Absolutely no sound whatsoever after latest emerge update
  2008-09-27  7:35   ` [gentoo-user] [Resolved] " Walter Dnes
@ 2008-09-27 19:38     ` Willie Wong
  2008-09-27 19:47       ` Tamer Higazi
  0 siblings, 1 reply; 9+ messages in thread
From: Willie Wong @ 2008-09-27 19:38 UTC (permalink / raw
  To: gentoo-user

On Sat, Sep 27, 2008 at 03:35:04AM -0400, Penguin Lover Walter Dnes squawked:
>   Namely, restart alsasound (as root).
> 
> /etc/init.d/alsasound restart
> 
>   I've put this in my /etc/conf.d/local.start

Why is it necessary to put that in /etc/conf.d/local.start? Shouldn't
the reboot make alsasound start clean already?

W
-- 
A man's home is his castle, in a manor of speaking.
Sortir en Pantoufles: up 659 days, 18:15



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] [Resolved] Absolutely no sound whatsoever after latest emerge update
  2008-09-27 19:38     ` Willie Wong
@ 2008-09-27 19:47       ` Tamer Higazi
  2008-09-27 22:53         ` Walter Dnes
  0 siblings, 1 reply; 9+ messages in thread
From: Tamer Higazi @ 2008-09-27 19:47 UTC (permalink / raw
  To: gentoo-user

why do you guys make it more complicated as it is?!

Just write in the shell:

rc-update add alsasound default

or for boot time:

rc-update add alsasound boot

and then the problem is solved for all times!

Tamer

Willie Wong schrieb:
> On Sat, Sep 27, 2008 at 03:35:04AM -0400, Penguin Lover Walter Dnes squawked:
>>   Namely, restart alsasound (as root).
>>
>> /etc/init.d/alsasound restart
>>
>>   I've put this in my /etc/conf.d/local.start
> 
> Why is it necessary to put that in /etc/conf.d/local.start? Shouldn't
> the reboot make alsasound start clean already?
> 
> W




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] [Resolved] Absolutely no sound whatsoever after latest emerge update
  2008-09-27 19:47       ` Tamer Higazi
@ 2008-09-27 22:53         ` Walter Dnes
  2008-09-28  1:05           ` Dale
  0 siblings, 1 reply; 9+ messages in thread
From: Walter Dnes @ 2008-09-27 22:53 UTC (permalink / raw
  To: gentoo-user

On Sat, Sep 27, 2008 at 09:47:27PM +0200, Tamer Higazi wrote
> why do you guys make it more complicated as it is?!
>
> Just write in the shell:
>
> rc-update add alsasound default

  I *DO* have alsasound in my default.  Since you obviously have not
read the URL I pointed to, here is a partial quote...

> I stopped esound (esd) and alsasound systems (this is under Gentoo).
> Upon restarting the alsasound system, the low level sound driver
> modules (snd_intel8x0m, snd_intel8x0, snd_ac97_codec, ac97_bus),
> perhaps others, got loaded and they were not loaded when the "unable
> to open slave" message was being generated.  Subsequently mplayer
> was able to load and play audio tracks.
> 
> So this message may be associated with hardware level drivers being
> unavailable for some reason.

  The problem seems to be a dependancy on some resource that is not
available early on in the boot process.  Re-starting the alsasound
daemon later on works around that problem.

-- 
Walter Dnes <waltdnes@waltdnes.org>



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] [Resolved] Absolutely no sound whatsoever after latest emerge update
  2008-09-27 22:53         ` Walter Dnes
@ 2008-09-28  1:05           ` Dale
  2008-09-29  3:23             ` Walter Dnes
  0 siblings, 1 reply; 9+ messages in thread
From: Dale @ 2008-09-28  1:05 UTC (permalink / raw
  To: gentoo-user

Walter Dnes wrote:
> On Sat, Sep 27, 2008 at 09:47:27PM +0200, Tamer Higazi wrote
>   
>> why do you guys make it more complicated as it is?!
>>
>> Just write in the shell:
>>
>> rc-update add alsasound default
>>     
>
>   I *DO* have alsasound in my default.  Since you obviously have not
> read the URL I pointed to, here is a partial quote...
>
>   
>> I stopped esound (esd) and alsasound systems (this is under Gentoo).
>> Upon restarting the alsasound system, the low level sound driver
>> modules (snd_intel8x0m, snd_intel8x0, snd_ac97_codec, ac97_bus),
>> perhaps others, got loaded and they were not loaded when the "unable
>> to open slave" message was being generated.  Subsequently mplayer
>> was able to load and play audio tracks.
>>
>> So this message may be associated with hardware level drivers being
>> unavailable for some reason.
>>     
>
>   The problem seems to be a dependancy on some resource that is not
> available early on in the boot process.  Re-starting the alsasound
> daemon later on works around that problem.
>
>   

This may be waaay off here, do you have that parallel start up thing 
turned on?  You know, where multiple services can be started at the same 
time without waiting for the startup to complete.  I read somewhere a 
while back where some were having various trouble but not lately.  If 
you do, may want to try it with it turned off and see if that helps.

Just something to think about just in case.

Dale

:-)  :-) 



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] [Resolved] Absolutely no sound whatsoever after latest emerge update
  2008-09-28  1:05           ` Dale
@ 2008-09-29  3:23             ` Walter Dnes
  0 siblings, 0 replies; 9+ messages in thread
From: Walter Dnes @ 2008-09-29  3:23 UTC (permalink / raw
  To: gentoo-user

On Sat, Sep 27, 2008 at 08:05:06PM -0500, Dale wrote

> This may be waaay off here, do you have that parallel start up thing
> turned on?  You know, where multiple services can be started at
> the same time without waiting for the startup to complete.  I read
> somewhere a while back where some were having various trouble but
> not lately.  If you do, may want to try it with it turned off and
> see if that helps.

  I hadn't thought of that, but my/etc/conf.d/rc has....
RC_PARALLEL_STARTUP="no"

  Thanks for the sauggetsion anyways.

-- 
Walter Dnes <waltdnes@waltdnes.org>



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-09-29  3:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-26  6:14 [gentoo-user] Absolutely no sound whatsoever after latest emerge update Walter Dnes
2008-09-26 14:27 ` Willie Wong
2008-09-27  7:35   ` [gentoo-user] [Resolved] " Walter Dnes
2008-09-27 19:38     ` Willie Wong
2008-09-27 19:47       ` Tamer Higazi
2008-09-27 22:53         ` Walter Dnes
2008-09-28  1:05           ` Dale
2008-09-29  3:23             ` Walter Dnes
2008-09-27 14:56 ` [gentoo-user] " ΔΗΜΗΤΡΙΟΣ ΡΟΠΟΚΗΣ

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox