This forum has been archived. All content is frozen. Please use KDE Discuss instead.

LID standby disables Desktop Effects

Tags: None
(comma "," separated)
User avatar
akoskm
Registered Member
Posts
135
Karma
0
OS
Hi!
When my screen goes to standby mode it disables the Desktop Effect, so I need to relog to get the effects back. Sometimes the X usage is around 75-80 when my laptop's lid is in standby mode. KDE switches off the Desktop effects due to slow performance.
KDE 4.1.96 (KDE 4.1.96 (KDE 4.2 RC1)) "release 78.2"

Any ideas?


User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Have you tried without Power Devil enabled? I do remember a past issue where Power Devil would cause X to have high CPU usage when the screen was blanked.

Last edited by bcooksley on Tue Jan 27, 2009 10:47 am, edited 1 time in total.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
akoskm
Registered Member
Posts
135
Karma
0
OS
Ok, I've disabled the Let PowerDevil manage... but I let PowerDevil daemon running - is it problem? I'll report back.


User avatar
akoskm
Registered Member
Posts
135
Karma
0
OS
Okay, it's fixed the X usage and now the Effects are OK. I'll leave PowerDevil screen power-management disabled. It makes no sense. The bug, what I reported https://bugs.kde.org/show_bug.cgi?id=178642 still exists, and Isn't fixed.

Thanks.

Last edited by akoskm on Tue Jan 27, 2009 12:02 pm, edited 1 time in total.


User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Given that you are running KDE 4.2, you may wish to reopen the bug then, after ensuring that you are fully updated.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
akoskm
Registered Member
Posts
135
Karma
0
OS
bcooksley wrote:Given that you are running KDE 4.2, you may wish to reopen the bug then, after ensuring that you are fully updated.


KDE4.2 is installed. The PowerDevil Screen power-management is switched off - the Desktop effects are disappearing again.
The bug what I'm posted before isn't closed - why to reopen?
Bugzilla gives me this:
Code: Select all
Can't connect to the database.
Error: Too many connections
  Is your database installed and up and running?
  Do you have the correct username and password selected in localconfig?

Last edited by akoskm on Wed Jan 28, 2009 2:37 pm, edited 1 time in total.


User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Oops, I had two bugs confused. At the time you tried to access bugzilla, the server likely was too busy to handle your request.

We need to find out which processes are causing the high CPU usage. Could you run this command in Konsole ( shutting the lid when you start it ) and post the contents of ~/process-usage.txt here?
Code: Select all
sleep 60s && ps aux > ~/process-usage.txt


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
akoskm
Registered Member
Posts
135
Karma
0
OS
bcooksley wrote:Oops, I had two bugs confused. At the time you tried to access bugzilla, the server likely was too busy to handle your request.

We need to find out which processes are causing the high CPU usage. Could you run this command in Konsole ( shutting the lid when you start it ) and post the contents of ~/process-usage.txt here?
Code: Select all
sleep 60s && ps aux > ~/process-usage.txt



Bugzilla loads fine - maybe there was some temporary error with their server.


User avatar
akoskm
Registered Member
Posts
135
Karma
0
OS
I'll reopen this thread. :-) So, Kwin's compositing is switching off, when any application is opened on my desktop - if they are minimized or systray, no problem. I can bring back the compositing with
Code: Select all
kwin --replace &

.
Of course Desktop effects are enabled.


User avatar
akoskm
Registered Member
Posts
135
Karma
0
OS
bcooksley wrote:Oops, I had two bugs confused. At the time you tried to access bugzilla, the server likely was too busy to handle your request.

We need to find out which processes are causing the high CPU usage. Could you run this command in Konsole ( shutting the lid when you start it ) and post the contents of ~/process-usage.txt here?
Code: Select all
sleep 60s && ps aux > ~/process-usage.txt



If I start this in Konsole, and I shut the LID, after 60 second doesn't happens anything. The Desktop effect are still enabled. It seem to be happening randomly.


Shink
Registered Member
Posts
2
Karma
0
I'm having a similar problem with a intel 965GM chipset. When I recover from standby mode, sometimes all compositing features get seriously broken (but not always). They work very very slowly, and KDE disables them. Using a Gentoo box and tried a few different options (2.6.28 & 2.6.29 kernels, Mesa 7.3 & 7.4, EXA & UXA) and the same results each time. Restarting X doesn't fix it, which makes me think something is getting horked with the intel driver, but I'm not certain. The problem isn't identical to the OP because my X cpu usage doesn't go nutso.

At any rate, here's what I'm currently running with gentoo version numbers:

2.6.29-gentoo-r2 #1 SMP Mon May 4 20:08:02 MST 2009 x86_64 Intel(R) Core(TM)2 Duo CPU T5450 @ 1.66GHz GenuineIntel GNU/Linux

00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)



x11-drivers/xf86-video-intel-2.6.3-r1
x11-base/xorg-server-1.5.3-r5
media-libs/mesa-7.4.1-r1
KDE-4.2.2

From my minimal xorg.conf:

Section "Device"
Identifier "Card0"
Driver "intel"
VendorName "Intel Corporation"
BoardName "Mobile Integrated Graphics Controller"
BusID "PCI:0:2:0"
Option "Monitor-LVDS" "Panel"
Option "AccelMethod" "UXA"
EndSection
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
If you have a screensaver ( especially any OpenGL ones ) try disabling them, since they might try to run when the lid is closed.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Shink
Registered Member
Posts
2
Karma
0
I should mention that when I write "standby" I'm referring to ACPI mode S3 which I guess KDE calls "Suspend to RAM." My screensaver right now is set to "clock".
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
It is quite possible that this is a bug in either your X drivers or KWin itself, unfortunately I do not know why performance deteriorates on resume causing KWin to suspend desktop effects.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
akoskm
Registered Member
Posts
135
Karma
0
OS


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, sandyvee