RPMFusion Testing 增加适用于 Fedora 10 的ATi fglrx 驱动(2009.1.21更新)

使用 ATi 显卡的 Fedora 10 用户们终于在年末等来了 rpmfusinon 版本的 fglrx 而无需降级 libdrm。(2009年1月21日更新)目前已经结束 testing 状态,推荐各位朋友们使用。

以下内容翻译自 FedoraForumleigh123@linux 大人最新修订的 Howto,有问题的话欢迎进入讨论。

  1. 安装驱动 su - rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm yum install akmod-fglrx xorg-x11-drv-fglrx xorg-x11-drv-fglrx-libs.i386 (译者注: fglrx 已经从 testing 移至 update 了)

2.编辑 xorg.conf 首先调用ati显示配置做初步工作 su aticonfig --initial -f 然后手动编辑 xorg.conf su gedit /etc/X11/xorg.conf

添加以下字段: Section "Extensions" Option "Composite" "Enable" EndSection

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

Section "DRI" Mode 0666 EndSection

然后在 Device 字段添加如下内容: Option "OpenGLOverlay" "off" Option "VideoOverlay" "on"

4.备份已有的 initrd (译者注:这个文件记录了内核模块的位置信息,修改它是为了禁止载入已有的 radeon 驱动) su mv /boot/initrd-uname -r.img /boot/initrd-uname -r.img.backup

重新生成新的 initrd,使 radeon 模块不会被强行载入 su mkinitrd -v /boot/initrd-uname -r.img uname -r

5.编辑grub.conf su gedit /boot/grub/grub.conf 在内核所在行的最后添加 nopat参数。 可选:如果工作不正常的话再添加 nomodeset 参数。

6.重新启动计算机 这步是必须的,否则fglrx的内核模块不会编译。

翻译结束

如果严格参照以上方法施行后 fglrx 工作异常,想要换回原先的开源驱动。 目前 FedoraForum 上面的卸载方法还是针对老的需要降级 libdrm 的方式,新方式的 leigh123@linux 大人尚未更新。 不过从以上安装过程来看,因为不涉及 libdrm 了,要简单的多,本人推测如下: 1. 卸载 fglrx 包 通过 yum remove 的方式清理掉安装的 rpm 包 2. 依然使用 KMS 方式进行显示设定 删除 /etc/X11/xorg.conf 文件,卸载 system-config-display (这个保留也可以)。 3.恢复之前的 initrd 文件 使用之前备份的 initrd 文件 mv /boot/initrd-uname -r.img.backup /boot/initrd-uname -r.img 4. 取消无用的内核引导参数 删除掉 /boot/grub/grub.conf 文件中内核行的 nopat 参数。

希望使用 ATi 显卡的朋友们积极尝试下,将结果反馈给 FedoraForum 。顺便BS下 AMD 慢半拍的驱动开发速度……

Read More:

18 Comments

  1. 1 Troy Commented @ 2008-12-30 11:01Reply to this comment

    刚用上,在官方论坛上找到的,不过还是感谢楼主的贡献~~

  2. 2 Carlos Commented @ 2008-12-30 11:27Reply to this comment

    可惜,俺用nVidia显示卡。

  3. 3 liangsuilong Commented @ 2008-12-30 13:07Reply to this comment

    希望fglrx尽快移入正式的updates拉

  4. 4 kkk21 Commented @ 2008-12-30 14:15Reply to this comment

    不行啊~怎么我用上面的方法以后,连桌面效果都打不开了~

  5. 5 subx Commented @ 2008-12-31 8:44Reply to this comment

    昨天发现opensuse11.1装A卡驱动那个简单啊~

  6. 6 bingyuan Commented @ 2008-12-31 9:41Reply to this comment

    A卡驱动安装果然还是麻烦

  7. 7 黑日白月 Commented @ 2008-12-31 9:46Reply to this comment

    @kkk21 如果以前用的自带的开源驱动可以打开桌面效果的话,估计你使用的是 X1000 系列的显卡,这个系列显卡 3D 用内置的开源就可以了,没有特殊要求比如 HDMI 输出可以不用这个 fglrx 驱动的。

    如果实在想用 fglrx 的话可以根据文中的联结到 FedoraForum 回帖说明详细信息,我会尽力解决(估计没有 leigh123@linux大人响应的快)的。也可以到 FZUG Fedora 中文用户组论坛发贴,不过我已经有半个月无法访问那里,不知道怎么回事(已经确认是个别现象,只是不知如何解决)……

  8. 8 lh Commented @ 2008-12-31 13:09Reply to this comment

    一个月一次驱动更新还慢呢!

  9. 9 ruiuan Commented @ 2008-12-31 23:00Reply to this comment

    小黑很辛苦呀~

  10. 10 hantsy Commented @ 2009-01-01 0:40Reply to this comment

    真搞不懂,为什么rpmfusion的驱动打包方式会采用livna的方式(垃圾方式,每次内核升级就要等待驱动包升级),而使用frreshrpm.org提供的方式(基于DKMS,内核升级与驱动升级完全分开,DKMS会监控内核升级,自动针对内核编译),后者要智能得多。

  11. 11 kkk21 Commented @ 2009-01-01 11:41Reply to this comment

    有什么方法能卸掉 用rpmfusion安装上的驱动?

  12. 12 黑日白月 Commented @ 2009-01-01 21:08Reply to this comment

    @hantsy 不知道这位兄弟有没有注意安装过程中的 akmod-fglrx 的作用呢? 如果没有的话请执行 rpm-qi akmod-fglrx 。

    @kkk21 已经补充卸载方法! 希望您能将错误信息反馈到 FZUG 或者 FedoraForum 上,以便其他人参考。

  13. 13 王猛 Commented @ 2009-01-04 18:33Reply to this comment

    我按照这个方法安装了驱动,但是查看opengl驱动时候,不是ATI的驱动,而是:

    fglrxinfo display: :0.0 screen: 0 OpenGL vendor string: Mesa Project OpenGL renderer string: Software Rasterizer OpenGL version string: 2.1 Mesa 7.3-devel

    这是怎么回事呢??

  14. 14 王猛 Commented @ 2009-01-04 18:56Reply to this comment

    楼主,找到原因了: 增加下面的内容到xorg.conf就可以了。原文的配置文件中这个节是空的。

    Section "Module" Load "i2c" Load "bitmap" Load "ddc" Load "dri" Load "extmod" Load "freetype" Load "glx" Load "int10" Load "vbe" EndSection

  15. 15 黑日白月 Commented @ 2009-01-14 21:50Reply to this comment

    @王猛 估计是遗漏了这一步吧? aticonfig --initial -f

    不过最后好了就好 :)

  16. 16 liangsuilong Commented @ 2009-01-21 15:38Reply to this comment

    不明白为什么要重建initrd来使启动的时候不加载radeon模块... 难道amd的驱动还是不够稳定?

  17. 17 Kain Commented @ 2009-03-01 11:43Reply to this comment

    我已经照这个安装好了,3D桌面也打开了。但就是看电影时图像模糊,没法看。

  18. 18 Tony Commented @ 2009-05-07 17:13Reply to this comment

    帮我看看 我安了以后fglrxinfo是这样的 , X Error of failed request: BadRequest (invalid request code or no such operation) Major opcode of failed request: 155 (GLX) Minor opcode of failed request: 19 (X_GLXQueryServerString) Serial number of failed request: 11 Current serial number in output stream: 11 打开3D桌面是显示 Desktop effects could not be enabled