So many AC-97 sound problems, lets bring them to a single thread.
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
Originally posted by Jessard R00ts, that site has been down for a long while (well, several days, anyway, long in the internet). Anybody know what's up with that?
Anyway, I've never had any success at all playing multiple things using ALSA alone. I recommend running esd (the sound server gnome uses, though you don't have to run gnome) or some other sound daemon and telling your programs to use that. Works in most cases.
Also, slsimic has good suggestions; I've especially heard that "ac97_quirk=0" helps in many cases, though it made no difference for me.
Meh, I have Ubuntu on my laptop which uses esd and sound typically won't even play on there. I think I'll stick to messing around with ALSA, thanks. In fact, I just searched for a thread on this and surprise surprise, I remembered that I got multiple audio streams playing in ALSA not too long ago:
I have what I think is a related AC-97 problem. The clue is the solution.
In Windows XP or Vista, I don't get sound at first. So, I go into control panel and disable my AC-97 sound (yes, it is disabled in the Bios also). Then I get sound.
In SUSE 10.1, I don't get sound at first. So, I run Yast, and go to the hardware/sound area and delete the AC-97 driver info. Then sound works, or at least that was an essential part of the solution. (later I learned that I could get rid of the AC-97 stuff earlier in the installation, which worked even better.)
In other Linuxes (Sabayon, Mepis, Zenwalk, Ubuntu, etc,) I might get sound for a moment, but it soon mysteriously vanishes and I can't figure out how to get it back.
I THINK it's because I can't figure out how to delete the AC97 settings for those distros. I ran into something called blacklist somewhere, and if I could figure out how it's supposed to work, I would (a) look at my Suse and see if the AC 97 is blacklisted there (yay if it is),and (b) I would try blacklisting it elsewhere.
BTW, the sound card that I WANT to use, and can use happily in Suse, is an Audigy somethingorohter. In Suse, another thing that seemed to help is to update my xine-related stuff.
If you have AC-97 and another sound card, it should set up two separate sound devices automatically (I have a USB headset, and when I plug that in I get /dev/dsp1 in addition to the normal /dev/dsp for my onboard sound). It sounds like it's just assigning the second card to to the first sound device if you delete the AC-97 stuff... a lot of programs assume that's the one you want to use, so that would explain why sound is tricky with AC-97 turned on.
I'm not sure what the most elegant solution is... for things that use ALSA, telling them to use hw:1,0 instead of hw:0,0 should work (for OSS, /dev/dsp1 instead of /dev/dsp). I've noticed that it works fine to brute-force OSS-based programs to use a certain device by deleting the current /dev/dsp file and symlinking it to something else. (I'm pretty sure a lot of people would cringe at reading that, but if you use a distro with udev it'll just get reset after a reboot, so no real harm done.)
Distribution: debian with bits of everything stuck on it
Posts: 114
Rep:
Linux has no problem with more than one sound device. If the AC97 is turned off in the bios but is still being detected there is something not right with the bios, it could be worth checking for updates. If nothing is available just turn the AC97 back on.
I am assuming you have already run alsaconfig? if it is seeing half an AC97 controller then it may be getting confused but it should still give you a choice of that or the soundblaster to configure.
good luck with it
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.