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


◆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安装, 再编译内核模块就可以了。

相关文章】

  • AMD将向Linux用户推ATI绘图芯片开源驱动
  • 介绍Linux操作系统下的USB硬件设备驱动
  • Linux操作系统下USB图像采集驱动的安装

相关内容