Linux - Software This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-15-2006, 07:05 PM
|
#1
|
|
Member
Registered: Jun 2006
Location: Slovakia, currently working in Liverpool UK
Distribution: Gentoo 2006.0
Posts: 97
Rep:
|
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?
*EDIT*
i tried it with helix engine, it was worse, i wasn't able to get gstreamer engine running...
*EDIT*
thanks...
Last edited by Sammael; 08-16-2006 at 01:22 PM.
|
|
|
|
08-16-2006, 11:20 PM
|
#2
|
|
Member
Registered: Mar 2006
Location: Redmond, WA
Distribution: FC4, WinXP Pro
Posts: 37
Rep:
|
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.
|
|
|
|
08-20-2006, 07:29 PM
|
#3
|
|
Member
Registered: Jun 2006
Location: Slovakia, currently working in Liverpool UK
Distribution: Gentoo 2006.0
Posts: 97
Original Poster
Rep:
|
Quote:
|
What types of files have you noticed the problem in? How often does it occur?
|
mp3 files and it occurs when i do something really cpu intensive.
Quote:
|
What sound interface is the xine-engine playing into? ALSA? OSS-emulation? ESD?
|
i am using ALSA
i tried to play a few sounds with aplay and it were okay, guess maybe it's because mp3 is longer and bigger?
thanks for your time
Last edited by Sammael; 08-20-2006 at 07:30 PM.
|
|
|
|
08-21-2006, 02:45 AM
|
#4
|
|
Member
Registered: Mar 2006
Location: Redmond, WA
Distribution: FC4, WinXP Pro
Posts: 37
Rep:
|
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:
Quote:
pcm.!default
{
type plug;
slave
{
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
}
}
|
|
|
|
|
08-26-2006, 06:39 AM
|
#5
|
|
Member
Registered: Jun 2006
Location: Slovakia, currently working in Liverpool UK
Distribution: Gentoo 2006.0
Posts: 97
Original Poster
Rep:
|
hi sorry about long response, but i recently installed gentoo linux, which can take a day or two to install.. but it was worth every second of it, i'd never believe, how fast my computer now is...
regarding the problem with alsa i had - i compiled alsa support in kernel and do not longer have this problem, i do not know if this was the issue, but may be, anyhow, thanks for all your time,
|
|
|
|
08-26-2006, 06:42 AM
|
#6
|
|
Member
Registered: Jun 2006
Location: Slovakia, currently working in Liverpool UK
Distribution: Gentoo 2006.0
Posts: 97
Original Poster
Rep:
|
Quote:
|
Originally Posted by bluelightning
Edit /etc/asound.conf. At the end of the file add these lines:
|
in suse i didn't even have this file
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:45 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|