LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 11:57 AM   #1
Quantumstate
Member
 
Registered: Jun 2005
Location: Seattle, Ecotopia
Distribution: CentOS 7.4 with KDE
Posts: 262

Rep: Reputation: 22
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, 02:55 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,986

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
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, 09:46 AM   #3
Quantumstate
Member
 
Registered: Jun 2005
Location: Seattle, Ecotopia
Distribution: CentOS 7.4 with KDE
Posts: 262

Original Poster
Rep: Reputation: 22
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, 10:50 AM   #4
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,986

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
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



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 02:30 AM
How can we Suspend/Resume/Hibernate/Standby Solaris 10 32bit and 64bit OS. vishwas786 Solaris / OpenSolaris 7 07-23-2009 07:37 AM
how to detect system power event(user trigger),suspend,hibernate,resume...? minge.zu Linux - Desktop 1 02-11-2009 08:19 PM
How to reconnect to wifi on resume from hibernate/suspend? Slackware 12.1, madwifi thesk8ingtoad Slackware 1 08-22-2008 07:15 AM
HP Laptop hibernate/suspend/resume question Jongi Debian 4 05-20-2008 08:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 12:01 AM.

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
Open Source Consulting | Domain Registration