GNOME Bugzilla – Bug 596609
screen wakes up right after it has been suspended
Last modified: 2009-10-01 10:45:33 UTC
The bug has been opened on https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/436816 "In Power Manager I set that the screen suspends after 1 minute. So I locked the screen and after one minute, the screen does turn off, but then immediately turns back on and shows the blank screen (which is my screensaver). This process then repeats indefinitely. gnome-power-manager 2.28.0-0ubuntu1"
gnome-power-manager from the time where it turns the screen off and on there "TI:16:05:50 TH:0x9176168 FI:gpm-idle.c FN:gpm_idle_set_mode,133 - Doing a state transition: blank TI:16:05:50 TH:0x9176168 FI:gpm-backlight.c FN:gpm_backlight_notify_system_idle_changed,442 - state not changed TI:16:05:50 TH:0x9176168 FI:gpm-backlight.c FN:gpm_backlight_brightness_evaluate_and_set,216 - 1. main brightness 1,000000 TI:16:05:50 TH:0x9176168 FI:gpm-backlight.c FN:gpm_backlight_brightness_evaluate_and_set,236 - 2. battery scale 1,000000, brightness 1,000000 TI:16:05:50 TH:0x9176168 FI:gpm-backlight.c FN:gpm_backlight_brightness_evaluate_and_set,254 - 3. idle scale 1,000000, brightness 1,000000 TI:16:05:50 TH:0x9176168 FI:gpm-brightness.c FN:gpm_brightness_trust_cache,107 - using cache for value 100 (probably okay) TI:16:05:50 TH:0x9176168 FI:gpm-backlight.c FN:gpm_backlight_brightness_evaluate_and_set,262 - values are the same, no action TI:16:05:50 TH:0x9176168 FI:gpm-idle.c FN:gpm_idle_idletime_reset_cb,394 - idletime reset TI:16:05:50 TH:0x9176168 FI:gpm-idle.c FN:gpm_idle_evaluate,213 - session_idle=0, session_inhibited=0, x_idle=0 TI:16:05:50 TH:0x9176168 FI:gpm-idle.c FN:gpm_idle_set_mode,133 - Doing a state transition: normal TI:16:05:50 TH:0x9176168 FI:gpm-backlight.c FN:gpm_backlight_notify_system_idle_changed,451 - we have just been idle for 60,977411s TI:16:05:50 TH:0x9176168 FI:gpm-backlight.c FN:gpm_backlight_notify_system_idle_changed,476 - changing powersave idle status to 0 TI:16:05:50 TH:0x9176168 FI:gpm-backlight.c FN:gpm_backlight_brightness_evaluate_and_set,216 - 1. main brightness 1,000000 TI:16:05:50 TH:0x9176168 FI:gpm-backlight.c FN:gpm_backlight_brightness_evaluate_and_set,236 - 2. battery scale 1,000000, brightness 1,000000 TI:16:05:50 TH:0x9176168 FI:gpm-backlight.c FN:gpm_backlight_brightness_evaluate_and_set,254 - 3. idle scale 1,000000, brightness 1,000000 TI:16:05:50 TH:0x9176168 FI:gpm-brightness.c FN:gpm_brightness_trust_cache,107 - using cache for value 100 (probably okay) TI:16:05:50 TH:0x9176168 FI:gpm-backlight.c FN:gpm_backlight_brightness_evaluate_and_set,262 - values are the same, no action TI:16:05:50 TH:0x9176168 FI:gpm-idle.c FN:gpm_idle_evaluate,238 - X not idle"
the issue is not screensaver dependent since it does the same when gnome-screensaver is not running and letting the desktop idling
Looks like you need to backport the three xserver patches to fix dpms handling.
Could you give a pointer to those changes?
It looks like we are missing this patch in Ubuntu: http://cgit.freedesktop.org/xorg/xserver/commit/?id=c1d901d723c3bee523736eacc15b44a7dff484fe With this patch I can't reproduce the problem any more.
ups wrong clicking, sorry about that closing the bug now