免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 927 | 回复: 0
打印 上一主题 下一主题

linux下ATI驱动的安装 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-02-10 16:25 |只看该作者 |倒序浏览

                相信大家每次安装ATI显卡驱动都要输入一大堆的命令,非常麻烦,而且好多时候安装还是不成功。
其实ATI安装LINUX的驱动有一个比较简单的办法,这个办法AMD官方一直都有,但是以前在ubuntu下安装是不成功的,可能是驱动本身的问题,现在的最新ATI驱动7.12,就可以超简单安装。
ATI驱动7.12支持9500及以上显卡,老显卡不支持。支持aiglx。
下载地址:https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-driver-installer-8.443.1-x86.x86_64.run
下载后把下载的文件放到桌面上,建议把文件改一下名:改为:ati-driver-installer.run
可能安装会需要安装编译所必须的工具 代码:
sudo apt-get update
sudo apt-get install module-assistant build-essential fakeroot dh-make debhelper debconf libstdc++5 linux-headers-$(uname -r)
关键时候到了!!打开终端!!
先输入:sudo sh  ati-driver-installer.run
这个时候应该看到终端有反应。


弹出上图!!
选择Continue 就是继续,然后选择I Agree (我同意)


再选择 Automatic 自动安装,再点Continue,就开始安装!!!


请等待一下,自动安装完成后会如下显现。


AMD官方推荐再在终端运行一下:run /usr/X11R6/bin/aticonfig --initial
(本人未测试过这个命令)大家测试下,告诉我结果!!
然后 sudo dpkg-reconfigure xserver-xorg
在选择驱动时,选择fglrx。
执行sudo gedit /etc/X11/xorg.conf
在/etc/X11/xorg.conf的Device段添加两行: 代码:
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
在/etc/X11/xorg.conf默认可能 有代码:
Section "Extensions"
Option "Composite" "0"
EndSection
如果想开启aiglx,则这两段应该是: 代码:
Section "Extensions"
Option "Composite" "1"
EndSection
Section "ServerFlags"
Option "AIGLX" "on"
EndSection
保存退出!!
某些用户可能象我需要输入:
sudo mkdir -p /usr/X11R6/lib/modules/dri
sudo ln -s /usr/lib/dri/fglrx_dri.so /usr/X11R6/lib/modules/dri
这个可能是我用NV的主板而用ATI显卡导致的。
之后重启系统或重启X !!
确认驱动是否正确安装(可以类似于) 代码:
fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI MOBILITY RADEON X600 SE
OpenGL version string: 2.1.7170 Release
代码:
$ glxinfo | grep render
direct rendering: Yes #如果开启了xgl,那么这里一定是No,还有其他一些信息。
------------------------------------------------------------------------------------------------------------------------------
常见错误:
1。如果你碰到2D加速很慢的情况,在/etc/X11/xorg.conf 的 Device section(就是有fglrx的那段)中添上 代码:
Option "XaaNoOffscreenPixmaps"
2。如果没有3D加速,可尝试 代码:
sudo mkdir /lib/modules/$(uname -r)/volatile
sudo ln -sf /lib/modules/$(uname -r)/misc/fglrx.ko /lib/modules/$(uname -r)/volatile/fglrx.ko
3。另外,如果你想用图形化的工具配置显卡的话,比如双头显示,则可以 代码:
gksu fireglcontrol
如果是用方法二的用 代码:
gksu amdcccle
当然,图形界面的功能比较有限,最强大的还是aticonfig。最新版的控制中心有些新东西,大家可以试试。
4。如果说/usr/X11R6/lib/modules/dri/fglrx_dri.so缺失,则执行 代码:
sudo ln -s /usr/lib/ /usr/X11R6/lib/modules
5。如果执行fglrxinfo出现 libGL.so.1: cannot open shared object file,则 代码:
sudo ln /usr/lib/libGL.so.1.2 /usr/lib/libGL.so.1
6。如果还有其他问题,比如nforce3的芯片(主要是asus的K8N),说你仍然运行于mesa,无3d加速,可以看这里:
[color="#9f4c09"]http://wiki.cchtml.com/index.php/Troubleshooting

[color="#9f4c09"]http://wiki.cchtml.com/index.php/Ubuntu_Gutsy_Installation_Guide

安装完驱动后,要进行一下必要的视频设置,否则播放视频会有影响!!
totem的话,修改~/gnome2/totem_config文件将#video.driver:auto改为video.driver:xshm就ok了。
mplayer的话,直接在右键设置里边改 X11 ( XImage/Shm )就好了。
xine的话右键选setting 然后在GUI里面第二个选项选为experience_level,再选择Video标签中选择 xshm。
重启XINE。
如果是VLC就
1. Launch VLC.
2. Go to Settings –> Preferences....
3. In the left-hand pane, expand the Video section, then select Output modules.
4. In the bottom-right corner of the window, enable the Advanced options checkbox.
5. New options will appear in the right-hand pane. For Video output module, select X11 video output from the drop-down menu.
6. Click on Save in the bottom-left of the window, and exit the program.
               
               
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/60980/showart_477125.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP