新客网WWW.XKER.COM:致力做中国最专业的网络学院!
学院: 操作系统 - 网络应用 - 服务器 - 网络安全 - 工具软件 - 办公软件 - Web开发 - 数据库 - 网页设计 - 图形图像 - 媒体动画 - 硬件学堂 - 存储频道 - QQ专区
您的位置:首页 > 网络学院 > 操作系统 > Linux教程 > 正文:为Linux操作系统安装ATI芯片的显卡驱动

为Linux操作系统安装ATI芯片的显卡驱动

新客网 XKER.COM 2007-10-18 来源: sixth 收藏本文

1. Download page:

http://ati.amd.com/support/driver.html

 

2. Choose one to download:

"Linux x86 --> All-in-wonder --> All-in-wonder 9600 series" is a new version,

but "Linux x86 --> FireGL --> FireGL T2-128" is an old version.

 

这个选择很多是"殊途同归"的, 不一定非选得与自己显卡完全一样, 而要多点点, 找到近期发布的版本, 然后点"Release Notes", 如果有自己显卡的型号, 这个驱动就可以用。

 

My down: https://a248.e.akamai.net/f/674/ ... 40.4-x86.x86_64.run

 

3. To create installation packages if possible:

./ati-driver-installer-8.40.4-x86.x86_64.run --listpkg

My OS "Debian/lenny" is in the list, Very good! It will be much easyer to manage packages.

./ati-driver-installer-8.40.4-x86.x86_64.run --buildpkg Debian/lenny

Four '.deb' packages and a '.changes' file will be created.

 

4. Install packages:

dpkg -i fglrx-amdcccle_8.40.4-1_i386.deb fglrx-driver_8.40.4-1_i386.deb fglrx-driver-dev_8.40.4-1_i386.deb fglrx-kernel-src_8.40.4-1_i386.deb

 

5. Compile kernel module:

Module source is here: '/usr/src/fglrx.tar.bz2'.

./make.sh

cp fglrx.ko /lib/modules/`uname -r`/misc/fglrx.ko

depmod -ae

Perhaps you cann't insert the module now, because maybe other modules of display are already in the kernel. It comes normal after reboot.

 

6. Edit 'xorg.conf', add:

 

# to avoid AIGLX error in X log

Section "ServerFlags"

Option "AIGLX" "off"

EndSection

 

Section "InputDevice"

Identifier "Generic Keyboard"

Driver "kbd"

Option "CoreKeyboard"

Option "XkbRules" "xorg"

Option "XkbModel" "pc104"

Option "XkbLayout" "us"

EndSection

 

Section "InputDevice"

Identifier "Configured Mouse"

Driver "mouse"

Option "CorePointer"

Option "Device" "/dev/input/mice"

Option "Protocol" "ImPS/2"

Option "Emulate3Buttons" "false"

EndSection

 

Section "Device"

Identifier "ATI Fire GL T2-64S [FGL 9600 RV350 AT]"

#Driver "ati"

Driver "fglrx"

Option "EnableMonitor" "tmds1"

BusID "PCI:1:0:0"

EndSection

 

Section "Monitor"

Identifier "SyncMaster"

HorizSync 30.0 - 81.0

VertRefresh 56.0 - 75.0

Option "DPMS"

EndSection

 

Section "Screen"

Identifier "Default Screen"

Device "ATI Fire GL T2-64S [FGL 9600 RV350 AT]"

Monitor "SyncMaster"

DefaultDepth 24

SubSection "Display"

Depth 16

Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"

EndSubSection

SubSection "Display"

Depth 24

Modes "1024x768_75"

EndSubSection

EndSection

 

Section "DRI"

Mode 0666

EndSection

 

# to avoid a "Known Issues" in "Release Notes"

Section "Extensions"

Option "Composite" "disable"

EndSection

 

7. Over clock or slow clock:

apt-get install rovclock

This command has the same function as NV's 'nvclock'.

 

* 后来在debian更新时发现, debian的源里已经有fglrx驱动, 是上面那4个包, 加一个'control'包, 而且它的版本还略新一点, 立即更新. 这也表示debian用户可以不用前4个步骤, 直接在源里搜索'fglrx', apt安装, 再编译内核模块就可以了。

收藏】 【评论】 【推荐】 【投稿】 【打印】 【关闭
发表评论
要记得去论坛讨论,点击注册新会员匿名评论
评论内容:不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
阅读排行
随机推荐
实用信息推荐