UbuntuHelp:NvidiaLaptopBinaryDriverSuspend
来自Ubuntu中文
![]() |
点击翻译: |
English |
请不要直接编辑翻译本页,本页将定期与来源同步。 |
<tablewidth="100%" #FF0000>This introduction has two steps. It is reported to work with Ubuntu 7.04/6.10/6.06 on multiple setups |
Note: If this doesn't work for you, you can try the solution below. Please append a note here or mail me ~ Bernstein (Dez.06)
Note: enabling TwinView breaks suspend-to-ram (reported to work with drivers 96XX), if you know better please delete this note and write how you did it ~ Bernstein
See also: https://launchpad.net/bugs/34043
First: update your /etc/X11/xorg.conf and add an "Option "NvAGP" "1" line in the "Section "Device" :
Section "Device" ... Option "NvAGP" "1" EndSection
Secondly: disable warm-booting the video hardware on resume by editing your /etc/default/acpi-support as follows :
... # Should we attempt to warm-boot the video hardware on resume? POST_VIDEO=false ...
If you don't have a suspend option, you need to manually enable ACPI_SLEEP in the same file. However, this should be enabled by default.
<tablewidth="100%" #FF0000>The following HOWTO is outdated. Try the one above first. Possibly this method works on versions of Ubuntu older than 6.06. |
Getting suspend to work with the NVIDIA binary drivers requires a bit of foo.
First off this works for me on a Dell Inspiron 8600, im hoping it will work for others.
First off, we need to make sure we have the 7xxx version of the nvidia binary drivers, as they fixed suspend in this version, you can get this in hoary with the nvidia-glx and linux-restricted-modules-`uname -r` package (apt-get install nvidia-glx linux-restricted-modules-`
uname -r`
)
Second we need to update our Xorg.conf to set NvAGP to 1, and make sure we are using the binary drivers, it looks like this..
Section "Device" Driver "nvidia" Option "NvAGP" "1" EndSection
Next off, we need to force the nvidia module to load early, this is done because it hooks in with the agpgart module and needs to load before that module does, so simply add 'nvidia' to the top of /etc/modules
Lastly, we need to configure /etc/default/acpi-support, because by default it is setup to do lots of ugly hacks for random hardware, which ends up breaking suspend with nvidia and making your screen go weird colours :)
Here are the following settings you need to change
# Should we save and restore state using the VESA BIOS Extensions? SAVE_VBE_STATE=false # Should we attempt to warm-boot the video hardware on resume? POST_VIDEO=false # Should we switch the screen off with DPMS on suspend? USE_DPMS=false
You probably also want to enable suspend to ram
# Uncomment the next line to enable ACPI suspend to RAM ACPI_SLEEP=true
And then (probably after a reboot to get the AGP stuff working, and restarting X along with it), you should be able to suspend to ram and disk, I recommend suspend to ram because it's much faster!
Any questions feel free to email me
lathiat@bur.st [TrentLloyd]