|
|
注意:
这篇帖子可以帮助那些想要在FC9中实现 fglrx驱动,XGL和compiz效果的人,
在你决定开始之前,请现确定您的内核是最新的,
[color="Blue"]由于 使用了yum,所以请确保您使用yum时,速度可以忍受的,否则的话,请参考下面这篇帖子设置一下yum,
http://www.linuxsir.cn/bbs/thread329252.html
这样yum的速度就很不错了,
下面是我的命令输出
[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
[color="Red"]kernel-devel-2.6.25.4-30.fc9.i686
kernel-2.6.25.4-30.fc9.i686
[prife@localhost ~]$
如果您的内核不包含红色部分的话,请现升级内核,避免不必要的麻烦.
然后重启系统,查看一下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 [URL]http://www.linux-ati-drivers.homecall.co.uk/fedora8.repo[/URL] -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
-
- [align=LEFT]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[/align]
-
复制代码
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
-
复制代码
[color="Red"]至此 Xorg 降级成功.
2. Install driver
install the Livna driver
安装驱动 ,安装 Livna 驱动
- su -
- rpm -Uhv [URL]http://rpm.livna.org/livna-release-9.rpm[/URL]
- 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[b]
复制代码
[color="Red"]注意,上面这组命令是用的[color="Blue"]su - ,请注意,不是su了,如果你执行 akmods --force时,发现找不到命令,那么就是这个原因
Additional package for 64 bit
如果是 X_64位 还需要安装下列附加包
- 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
查着在配置过程中安装的包
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.
执行更新,就回到原来的状态了. |
|