IAML's Blog

Find passion in coding
小本本终于可以有线上网啦~~~

[转]Fedora11下ATI显卡驱动安装

IAmL posted @ 2009年10月07日 08:46 in Fedora with tags Fedora11 ati HD2600 驱动 , 5408 阅读

原载:http://hi.baidu.com/sjssd/blog/item/beed2b4421503236869473b6.html

注:

1.本文在原文的基础上,根据本人电脑的特点改过

2.本人显卡:ATI HD2600

3.如果以后还要继续玩linux的话,买显卡千万不要买A卡……


su
1.更新内核(如果装了fedora11后没有update过内核的就应该update一下,否则就看心情吧)
yum update kernel


2.重启系统
reboot


3.下载驱动并安装
uname -r

显示出内核版本

fedora release 11(Leonidas)
kernel 2.6.29.6-217.2.16.fc11.i686.PAE on i686 (tty4)
别的不重要,主要是看kernel行中是否有 PAE 三个字母
如果有PAE的话,执行下一条命令:
yum install kmod-catalyst-PAE xorg-x11-drv-catalyst-libs.i586 xorg-x11-drv-catalyst
如果没有PAE,执行:
yum install kmod-catalyst xorg-x11-drv-catalyst-libs.i586 xorg-x11-drv-catalyst
注:以上两条命令不能同时执行。


4.更改boot引导
mv /boot/initrd-`uname -r`.img /boot/initrd-`uname -r`.img.backup
mkinitrd -v /boot/initrd-`uname -r`.img `uname -r`


5.修改grub.conf
vim /etc/grub.conf
在kernel行末,空一格 加上nopat ,如果有问题,就改成nomodeset 就可以 (一般而言没问题,反正我用的是nopat)


6.修改X windows配置
vim /etc/X11/xorg.conf
找到 section Device
在driver下添加三行:
# Add the following line to the "Device" section in the ATI created /etc/X11/xorg.conf file:
Option          "AccelMethod" "EXA"
Option          "MigrationHeuristic" "greedy"
Option          "SWCursor" "true"   #请不要加这句话,如果加上了,请用#号注释它,或直接删除


6.5. 补遗
如果你未加上或注释掉了Option "SWCursor" "true"行的话,请运行如下命令:
# aticonfig --set-pcs-str="DDX,EnableRandr12,FALSE"
再接下执行以后步骤,3D在等你!


7.修改blacklist配置
# Add the following lines to the /etc/modprobe.d/blacklist.conf file:
blacklist radeon
blacklist radeonhd
注:第6步第7步都应该执行一下,当然诸位如果有兴趣可以略过,不过,如果略过的话,后果很严重,一打开firefox就死机,呵呵


8.以下这一步如果不执行的话,各位就别想开特效了,开机加载的内核模块就报错,/usr/lib/catalyst/libGL.so.1: cannot restore segment prot after reloc: Permission denied .
开机后输入aticonfig或者glxgears命令,也会报错。特效当然就别想了。
不废话,命令是:
chcon -t textrel_shlib_t '/usr/lib/catalyst/libatiadlxx.so'
chcon -t textrel_shlib_t '/usr/lib/catalyst/libGL.so.1.2'
chcon -t textrel_shlib_t '/usr/lib/catalyst/libGL.so.1'

注:如果一开始就禁止了selinux的话,则这一步可以跳过

9.重启
reboot

10.验证看看是否成功了

lspci -v

我的显示如下

01:00.0 VGA compatible controller: ATI Technologies Inc RV630 [Radeon HD 2600 Series] (prog-if 00 [VGA controller])
    Subsystem: PC Partner Limited Device e420
    Flags: bus master, fast devsel, latency 0, IRQ 26
    Memory at d0000000 (64-bit, prefetchable) [size=256M]
    Memory at fdfe0000 (64-bit, non-prefetchable) [size=64K]
    I/O ports at de00 [size=256]
    [virtual] Expansion ROM at fdf00000 [disabled] [size=128K]
    Capabilities: <access denied>
    Kernel driver in use: fglrx_pci
    Kernel modules: fglrx, radeon

over~~~~

 

Avatar_small
H+ 说:
2009年10月07日 09:40

只要是个显卡总会遇到问题
我还想着以后用电脑选择intel卡,现在就n卡不支持kms

Avatar_small
IAmL 说:
2009年10月08日 03:44

@H+: 但是就一般用途和驱动的支持情况来说,用A卡很杯具


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter