Bug 187210 - Powerdevil locks the screen without need
Summary: Powerdevil locks the screen without need
Status: RESOLVED DOWNSTREAM
Alias: None
Product: solid
Classification: Frameworks and Libraries
Component: powermanagement-daemon (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Dario Freddi
URL:
Keywords:
: 192052 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-03-15 11:33 UTC by RGBl
Modified: 2010-10-02 12:49 UTC (History)
7 users (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 RGBl 2009-03-15 11:33:00 UTC
Version:            (using KDE 4.2.1)
OS:                Linux
Installed from:    SuSE RPMs

I have a problem similar (but not equal) to issue 173204. When using my laptop, every now and then (the rate seems to be completely random) powerdevil issue a "lock screen" command even if I'm actually typing or doing something. If I'm running with batteries, powerdevil issue the "suspend to ram" command.
Editing powerdevil profiles to change the option "when the system is inactive more than... minutes"(1) from "lock screen" (or "suspend to ram") to "do nothing", the problem disappear.
I have no idea what triggers the problem, because some days everything is fine and some others everything is a nightmare.
I've seen the problem for the first time with openSUSE's kde 4.1.3 (backported powerdevil), but after upgrading to kde 4.2.1 it is still present (though with a lower rate, I think). 
The follow up in the kde forum:
http://forum.kde.org/session-locks-by-itself-t-37815.html#pid52853

(1) I'm translating from Spanish
Comment 1 Jon Cochran 2009-04-03 04:03:47 UTC
I have this same issue, KDE 4.2.1 with OpenSuse 11.1.
Comment 2 Dario Freddi 2009-04-03 18:47:14 UTC
It looks like a problem with XSync not retrieving correctly the idle time. Could you 2 guys please tell me more about your hardware and system configuration?
Comment 3 RGBl 2009-04-03 19:31:26 UTC
I have a Toshiba satellite p200-17D, with intel 965 graphics, a core 2 duo processor and 2 GB of ram. The system is a openSUSE 11.1 64 bits with the factory/kde repo enabled and kde 4.2.1 from there (I'll upgrade to 4.2.2 this weekend) running with qt 4.4 from the official repos. No other "strange" repositories enabled: kde is the only factory repo here. The only "tweak" is a newer mesa and mesa-32bit libraries with respect to the official openSUSE stack, due to 3D problems (I'm using version 7.2-18.3 of these libraries): https://bugzilla.novell.com/show_bug.cgi?id=467559
Comment 4 Jon Cochran 2009-04-03 22:40:15 UTC
My system is as follows:

OpenSuse 11.1/64 bit 
KDE 4.2.1 from OpenSuse factory
Athlon X2 4850e
NVidia 9400GT
6GB RAM


Like the original post said, this sometimes happens in the middle of typing or moving the mouse, but it can also happen if I'm not using the system (I can't say that a background task isn't running or something).
Comment 5 Thomas McGuire 2009-05-13 19:33:46 UTC
I have the same problem.
On battery it suspends, on AC it locks the screen, randomly.
This is with KDE 4.2.3 from Opensuse.

It doesn't seem to happen all the time, today is the first time I had the screen lock issue, but I've seen it suspend before.
Comment 6 Chris Schlaeger 2009-05-19 10:09:43 UTC
Same problem here. The workaround seems to work fine as well.

OpenSUSE 11.1 x86_64
KDE 4.2.3 from factory
HP 6735b w/ AMD Turion(tm)X2 Ultra DualCore Mobile ZM-82
Comment 7 Amitav 2009-05-29 23:45:14 UTC
*** Bug 192052 has been marked as a duplicate of this bug. ***
Comment 8 Amitav 2009-05-29 23:57:09 UTC
My system specs:
compaq presario v6409
core 2 duo
kde 4.2.3
opensuse 11.1
Comment 9 Amitav 2009-06-22 00:11:29 UTC
The bug persists in KDE 4.2.4 too.
Comment 10 Michalis Giannakidis 2009-07-10 10:09:39 UTC
Same problem here. The workaround seems to work fine as well.

OpenSUSE 11.1 x86_64
KDE 4.1.3 
HP 8730w Intel(R) Core(TM)2 Extreme CPU Q9300
Comment 11 Oscar Laborda 2009-07-21 09:25:25 UTC
Same problem on my laptop:

HP 6730s
openSUSE 11.1 (x86_64)
Linux 2.6.27.23-0.1-default x86_64
KDE 4.1.3
Intel(R) Core(TM)2 Duo CPU T5870 @ 2.00GHz
4 GiB RAM
Chipset Intel GM45 Express 
Graphics Intel GMA 4500MHD
Comment 12 Douglas Turk 2009-08-18 02:10:35 UTC
Same problem in KDE 4.3 on openSUSE 11.1:

Dell Vostro 1720
openSUSE 11.1
KDE 4.3.0 (from factory)
Linux 2.6.27.25-0.1-default
Intel Core 2 Duo P8600 @ 2.40 GHz
nVidia Geforce 9600M GS, with nvidia driver 185.18.31
X.Org X Server 1.5.2

This wasn't a problem for the couple of weeks of usage, then started happening. Logging out and logging back in (hence restarting the X server) did not fix the problem.

A quick google search shows that the Gnome has the same or a similar problem, triggered by bugs in the X server's Xsync/idle time handling:
http://blogs.gnome.org/hughsie/2009/07/30/accidental-blanking-and-gnome-power-manager/
http://blogs.gnome.org/hughsie/2009/08/14/blanking-in-gnome-power-manager-fixed/
http://blogs.gnome.org/hughsie/2009/08/17/gnome-power-manager-and-blanking-removal-of-bodges/
Comment 13 Dario Freddi 2009-10-11 18:03:34 UTC
Douglas: thanks for the links. The bug looks definitely downstream and appears to be fixed.