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.
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.
Location: Slovakia, currently working in Liverpool UK
Distribution: Gentoo 2006.0
Audio/Amarok(?) stuttering sound
hi, i have problems with stuttering sound in amarok 1.42beta1. it's playing all right, bu every now and then when cpu usage goes up it stutters. but sometimes, cpu usage is continually high and no stuttering occurs. i only found out it's little bit better after i switcched off skype, but it still happens.
in kcontrol/sound system i checked run with highest priority and set maximum size of buffer. nothing helps.
is there any other place or config file where i could increase priority of audio or further increase the buffers?
my sound card is ATI IXP with ac97 chip, i use xine-engine in amarok. would be other engine better? if yes, which?
i tried it with helix engine, it was worse, i wasn't able to get gstreamer engine running...
I've never used amarok, so I can't give you any advice specific to it. However if your CPU usage is normally less than 50% then spikes up to 100% only occasionally for no aparent reason, then there is probably an audio rate mismatch.
What types of files have you noticed the problem in? How often does it occur?
What sound interface is the xine-engine playing into? ALSA? OSS-emulation? ESD?
If it's possibly, try to repro the issue with aplay. Unfortunately, it will only play wav files. The reason I say to use aplay is because it typical is tied very closely to your sound device, which means there aren't nearly as many layers that can break inbetween.
If you have trouble finding a wav, you could try converting your file with ecasound. Again, I don't know about amarok, but it might have an option to save to wav like xmms does.
I noticed one of my systems has a little bit of a stutter (not bad enough for me to care about, but bad enough for me to test solutions). I happen to be using the dmix plugin on a usb sound device, and I was able to adjust the buffer_time in alsa to compensate. It seemed to help, but it's hard to tell. This page describes the process.
However, tweaking asound.conf is something I have spent hours upon hours learning (and I still don't know what a lot of the plugins do). So that link probably isn't something you'll easily understand. I will summarize it with something simple that will hopefully work.
Edit /etc/asound.conf. At the end of the file add these lines:
pcm "hw:0,0"; #you may have to adjust this if you have 2 sound cards
buffer_size 200000; #buffer size = 2 tenths of a second