Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
[Fedora Core 2 i386 on an Abit KV8-Pro w/ Athlon64 3200+: sound chip -- RealTek/VIA AC'97, running ALSA]
1. When I run any KDE program, the sounds associated with it (now I've shut them all off, which is fine, but doesn't fix the underlying problem) are played in the following way. Let's take the KDE error message sound. It's a sound bite that's normally ~1.5s long. When the KDE sound server plays it, it stutters about thirty or fifty times in rapid succession, each time playing a clip of what is probably 100 or 200ms long, until it finally stops. Even playing large Vorbis or MP3 files acts the same way. This problem does not exist--in this sense--in XMMS, but it's the only media player I've seen that isn't affected. The odd thing is, both XMMS and the KDE sound server are apparently using ALSA.
2. Is there a way to increase the priority of the sound system (i.e., the ALSA drivers)? When I'm playing any sound file that's not a CD in XMMS, and I load a web page, scroll a page, type something quickly (like this post), or open a new window, it stutters and either replays some milliseconds (10-30 or so) or just skips that part of the file. This seems to be correlated with video--I can be compiling a new kernel, CPU maxxed out, and it won't happen, but let me scroll a webpage and oop!--there it goes.
Any ideas? Is this related to how many modules I have running? How can I cut back on these? (I didn't have the problem number (1) until recently, and I'm not sure what I did to cause it.) Thanks for your time.
Have you already tried increasing the priority of the sound system through the KDE Control Center? Your problem is likely an aRTs thing. You can either check the box that tells the system to give sound a higher priority or try selecting a larvger sound buffer to see if it helps. I had a similar "video-related" glitch, but it was a hard lock, caused by a voltage spike in the CPU wiring. I had to solve it by soldering a capacitor between two of the CPU slot contacts. The point is that scrolling a web page is actually CPU intensive, as your actually doing a continuous repaint of the screen space taken up by the web page.
I did increase the sound priority in KControl. It's running "with the highest priority possible" (realtime/checked), with buffer "as large as possible." My options in the Control Panel are as follows (aRTS doesn't show up, I don't know if it should or not):
Threaded Open Sound System (never heard of it) ?
ALSA is selected.
Now, about soldering a capacitor ... well, heh, I tried manually overclocking my old Athlon 1700+ by looking at hardware diagrams and etching the chip and doing all sorts of other highly risky mods ... I got it back to where it worked, and that's about it. Crazy.
My board was unusable without the solder, so it was not really a risk, in that sense, I guess.
Does the sound repeat over a few times? I had that problem with OSS/ESD, which is why I never used the system sounds in Gnome, although I like the sounds.
As far as unloading modules, I don't know which you'd try for. There seems to be a logical dependancy from top to bottom, so to speak. _One thing I noticed with my SB Live! setup is that it doesn't use snd and soundcore. I wonder if you're having an alsa/oss conflict...
Well, I guess it was a problem with conflicting (?) drivers or modules, but I just did a kernel recompile with the latest version (today, 2.6.9-rc2-bk12) and it runs flawlessly with ALSA and its constituents compiled as modules. So that narrows it down almost not at all, but at least I know the hardware's ok. Thanks for your suggestions and help!
Help? You're being generous! lol. Seriously, though, I bet if you had to compare the .config for each kernel, there'd be one small difference somewhere, and who know where that is? It could be something entirely different from sound. I missed something once that prevented me from using the bootsplash (which is why I was recompiling that time). I don't have to worry about that right now, as the -ck kernel doesn't support bootsplash.