FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 09-26-2008, 06:14 AM
"Walter Dnes"
 
Default Absolutely no sound whatsoever after latest emerge update

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:996snd_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:996snd_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>
 
Old 09-27-2008, 02:56 PM
"ΔΗΜΗΤΡΙΟΣ ΡΟΠΟΚΗΣ"
 
Default Absolutely no sound whatsoever after latest emerge update

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:996snd_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:996snd_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>
>
>
 
Old 09-27-2008, 07:47 PM
Tamer Higazi
 
Default Absolutely no sound whatsoever after latest emerge update

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
 
Old 09-28-2008, 01:05 AM
Dale
 
Default Absolutely no sound whatsoever after latest emerge update

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

:-) :-)
 

Thread Tools




All times are GMT. The time now is 03:43 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org