Bug 186730

Summary: Juk excessively wakes up system
Product: [Applications] juk Reporter: Ben Cooksley <bcooksley>
Component: generalAssignee: Scott Wheeler <wheeler>
Status: RESOLVED FIXED    
Severity: normal CC: ggrabler, mpyne
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Ben Cooksley 2009-03-10 08:23:14 UTC
Version:            (using Devel)
Compiler:          g++ (SUSE Linux) 4.3.2 [gcc-4_3-branch revision 141291]  GNU ld (GNU Binutils; openSUSE 11.1) 2.19 
OS:                Linux
Installed from:    Compiled sources

Recently on running Powertop, I discovered that JuK was responsible for a staggering 91.9% ( 953.9 ) of my systems wakeups while stopped after playing a couple of seconds of a song. Wakeups while playing music are needed, but it shouldn't happen after playback has stopped.

  91.9% (953.9)               juk : futex_wait (hrtimer_wakeup)
Comment 1 Georg Grabler 2009-05-11 22:57:18 UTC
Can confirm it. It wakes up the system as often as during playback.
Does not wake up as often after starting, so most likely no issue with the dirwatcher or similar, rather with playback.
Comment 2 Georg Grabler 2009-05-28 10:54:29 UTC
Can't seem to find the cause for the problem. I've pushed in on my todo, but will continue after the qt4/kde4 port is complete (removing kde3support)
Comment 3 Michael Pyne 2011-05-05 03:30:54 UTC
The Linux perf tool still shows JuK as a large source of wakeups/action on the system, even with a composited desktop.
Comment 4 Michael Pyne 2018-10-19 01:18:33 UTC
I can no longer reproduce this bug (using powertop), when pausing JuK after playback. I may have fixed this by accident in previous refactoring of the playback code, but please reopen if you can still reproduce.