系统centos5.6(内核版本为2.6.18-308.415),显卡为ATI4300
按照网上教程(http://www.docin.com/p-337967507.html)安装显卡驱动,安装完后电脑反而很卡,在网上查里一些,也有出现类似情况的。当都没说明是什么原因。
而在系统-首选项-更多首选项中明明可以看到安装成功。其实并没有安装成功,当点击那个ATI管理中心并没有反应。
解决方法:
在目录/usr/share/ati/ 下fglrx-install.log 记录了安装过程的详细信息。
我的错误信息为:
[Message] Kernel Module : Trying to install a precompiled kernel module.
[Message] Kernel Module : Precompiled kernel module version mismatched.
[Error] Kernel Module : Kernel module build environment not found - please consult readme.
[Message] Kernel Module : update initramfs not required
[Message] Driver : End of installation
从第二行可看错,我的想卡驱动和我的内核不匹配。
首先我更新了一下内核。
更新完内核后要重启一下,选择新的内核启动
详细安装方法见这个教程
(http://gofedora.com/how-to-install-ati-catalyst-fglrx-98-drivers-fedora-11/comment-page-1/)
标黄部分要根据自己情况改动!!!!
How To: Install ATI Catalyst (fglrx) Drivers
by Kulbir Saini
in AMD,ATI,Drivers,Fedora,Graphics,Hardware,HowTo,Installation,Kernel,Xorg
Note: This How To is valid up to Catalyst Driver version 10.1.
Note: With minor changes this How To may work for other Linux distributions like Mandriva, Suse, Ubuntu, Red Hat, Cent OS etc.
Following the suggestions in comments on my last post about ATI Catalyst (fglrx), I tried to reinstall ATI drivers version 9.8 and finally it worked. I thought of noting down the the process in few simple steps which anyone can follow and get the drivers working on Fedora 11 with latest kernel versions.
Step 1 : Update Kernel, Install kernel-devel
Huge thanks to Richard Lloyd and mxyzptlk2063 for pointing this out.
This step is not necessary. You may like to stick to the kernel version you already have. In case you want the latest kernel, just use yum to get the latest kernel.
Note: Do not forget to update the kernel-devel package as well as its needed to compile the fglrx kernel module.
DONT UPDATE THE KERNEL. Instead stick to whatever kernel version you have. If you have 2.6.30.*, you are unlucky
Get a kernel version 2.6.29.* and install the kernel-devel for the same.
With Catalyst Driver version 9.10 you can update kernel to latest version before installing the Drivers.
[root@fedora ~]$ yum update kernel
[root@fedora ~]$ yum install kernel-devel
更新完内核后要重启一下,选择新的内核启动。
Step 2 : Download Drivers
Download the ATI Catalyst™ 9.8 Proprietary Linux x86 Display Driver from ATI/AMD website.
从官网现在驱动!
我下载的是最新驱动!amd-driver-installer-12-4-x86.x86_64.run
Step 3 : Install Drivers
Install the drivers that you have downloaded using the following command.
[root@fedora ~]$ bash ./ati-driver-installer-9-8-x86.x86_64.run
Step 4 : Check Installation Result
Check the /usr/share/ati/fglrx-install.log file for result of installation. If there are no errors, proceed to the next step.
Note: You may see lines like this at the end of file
You must change your working directory to /lib/modules/fglrx
and then call ./make_install.sh in order to install the built module.
- recreating module dependency list
- trying a sample load of the kernel modules
done.
You can ignore these lines happily if they don’t contain any error message. You don’t really need to execute the command mentioned in those lines.
Step 5 : Blacklist radeon and radeonhd kernel modules
Add these lines to /etc/modprobe.d/blacklist.conf.
blacklist radeon
blacklist radeonhd
Step 6 : Generate initial Xorg configuration file
Note: This step is optional with Catalyst Driver version 9.10, but it wont harm even if you execute this.
You have to generate the initial xorg.conf file which will use fglrx as display device.
[root@fedora ~]$ aticonfig --initial
Step 7 : Modify xorg.conf
Open your /etc/X11/xorg.conf file and add the following line to “Device” section (the one with fglrx as driver)
Option "SWCursor" "true"
Step 8 : Reboot
Reboot your machine. And you’ll have the latest ATI Catalyst drivers working on your Fedora 11
Step 9 : Testing
You can test your newly installed drivers and get the performance benchmarks for your graphics card using the commands below.
[saini@fedora ~]$ glxgears
[saini@fedora ~]$ fgl_glxgears
My graphics card is ATI Radeon HD 3200 (256MB, Onboard) and I get 1500FPS with glxgears and 300FPS with fgl_glxgears.
In case you messup things somewhere, you can uninstall the fglrx drivers using the following command
[root@fedora ~]$ /usr/share/ati/fglrx-uninstall.sh
按照上面的方法完美解决。
希望对大家有帮助。
�AddThis Button Begin