First of all I have to give my hats off to Griffin3 without which this howto will not be final. In fact you HAVE to follow his HOWTO for suspend2 and make sure suspend2 is working (using the bundled nv driver) FIRST before you attempt getting the proprietory driver working....
Step1. Remove any proprietory Nvidia driver that you have installed. Either with synaptic or otherwise.
Step2. Make sure the driver you are using in xorg.conf is the 'nv' driver that came with Breezy.
Step3. Follow Griffin3's HOWTO till the end. (In Step 7, you might need to use synaptic to install gcc if the apt-get command did not work)
Griffin3's Howto:
http://ubuntuforums.org/showthread.p...light=suspend2
You should now have a working suspend (really great at that). Test it a few times to make sure it suspends and resumes properly. It should.
Step4. Download the latest driver from Nvidia's website to your home directory.
http://download.nvidia.com/XFree86/L...-7676-pkg1.run
Step5. Logout until you see the login screen. Press ctrl+alt+F1. Login.
Step6. type
Step7. typeCode:sudo killall gdm
Code:CC=gcc-3.4Code:export CCStep8. Before you click 'Accept' press ctrl+alt+F2. Login.Code:sudo sh NVIDIA-Linux-x86-1.0-7676-pkg1.run
Step9. Type
then typeCode:cd /tmp
you should see a list fo all the directories and files there. The installer that is running in console 1 has its files in one of the directories. After doing some searching, you will find one with a directory named NVIDIA-Linux-x86-1.0-7676-pkg1 in it.Code:ls -l
cd into the directory, all the way to nv. It would look something like this
/tmp/selfgz7985/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv
you directory name will be different from selfgz7985.... find yours.....
type
then go down to line 3667 (you can tell the line number by pressing ctrl-c)Code:pico nv.c
when you are on that line press enter. You should now have an empty line 3667. Type
on that line. Press ctrl-o to save the file and ctrl-x to exit pico.Code:case PM_SUSPEND_STANDBY:
Step10. Press ctrl+alt+F1 you should now be back to the installer page. Click accept and all the other good stuff until it says that it is installed.
Step11. Type sudo pico /etc/X11/xorg.conf and change the driver to 'nvidia' and make sure to add the line
in the device section. Press ctrl+o then ctrl+x.Code:Option "NvAgp" "1"
Step12. Type sudo pico /etc/hibernate/blacklisted-modules and put a # in front of nvidia. It should now look like
press ctrl+o then ctrl+xCode:#nvidia
Step13. Type reboot. Your machine should now reboot all the way to GDM. (You should have seen the Nvidia logo along the way)
Step14. Login. Test that the hibernate is working by pressing the powerbutton.
Step15.Thats it! Hope you have a working syspend now. Let me know how it goes....
Known Issues:
1. Hibernate does not allow you to use the consloe while it is working. By pressing ctrl+alt+F1 we get a garbled screen, but pressing ctrl+alt+F7 will always get you back to X.



Adv Reply



Bookmarks