Fc9中安装ATI驱动,实现XGL,Compiz/Beryl效果Howto for fglrx (Ati driver) , XGL and Compiz / Beryl

标题: Fc9中安装ATI驱动,实现XGL,Compiz/Beryl效果Howto for fglrx (Ati driver) , XGL and Compiz / Beryl
注意:
这篇帖子可以帮助那些想要在FC9中实现 fglrx驱动,XGL和compiz效果的人,
在你决定开始之前,请现确定您的内核是最新的,


由于 使用了yum,所以请确保您使用yum时,速度可以忍受的,否则的话,请参考下面这篇帖子设置一下yum,
http://www.linuxsir.org/bbs/thread329252.html
这样yum的速度就很不错了,




代码:
    
    
    
    
rpm -qa | grep "kernel"
下面是我的命令输出
[prife@localhost ~]$ rpm -qa | grep "kernel"
kerneloops-0.10-11.fc9.i386
kernel-headers-2.6.25-14.fc9.i386
kernel-2.6.25-14.fc9.i686
kernel-devel-2.6.25.4-30.fc9.i686
kernel-2.6.25.4-30.fc9.i686
[prife@localhost ~]$

如果您的内核不包含红色部分的话,请现升级内核,避免不必要的麻烦.
代码:
    
    
    
    
yum install kernel
然后重启系统,查看一下grub中是否出现了新安装的内核,并测试一下您的系统在新内核下是否可以正常工作,请务必确定您的内核是最新的

Howto for F9
Click this link to make sure your card is supported by this driver ( ATI cards 9250 and below are unsupported )


1. Downgrade the xorg server
降级 xorg server
Remove the F9 Xserver and bits and install the fedora8.repo
移除 F9的Xserver,并且安装 fedora8.repo
代码:
    
    
    
    
su
wget http://www.linux-ati-drivers.homecal...k/fedora8.repo -O /etc/yum.repos.d/fedora8.repo
yum remove xorg-x11-server-Xorg xorg-x11-server-common
rpm -e --nodeps --allmatches mesa-libGL mesa-libGLU mesa-libGL-devel mesa-libGLU-devel glx-utils
Now, edit /etc/yum.repos.d/fedora.repo and /etc/yum.repos.d/fedora-updates.repo
现在,编辑 /etc/yum.repos.d/fedora.repo 和 /etc/yum.repos.d/fedora-updates.repo
代码:
    
    
    
    

su
perl -i -pe "s/(/[.*/])//1/nexclude=xorg* linuxwacom* rhpxl* mesa*/" /etc/yum.repos.d/fedora.repo
perl -i -pe "s/(/[.*/])//1/nexclude=xorg* linuxwacom* rhpxl* mesa*/" /etc/yum.repos.d/fedora-updates.repo
These commands add this line to the fedora repo's

exclude=xorg* linuxwacom* rhpxl* mesa*

这些命令 把上面这行添加到 fedora repo's 文件中去了
Install the F8 Xserver .

安装 F8 Xserver
代码:
    
    
    
    
su
yum clean all
yum groupinstall "X Window System"
yum install mesa-libGL mesa-libGLU mesa-libGL-devel mesa-libGLU-devel system-config-display system-config-keyboard firstboot


至此 Xorg 降级成功.

2. Install driver

install the Livna driver
安装驱动 ,安装 Livna 驱动
代码:
    
    
    
    
su -
rpm -Uhv http://rpm.livna.org/livna-release-9.rpm
yum --enablerepo=livna-testing install xorg-x11-drv-fglrx xorg-x11-drv-fglrx-libs akmod-fglrx kmod-fglrx
akmods --force
service fglrx restart
fglrx-config-display enable


注意,上面这组命令是用的su - ,请注意,不是su了,如果你执行 akmods --force时,发现找不到命令,那么就是这个原因

Additional package for 64 bit

如果是 X_64位 还需要安装下列附加包
[/left]
代码:
    
    
    
    
yum install xorg-x11-drv-fglrx-libs.i386


3. Edit xorg.conf

编辑 xorg.conf 文件
代码:
    
    
    
    
su
gedit /etc/X11/xorg.conf
Then add these sections.
然后添加下列 sections
代码:
    
    
    
    
Section "Extensions"
Option "Composite" "Enable"
EndSection


Section "ServerFlags"
Option "AIGLX" "on"
EndSection

Section "DRI"
Mode 0666
EndSection
also add these options to the device section
在 device section 中按下更改选项
代码:
    
    
    
    
Option "OpenGLOverlay" "off"
Option "VideoOverlay" "on"
Reboot


---------------------------------------------------------------------------------------------------------------------------------------------------
如何恢复到原来的效果

To reverse the changes:

1. Remove the fglrx driver

移出 fglrx 驱动

search for the packages
查着在配置过程中安装的包
代码:
    
    
    
    
rpm -qa |grep fglrx
And use yum to remove all the listed packages
用yum 移出所有上面列出的包

2. Edit /etc/yum.repos.d/fedora.repo and /etc/yum.repos.d/fedora-updates.repo
Remove this line:

编辑 /etc/yum.repos.d/fedora.repo和 /etc/yum.repos.d/fedora-updates.repo
删除 此行

代码:
    
    
    
    
exclude=xorg* linuxwacom* rhpxl* mesa*
3. Remove the fedora8.repo
移除fedora8.repo
代码:
    
    
    
    
rm /etc/yum.repos.d/fedora8.repo
4. Then update.
代码:
    
    
    
    
su
yum update
执行更新,就回到原来的状态了.

你可能感兴趣的:(Fc9中安装ATI驱动,实现XGL,Compiz/Beryl效果Howto for fglrx (Ati driver) , XGL and Compiz / Beryl)