View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 1 post ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Wed Jan 03, 2007 6:25 am 
Offline
Joined: Sat Nov 18, 2006 3:59 am
Posts: 4
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


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu