LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-Oct-2009, 01:10 AM
Cool Solutions RSS Poster
 
Join Date: Sep 2007
Posts: 20
Cool Solutions 1-9 reputation points
Default Fix for Sleep and Hibernate on a Thinkpad T61p with an nVidi

Fix for Sleep and Hibernate on a Thinkpad T61p with an nVidia FX570 Video Card
08-Oct-2009 04:42 PM

Sleep and Hibernate fix for Thinkpad T61p with an NVIDIA FX570 video card

When I ordered my Thinkpad laptop I specified the best video card that they had available thinking that it would be the best choice with SLED or OpenSuSE. That turned out to be a bad idea until now.

I found out after the fact that NVIDIA drivers can be a problem in certain situations. Especially when it comes to using your laptop's sleep and hibernate functions. They seem to go to sleep just fine. The problem occurs when you try to wake them up again. Everything seems to start up but then when the system tries to load the X11 driver and switch to the desktop, it goes to a black screen and then you are stuck. The only option you have is to power-off and reboot. That is not good for your filesystem integrity even with journaling filesystems such as EXT3 or ReiserFS.

I dug through many forums, discussion threads, and sites like thinkwiki.org for a solution and found nothing that worked for my laptop. However, I have to give them all credit for helping me discover the final solution. I can't guarantee that this will work for your computer but it could help.

It all seems to revolve around which driver is trying to control the AGP features on your computer. In case you are not familiar with the term. AGP is the power management capability that is built into any modern computer. It seems that all power management has been delegated to the video system driver in Linux and Windows.

Many system boards come with integrated video controllers but when you add a different video card it complicates things. It seems like the linux distributions have a problem configuring AGP settings when there are two video adapters on a system. Laptops and desktops might come with an enhanced video card using ATI or nVideo chipsets but the integrated video on the motherboard is still there lurking in the background.

I also think that you need to match the AGP capability of the computer to that in the driver. Read the information below and you will see what I mean by that.

Step 1

Check to see which AGP driver is enabled on your system by running:

lsmod | grep agpMine came back with intel_agp but yours might show sis_agp or via_agp depending on your motherboard. It will also show agppart but that is OK. Make note of which agp module is installed because you will need that information in the next step.

Step 2

Edit /etc/modprobe.conf.local and add the following line:

blacklist intel_agpYours should look like this:

## please add local extensions to this file#blacklist intel_agpStep 3

Now you need to look in the driver registry to see which features are enabled. Run the following:

cat /proc/driver/nvidia/registryLook for NvAGP: 3. This number is the supported AGP state.

Step 4

You need to modify the X system configuration so it knows about your video card's AGP feature. Edit /etc/X11/xorg.conf and look for the [Device] section. Mine originally looked like this:

Section "Device" BoardName "Quadro FX 570M" Driver "nvidia" Identifier "Device[0]" VendorName "NVidia"EndSectionAdd a new entry: Option "NvAGP" "3" into this section. After I made this change mine looks like this:

Section "Device" BoardName "Quadro FX 570M" Driver "nvidia" Identifier "Device[0]" VendorName "NVidia" Option "NvAGP" "3"EndSectionIt seems as if the settings are working as soon as you save the file but you should probably reboot your system before trying your new settings. I noticed that if I now check the current agp driver by running lsmod | grep agp it comes back with:

agpgart 32308 1 nvidiaConclusion

My system now goes to sleep and wakes up properly. The hibernate feature works but, when waking up, it sits for 2 minutes at a black screen with a blinking cursor in the upper left corner. It will beep once and then after another minute it will beep again. After another minute, it will resume the system and you should see a desktop. I rarely use hibernate so this doesn't bother me. At least I know it works if I need it.



More...
 

Thread Tools
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 12:56 PM.


© 2007 Novell, Inc. All Rights Reserved.

Search Engine Friendly URLs by vBSEO 3.3.0 RC2