AIGLX和XGL两种方式实现
fc6自带的是AIGLX,但是ATI的fglrx驱动目前不支持AIGLX
所以只能AIGLX+radeon(FC6自带的驱动)或者XGL+fglrx
下面说一下ATI fglrx的驱动安装方法
第一种 yum install
首先要升级内核到i686
Quote:
#yum install kernel-2.6.18-1.2849.fc6.i686
安装fglrx驱动
Quote:
#rpm -Uhv http://rpm.livna.org/livna-release-6.rpm
#yum install kmod-fglrx xorg-x11-drv-fglrx
#yum update kmod-fglrx xorg-x11-drv-fglrx
#service ati-fglrx restart
#ati-fglrx-config-display enable
#setsebool -P allow_execstack=1
#setsebool -P allow_execmod=1
#aticonfig --initial
再编辑/etc/X11/xorg.conf文件
注意红色部分是要添加或修改的,注意备份!!!!Quote:
# Xorg configuration created by pyxf86config
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "aticonfig-Screen[0]" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
EndSection
Section "Module"
Load "glx"
Load "dbe"
Load "drm"
Load "extmod"
Load "fbdevhw"
Load "record"
Load "freetype"
Load "type1"
Load "dri"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "Monitor"
Identifier "aticonfig-Monitor[0]"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection
Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
EndSection
Section "Screen"
Identifier "aticonfig-Screen[0]"
Device "aticonfig-Device[0]"
Monitor "aticonfig-Monitor[0]"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "DRI"
Mode 0666
EndSection
Section "Extensions"
Option "Composite" "False"
EndSection
重启即可
第二种方法,本地安装
到ATI官网下载for Linux的驱动包,下下来文件是ati-driver-installer-8.31.5-x86.x86_64.run
cd到存放处
Quote:
#ati-driver-installer-8.31.5-x86.x86_64.run --buildpkg Fedora/FC6
会得到ATI-fglrx-8.31.5-1.fc6.i386.rpm, ATI-fglrx-control-panel-8.31.5-1.fc6.i386.rpm, ATI-fglrx-devel-8.31.5-1.fc6.i386.rpm, 和 kernel-module-ATI-fglrx-KERNEL-VERSION.fc6-8.31。5-1.fc6.i386.rpm四个安装包,分别安装
再执行
Quote:
#aticonfig --initial
再编辑/etc/X11/xorg.conf文件,在文件末加入
Quote:
Section "Extensions"
Option "Composite" "False"
EndSection
重启,OK
[ 此贴被蓝色蝴蝶在2006-12-13 15:01重新编辑 ]