gnome-settings-daemon always prevents suspend when proprietary nvidia drivers are used.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OEM Priority Project |
Fix Released
|
Critical
|
Ursula Junque | ||
Precise |
Fix Released
|
Critical
|
Unassigned | ||
gnome-desktop |
Fix Released
|
Medium
|
|||
gnome-desktop3 (Ubuntu) |
Fix Released
|
Critical
|
Martin Pitt |
Bug Description
1. Ubuntu precise (development branch) 12.04
2. Installed: 3.3.91-0ubuntu2
Candidate: 3.3.91-0ubuntu2
Version table:
*** 3.3.91-0ubuntu2 0
500 http://
100 /var/lib/
3.
When closing the lid, the machine (MacbookPro 5,3) doesn't suspend. Using suspend from the power menu, or using pm-suspend works fine. The lid action is detected fine, and upower reports lid close correctly.
Running gnome-settings-
--
** DEBUG: Syncdaemon not running, waiting for it to start in NameOwnerChanged
=== Applying Configuration Configuration ===
Clone: false
Output: Unknown attached to default
status: on
width: 1440
height: 900
rate: 50
primary: true
position: 0 0
power-plugin-DEBUG: keyboard toggle on
power-plugin-DEBUG: lid is closed; not suspending nor hibernating since some external monitor outputs are still active
** DEBUG: Updating client: index=43 name='gnome-
** DEBUG: Updating client: index=43 name='gnome-
** DEBUG: Updating sink: index=0 name='alsa_
--
Changed in gnome-settings-daemon: | |
importance: | Unknown → Medium |
status: | Unknown → New |
summary: |
- gnome-settings-daemon always prevents suspend on macbookpro5,3 + gnome-settings-daemon always prevents suspend when proprietary drivers + are used. |
Changed in gnome-settings-daemon (Ubuntu): | |
assignee: | nobody → Canonical Desktop Team (canonical-desktop-team) |
importance: | Low → High |
summary: |
- gnome-settings-daemon always prevents suspend when proprietary drivers - are used. + gnome-settings-daemon always prevents suspend when proprietary nvidia + drivers are used. |
Changed in oem-priority: | |
importance: | Undecided → Critical |
assignee: | nobody → James M. Leddy (jm-leddy) |
Changed in oem-priority: | |
status: | New → Confirmed |
Changed in gnome-settings-daemon: | |
status: | New → In Progress |
Changed in gnome-settings-daemon: | |
status: | In Progress → Unknown |
Changed in gnome-settings-daemon (Ubuntu): | |
importance: | High → Critical |
status: | Confirmed → Triaged |
Changed in gnome-desktop3 (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in oem-priority: | |
status: | Confirmed → Fix Released |
Changed in gnome-desktop: | |
status: | Unknown → Fix Released |
Some investigations:
The problem seems to be related to non_laptop_ outputs_ are_all_ off in plugins/ power/gsd- power-manager. c
Also possible culprits could be is_laptop and gnome_rr_ output_ is_laptop.
My Display name is Apple DFP, so it doesn't seem to be caught by gnome_rr_ output_ is_laptop
However, detecting if it is a laptop monitor by name seems a bit flaky. However, since I don't have any external monitors connected, it seems that a workaround would be to also count how many displays we have in total. If the number is 1, and since this is a laptop (lid event, etc), is there any case where the one display isn't the laptop display ?
I am attaching a patch that fixes (probably incorrectly) the issue for me.