个人工具

“UbuntuHelp:NvidiaLaptopBinaryDriverSuspend”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
第2行: 第2行:
 
{{Languages|UbuntuHelp:NvidiaLaptopBinaryDriverSuspend}}
 
{{Languages|UbuntuHelp:NvidiaLaptopBinaryDriverSuspend}}
 
{|border="1" cellspacing="0"
 
{|border="1" cellspacing="0"
|||||'''''This introduction is reported to work with Ubuntu 7.04/6.10/6.06 on multiple setups'''''
+
|||||'''''This introduction is reported to work with Ubuntu 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 ~ [[UbuntuWiki:Bernstein|Bernstein]]
 
'''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 ~ [[UbuntuWiki:Bernstein|Bernstein]]
 
'''See also:''' https://launchpad.net/bugs/34043
 
'''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" '' :
+
'''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):
 
<pre><nowiki>
 
<pre><nowiki>
 
Section "Device"
 
Section "Device"
第14行: 第14行:
 
</nowiki></pre>
 
</nowiki></pre>
 
This bug is tracked at https://launchpad.net/bugs/34043.
 
This bug is tracked at https://launchpad.net/bugs/34043.
 +
* As per bug '''34043''', I think you also need to disable the agpgart module. -- [[UbuntuHelp:PhilipAston|PhilipAston]]
 
'''Second:''' disable warm-booting the video hardware on resume by editing your /etc/default/acpi-support as follows:  
 
'''Second:''' disable warm-booting the video hardware on resume by editing your /etc/default/acpi-support as follows:  
 
<pre><nowiki>
 
<pre><nowiki>
第29行: 第30行:
 
</nowiki></pre>
 
</nowiki></pre>
 
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.
 
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.
'''Third:''' 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*. You can set this option to false by running:
+
'''Third:''' 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:
 
<code><nowiki>gconftool --set /apps/compiz/general/screen0/options/sync_to_vblank 0 --type bool</nowiki></code>
 
<code><nowiki>gconftool --set /apps/compiz/general/screen0/options/sync_to_vblank 0 --type bool</nowiki></code>
 
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.
 
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.

2008年4月23日 (三) 11:51的版本

This introduction is reported to work with Ubuntu 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.

  • As per bug 34043, I think you also need to disable the agpgart module. -- PhilipAston

Second: 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. Third: 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 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.