Bug 167919 - DPMS energy settings are ignored / lost in new kde session
Summary: DPMS energy settings are ignored / lost in new kde session
Status: VERIFIED FIXED
: 120286 169617 (view as bug list)
Alias: None
Product: openSUSE 10.2
Classification: openSUSE
Component: KDE (show other bugs)
Version: unspecified
Hardware: x86 SuSE Linux 10.1
: P3 - Medium : Normal (vote)
Target Milestone: ---
Assignee: Danny Al-Gaaf
QA Contact: E-mail List
URL:
Whiteboard:
Keywords: Fix_is_Checked_In
Depends on:
Blocks:
 
Reported: 2006-04-20 05:52 UTC by Dr. Markus Ammer
Modified: 2007-06-05 11:17 UTC (History)
9 users (show)

See Also:
Found By: Beta-Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
KDE settings (screen copy) (71.92 KB, image/png)
2006-04-20 05:53 UTC, Dr. Markus Ammer
Details
Screen copy 2. (57.39 KB, image/png)
2006-04-21 13:35 UTC, Dr. Markus Ammer
Details
kcontrol module launching kpowersave (5.64 KB, patch)
2006-06-20 17:50 UTC, Dirk Mueller
Details | Diff
extended DCOP interface to kpowersave (824 bytes, patch)
2006-06-20 17:51 UTC, Dirk Mueller
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dr. Markus Ammer 2006-04-20 05:52:13 UTC
xset -q says:

DPMS (Energy Star):
  Standby: 120    Suspend: 180    Off: 300
  DPMS is Enabled
  Monitor is On

Obviously KDE settings are ignored.
Comment 1 Dr. Markus Ammer 2006-04-20 05:53:50 UTC
Created attachment 79156 [details]
KDE settings (screen copy)
Comment 2 Dirk Mueller 2006-04-20 07:28:57 UTC
when are the settings lost? what did you do?

does this happen after login? what applications did you run? did you start firefox already? any gtk/gnome application? gconfd running?

did you login to KDE or to GNOME?
Comment 3 Stephan Kulow 2006-04-20 10:22:58 UTC
kpowersave overwrites that settings and makes them depend on the current state of energy providers. This is a laptop, right?
Comment 4 Danny Al-Gaaf 2006-04-20 10:24:53 UTC
Midair collision: ;-)

Was this a laptop? And was the machine on powersave scheme or the AC adapter removed? This values looks like the default settings in KPowersave for powersave scheme (Standby 2 min/ Suspend 3 min / Off 5 min). 
Comment 5 Dirk Mueller 2006-04-20 11:38:35 UTC
so the bugreport is about the kcontrol module not syncing with the actual settings configured for the x server?

Comment 6 Danny Al-Gaaf 2006-04-20 12:02:06 UTC
Maybe ... Btw. I'm not sure if this is something we want. The in kcontrol displayed settings are from the related kde config file and the module should not sync with settings set by any other programm directly to the X server.

We already have discussed if it make sense to remove/disable the DPMS settings in kcontrol if kpowersave is running to avoid confused users, but for this we need to provide a replacement (a kcmodule) with kpowersave.
Comment 7 Dr. Markus Ammer 2006-04-20 14:14:10 UTC
This is a laptop running on battery. 
I just logged on with kde*) and after two minutes the screen became black. xset showed the reason. If I set any of the screen settings (for example deactivate / activate) xset shows the right values.

From the discussion above I have to define my settings on different locations if I am on AC power or not?

*) By accident I have managed that kde skips the first interactive logon. My session is logged in automatically on startup. Where can I get back the default login screen?
Comment 8 Christian Boltz 2006-04-20 22:37:42 UTC
(In reply to comment #7)
> *) By accident I have managed that kde skips the first interactive logon. My
> session is logged in automatically on startup. Where can I get back the 
> default login screen?

Go to the KDE control center, open the KDM configuration, switch to root ("Systemverwaltermodus") and switch off autologin on the last tab.
And please notice that bugzilla is not a support forum ;-))
Comment 9 Dr. Markus Ammer 2006-04-21 13:33:54 UTC
New information:
 Now I have started with AC power and xset -q settings were:

DPMS (Energy Star):
  Standby: 600    Suspend: 1200    Off: 1800

The problem has nothing to do with power status.
I have found and changed kpowersave settings. See screen copy 2.

