← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 522646] Re: return from suspend doesn't restore screen

 

Solved finally.
Ricard's comment about s2ram helped greatly, thanks!

pm-tools now do not apply any video "quirks" for nvidia cards, but it looks like one is needed 
for this notebook:
--quirk-s3-mode  (equivalent to s2ram --apci_sleep=2)

To make default suspend working following is needed:
1) Copy - sudo cp /usr/lib/pm-utils/sleep.d/98smart-kernel-video /etc/pm/sleep.d/
2) apply following patch (also attached):

--- /usr/lib/pm-utils/sleep.d/98smart-kernel-video	2009-10-06 23:41:22.000000000 +0200
+++ /etc/pm/sleep.d/98smart-kernel-video	2010-03-08 10:48:10.061854501 +0100
@@ -44,6 +44,7 @@
     # suspend/resume in a quirk-free manner.
     [ -d /sys/module/nvidia ] || return 1
     remove_all_video_quirks
+    add_parameters --quirk-s3-mode
 }
 
 have_fglrx()


FYI - if you want to use s2ram instead of the kernel suspend just try this (but previous fix is still needed!):
1) Install - sudo apt-get install uswsusp
2) Edit /etc/pm/config.d/00sleep_module
   put SLEEP_MODULE="uswsusp"

** Attachment added: "tecra_suspend_patch"
   http://launchpadlibrarian.net/40479263/tecra_suspend_patch

-- 
return from suspend doesn't restore screen
https://bugs.launchpad.net/bugs/522646
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in ubuntu.



References