Bug 177517

Summary: Amarok is causing many wakeups even if no music is playing
Product: [Applications] amarok Reporter: Martin Flöser <mgraesslin>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED FIXED    
Severity: normal CC: runsnbunsn
Priority: NOR    
Version: 2.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Unspecified   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Martin Flöser 2008-12-11 19:41:27 UTC
Version:            (using Devel)
Installed from:    Compiled sources

I just used powertop and noticed that Amarok 2 is causing 80 wakeups per second when no music is playing. That's 20-25 % of all wakeups.

Message from powertop:
schedule_timeout (process_timeout)

When starting to play music number of wakeups increases to about 95 per second.

After restarting Amarok there are no wakeups. When I press play and stop again number of wakeups is again at about 80 per seconds.

It would be nice if there were no wakeups when not playing music.

If you need any more info from me for investigating the cause of the wakeups please ask.
Comment 1 Mark Kretschmann 2008-12-11 19:50:30 UTC
The wakeups are actually caused by Phonon.

This is fixed in KDE 4.2 - Amarok/Phonon cause almost no wakeups when idle :)
Comment 2 Mark Kretschmann 2008-12-12 11:33:45 UTC
*** Bug 177562 has been marked as a duplicate of this bug. ***