[分享]780G 主板上安装 ATI 驱动心得分享

CPU/显卡/打印机/USB设备等硬件问题
回复
JayKing
帖子: 3
注册时间: 2007-05-22 4:08

[分享]780G 主板上安装 ATI 驱动心得分享

#1

帖子 JayKing » 2008-05-02 15:39

前几天配置了一台机子专门用来学习Linux来用,在装ATI显卡是绕了不少弯路,论坛里所有人提供的方法都试过来了,驱动虽然都能驱起来,但是3D特效一直无法开启。

多次实验后采用了WIki里的方法,不但简单,而且驱动安装后能够开启3D等特效,可能是因为驱动版本原因,预览切换里的窗口内容无法显示,其余没有任何问题。

安装方法如下:

* Install the driver provided by ati included in the repositories:

* 安装软件仓库中包含的由ATI提供的驱动

sudo apt-get update
sudo apt-get install xorg-driver-fglrx

* You might also want to install a control panel for your graphic card. Please note that I do not recommend it, as it seems to be buggy, and generally doesnt work.
* 您可能还想为您的图形卡安装一个控制面板。请注意我并不推荐这样做,因为这个控制面板看起来有些bug,并且一般不起作用。

sudo apt-get install fglrx-control

* Make sure fglrx is not disabled: gksudo gedit /etc/default/linux-restricted-modules-common
* 产生一确答fglrx并未被禁用(在终端命令行中输入以下命令,查看最後一行的DISABLED_MODULES=""的双引号中是否含有fglrx。--译者注): gksudo gedit /etc/default/linux-restricted-modules-common
* Generate a new set of module dependencies so the fglrx driver starts properly.
* 产生一组新的模块以便 fglrx 驱动完全启动。

sudo depmod -a

* You now have to configure xorg to use your graphic card. The aticonfig tool, provided with the driver, will do that for you:
* 现在您需要配置xorg来使用您的图形卡。驱动自带的aticonfig工具会帮您完成这项工作。

sudo aticonfig --initial
sudo aticonfig --overlay-type=Xv

* ATI are well known not to be able to provide correct drivers for their hardware so you will have to deactivate the composite extension in /etc/X11/xorg.conf , otherwise you will get a jerky video display:
* 众所周知,ATI无法为它们的硬件提供正确的驱动,所以您需要在 /etc/X11/xorg.conf 中使复合扩展不被激活,否则您会得到一个不平稳的视频显示。
* gksudo gedit /etc/X11/xorg.conf and add the following lines at the end of the file:
* (在终端命令行中运行--译者注)gksudo gedit /etc/X11/xorg.conf 并在文件末尾添加如下几行:

Section "Extensions"
Option "Composite" "0"
EndSection

// After making all those modifications, your X server might not want to start again. Don't worry, you can still modify xorg.conf using vim sudo vim /etc/X11/xorg.conf. To enter edit mode press i, to escape press escape, to save type :w and to quit type :q . And to start X again, on the command line type startx. //

// 做完这些修改之後,您的 X server 可能无法再次启动。别担心,您还可以通过使用vim来修改xorg.conf,命令是:sudo vim /etc/X11/xorg.conf 。要进入编辑模式,按 i ;要离开,按 Esc ;要保存,输入 :w ;要退出,输入 :q 。另外要再次启动 X ,在命令行中输入startx即可。//

Save and restart xorg by pressing Ctrl Alt and Backspace simultaneously.

保存修改结果并同时按 CTRL+ALT+BACKSPACE 来重启 xorg

Confirm it worked, by issuing the "fglrxinfo" command:

要确认生效,使用 "fglrxinfo" 命令查看结果

* fglrxinfo/glxinfo may not work properly for you via SSH and via the console when logged in as root.
* 当您通过SSH或控制台以root身份登入时,fglrxinfo/glxinfo 可能无法正常工作。

$ fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9700 Generic
OpenGL version string: 2.0.5755 (8.24.8)

[编辑] Troubleshooting 疑难问题解决

If fglrxinfo gives you the following, your installation is not completed correctly:

如果 fglrxinfo 返回如下结果,证明您的安装没有正确结束:

$ fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.4.1)

These two commands might fix your installation, try this, reboot, and run fglrxinfo again:

下面这两行命令可能能修复您的安装,试一试,重启,再重新运行 fglrxinfo:

mkdir -p /usr/X11R6/lib/modules/dri
ln -s /usr/lib/dri/fglrx_dri.so /usr/X11R6/lib/modules/dri
头像
Final_x
帖子: 383
注册时间: 2008-05-03 23:05
联系:

#2

帖子 Final_x » 2008-06-03 23:38

你这是从哪找来的?wiki里面我没找到阿
回复