GNOME Bugzilla – Bug 586444
no suspend when idle
Last modified: 2009-10-13 02:29:33 UTC
Please describe the problem: I can suspend from the applet menu. It does hibernate on critical bat level, but it does not suspend on idle, regardless what timeout values I set in screensaver and gnome-power-manager. Display sleep seems to work though. First I thought, this might be only an issue on my particular notebook, as I could not find anything on google about this, but it is the same behavior on my freshly installed desktop system. This bug occures in all versions from 2.26.0 to 2.27.2 (git master), but is not present in 2.24.x OS: Arch64 Hardware: Notebook: HP Pavilion dv3550eg (centrino2 - Nvidia 9300M GS) Desktop: GB AMD 790XT, Phenom 720, Nvidia GTX 260 Steps to reproduce: 1. set idle timeout to 1 mins in gnome-screensaver-preferences 2. set sleep timeout to 2 mins in gnome-power-manager-preferences 3. wait 3+ minutes Actual results: nothing Expected results: system should suspend Does this happen every time? yes Other information: I tried to debug this issue, but failed bigtime in this whole gnome - C stuff. The attached patch simply disables the session idle check and forces the pc to sleep regardless if the session idle time can be determined. I think this might be some kind of policy error, but i don't see any warnings abot that.
Created attachment 137049 [details] g-p-m --verbose log
Created attachment 137050 [details] [review] g-pm-m hack to disable session idle check.
Created attachment 137051 [details] g-p-m --verbose, when hack is enabled
Created attachment 137052 [details] my gconf values.
I tested fedora-core 11 live x64 which uses g-p-m 2.26.2 and is does not suspend on idle either.
i can confirm this. i have many dbus-rejection-errors in my logs. may be this is related: Jul 5 16:32:57 lisabook dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.13" (uid=104 pid=3830 comm="gnome-power-manager ") interface="org.freedesktop.Hal.Manager" member="FindDeviceByCapability" error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal" (uid=0 pid=3606 comm="/usr/sbin/hald --use-syslog --verbose=no ")) Jul 5 16:32:57 lisabook dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.13" (uid=104 pid=3830 comm="gnome-power-manager ") interface="org.freedesktop.Hal.Manager" member="FindDeviceByCapability" error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal" (uid=0 pid=3606 comm="/usr/sbin/hald --use-syslog --verbose=no ")) Jul 5 16:32:57 lisabook dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.13" (uid=104 pid=3830 comm="gnome-power-manager ") interface="org.freedesktop.Hal.Device" member="GetPropertyString" error name="(unset)" requested_reply=0 destination=":1.0" (uid=0 pid=3606 comm="/usr/sbin/hald --use-syslog --verbose=no ")) Jul 5 16:32:57 lisabook dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.16" (uid=104 pid=3838 comm="/usr/bin/gnome-power-manager ") interface="org.freedesktop.Hal.Manager" member="FindDeviceByCapability" error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal" (uid=0 pid=3606 comm="/usr/sbin/hald --use-syslog --verbose=no ")) Jul 5 16:32:57 lisabook dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.16" (uid=104 pid=3838 comm="/usr/bin/gnome-power-manager ") interface="org.freedesktop.Hal.Manager" member="FindDeviceByCapability" error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal" (uid=0 pid=3606 comm="/usr/sbin/hald --use-syslog --verbose=no ")) Jul 5 16:32:57 lisabook dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.16" (uid=104 pid=3838 comm="/usr/bin/gnome-power-manager ") interface="org.freedesktop.Hal.Device" member="GetPropertyString" error name="(unset)" requested_reply=0 destination=":1.0" (uid=0 pid=3606 comm="/usr/sbin/hald --use-syslog --verbose=no ")) Jul 5 16:32:57 lisabook dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.16" (uid=104 pid=3838 comm="/usr/bin/gnome-power-manager ") interface="org.freedesktop.Hal.Manager" member="FindDeviceByCapability" error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal" (uid=0 pid=3606 comm="/usr/sbin/hald --use-syslog --verbose=no ")) Jul 5 16:32:57 lisabook dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.13" (uid=104 pid=3830 comm="gnome-power-manager ") interface="org.freedesktop.Hal.Manager" member="FindDeviceByCapability" error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal" (uid=0 pid=3606 comm="/usr/sbin/hald --use-syslog --verbose=no ")) Jul 5 16:32:57 lisabook dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.13" (uid=104 pid=3830 comm="gnome-power-manager ") interface="org.freedesktop.Hal.Manager" member="FindDeviceByCapability" error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal" (uid=0 pid=3606 comm="/usr/sbin/hald --use-syslog --verbose=no ")) Jul 5 16:32:57 lisabook dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.16" (uid=104 pid=3838 comm="/usr/bin/gnome-power-manager ") interface="org.freedesktop.Hal.Manager" member="FindDeviceByCapability" error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal" (uid=0 pid=3606 comm="/usr/sbin/hald --use-syslog --verbose=no ")) I also have disabled gnome-screen-saver. Mean it is installed but to activate a screensaver on idle is disabled in its settings.
i digged a bit into this. it seems indeed that "is_idle" isn't issued from gnome-session. someone should monitor the dbus-messages which are going over. with the hack setting is_idle always to TRUE gnome-manager suspends happily. there are other weird things going up when it wakes up, but thats another story. i'm trying this with: gnome-power-manager 2.27.1 gnome-session 2.26.1-r1 hal 0.5.12_rc1-r6 on gentoo uname -a: Linux lisabook 2.6.30-gentoo-r2 #3 SMP Sat Jul 4 23:56:27 CEST 2009 x86_64 Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz GenuineIntel GNU/Linux
hello, same problem on Fedora 11. I can suspend the computer from the applet menu, but it does not do it by itself regardless what timeouts I set in gnome power manager uname -a : Linux localhost.localdomain 2.6.29.6-217.2.3.fc11.x86_64 #1 SMP Wed Jul 29 16:02:42 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux gnome-power-manager.x86_64 2.26.3-1.fc11 gnome-session.x86_64 2.26.2-1.fc11 gnome-session-xsession.x86_64 2.26.2-1.fc11 hal.x86_64 0.5.12-26.20090226git.fc11
See https://bugzilla.redhat.com/show_bug.cgi?id=501601
I realy wonder if this suspend problem is restricted too few people and all the others do have suspend on idle, but problems with dpms.
I recompiled xorg-server on archlinux with the fix Richard posted on his blog, so the sudden screen blanks should be fixed. I don't know if this has anything to do with this problem, but it might be related. Our distribution doesn't carry the latest version of gnome-power-manager yet, so that could also improve things here.
upgraded package gnome-power-manager.x86_64 to version 2.26.4-1.fc11 The suspend problem seems to be solved. still have the blanking problem tho. I am gonnna test bug https://bugzilla.redhat.com/show_bug.cgi?id=501601
The no-suspend-problem is definitly solved with 2.28 and Xorg-server 1.6.3.901.