This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Amarok 2.1.1 using 100% of CPU for no apparent reason

Tags: None
(comma "," separated)
nodivisions
Registered Member
Posts
2
Karma
0
I use Ubuntu, and I just upgraded Amarok from the Ubuntu default version (2.0.x) to version 2.1.1 from the backports repository.

It started up and crashed the first time.  After that it started OK, and automatically re-scanned my library.  This took a few minutes since I have several hundred albums.

Once the library scan was finished, though, Amarok kept using 100% of my CPU, and its interface is really sluggish.  I quit Amarok and restarted, but the problem remains.  I ran it from a terminal, but there's no output after the initial startup stuff.  I also tried running it with --debug but there's still no output most of the time.  The only output is this, every once in a while:

Code: Select all
amarok: BEGIN: void ScanManager::startIncrementalScan()
amarok:   BEGIN: QStringList ScanManager::getDirsToScan()
amarok:   END__: QStringList ScanManager::getDirsToScan() - Took 0.031s
amarok:    GOING TO SCAN:
amarok:    Scanning nothing, return.
amarok:   BEGIN: void ScanManager::writeBatchIncrementalInfoFile()
amarok:   END__: void ScanManager::writeBatchIncrementalInfoFile() - Took 0.00093s
amarok: END__: void ScanManager::startIncrementalScan() - Took 0.032s


It plays music OK, but this 100% CPU stuff is really messing with my system.  Any ideas?

Thanks,

--
Anthony DiSante
nodivisions
Registered Member
Posts
2
Karma
0
I've dug into this a little more.  It's actually X, not Amarok, that's using 100% of the CPU whenever Amarok is running.  Amarok is causing it, and it ends whenever I quit Amarok, but the greedy process is X (/usr/X11R6/bin/X).

And I've also discovered that the problem stops if I go into Amarok's settings and check the "Hide context view" box.  I don't even know what that means -- it's an extremely vague and generic label, with no, uh, context for what "context view" means -- but checking the box fixes the problem.
User avatar
Dieter Schroeder
Registered Member
Posts
714
Karma
7
OS
The context view is the middle pane of amarok. So checking this option should cause this pane to be closed. Removing $HOME/.kde/share/config/amarok-appletsrc can be an option. But I would say it's the well known Ubuntu 9.0.4 graphic issues.
What GPU are you using? Maybe an integrated Intel?

m0nk


If men could get pregnant, abortion would be a sacrament.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]