Article Title: Installation of the atidriver in Linux by dummies. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
I just got in touch with Debian, a newbie (in fact, it's not too short, but I haven't studied it deeply). Under the guidance of my predecessors, I have successfully completed the installation of X and the setting of font AA. However, the installation of the atidriver has not been solved, and some articles on the network have not been successful. Guided by foreign friends at IRC.debian.org, the process was finally completed today. However, the process is still unsatisfactory and I hope you can advise me.
Environment: Debian Sarge (2.6.8-2-386) AMD Barton 2500 +
ATI 9550
1G DDR400
WD800JB
Use the http://xoomer.virgilio.it/flavio.stanchina/debian/fglrx-installer.htmldriver
Follow the instructions
Step 1:
Apt-get install kernel-source-2.x.y
Cd/usr/src
Tar xjvf kernel-source-2.x.y.tar.bz2
Cd kernel-source-2.x.y
Cp/boot/config-2.x.y-flavour. config
Make-kpkg -- append-to-version "-flavor" -- revision 2. x. y-z -- config old configure
2. x. y is replaced by the current Linux kernel version. For example, I use 2.8.6.
2. x. y-z is replaced by 2.8.6-2 (uname-a query ).
"-Flavor" is replaced by-2-386 (no quotation marks !)
Complete
Step 2
For security reasons
Section "Device" in the XF86Config-4"
Join
Option "UseInternalAGPGART" "no"
If any problem occurs, change "no" to "yes" and use the Kernel support program.
Step 3
Next, we need to check whether debhelper, kernel-package and fakeroot are installed.
Apt-get install debhelper kernel-package fakeroot
Then we have two options:
One is to use fglrx-installer to download the deb package file.
Also, apt is used.
Fglrx-installer also needs to download some other support packages. Unfortunately, some packages in my system are still unavailable.
However, fglrx-installer downloads these things from the ATI website, and the ATI website is not very fast, so we use the second method.
Add the following to sources. list:
Deb http://www.stanchina.net /~ Flavio/debian-fglrx-xfree86/./# Xfree86 4.3.0
Deb http://www.stanchina.net /~ Flavio/debian-fglrx-xorg/./# X. Org
Deb http://www.stanchina.net /~ Flavio/deb... xfree86-amd64 /./
# Xfree86 for AMD64
Add sources. list
Add this one later.
Deb http://www.stanchina.net /~ Flavio/debian-fglrx-modules /./
Then apt-get install fglrx-driver fglrx-kernel-src
Then we have installed the fglrx driver.
Step 4 install the driver kernel module
There are many ways to choose
(0)
If you do not know what to compile the kernel, compile it directly.
Apt-get install packagename
Replace packagename in the following table
Fglrx-control-qt3-Control panel for the ATI graphics accelerators
Fglrx-driver-dev-Video driver for the ATI graphics accelerators (devel files)
Fglrx-driver-Video driver for the ATI graphics accelerators
Fglrx-kernel-src-Kernel module source for the ATI graphics accelerators
Fglrx-sources-Source code for the ATI graphics accelerators control panel
Fglrx-kernel-2.4.27-2-386-ATI binary kernel module for Linux 2.4.27-2-386
Fglrx-kernel-2.4.27-2-586tsc-ATI binary kernel module for Linux 2.4.27-2-586tsc
Fglrx-kernel-2.4.27-2-686-ATI binary kernel module for Linux 2.4.27-2-686
Fglrx-kernel-2.4.27-2-686-smp-ATI binary kernel module for Linux 2.4.27-2-686-smp
Fglrx-kernel-2.4.27-2-k6-ATI binary kernel module for Linux 2.4.27-2-k6
Fglrx-kernel-2.4.27-2-k7-ATI binary kernel module for Linux 2.4.27-2-k7
Fglrx-kernel-2.4.27-2-k7-smp-ATI binary kernel module for Linux 2.4.27-2-k7-smp
Fglrx-kernel-2.6.11-1-386-ATI binary kernel module for Linux 2.6.11-1-386
Fglrx-kernel-2.6.11-1-686-ATI binary kernel module for Linux 2.6.11-1-686
Fglrx-kernel-2.6.11-1-686-smp-ATI binary kernel module for Linux 2.6.11-1-686-smp
Fglrx-kernel-2.6.11-1-k7-ATI binary kernel module for Linux 2.6.11-1-k7
Fglrx-kernel-2.6.11-1-k7-smp-ATI binary kernel module for Linux 2.6.11-1-k7-smp
Fglrx-kernel-2.6.8-2-386-ATI binary kernel module for Linux 2.6.8-2-386
Fglrx-kernel-2.6.8-2-686-ATI binary kernel module for Linux 2.6.8-2-686
Fglrx-kernel-2.6.8-2-686-smp-ATI binary kernel module for Linux 2.6.8-2-686-smp
Fglrx-kernel-2.6.8-2-k7-ATI binary kernel module for Linux 2.6.8-2-k7
Fglrx-kernel-2.6.8-2-k7-smp-ATI binary kernel module for Linux 2.6.8-2-k7-smp
(1)
Cd/usr/src
Bzcat fglrx.tar.bz2 | tar x
Then cd/usr/src/modules/fglrx
./Make. sh
Mkdir/lib/modules/$ (uname-r)/misc
Cp fglrx. ko/lib/modules/$ (uname-r)/misc/
Depmod-AE
(Root Operation)
(2)
Module-assistant prepare
Module-assistant a-I fglrx
The modprobe fglrx installation module will be executed after the above (1) and (2) ends.
Step 5
Adjust XF86Config-4
Replace Load "extmod"
# Load "extmod" but omit DGA extension
# (The DGA extension is broken in the fglrx driver)
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Section "Device" is modified as follows:
Section "Device"
Identifier "ATI"
Driver "fglrx" # this is the important bit
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
Option "UseInternalAGPGART" "no" # change to yes
EndSection
Change Device in Section "Screen" to ATI
Section "DRI" is modified as follows:
Section "DRI"
Mode 0666
EndSection
Some people use fglrxconfig here, but after I use it, X cannot be started. It may be because the Mouse port is incorrect, so it is better to manually modify it.
Now, if everything works properly, the ATI 3D driver can be used.
Go to X and run the fgl_glxgears and glxgears tests.