My favorites | Sign in
Project Home Downloads Issues Source
New issue   Search
  Advanced search   Search tips   Subscriptions
Issue 29: Activated plugins causes high rate of CPU wake ups (esp. serious when on battery power
9 people starred this issue and may be notified of changes. Back to list
Status:  Started
Owner:  ----

Sign in to add a comment
Reported by, Oct 10, 2008
When the plugin is activated (no matter if skype running or not running) it
wakes up the CPU from sleep state C3 to C0 (thus consuming a lot more
power) which has got a remarkable impact on the battery state. The number
increases from 50-150 wakeups per second up to 1000 when the plugin is running.

What version of the plugin are you using? On what operating system?
Ubuntu 8.04 x86 and x86_64, experienced on both
Pidgin 2.4.1
skype4pidgin 2008-07-24
Intel Core2Duo T7250, Kernel 2.6.24-19
Dell XPS M1330

Please provide any additional information below.
Intel PowerTOP outputs when plugin enabled/ disabled attached.

849 bytes   View   Download
846 bytes   View   Download
Oct 28, 2008
can confirm this. Pidgin tops the list for reasons for waking up with 50%
ubuntu 8.04
pidgin 2.5.1
skype4pidgin 2008-10-20 and previous one
Oct 29, 2008
I changed the usleep line in skype_messaging_x11.c (line 193 in the svn version)
to say
which means a sleep of 50 msecs. I recompiled, installed and restarted pidgin. This
does not seem to cause adverse effects, but the number of wakeups drops to 20-50 per
second. I am still testing to see if there are unwanted side effects.
Oct 29, 2008
Possible side effects: discrepancy of Skype online contacts and pidgin reported
contacts online after resume from suspend. Not serious, since disabling and enabling
the skype account fixes this. Will try to reproduce this.
Oct 30, 2008
Discrepancy happens often when the usleep is increased. I tried a smaller value of
10000 and it still causes communication with Skype to fail at times. Increasing the
sleep is apparently not an answer.
Nov 2, 2008
Project Member #5 eionrobb
Thanks for trying with a different sleep value, eemil.  I think the best answer is 
to get rid of the sleep-wait, and probably get rid of the threading too.  Would 
solve all the problems.
Status: Started
May 15, 2009
I have windows but see the similar issue. When I have open chat window with any Skype
contact CPU usage is about 10% for pidgin process. Last version of plugin
May 15, 2009
Project Member #7 eionrobb
eschava, is that just when you have the window open?  Does it happen if you open a 
new window with a buddy you haven't started chatting with yet?   Does the chat 
window have a lot of emoticons/smileys?
May 15, 2009
Right, it happens when I open chat window with smiles. And smiles are animated. Can
it be the reason?
May 15, 2009
It seems you are right. This bug has nothing common with your great plugin :) Maybe
it's pidgin or gtk bug
Aug 27, 2009
I'm on dual core machine and i see often Pidgin eating 40-45% of cpu... meaning
almost all of 1 core :(

i disabled skype plugin and now seems not appening anymore...

What version of the plugin are you using? 
Latest 24 July 2009
-also fb plugin 1.60, msn and gmail active

On what operating system?
Win xp sp3

Pidgin 2.6.1

Please provide any additional information below.
i activated debug log (std windows installation anyway)
i get a lot of:
(13:18:28) g_log: json_node_get_int: assertion `node != NULL' failed
(13:28:07) g_log: purple_conversation_get_data: assertion `conv != NULL' failed
and some:
(13:17:04) skype: Error: Protocol doesn't suppot AVATAR

Nov 6, 2009
I have this problem too. 
Latest version of the plugin, skype and pidgin. 
I would vote for the priority of this issue to be high, it eats serious amounts of
CPU on battery power. 
Is it hard to fix this bug? And is the problem within the plugin or skype itself?
Apr 13, 2010
Same problem here. It also occurs without a skype/pidgin-skype chat window opened.

I read on the powertop site that pidgin itself had a similar problem in the past, and 
it was fixed with the 2.0.1 version. I read the changelog and I found this:

Change our idle checking to poll only as necessary and raise the unidle timeout from 
5 seconds to 60 when using XScreenSaver. This and the XScreenSaver change will reduce 
Pidgin's effect on power consumption when running with NO_HZ. (Arjan van de Ven with 
Intel Corporation)

I hope this can help.
Jan 1, 2011
I have noticed this issue as well.  With the plugin enabled, pidgin accounts for 90% of wakeups.
Mar 8, 2011
same here:
Pidgin 2.7.9 (libpurple 2.7.9)
Linux ale-laptop 2.6.38-4-lowlatency #31~ppa1-Ubuntu SMP PREEMPT Tue Feb 22 13:58:35 UTC 2011 i686 GNU/Linux

Package: skype4pidgin                    
Automatically installed: no
Version: 2010-08-26

Mar 11, 2011
same here

Package: skype4pidgin                    
Automatically installed: no
Version: 2010-08-26
Sign in to add a comment

Powered by Google Project Hosting