你好,游客 登录 注册 搜索
背景:
阅读新闻

ubuntu下ATI显卡驱动最简安装与视频设置(图)

[日期:2007-12-29] 来源:Linux公社  作者:qiwang [字体:大 中 小]

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加速,可以看这里:
http://wiki.cchtml.com/index.php/Troubleshooting 和 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. 

linux
相关资讯       ubuntu ATI 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款