James has a good point that desktops don't get lid closed events.  The
patch in comment #1 is an interesting way to use that fact.  Does the
code in question only occur within the context of a lid close event?  If
so, then it might be a contender to work around the problem.

The patch in comment  #11 is simpler; it simply treats all "default"
(unknown) monitors as laptops.  I'm not sure that's reliably true in all
cases (I suspect monitors with corrupt or missing edid might show up as
default).  The patch would be better if it only tested for "default" if
the RANDR level was <1.2 (which is the case for -nvidia; all other
common X drivers provide 1.2 or 1.3 support).

Ideally upstream would provide a fix for this, but it is a serious
regression so think we need to consider working around it in the distro
for the release.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/949296

Title:
  gnome-settings-daemon always prevents suspend when proprietary nvidia
  drivers are used.

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to