SlackwareThis Forum is for the discussion of Slackware 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.
Okay so here is my problem. When I play a file using mpg123 or something of the sort the sound is all garbled, its hard to explain, but the point is, something is wrong with it. I have made sure that this problem happens with and only with ALSA (for example $ mpg123 -o oss random.mp3 plays fine while $ mpg123 (-o alsa[since default is ALSA this doesn't need to be done although I'm just making sure]) random.mp3 plays all garbly. Now here is where I get confused, XMMS uses the ALSA plugin to play the songs, yet, it plays them perfect, this has me very very confused. I think this is causing problems that I am having, getting StepMania to run nicely (the DDR emulator), whenever I start it up it gives me this error:
And causes the music to play all choppy/garbly as in mpg123. I have seen other people have similar problems although I couldn't find a thread that this issue got resolved. I thought maybe I should upgrade the ALSA-Drivers, but since I couldn't find any newer Slack-packages, I figured I would see if it was another problem before embarking on updating my drivers using source. Thanks!
I gave up on Alsa, way too flaky. Use OSS driver in XMMS, all other apps, CD player, XMovie, etc work fine. The only app affected was K3B, it requires Alsa to play the ripped wav/ogg/mp3 files.
Well, that's my problem, the only app I have had problems with is mpg123 and StepMania, everything else I have needed to use as far as audio (most notably XMMS) all work perfectly with ALSA. And I'd prefer to fix it then submit because I don't want to walk around with the guilt that ALSA beat me. It just isn't right
I can understand that. The problem I had with Alsa was that even at nice --20 xmms, it would still pre-empt xmms playback at times, and I hate choppy music, ever.
If you find a solution which is card specific, you can edit the relevant page. This "everyone can contribute by editing the page" system is called a Wiki.
I went to the Wiki page and although I couldn't find anything directly related to my problem, I think the people there might be able to help me. Anyway, I upgraded my drivers, which was much easier than I thought, but all that did was give me problems as far as reloading my alsamixer settings (it wouldn't load them at boot for some reason :-\) It didn't fix my problem, so I just went back to Slack 9.1 defaults, (0.9.6 I believe) and I haven't thought of anything yet. I wonder if I could just make my computer use OSS instead of ALSA for StepMania? Because mpg123 runs fine with -o oss so I figure StepMania would too, or would this be a program specific thing? I've tried posting on the StepMania Linux boards, but very (and I mean very) few people post there ever, so I doubt I'll ever get a response. Man this sucks :P
Well I tried what you mentioned and needless to say I'm having some problems :-\. The aoss mpg123 file.mp3 still gives me garbled music, although GAIM seems to have no problem dealing with dmixer. XMMS gives me an error whenever I try and use it (unfortunately I can't give the error as whenever I try and repeat it, it hasn't been giving me the error message). I also tried StepMania and while it was able to load the sound drivers:
And this error repeats until I kill the application and instead of showing the Menu Screen, the game locks up and just shows a black screen. I followed your directions given in the other thread and yet, I'm still having problems :-\. Man this is the first time I've really been stumped with a problem.
If you decide to try ALSA you can subscribe to the ALSA lists for help.
Reading the WIKI for the au88x0 driver: http://alsa.opensrc.org/index.php?page=au88x0
might help resolve problems with other cards which don't have a comprehensive list of instructions. Particularly with things like some patching of the ALSA 0.9.8 drivers, making the ALSA drivers load on boot, making the volume settings survive a re-boot. Youshould at least skim all the pages linked from that page before you start.
Have you read the README or INSTALL files, particulalry any sections on troubleshooting, before doing your ./config?
Sorry I can't offer specific help as I don't have your card, but these are the things I found helpful when installing ALSA0.9.8 for an au8820.
I hear ya, and I have been reading everything I can get my hands on and I think I'm starting to get somewhere. I installed the latest drivers again and got them working without a hitch. I've begun doing what ZiGiE recommended and atm, I have it so I can play like 758490372689 mp3's at once. My original problems aren't quite solved yet, but I'm getting somewhere. I have checked the Wiki pages and my card is SiS 7012, it uses the Intel8x0 driver and it's not a problem you can't offer specific help. I think, the current settings for the buffer are too small (because I have gotten StepMania to run on Windoze [when I was using it of course] and Red Hat 9 without a problem), so I think I just have some things config'ed wrong but I'm getting closer and closer!
ZiGiE, I've followed your directions once again, however, this time I have much more success, although I'm not exactly where I need to be. StepMania is able to successfully find the card, load it and everything:
However, when the program changes the resolution and goes into full screen, it stays black and I can only hear the Start Menu sound for a split second. It gives me this error:
Now while reading through this I found out about some potentially valid information about the buffers. What I wonder now is, how would I go about getting rid of the buffer underrun problem? I know it can't be my sound card (as I said previously I have gotten it to work with this very same card under 2 other OSes) so I wonder how I should go about fixing it? Also the RageSoundDriver error doesn't seem like it has to do with the buffers but, then again, I don't really know what I'm doing . Anyways, you've made my computer a lot nicer as is, I only have StepMania to remain!
Well, I've read through that tutorial heavily, unfortunately when I do the command they specify (I have to alter it a little as I didn't use the ossmixer they described, but I followed your .asoundrc file) it doesn't give me the error complaining about buffer size. Is there another way I can get this information?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.