找到 /etc/X11/ 下的xorg.conf 打开改文件
在 Section “Device”字段下添加
Option “TripleBuffer” “true”
Option “AddARGBVisuals” “True”
Option “AddARGBGLXVisuals” “True”
在 Section “Screen”字段下添加
Option “RenderAccel” “true”
Option “TripleBuffer” “True”
Option “AllowGLXWithComposite” “true”
Option “AddARGBGLXVisuals” “True”
Option “DisableGLXRootClipping” “True”
下面是我的 xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder63) Mon Feb 23 15:43:26 PST 2009
Section “ServerLayout”
Identifier “Layout0”
Screen 0 “Screen0”
InputDevice “Keyboard0” “CoreKeyboard”
InputDevice “Mouse0” “CorePointer”
EndSection
Section “Files”
EndSection
Section “Module”
Load “dbe”
Load “extmod”
Load “type1”
Load “freetype”
Load “glx”
EndSection
Section “InputDevice”
# generated from default
Identifier “Mouse0”
Driver “mouse”
Option “Protocol” “auto”
Option “Device” “/dev/psaux”
Option “Emulate3Buttons” “no”
Option “ZAxisMapping” “4 5”
EndSection
Section “InputDevice”
# generated from default
Identifier “Keyboard0”
Driver “kbd”
EndSection
Section “Monitor”
Identifier “Monitor0”
VendorName “Unknown”
ModelName “Unknown”
HorizSync 30.0 – 110.0
VertRefresh 50.0 – 150.0
Option “DPMS”
EndSection
Section “Device”
Identifier “Device0”
Driver “nvidia”
VendorName “NVIDIA Corporation”
Option “TripleBuffer” “true”
Option “AddARGBVisuals” “True”
Option “AddARGBGLXVisuals” “True”
EndSection
Section “Extensions”
Option “Composite” “Enable”
EndSection
Section “Screen”
Identifier “Screen0”
Device “Device0”
Monitor “Monitor0”
DefaultDepth 24
SubSection “Display”
Depth 24
Option “RenderAccel” “true”
Option “TripleBuffer” “True”
Option “AllowGLXWithComposite” “true”
Option “AddARGBGLXVisuals” “True”
Option “DisableGLXRootClipping” “True”
Modes “1024×768” “800×600” “640×480”
EndSubSection
EndSection