I discussed the issue with Andrea Azzarone and Martin Pitt, and the problem might be related to the signal coming from UPower not being reliable enough. We should really rely upon the PrepareForSleep signal coming from org.freedesktop.login1.Manager.
We should also make sure that PrepareForSleep returns False (as this means that the system has just resumed) Something like the attached patch only with the "proxy_.Connect" line changed (so as to check that PrepareForSleep returns False) should work. ** Patch added: "use_logind_draft_1.patch" https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1210077/+attachment/4030604/+files/use_logind_draft_1.patch ** Changed in: unity (Ubuntu) Assignee: (unassigned) => Andrea Azzarone (andyrock) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to nvidia-graphics-drivers-331 in Ubuntu. https://bugs.launchpad.net/bugs/1210077 Title: Screen freeze and garbled after resume from suspend Status in HWE Next Project: Fix Released Status in HWE Next trusty series: Fix Released Status in “nvidia-graphics-drivers-331” package in Ubuntu: Fix Released Status in “unity” package in Ubuntu: Confirmed Bug description: Perform regular suspend, either from system menu or close laptop lid, when system resuming from suspend, it will freeze. Switch to VT and back to X can solve freeze issue, but the screen are gabled and some character rendering are strange, however whole system can perform usual task. found affected graphics: gf108m gf117m gk107glm To manage notifications about this bug go to: https://bugs.launchpad.net/hwe-next/+bug/1210077/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp