Version: 4.7 (using KDE 4.7.2) OS: Linux The power management service causes xorg to leak memory. Stopping it fixes the issue. Reproducible: Always Steps to Reproduce: Use any application while having the power management service enabled. Actual Results: Huge memory usage by xorg. Expected Results: Reasonable memory usage. Kubuntu 11.10 64 bit on HP 6820s. $ uname -a Linux kubuntu 3.0.0-13-generic #22-Ubuntu SMP Wed Nov 2 13:27:26 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
*** This bug has been marked as a duplicate of bug 271934 ***
It is possible this is not really a duplicate, because this one is about xorg, while the duplicate is about kded4 process.
http://kubuntuforums.net/forums/index.php?topic=3119186.0
By the description in the forum it really looks like a duplicate of #271934 and maybe #281509. #271934 is caused by Policy-qt, which Powerdevil relies on to execute privileged calls. Everytime Powerdevil changes the screen's brightness it executes policy-qt's calls, which leak memory and make kded4 memory usage to grow. I really do not see how Powerdevil could cause Xorg memory to grow. I have noticed the knotify4 memory problem long ago, but I have not had time to debug it and have forgotten about it :-)
I'm not really familiar with KDE architecture enough, but if some KDE libraries get loaded into an address space of xorg, it might cause a leak.
I also noticed that CPU temp is higher with Power Management enabled than without it. So it looks like it wastes more power than saves :)
(In reply to comment #5) > I'm not really familiar with KDE architecture enough, but if some KDE libraries > get loaded into an address space of xorg, it might cause a leak. That is the point, it is very unlikely Powerdevil can access xorg's address space. That would be a great security risk since Xorg run as root. I think the temperature being higher with Powerdevil running is just an impression. CPU temperature oscilates with any minimum difference in the cpu load.