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

Kwin and power management issues?

Tags: None
(comma "," separated)
User avatar
pinguin74
Registered Member
Posts
72
Karma
0
OS

Kwin and power management issues?

Fri Aug 22, 2014 1:50 pm
Hi there,

I use KDE 4.11.5 and sometimes pm-suspend did not work, the machine did not suspend.

Then I found out, when I reload kwin with kwin --replace suspending works.

So, is there known issues with kwin and suspending or power management?

Maybe this is fixed in newer KDE versions?

Thanks
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
KWin should have no relation with the initiation of system suspend. Further, it should be possible to initiate suspend using the built in KDE mechanisms - you do not have to use pm-suspend, and it is more likely to be reliable if you use the built in mechanisms. Do the built in mechanisms work?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
pinguin74
Registered Member
Posts
72
Karma
0
OS
bcooksley wrote:Do the built in mechanisms work?


Not fully reliable. Currently when trying to suspend, the KDE desktop gets locked and that´s it, no suspend. When I restart kwin and manually invoke pm-suspend the machine does suspend.... though without screen lock.
luebking
Karma
0
nvidia, I assume?
Since restarting kwin will esp. kick the GPU into performance mode (for a while), does it also work if you briefly run some other GL client (some xscreensaver hack, celestia, in very doubt glxgears) or fix the performance mode in "nvidia-settings" (look for "PowerMizer")
User avatar
pinguin74
Registered Member
Posts
72
Karma
0
OS
luebking wrote:nvidia, I assume?


Yeah, nVidia.

But, I found a solution.

In /usr/lib/pm-utils/defaults you can set the power management backend.

On openSUSE 13.1 it was set to uswsusp, I set it to kernel et voila, the machine suspends correctly now.

Additionally, at this place you can solve the nVidia resume issue the same time!

You need to put these options there:

HIBERNATE_RESUME_POST_VIDEO="yes"
SLEEP_MODULE="kernel"


This makes the nVidia card POST after resume and the screen garbage is gone!

No need to restart kwin any more!

I write that in the nVidia thread as well.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], q.ignora, watchstar