[Bug 949296] Re: gnome-settings-daemon always prevents suspend when proprietary nvidia drivers are used.
This bug was fixed in the package gnome-desktop3 - 3.4.0-0ubuntu2 --- gnome-desktop3 (3.4.0-0ubuntu2) precise; urgency=low * 02_refuse_to_break_GL_compositors.patch: Add DEP-3 patch header. * Add 03_default_display_is_internal.patch: Treat a display named default as internal. This happens with the proprietary NVidia driver which does not do proper XRandR. We cannot detect external vs. internal display there, so err on the side of internal to make suspend on lid close work. Thanks to James M. Leddy for the initial patch! (LP: #949296) -- Martin Pitt martin.p...@ubuntu.com Thu, 29 Mar 2012 17:49:37 +0200 ** Changed in: gnome-desktop3 (Ubuntu) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-desktop3 in 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-desktop/+bug/949296/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 949296] Re: gnome-settings-daemon always prevents suspend when proprietary nvidia drivers are used.
** Changed in: oem-priority/precise Status: Confirmed = Triaged ** Changed in: oem-priority/precise Status: Triaged = Fix Released ** Changed in: oem-priority Status: Confirmed = Fix Released -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-desktop3 in 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-desktop/+bug/949296/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 949296] Re: gnome-settings-daemon always prevents suspend when proprietary nvidia drivers are used.
Even if external default monitor is misdetected, that just means that in worse case scenario the laptop will suspend even if external monitor is plugged in - which is still noticably less problematic for hardware (and confusing) than staying on even if suspend on lid close is selected. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-settings-daemon in 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 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 949296] Re: gnome-settings-daemon always prevents suspend when proprietary nvidia drivers are used.
I agree, suspending with default only affects non-xrandr drivers, i. e. the proprietary ones, and with them quite a lot of things don't work anyway. The impact of suspending on lid close with external monitors on them is bearable IMHO, and not a regression. I'd still include upstream's fix for detecting Apple panels as well, though, otherwise I'm ok with adding default. ** Changed in: gnome-settings-daemon (Ubuntu) Assignee: Canonical Desktop Team (canonical-desktop-team) = Martin Pitt (pitti) ** Changed in: gnome-settings-daemon (Ubuntu) Status: Triaged = In Progress ** Project changed: gnome-settings-daemon = gnome-desktop ** Package changed: gnome-settings-daemon (Ubuntu) = gnome-desktop3 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-settings-daemon in 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-desktop/+bug/949296/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 949296] Re: gnome-settings-daemon always prevents suspend when proprietary nvidia drivers are used.
Nvidia driver is not telling us what the connectors are, and is instead using default for this. Most systems have LVDS1 for their attached laptops in panel displays, VGA1, HDMI1 etc for their other ones. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-settings-daemon in 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 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 949296] Re: gnome-settings-daemon always prevents suspend when proprietary nvidia drivers are used.
Hi Ursinha, would you please take a look at this? The main problem is that when a driver does not use xrandr, it shows up as [default]. In this case, it's not whitelisted as a laptop display, and so g-s-d thinks there is an external monitor connected on lid close. I see two possible solutions to this. 1) whitelist [default] as a laptop display 2) Andrei's patch. The logic is that if there is only one display and you have a lid close, you know it must be a laptop display, because desktops don't get lid close events, and laptops don't ship without a display. We'll have to consult upstream about this. ** Changed in: oem-priority Assignee: James M. Leddy (jm-leddy) = Ursula Junque (ursinha) -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-settings-daemon in 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 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 949296] Re: gnome-settings-daemon always prevents suspend when proprietary nvidia drivers are used.
** Branch linked: lp:~jm-leddy/ubuntu/precise/gnome-desktop/fix-949296 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-settings-daemon in 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 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 949296] Re: gnome-settings-daemon always prevents suspend when proprietary nvidia drivers are used.
Another possible solution, taken by using the fix in the upstream bug. ** Patch added: gnome-desktop.diff https://bugs.launchpad.net/oem-priority/+bug/949296/+attachment/2949449/+files/gnome-desktop.diff -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-settings-daemon in 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 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 949296] Re: gnome-settings-daemon always prevents suspend when proprietary nvidia drivers are used.
** Changed in: gnome-settings-daemon Status: In Progress = Unknown -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-settings-daemon in 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 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 949296] Re: gnome-settings-daemon always prevents suspend when proprietary nvidia drivers are used.
** Changed in: gnome-settings-daemon (Ubuntu) Importance: High = Critical ** Changed in: gnome-settings-daemon (Ubuntu) Status: Confirmed = Triaged -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-settings-daemon in 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 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 949296] Re: gnome-settings-daemon always prevents suspend when proprietary nvidia drivers are used.
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 Desktop Bugs, which is subscribed to gnome-settings-daemon in 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 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 949296] Re: gnome-settings-daemon always prevents suspend when proprietary nvidia drivers are used.
Thanks Steve, I forwarded this to the upstream bug. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-settings-daemon in 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 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 949296] Re: gnome-settings-daemon always prevents suspend when proprietary nvidia drivers are used.
** Changed in: gnome-settings-daemon Status: New = In Progress -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-settings-daemon in 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 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 949296] Re: gnome-settings-daemon always prevents suspend when proprietary nvidia drivers are used.
** Also affects: oem-priority/precise Importance: Undecided Status: New ** Changed in: oem-priority/precise Importance: Undecided = Critical ** Changed in: oem-priority/precise Status: New = Confirmed ** Changed in: oem-priority Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-settings-daemon in 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 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 949296] Re: gnome-settings-daemon always prevents suspend when proprietary nvidia drivers are used.
@Martin: The upstream patch doesn't work for me. output-name is 'default' on my system w/ the NVIDIA binary driver, not something with the string 'DFP'. Using the 'test-gnomerr' program from the upstream bug, I get the following output: steve@steve-laptop:~/src/test-gnomerr$ ./test-gnomerr [default] connected: 1 laptop: 0 primary: 1 id: 352 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-settings-daemon in 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 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 949296] Re: gnome-settings-daemon always prevents suspend when proprietary nvidia drivers are used.
** Also affects: oem-priority Importance: Undecided Status: New ** Changed in: oem-priority Importance: Undecided = Critical ** Changed in: oem-priority Assignee: (unassigned) = James M. Leddy (jm-leddy) -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-settings-daemon in 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 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 949296] Re: gnome-settings-daemon always prevents suspend when proprietary nvidia drivers are used.
Steve, would you be able to apply the patch in https://bugzilla.gnome.org/show_bug.cgi?id=672030 and check whether this works? -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-settings-daemon in 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 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs