LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices



Reply
 
Search this Thread
Old 10-13-2010, 12:57 PM   #1
Quantumstate
Member
 
Registered: Jun 2005
Location: Seattle, Ecotopia
Distribution: Debian Testing with xfce
Posts: 219

Rep: Reputation: 19
Suspend/Hibernate Fail to Resume


This has always worked for me in Debian, but on my recent full reinstall, no more.

Suspend puts it down just fine, although seemingly much faster than before. The power button intermittently flashes, as before. I hit power and it seems to resume, but the screen is blank and Mute light is on on the keyboard. The Wifi light comes on fine and flashes as if there's traffic. Mainly a dead-blank screen. Does this whether suspend or hibernate, kernel 2.6.32-23, -28, or 2.6.30.

I hit the power button and after 30 seconds it reboots as it should, and comes up just fine. There's nothing odd in the pm-suspend.log or messages, so I am at a loss.
 
Old 10-13-2010, 03:55 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,333

Rep: Reputation: 144Reputation: 144
I assume you are using the proprietary nvidia driver. Could you post which one you are using. Also, post your xorg.conf file. I've run into this several times over the years with the proprietary nvidia driver. Many times just adding this line to the "Device" section of xorg.conf cures the problem:

Option "NvAGP" "1"
 
Old 10-14-2010, 10:46 AM   #3
Quantumstate
Member
 
Registered: Jun 2005
Location: Seattle, Ecotopia
Distribution: Debian Testing with xfce
Posts: 219

Original Poster
Rep: Reputation: 19
Yep, you're on the right track, kilgoretrout.

I tried everything I could think of, including newer/older kernels, newer/older nVidia drivers, manually running pm-suspend, etc. But it turns out the problem was damned Compositing.

With the new install, I decided to try and let X make all the decisions, rather than having an xorg.conf file. When I reinstated my xorg.conf then I now have Suspend and Hibernate working properly. This is what it looks like:
Code:
Section "Device"
    Identifier     "Video0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
#**********************************
	Option		"NoLogo"	"True"
	Option		"UseEvents"	"True"
	Option		"AddARGBGLXVisuals" "True"
	Option		"DPMS"		"True"
#**********************************
EndSection

# For MythTV VDPAU
Section "Extensions"
    Option         "Composite" "Disable"
EndSection
When that worked, I commented out my Device Options and tried again, and it still worked. So the problem is Compositing.

(BTW, AGP is way old and is not present on current cards)
 
Old 10-14-2010, 11:50 AM   #4
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,333

Rep: Reputation: 144Reputation: 144
Quote:
BTW, AGP is way old and is not present on current cards
I know but many people still use them, particularly on older laptops, and the NvAGP trick is still necessary from time to time or you will get exactly the symptoms described in your original post. If you don't post your hardware specs, people are just left guessing. That's why I asked what driver you were using. A legacy driver would have indicated and older AGP card.
At any rate, I am glad you figured it out. I will file away the disable compositing in the list of tricks to use to get suspend/hibernate to work with the proprietary nvidia driver.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How does hibernate affect my suspend/resume ? maeschbach Linux - Hardware 7 09-08-2010 03:30 AM
How can we Suspend/Resume/Hibernate/Standby Solaris 10 32bit and 64bit OS. vishwas786 Solaris / OpenSolaris 7 07-23-2009 08:37 AM
how to detect system power event(user trigger),suspend,hibernate,resume...? minge.zu Linux - Desktop 1 02-11-2009 09:19 PM
How to reconnect to wifi on resume from hibernate/suspend? Slackware 12.1, madwifi thesk8ingtoad Slackware 1 08-22-2008 08:15 AM
HP Laptop hibernate/suspend/resume question Jongi Debian 4 05-20-2008 09:08 PM


All times are GMT -5. The time now is 12:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration