i'm using the pre2 kernel and normally am in windowmaker and listen to mp3's there, but when i am in kde on occasion, i cannot listen to anything but the system sounds that occur when maximizing or minimizing or closing an application, etc. I have been able to get both with other distributions, so i know it isnt a hardware problem. Reproducible: Always Steps to Reproduce: 1. start kde 2.open xmms, try to play an mp3 3. Actual Results: got error message that either there's something is blocking the card or there isn't the right pluginor it isnt configged rright Expected Results: play music
Sounds like some kind of arts/OSS problem. I can't help too much as I don't use KDE, but maybe try changing the sound daemon used?
KDE starts the artsd sound daemon. artsd has an autosuspend feature which will (at least for my kde installation) free the sound card after 1 minute of inactivity. You can change this by using the artsshell command or the KDE control panel. artsshell autosuspend 5 (free it after 5 seconds) artsshell suspend (free it now) artsshell terminate (kill the daemon) Another possibility is using the xmms-arts plugin which is not developed any more and therefore masked. So I'd rather recommend using a little wrapper script for starting xmms in KDE: #!/bin/bash artsshell suspend; xmms HTH
ok, but, now i don't have kde sounds, why can't i have both? there are other kernels where i've had both, but why downgrade...i'm in test4...and i don't know much about shell scripting...do i make it a file and make it executable and put it...where?
What is "now"? I told you several possibilities you could have tried. Without specifying what you actually did, it's impossible to give you any advice. Or did you enter all three commands in a row and are now wondering why artsd isn't running any more?
ok...artsshell suspend does nothing, i haven't tried autosuspend yet, i will try that now and get back to you. "now" is a place in time.
well, i tried the other commands to no avail. i can run xmms with sound, but, with no other sound, i.e. kde system sounds, btw, i don't get gnome system sounds either.
Of course you don't get both sounds at the same time as long as xmms and your KDE/Gnome don't use the same sound daemon. KDE uses artsd, so you would have to use the unmaintained xmms arts output plugin if you want to use OSS instead of ALSA. With ALSA, you can use the ALSA output plugin. AFAIK Gnome uses ESD, and there should be an output plugin for this available with xmms. My recommendation: Get ALSA running, use the ALSA output plugin for xmms and you are done.
well, i am now using alsa, or at least i emerged the test4 kernel, activated the alsa module, and i get an error now when i enable the alsa plugin within xmms. when i click the apply button i get the pop-up box with "snd_mixer-attach: No such file or directory" so i click "configure" and change "mixer device" from "PCM" to "/dev/sound/mixer" click apply, don't get above error. Click "ok". now when i start xmms to play a song, i get 2 pop-ups: 1. error opening alsa device: No such file or directory 2. a.Please check that you have the correct pluginselected b. No other programs is blocking the sound card c. your soundcard is configured properly I get the plugin error pop-up as well with esound within xmms... and when i activate esd from command line (as root of course) i get: "audio_alsa: no cards found!" so, i'm at quite a loss with this sound stuff
I recommend reading http://www.gentoo.org/doc/en/alsa-guide.xml Please do so.
i understand the feedback, but like i said, i emerged the test4 kernel, and now, i'm using the test5 kernel and with those, you dn't emerge the alsa-driver, so that document is useless to me or anyone else.
You should not consider a document unusable just because it slightly differs from what you have... a) you still need to build the right driver for your soundcard HINT: you need a driver for _your_ card, not just "the alsa module". b) you still need to configure this driver and load it c) you still should start Alsa as mentioned in section 3 d) having alsa-utils won't hurt aswell If you can't get it running, please include at least the minimum necessary information, like the type of your soundcard, the output of "lsmod" and such stuff. Otherwise nobody can help you. Btw, I'd like to redirect you to forums.gentoo.org or to #gentoo on IRC, because this really has nothing to do with a gentoo linux bug any more. Don't want to be rude, but this simply doesn't belong here. Another hint about supplying necessary information with bug reports/questions: http://www.catb.org/~esr/faqs/smart-questions.html Good luck, Patrick