Bug 152946 - too high CPU load during scrolling
Summary: too high CPU load during scrolling
Status: RESOLVED WORKSFORME
Alias: None
Product: kopete
Classification: Applications
Component: Chat Window (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-26 19:31 UTC by Dmitry
Modified: 2008-08-02 09:30 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry 2007-11-26 19:31:33 UTC
Version:           0.12.5 (using KDE 3.5.7, compiled sources)
Compiler:          Target: i586-mandriva-linux-gnu
OS:                Linux (i686) release 2.6.22.9-laptop-2mdv

After recent official updates the scrolling in the chat window started to lag and thus the whole chat window lags with it. I checked KDE System guard and it shows a great increase in CPU usage. When the scrolling is not used it shows about 10% and during the lags it jumps to 50%. I don't use any pictures in the contact list and the problem occurs regardless the fact whether the person who I chat with uses a picture or not.
Comment 1 Will Stephenson 2007-11-27 10:40:18 UTC
Is this scrolling when you receive a new message or scrolling when you manually scroll the chatwindow with the mouse?
Comment 2 Dmitry 2007-11-27 11:17:54 UTC
It is both. The CPU load happens because of scrolling, not because of new incoming messages. I made an experiment. I opened a new large chat window and asked to send me some messages. I saw no lags and no high CPU load before the messages started to autoscroll the chat window. And I found another thing. The same lags and about 50% of CPU load appear when I try to change the chat window size.
Comment 3 Dmitry 2007-11-27 12:13:08 UTC
I now tried to switch to Compiz 3D desktop with XGL and the problem with scrolling disappeared (before that I used ordinary no 3D desktop). But when I change window size in any application I can see some lags and CPU load jumps to 50%. These lags are not very noticable so I am not sure if they were before. As for the scrolling problems in Kopete it must be some how connected with default desktop in Mandriva
Comment 4 Dmitry 2007-11-27 12:14:24 UTC
I now tried to switch to Compiz 3D desktop with XGL and the problem with scrolling disappeared (before that I used ordinary no 3D desktop). But when I change window size in any application I can see some lags and CPU load jumps to 50% just the same as before. These lags are not very noticable so I am not sure if they were before. As for the scrolling problems in Kopete it must be some how connected with default desktop in Mandriva
Comment 5 George Kiagiadakis 2008-07-24 11:29:58 UTC
This sounds like a gpu driver or Xorg performance issue (similar to the current nvidia issues with kde4). On my computer scrolling the chat window uses about 16% CPU with the vesa Xorg drivers (KDE 4.0.99, debian lenny) and it sounds reasonable as vesa renders everything using the CPU.

@Dmitry: What CPU and GPU were you using at that time you had the problem? Does this problem still exist if you disable XGL ?
Comment 6 Dmitry 2008-08-02 09:30:28 UTC
I have Core2Duo E6550 and Nvidia 8800GTS 640Mb. I found the source of my problem and this was a custom skin for Kopete. I had changed the skin with the Compiz on. So I didn't notice that the skin caused the problem. Sorry, I should have reported this bug resolved long ago.