Click to See Complete Forum and Search --> : Sound doesn't work under gentoo...


ooagentbender
05-25-2004, 03:53 PM
I opened up xmms and it gives me the error window...

Couldn't open audio, check that your soundcard is configured properly, your the correct output plugin selected no other program is blocking the soundcard.

I don't know how to check to see if my soundcard is even regesterd in the kernel and I don't know how to add it. I don't know how to check if its being used but i don't think it is. If anyone could help me out with some basic prelimenary steps to getting this thing going I would be greatful.

Dark Ninja
05-25-2004, 04:51 PM
Have you checked this out? I had the same error message until I followed this guide.

http://www.gentoo.org/doc/en/alsa-guide.xml

gehidore
05-25-2004, 06:03 PM
you also need to select the alsa or oss plugin from the preferences in XMMS

ooagentbender
05-25-2004, 06:38 PM
i will try the alsa install but it didn't work last time but i restarted my comp so hopefully it will

knute
05-25-2004, 06:41 PM
Originally posted by gehidore
you also need to select the alsa or oss plugin from the preferences in XMMS

Or esd, or artz, or jack, or.....

It all depends upon your environment, and how you have your machine set up.

What are you using for your sound server anyway?

If you are using the crossfade plugin for XMMS, you have to set your output device inside the crossfade config inside XMMS's config.

HTH

ooagentbender
05-25-2004, 07:05 PM
ok alsa-oss emerged properlly and it worked all together after I went through the tutorial.

Thanks all.

ooagentbender
05-26-2004, 03:56 PM
CRUD! its not working again, im not getting any errors but theres no output. I unmuted everything and it says alsasound is started but xmms is playing and theres no sound coming out of it. anyone?

knute
05-26-2004, 03:58 PM
Open a term window and run xmms from there, and see what the output is.

If you can't make heads or tails out of it, post and we will see what we can do.

ooagentbender
05-26-2004, 04:27 PM
I got this about a billion times

Gtk-CRITICAL **: file gtkobject.c: line 727 (gtk_object_set): assertion `GTK_IS_OBJECT (object)' failed.

Gtk-WARNING **: invalid class type `(unknown)' in cast to `GtkObject'

Gtk-CRITICAL **: file gtkobject.c: line 727 (gtk_object_set): assertion `GTK_IS_OBJECT (object)' failed.

Gtk-WARNING **: invalid class type `(unknown)' in cast to `GtkObject'

Gtk-CRITICAL **: file gtkobject.c: line 727 (gtk_object_set): assertion `GTK_IS_OBJECT (object)' failed.

Gtk-WARNING **: invalid class type `(unknown)' in cast to `GtkObject'

Gtk-CRITICAL **: file gtkobject.c: line 727 (gtk_object_set): assertion `GTK_IS_OBJECT (object)' failed.

Gtk-CRITICAL **: file gtkwidget.c: line 1388 (gtk_widget_destroy): assertion `GTK_IS_WIDGET (widget)' failed.

Dark Ninja
05-26-2004, 04:30 PM
Mmm...that looks a visual/graphical problem rather than sound.

Did you run alsamixer to tune your configuration settings. You will most likely be concerned with the Master and PCM settings -- those control your volume.

Also, yes, make sure your XMMS plugins are okay. But, I would look at my first suggestion first.

ooagentbender
05-26-2004, 05:01 PM
ok I used alsa mixer and I put everything at 100 but when I went to PCM and pressed the up key it wouldn't go up it just sat there which makes me think it needs to be enabled or some such things...any suggestiosn.

and i just looked at the driver settings that xmms is using and its using oss which I know should work because I emerged alsa-sound so it would be backward compatable with oss.

knute
05-26-2004, 05:15 PM
Have you tried the alsa plugin yet?

ooagentbender
05-26-2004, 05:27 PM
no that sounds like a good idea

is there any way to emerge the pluggin for xmms because when i try

emerge alsa-xmms

it says there isn't an ebuild coresponding with that and I can't seem to find anywhere to download the damn plugin on the internet so that I can compile it for myself.

anyone?

PS I just triede mplayer and the sound didn't work for that either.

now im stumped


thanks

chesskidd
05-26-2004, 06:43 PM
try
USE="alsa oss" emerge xmms

also emerge alsa-utils

ooagentbender
05-26-2004, 07:45 PM
ok I did that and still I havn't gotten any sound, do I need to reboot to get the desired effect?

gehidore
05-26-2004, 07:53 PM
im almost positive that the new xmms has it.

ooagentbender
05-27-2004, 12:27 AM
alright Ill try compiling it strait from source when I get back from church

sigh

ooagentbender
05-27-2004, 01:41 AM
i emerged the newest version of xmms and im sorry to say the problem still persists. Can anyone help me, I really think this is something simple that I must be missing could someone possibly come up with a check list for me? also the problem of the PCM volume not being changeable is still there when I use alsamixer.


HELP!

ooagentbender
05-27-2004, 02:41 AM
well once again I am sorry to bother you all with this trouble I got sound working by editing my sound card int /etc/modules.d/alsa

Im a moron to say the least thanks all for your help

chesskidd
05-27-2004, 03:05 PM
emerge alsa-utils
emerge alsasound,
I assumed you have done that...

now try aumux, or amixer,
or amixer set Master 100 unmute.

if xmms still got no sound, test it with some other music player :), like mpg123, cdi..

your problem is probably haven't unmuted the soundcard, most likely.
also see if your soundcard's modules are loaded.

gehidore
05-27-2004, 06:16 PM
Originally posted by chesskidd
emerge alsasound

i just had to make sure but,


[root@gnortra:/usr/src/linux] # emerge alsasound
Calculating dependencies
emerge: there are no masked or unmasked ebuilds to satisfy "alsasound".

!!! Error calculating dependencies. Please correct.
[root@gnortra:/usr/src/linux] #


does not exist.