Thanks.
Comment 10 Dr. Markus Ammer 2006-04-21 13:35:02 UTC
Created attachment 79434 [details]
Screen copy 2.
Comment 11 Lubos Lunak 2006-04-26 08:26:00 UTC
*** Bug 169617 has been marked as a duplicate of this bug. ***
Comment 12 Dr. Markus Ammer 2006-04-27 05:30:42 UTC
Who controls screensaver options before any user logon? I still have a 2 min timeout here. kdm_greet seems to be the only kde program running.
Comment 13 Stephan Kulow 2006-04-27 07:05:22 UTC
the X server. But again: this bug is no support forum ;(
Comment 14 Matthias Bachert 2006-04-30 09:18:39 UTC
This also happens here (no laptop). KDE DPMS settings are only used if I toggle them off and on again and save.

Right after bootup the monitor goes into standby after ca. 10 minutes.

This should absolutely be fixed in the 10.1 final as this is a very annoying bug that also can damage your monitor if it goes to standby every 10 minutes.
Comment 15 Matthias Bachert 2006-05-05 20:22:08 UTC
Pleeeeaaaaaaaaase fix this bug BEFORE 10.1 comes out on Mai 11th as it is sooooo annoying!
Comment 16 Dirk Mueller 2006-05-07 10:21:13 UTC
thats impossible because 10.1 is already "done". However, we might backport the fix and provide an update. 
Comment 17 Matthias Bachert 2006-05-07 10:37:29 UTC
Yes, please do so.

Is there any workaround for this problem?
Comment 18 Matthias Bachert 2006-05-29 13:00:39 UTC
Is somebody working on this? What is causing this? Will this be fixed and backported to 10.1 soon?
Comment 19 Matthias Bachert 2006-06-19 12:12:16 UTC
Hello? Is there anybody out there? For 1.5 month now I'm lacking proper DPMS.
Comment 20 Stephan Kulow 2006-06-19 14:01:34 UTC
yeah, we hear you, but we don't want for your problems - there are plenty of things to do for us. 
Comment 21 Matthias Bachert 2006-06-20 06:22:59 UTC
Sorry if I was too rude. I just thought this was forgotten about or something. But as I see you work on it.  Thank you.
Comment 22 Dirk Mueller 2006-06-20 17:04:03 UTC
really don't see why the heck this is still assigned to KDE-maintainers. 

Danny, please change the configuration settings to not overwrite DPMS settings for performance scheme by default. This should fix 90% of the bug. 5% bonus points for fetching the default settings from kcmdisplayrc instead of inventing your own. 

I'll write a hackish patch that will disable the energy module when kpowersave
thinks that it wants to manage DPMS settings. but for that we need an extended DCOP interface to kpowersave

Comment 23 Dirk Mueller 2006-06-20 17:50:00 UTC
Created attachment 90672 [details]
kcontrol module launching kpowersave
Comment 24 Dirk Mueller 2006-06-20 17:51:14 UTC
Created attachment 90673 [details]
extended DCOP interface to kpowersave
Comment 25 Dirk Mueller 2006-06-20 17:52:43 UTC
Danny, please review/add. if you plan to add this to 10.1, we can possibly slip this patch into kdebase3
Comment 29 Matthias Bachert 2006-07-09 13:52:25 UTC
Sorry for my rude behaviour. I just found out that I have to configure the DPMS settings via KPowersave.

If I do it this way it works as expected. This only should be pointed out somewhere. It took me nearly three month to find out that KPowersave overrides the KDE Control Panel settings.
Comment 31 Danny Al-Gaaf 2006-07-18 14:55:08 UTC
*** Bug 120286 has been marked as a duplicate of this bug. ***
Comment 32 Marcus Meissner 2006-11-16 16:40:29 UTC
update released for sle10
Comment 36 Danny Al-Gaaf 2006-11-17 12:35:47 UTC
applied slightly adopted patch to KPowersave for next release for 10.2. 

Is the KDE part already in our packages? 
Comment 37 Dirk Mueller 2006-11-17 12:57:19 UTC
yep, for CODE10 and 10.2 now. 
Comment 38 Stephan Binner 2007-01-29 09:41:20 UTC
I see no kpowersave part for this for sp1 yet?
Comment 39 Stephan Binner 2007-01-29 09:41:59 UTC
Danny, can you please clarify the sp1 kpowersave state of this report?
Comment 40 Danny Al-Gaaf 2007-01-29 17:09:13 UTC
submitted updated package for SLE10-SP1