个人工具

UbuntuHelp:NvidiaLaptopBinaryDriverSuspend

来自Ubuntu中文

跳转至: 导航, 搜索

<<Include(Tag/StyleCleanup)>>

This introduction is reported to work with Ubuntu 8.10, 8.04, 7.10, 7.04, 6.10, 6.06 on multiple setups

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" (note that this is necessary even for PCI-Express graphics cards for resume to work reliably):

Section "Device"
        ...
        Option          "NvAGP"       "1"
EndSection

This bug is tracked at https://launchpad.net/bugs/34043. Second: blacklist the intel_agp module from being loaded by the kernel. This is done by editing /etc/modprobe.d/blacklist and adding the following line:

blacklist intel_agp

If you are using Ubuntu 8.04 or previous versions, you also need the following steps: Third: 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

...

(Note: On Gutsy, POST_VIDEO only affects suspend, not hibernate.) You should also disable the SAVE_VBE_STATE option, if it set in your file:

SAVE_VBE_STATE=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. Fourth: If you're running 7.10 (gutsy) and you're using compiz (desktop-effects) in conjunction with NVIDIA binary drivers, make sure your "Sync to VBLANK" option in "Advanced Desktop Effects Settings > General > Display settings" is *disabled* (note that this leads to ugly tearing when watching videos). You can set this option to false by running: gconftool --set /apps/compiz/general/screen0/options/sync_to_vblank 0 --type bool Seriously dont actually do this until you have tried everything else, it make anything with a scrollbar look absolutely horrible, it not a usual culprit too, if it is really necessary for suspend than thats a bug and needs to be fixed. Unless this setting is set to false, the graphical interface (X11) tends to wake up with just a blank screen (possibly with a working mouse cursor). For this bug, see https://launchpad.net/bugs/144732. If you are running 8.04 (hardy) then three sync-to-vblank options are available in the various screens of System > Administration > NVIDIA X Server Settings (which is part of the nvidia-settings package). It may be necessary to turn all of these options off.