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.
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.
Distribution: Debian Etch 2.6.18-(custom compile for k7) with a 72 no 58 no 42 second bootup time (XP=4mins)
Posts: 52
Rep:
Sound problems in X
Hi am using debian (i downloaded it last week stable, not sure what ver number) kernel 2.4.something.something.
I posted it in software cos my sound works, my card works.
The problem i have is while i have sound in X (Gnome) ie. when i open an app it plays a little sound, i can't seem to get my music to play. It does work when i reinstall the ALSA drivers but not when i reboot after that. I don't really wanna have to install it everytime. The message i get from say XMMS is Couldn't Open Audio Please check that your soundcard is configed you have the correct output plugin no other prog is blocking soundcard.
Any clues?
BTW In sound prefs i have selected the option to have my sound server run at start up
Hi,
Its quite possible that the ESD daemon is keeping your soundcard busy and hence other applications are unable to access it. By the way what sound card are you using. If its an onboard card then in all probability it doesn't support hardware mixing and will take some extra setup to enable multiple sounds. To test this hypothesis, do the following:
1. Kill your sound server process. "pkill esd" will accomplish that.
2. Ensure that it actually got killed. "ps -aef| grep esd" should either show you one match ["grep esd"] or no match.
3. Now in xmms choose alsa as your output plugin. Press Apply/Save and restart xmms.
4. Now it should play the sound. However your normal GNOME sounds will stop.
In case the above approach works, you can setup your .asoundrc file for your specific soundcard to enable software mixing using dmix plugin. The guidance for that will easily flow from the friendly google.
If the approach doesn't work then will have to think of something else.
And yes if you need to save your volume settings after shoutdown and restore after startup, then you should run alsasound daemon.
Distribution: Debian Etch 2.6.18-(custom compile for k7) with a 72 no 58 no 42 second bootup time (XP=4mins)
Posts: 52
Original Poster
Rep:
Wow thanks for the quick response, you were 100% correct it worked. I then tried running xmms and another sound player at the same time and the second wouldn't play.
I am using onboard sound, i'll take a look at that mix thing now.
Your help was very... helpful. And good. hahah
Really thanks ppl like you who say type this "blah" and then this u should see this are great for hacks like me
Hi,
By default it won't be present. You have to make one yourself. Following two links might be of help. If you are happy with your settings of .asoundrc, you can make it systemwide by creating a file in the /etc directory, probably called /etc/asound.conf but check with google.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.