Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have a problem with my sound. Usually it sounds and works, with no problems. But it seems that almost at random, when I am playing music through XMMS, it will just stop in the middle of the playlist. Then all the rest of the sounds will stop playing (like the sounds from games, gaim, etc). If I try to tell XMMS to play again, it will say there's a problem with the audio out plugin. If I wait a while (sometimes a minute or two, sometimes hours) it will just start working again with no user intervention. If I kill X by using ctrl+alt+backspcae, and then get back in, it always works again. But this has been a continuing problem, even from my last install (I had another install, formatted, reinstalled, and I noticed that this is still a problem). I am using the snd-intel8x0 module, which I believe to be correct for my card. The output from lspci is:
Does anybody know what would cause this? I do not thinkg that I am using a sound deamon such as arts, I think it is just working through alsa, and it all works fine with two sounds playing at once (such as playing music, but still hearing gaim sounds), so I don't think it is that. As far as I know it has never stopped playing in the middle of a song, only right after one ends, and then the next is about to begin, and its like the driver locks up or something. It seems that it does it alot more often if I am using the computer at the time, although I don't know what triggers it, because I can ususally leave the computer on all night playing music, and it hardly ever cuts off doing that, but if I use it durring the day, it'll lock up like this 4 or 5 times on any given day. It gets very frustrating, because I either have to wait for it to work again, or kill x and log back in for it to work. Anybody know what causes this, and a fix?
You said you don't think you are running arts? Are you or aren't you? Try disabling the KDE sound system in the control panel and make sure xmms is configured to use alsa. This is most likely the cause of the problem.
Otherwise, run xmms from a terminal and see what errors it spits out when the sound stops.
No, I just checked the ps output for arts, and it is not running. I said I didn't think I was using arts, because I know I shouldn't be, and don't have it set to up to, but I knew that may cause a problem if it kept trying to access the card at the same time.
This is what it says in the terminal when the sound locks up when its trying to play another:
--- snip ---
ALSA lib pcm_dmix.c:862snd_pcm_dmix_open) unable to open slave
** WARNING **: alsa_setup(): Failed to open pcm device (default): Device or resource busy
xmms-mad-Message: failed to open audio output: ALSA 1.2.10 output plugin
Well unfortunately, this looks like buggy errors and not configuration errors. I'm not sure if this helps, but I have the same audio device. In order for me to get it working completely, I had to scrap the Slackware alsa driver and use the one in the 2.6 kernel. In addition, I had to change sound support, alsa, and the intel driver all as modules instead of being hard coded in the kernel. I'm not sure why, but that did the trick for me. If you are still getting the same errors, try playing around a bit. See if it happens with a different media player, as root, etc.
Let me know how it turns out.
err.. sorry. I usually only post in the Slackware forum. I just realized this is the "Software Forum". Hopefully it will apply to your distro as well.
looks like ethics beat me to it. At least it's probably a good sign when two people have the same responce
Hmm, I will try compiling them all as modules. I am not using any stock compiled modules, I built the kernel myself, however, I believe the only thing I have compiled as a module with regards to sound is the intel driver, not the alsa or sound, they are both hardcoded. I will recompile my kernel and see if that helps. Now that you said that, it may make sence, because I had the EXACT same problem when I would hardcode all the agp stuff and my graphics card in the kenrel, they just wouldn't work right, but as soon as I tried compiling them as modules they worked perfectly. I still don't know why it doesn't like them hardcoded in there. Buggy.