LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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



Reply
 
Search this Thread
Old 10-20-2004, 04:44 PM   #1
guardian653
Member
 
Registered: Oct 2003
Distribution: Gentoo
Posts: 79

Rep: Reputation: 15
Angry XMMS skipping and stopping under 100% cpu time (*not load)


I just got Gnome compiled and such under Gentoo with the 2.4.27 kernel from stage 2. One of the first things that I installed after I got Gnome working was xmms because I wanted something to listen to while I was installing yet more packages. The problem is though, under 100% cpu usage (not load) from like something simple as scrolling up and down in Mozilla will cause XMMS to either skip or stops completely (XMMS will show that its playing, but the position bar doesn't move and no sound comes out); XMMS doesn't crash, I can restart the song and it'll play sometimes.. Its really beginning to bug me as I could do the same thing in other distros and Windows with a heavier load. I did lookup some solutions on this site and elsewhere and I've tried the following already:

* installed different versions of XMMS (1.2.10 and 1.2.8) and mpg123/321 (0.2.10-mpg321 and 0.59-mpg123)
* enabled dma/32-bit access
* changed the buffer in alsa plugin for xmms
* enabled/disabled the dmix plugin for alsa
* tried the oss plugin for xmms and used aoss to run it (made things worse, pops and clicks, etc)

I've also seen an solution to run XMMS as root.. but thats not a good option... It seems silly for a 1.8ghz P4 with 768 MB of RAM not being able to play MP3s while compiling something in the background.

If anyone else has a solution its greatly appreciated! I'm out of options.....

Update Just logged into my hotmail account, has a bunch of flash ads and gif banners--scrolled up and down a bit in mozilla, cpu was at 100%, load <5% and xmms crashed hard. Had to kill the process.

Last edited by guardian653; 06-26-2009 at 11:20 PM.
 
Old 10-24-2004, 07:43 AM   #2
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
Sometimes when the hard disk is in heavy use there might be problem with playing music. I have experinced this sometimes and also when I'm ripping CD's I get this problem.
I usually fix this by renice the ripping process one or two steps. This way I can still play music and I don't notice any performance loss in the ripping process.

Compiling sometimes load the computer heavy, not only the processor.

By the way: What load value are you referring to? Is it that from uptime ?
The load average value show on average how many processes are waitng to be processed by the processor. So any value below 1 are low load. This value can really go sky high in certain conditions. It's not a percentage value.

Your CPU% value is the current working load of your processor, how much of it's time is used.
These two values do not have to go hand in hand. The load average depend on more than the CPU load. There may circumstances where the processor waits for access to the IDE channel or some network connection where it can't do any work in the meantime, this may rise the load value while keeping the processor work low.
 
Old 10-24-2004, 08:40 AM   #3
Livewire_T
LQ Newbie
 
Registered: May 2004
Posts: 7

Rep: Reputation: 0
You might try changing the xmms option to Read info on load under the options tab in preferences.
 
Old 10-26-2004, 08:16 PM   #4
guardian653
Member
 
Registered: Oct 2003
Distribution: Gentoo
Posts: 79

Original Poster
Rep: Reputation: 15
I change the RTC value in /proc to 1024 and the stopped it from skipping a lot; kernel 2.6 prevented any skips regardless of the RTC value, though it seems that now the sound distorts at the end of a song (only happened once though hopefully )

Thanks for the ideas guys

Last edited by guardian653; 06-26-2009 at 11:19 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CPU Load Always at 100% freddie_leaf Debian 2 09-25-2005 07:59 AM
XMMS get stuck when 100% CPU is used after ALSA installation Artik Debian 4 07-17-2005 05:13 PM
stopping basic commands like mv, cp and tar from using 100% cpu darkleaf Linux - Software 9 06-22-2005 06:41 PM
KDE : 100% cpu load ! Ben2210 Linux - Software 2 03-25-2004 08:55 AM
XMMS crash, 100% cpu, even root cant kill it? gundelgauk Linux - Software 12 11-01-2003 04:59 PM


All times are GMT -5. The time now is 10:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration