Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
I have Slackware 10.1 with a 2.6.11.11 Kernel (compiled a few days ago).
It boots up fine and loads X no problems (even has network / graphics).
However, sound is playing up.
I have a VIA 8237 integrated sound chip, so I compiled the via82xx module into the kernel (under ALSA -- all moduled).
alsaconf and alsamixer and other programs pick the device up, and it can even play sound for a few seconds.
However, if I use XMMS or MPlayer or something to play a music file, it will play for a few seconds and then the sound will just stop. XMMS will report it is still playing, but no sound is produced.
No sound will play after that (from any application) unless I shut the machine down and power off, then power back on. Then it does the same thing again.
I've tried compiling ALSA 1.0.9b, but it still refuses to work.
It does this whether I tell MPlayer to use aRts, ALSA, OSS or whatever.
It isn't the chip because Windows XP can use it perfectly.
Any ideas?
Thanks in advance.
As another note, if I boot up fluxbox and run tuxracer straight (without loading XMMS or MPlayer) the sound plays fine.
All the sounds are in Tuxracer, and continue to work after I close it.
However, as soon as I run XMMS or MPlayer, it dies.
Could it possibly be anything to do with the files I'm trying to play?
They're all MP3 at the moment.
Replying to your own posts is a bad idea, as it removes it from the "zero posts" search and makes it look like you're already getting answers.
If you run mplayer and then start up XMMS when sound is broken, do you get any error messages?
Check the /dev directory when sound is gone to make sure you still have access to your sound devices.
Check that Mplayer and XMMS are both set to use ALSA
Try creating a .asoundrc file in your home directory with the following, in case the problem is one device hogging the sound and not letting the others use it:
There's no error message from XMMS if i run MPlayer first, no. It just reports itself to be playing, but with no sound.
The devices are still there and I can cat them even when sound has gone.
the .asoundrc file made no difference except to upset XMMS.
Without it there, XMMS reports the following devices -
Default PCM device (default)
VIA 8237: VIA 8237 (hw:0,0)
VIA 8237: VIA 8237 (hw:0,1)
But if I put it there, I only get Default PCM device, which refuses to work - XMMS says it can't access the card.
I run MPlayer with -ao alsa, and XMMS is set to hw:0,0
I noticed I can get sound back by running
alsasound stop
alsasound start
But then I get the same problem again...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.