|
受不了ATI的官方驱动,也受不了Xgl的系统资源占用量,尝鲜用了开源驱动,配置下来花了不少功夫,
现在用的版本是7.04feisty,ubuntu下的ATI开源驱动一般都自动安装好了,只需要修改一下etc/X11/xorg.conf,就可以了
我的ATI9600显卡的配置如下,仅供参考:
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "ServerLayout"
Option "AIGLX" "true" Identifier "Default Layout" Screen "Default Screen" 0 0 InputDevice "Generic Keyboard" InputDevice "Configured Mouse" InputDevice "stylus" "SendCoreEvents" InputDevice "cursor" "SendCoreEvents" InputDevice "eraser" "SendCoreEvents"
EndSection
Section "Files"
# path to defoma fonts
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "bitmap"
Load "ddc"
Load "dri" Load "dbe"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
Section "InputDevice"
# /dev/input/event
# for USB
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/wacom" # Change to
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
# /dev/input/event
# for USB
Identifier "eraser"
Driver "wacom"
Option "Device" "/dev/wacom" # Change to
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
# /dev/input/event
# for USB
Identifier "cursor"
Driver "wacom"
Option "Device" "/dev/wacom" # Change to
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "Monitor"
Identifier "PHILIPS 107B"
HorizSync 30.0 - 86.0
VertRefresh 50.0 - 160.0
Option "DPMS"
EndSection
Section "Device"
Identifier "ATI Technologies, Inc. RV350 AR [Radeon 9600 XT]"
Driver "radeon" BusID "PCI:2:0:0" #根据命令 lspci | grep VGA 的结果来修改 Option "DRI" "true" Option "ColorTiling" "true" Option "EnablePageFlip" "true" Option "AGPMode" "8" #AGP接口规范 Option "RenderAccel" "true" Option "AGPFastWrite" "on" #显存快写,AGP 4X的显卡不支持 Option "AccelMethod" "XAA" Option "GartSize" "128" #显存容量 Option "BusType" "AGP" Option "XAANoOffscreenPixmaps" "true" Option "AddARGBGLXVisuals" "True" #For ati if not you can find problems with window borders
EndSection
Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. RV350 AR [Radeon 9600 XT]"
Monitor "PHILIPS 107B"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768" "800x600"
EndSubSection
EndSection
Section "DRI"
Mode 0666
EndSection
Section "Extensions" Option "Composite" "enable" EndSection
红色部分是与采用官方驱动时的不同处。
修改后,按Ctrl+Alt+Backspace键,重启图形界面,
终端输入命令:glxinfo | grep direct
得到以下结果,说明3D驱动成功。
libGL warning: 3D driver claims to not support visual 0x4b
direct rendering: Yes
然后用新利得安装Beryl
可以在终端输入命令beryl,或者在会话中添加beryl自动启动
开源驱动有些特效不支持,但也够炫了。
_________________ 黑夜给了我黑色的眼睛,我却用它来寻找ubuntu 。
|