Summary: | [GST] Too high CPU usage in idle mode | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | Marcel Dischinger <mdspam> |
Component: | general | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | anthony.ivanoff |
Priority: | NOR | ||
Version: | 1.2-CVS | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Marcel Dischinger
2005-01-21 16:31:49 UTC
There was a bug which made Gst-Engine eat heaps of CPU when idle, this is now fixed. But still it will consume a little CPU; this is due to the design of the crossfading pipeline. I may at some point implement some kind of auto-suspend when idle. OK, I tried cvs snapshot of 2005-02-07 and I see no change (or was the bug in gstreamer itself?). BTW: The same problem is true for pausing songs (same cpu usage as in idle mode). BTW: This cpu usage is also true when disabling crossfading! I see the issue are well, amarok 1.2.2, libvisual 0.2.0, kde 3.3.2. An strace on the amarokapp that uses about 4% on my 1.2Ghz machine when idle after a playing a song and minimize (no visual plugins activated) shows this: gettimeofday({1111629327, 514866}, NULL) = 0 gettimeofday({1111629327, 515746}, NULL) = 0 gettimeofday({1111629327, 515811}, NULL) = 0 gettimeofday({1111629327, 515863}, NULL) = 0 gettimeofday({1111629327, 515913}, NULL) = 0 gettimeofday({1111629327, 515963}, NULL) = 0 ioctl(3, FIONREAD, [0]) = 0 gettimeofday({1111629327, 516092}, NULL) = 0 select(24, [3 4 5 8 10 12 21 23], [], [], {0, 31677}) = 0 (Timeout) -repeats indefinitely.... That's my problem, too... Strangely only on one of two similar machines..... I see this here too with gstreamer and amarok 1.2.3. Using a gap at 0ms and no fade in/out. I get the same strace output as reported above. Now the question is, is this problem only affected certain systems, or even the developpers can see this on their machines too? If it's something that cannot be reproduced, I will start looking for something that could be different with my system configuration. -Chris Any updates on this bug? I also noticed this bug. My CPU is 1,67 GHz Sempron 2400+ and I have the same problem: when I start amaroK, it's all right, when I play something, CPU usage is 8-10% according to gkrellm, and when I pause/stop it, CPU usage is 25-45%. This is quite annoying :( Any ideas how to fix this? I'm using amaroK 1.2.4 and KDE 3.4.0. Aha! Setting "Fade-out duration" from "2000 msec" to zero did the trick - it works fine now. I'm using gstreamer, BTW. I get ~100% CPU usage by amaroK if: 1) I'm using GST engine 2) The equalizer is active 3) Playback is paused or stopped. So I solve the problem by leaving the equalizer off. But the music doesn't SPARKLE! :( Please fix... See also bug #98544 Dan, Will you please vote for this bug, because otherwise the developers are not going to pay any attention to this nasty bug. Shame on them! :) Fixed in amaroK 1.3.2. |