LinHES Forums
http://forum.linhes.org/

HOWTO: Hibernate with nvidia gpu
http://forum.linhes.org/viewtopic.php?f=11&t=13262
Page 1 of 1

Author:  r0k5t4r2 [ Wed Jan 03, 2007 6:25 am ]
Post subject:  HOWTO: Hibernate with nvidia gpu

If you would like to use the cool hibernate feature but your pc refuses to boot you might find this helpful.

Problem: hibernate doesn't work with agpgart!

Solution: use nvagp

Step 1: update nvidia drivers

simply type:

Code:
install-nvidia-debian.sh 1.0-9631


This will install the latest nvidia driver for most nvidia gpu's. If you are
using a newer card like the 88xx series please use:

Code:
install-nvidia-debian.sh 1.0-9746


instead.

After the script has finished follow Step 2.

Step 2: prevent agpgart from loading

do a
Code:
lsmod | grep agp


to determine what agp modules are loaded at startup.

Code:
agpgart                30028  1 nvidia, intel_agp


instead of intel_agp it could be sis_agp or amd64_agp etc.

to prevent intel_agp from loading we just rename the modul under /lib/modules/2.6.17-chw-8/kernel/drivers/char/agp:

Code:
cd /lib/modules/2.6.17-chw-8/kernel/drivers/char/agp


Code:
mv intel_agp.ko intel_agp.ko.old


hint: putting intel_agp in /etc/hotplug/blacklist or appending agp=off to lilo bootloader config didn't work for me. If you know a cleaner and better way to do this please let me know.

Step 3: changing XServer configuration to use Nvidia AGP

Save your current XServer configuration!

Code:
cd /etc/X11


Code:
cp XF86Config-4 XF86Config-4.orig


edit the XServer configuration.

Code:
vi XF86Config-4


or

Code:
nano -w XF86Config-4


hint: nano is probably easier to use!


append the line:

Code:
Option "nvagp" "1"
under Driver
Code:
"nvidia"
:

and save the file.

Now do a reboot and feel the magic of hibernate. :)

***** UPDATE *****

If you experience problems with tv output, please fall back to the old driver.

e.g. 1.0-8774 which can be found here:

http://www.nvidia.com/object/linux_disp ... -8774.html

Code:
install-nvidia-debian.sh 1.0-8774 -force

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/