台式机安装CentOS 6.4 x86_64位 集成显卡ati4290
CentOS的release notes上:
The proprietary drivers for older AMD ( former ATI ) video cards, namely the 2xxx, 3xxx and 4xxx series ( both integrated in motherboards or standalone cards) are not compatible with the new version of the X server introduced in CentOS-6.4. As of mid-March 2013 the only known workaround allowing the use of the proprietary drivers is to downgrade the X server ( xorg* packages ) to the versions available in CentOS 6.3. More details about the extensive investigation around this issue is available here. Make sure that you do not allow yum to upgrade again the packages that have been downgraded by adding the following to the end of /etc/yum.conf exclude=xorg* Note that use of proprietary drivers was never needed for CentOS-6 if all you wanted was a dual-monitor setup. See this FAQ entry for more details on using a dual-monitor setup.
原来CentOS 6.4版本开始不支持ATI的2xxx,3xxx,4xxx系列的显卡。
但是已经升级到6.4怎么办呢。 只需要把xorg的版本降回6.3版系统时的版本就行
最快源(DVD版自带fastestmirror)
Shell代码
yum install yum-fastestmirror yum-presto
开发工具(为安装显卡做准备)
Shell代码
yum groupinstall “Development Tools”
RPMFusion源
下载EPEL:http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
RPMFusion:http://download1.rpmfusion.org/free/el/updates/6/i386 /rpmfusion-free-release-6-1.noarch.rpm http://download1.rpmfusion.org/nonfree/el/updates/6/i386/rpmfusion-nonfree-release-6-1.noarch.rpm
安装
降级Xorg
Shell代码
yum remove xorg-x11-drv-modesetting
yum --disablerepo=\* --enablerepo=C6.3\* downgrade xorg\*
yum --disablerepo=\* --enablerepo=C6.3\* install xorg-x11-drivers
防止Xorg再次被更新
编辑/etc/yum.conf添加 exclude=xorg*
安装显卡驱动必要的依赖
Shell代码
yum install libX11.i686 libXext.i686 glibc.i686 libstdc++ compat-libstdc++-33
插曲 安装显卡驱动前测试
#glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
300 frames in 5.0 seconds = 59.887 FPS
300 frames in 5.0 seconds = 59.897 FPS
官网下载驱动 http://support.amd.com/en-us/download 解压
amd-driver-installer-catalyst-13.1-legacy-linux-x86.x86_64.zip 后
amd-driver-installer-catalyst-13.1-legacy-linux-x86.x86_64.run
sh ./amd-driver-installer-catalyst-13.1-legacy-linux-x86.x86_64.run --extract ati
cd ati/
./packages/RedHat/ati-packager.sh --buildpkg RHEL6_64a
#RHEL6_64a是安装64位的,稍等一会
cd ..
rpm ivh fglrx64_p_i_c-8.97.100.7-1.x86_64.rpm 不能进行下去
rpm -ivh fglrx64_p_i_c-8.97.100.7-1.x86_64.rpm --force –nodeps #忽略依赖性,强制安装
aticonfig --initial
reboot
$ fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: ATI Radeon HD 4290
OpenGL version string: 3.3.11672 Compatibility Profile Context
$ glxgears
17120 frames in 5.0 seconds = 3423.951 FPS
17202 frames in 5.0 seconds = 3440.250 FPS
17195 frames in 5.0 seconds = 3438.985 FPS
17199 frames in 5.0 seconds = 3439.799 FPS
17194 frames in 5.0 seconds = 3438.707 FPS
17203 frames in 5.0 seconds = 3440.470 FPS
参考http://turnip-gray.iteye.com/blog/1895406
本人电脑安装为win7和centos双系统,如果重启后不能出来界面,ctrl+alt+F3进入命令行界面,startx 启动,看问题提示