← Back to team overview

desktop-packages team mailing list archive

[Bug 912471] [NEW] Computer won't automatically suspend

 

Public bug reported:

Or: "Why is DPMS off for my screens ?"

I just travelled a quite long journey to find out why my computer
wouldn't go to sleep anymore. I first tried to follow the steps given
here: https://wiki.ubuntu.com/DebuggingGNOMEPowerManager with little
luck (as I have a standalone computer, I don't have much upower traffic)
so I focused on gnome-settings-daemon (whose --no-daemon options just
don't work).

After much research, I found out that the power plugin just didn't
start. Looking in the code (gsd-power-manager, I try to find anwers
where I can), I noticed that if the power-manager cannot clear dpms
timeouts, the manger just didn't start.

So I issued a: xset q | grep -A1 DPMS
DPMS (Energy Star):
  Standby: 360    Suspend: 360    Off: 420
  DPMS is Disabled

and indeed my DPMS is disabled. Enabling it then restarting gnome-
settings-daemon (killall then start with --no-debug) I see that the
power plugin starts just fine and my computer goes to sleep as expected.

I checked xorg.conf that DPMS option was present and it is indeed.

So my question is: "Why is DPMS off for my screens ?"
I'm also wondering why the power plugin could start if DPMS is off ?

I must add power-wise information: my kernel starts with "noapic" option
otherwise, my computer won't resume.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: gnome-settings-daemon 3.2.2-0ubuntu2.1
ProcVersionSignature: Ubuntu 3.0.0-15.25-generic 3.0.13
Uname: Linux 3.0.0-15-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Thu Jan  5 21:03:40 2012
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427.1)
SourcePackage: gnome-settings-daemon
UpgradeStatus: Upgraded to oneiric on 2011-11-16 (50 days ago)

** Affects: gnome-settings-daemon (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug oneiric running-unity

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-settings-daemon in Ubuntu.
https://bugs.launchpad.net/bugs/912471

Title:
  Computer won't automatically suspend

Status in “gnome-settings-daemon” package in Ubuntu:
  New

Bug description:
  Or: "Why is DPMS off for my screens ?"

  I just travelled a quite long journey to find out why my computer
  wouldn't go to sleep anymore. I first tried to follow the steps given
  here: https://wiki.ubuntu.com/DebuggingGNOMEPowerManager with little
  luck (as I have a standalone computer, I don't have much upower
  traffic) so I focused on gnome-settings-daemon (whose --no-daemon
  options just don't work).

  After much research, I found out that the power plugin just didn't
  start. Looking in the code (gsd-power-manager, I try to find anwers
  where I can), I noticed that if the power-manager cannot clear dpms
  timeouts, the manger just didn't start.

  So I issued a: xset q | grep -A1 DPMS
  DPMS (Energy Star):
    Standby: 360    Suspend: 360    Off: 420
    DPMS is Disabled

  and indeed my DPMS is disabled. Enabling it then restarting gnome-
  settings-daemon (killall then start with --no-debug) I see that the
  power plugin starts just fine and my computer goes to sleep as
  expected.

  I checked xorg.conf that DPMS option was present and it is indeed.

  So my question is: "Why is DPMS off for my screens ?"
  I'm also wondering why the power plugin could start if DPMS is off ?

  I must add power-wise information: my kernel starts with "noapic"
  option otherwise, my computer won't resume.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: gnome-settings-daemon 3.2.2-0ubuntu2.1
  ProcVersionSignature: Ubuntu 3.0.0-15.25-generic 3.0.13
  Uname: Linux 3.0.0-15-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 1.23-0ubuntu4
  Architecture: amd64
  Date: Thu Jan  5 21:03:40 2012
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427.1)
  SourcePackage: gnome-settings-daemon
  UpgradeStatus: Upgraded to oneiric on 2011-11-16 (50 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/912471/+subscriptions


Follow ups

References