Ticket #1319: ati-instructions

File ati-instructions, 4.0 KB (added by bdubbs@…, 20 years ago)

Instructions from Alexander Patrakov

Line 
1fglrx-8.12.10-1
2
3Introduction to fglrx
4
5 fglrx is a proprietary driver for ATI video cards starting with Radeon 8500
6 and FireGL 8700. For Radeon 9250 and below, open-source DRI drivers may be
7 actually faster (but they lock up the card sometimes).
8
9Package information
10
11Download (HTTP, for x86):
12 http://www2.ati.com/drivers/linux/fglrx_6_8_0-8.12.10-1.i386.rpm
13MD5 sum: 9c6397047331aadaa2c379ca78245810
14Required patches (please mirror)
15 (defines the __SMP__ macro when compiling for SMP kernel. Used because we
16 don't rely upon the official fglrx installer)
17 http://www.gentoo.org/cgi-bin/viewcvs.cgi/*checkout*/media-video/ati-drivers/files/8.8.25-smp.patch
18 (fixes compilation issue with linux-2.6.11):
19 http://www.gentoo.org/cgi-bin/viewcvs.cgi/*checkout*/media-video/ati-drivers/files/fglrx-2.6-pagetable.patch
20Optional patch:
21 (new PCI IDs for VIA AGP)
22 http://www.gentoo.org/cgi-bin/viewcvs.cgi/*checkout*/media-video/ati-drivers/files/8.8.25-via-amd64.patch
23Additional download:
24 http://www.rpm.org/tools/scripts/rpm2cpio.sh
25Download size: 3.6 MB
26Estimated disk space required: 18 MB
27Estimated build time: 0.1 SBU
28
29fglrx dependencies:
30Required: cpio-2.5
31Optional: qt-3.3.3
32
33Known bug: the "uninstaller" program from "wine" package irreversibly blanks
34the screen until reboot.
35
36Installation of fglrx
37
38All commands below have to be executed from the root user.
39
40Back up the original libGL.so.1.2 library that was installed with XOrg if you
41want to be able to revert to open-source drivers:
42
43cp /usr/X11R6/lib/{,pre-fglrx-}libGL.so.1.2
44
45Install fglrx by running the following command:
46
47sh rpm2cpio.sh fglrx_6_8_0-8.12.10-1.i386.rpm | ( cd / ; cpio -u -d -i )
48
49Make sure that your kernel meets the following requirements:
50
511) CONFIG_MTRR=y
522) CONFIG_AGP=y or m
53 CONFIG_AGP_your-chipset=y or m
543) CONFIG_DRM_RADEON=m or not set; the module must not be loaded
55
56Rebuild the kernel if necessary.
57
58Compile the fglrx kernel module:
59
60patch -d /lib/modules/fglrx/build_mod -Np4 <fglrx-2.6-pagetable.patch
61patch -d /lib/modules/fglrx/build_mod -Np0 <8.8.25-smp.patch
62patch -d /lib/modules/fglrx/build_mod -Np0 <8.8.25-via-amd64.patch
63make -C /lib/modules/fglrx/build_mod/2.6.x
64
65Install the kernel module:
66
67mkdir -p /lib/modules/`uname -r`/fglrx
68install -m 644 /lib/modules/fglrx/build_mod/2.6.x/fglrx.ko \
69 /lib/modules/`uname -r`/fglrx
70depmod -ae
71
72Clean up the kernel driver source directory:
73
74make -C /lib/modules/fglrx/build_mod/2.6.x clean
75(ignore the error)
76
77Optionally rebuild the fgl_glxgears demo:
78
79cd /usr/src/ATI
80mkdir sample
81cd sample
82tar zxf ../fglrx_sample_source.tgz
83cd fgl_glxgears
84make -f Makefile.linux
85install fgl_glxgears /usr/X11R6/bin
86
87<!-- I had no success rebuilding fglrx_gamma from source -->
88
89If you have qt-3.3.3, compile and install the ATI control panel application:
90
91cd /usr/src/ATI
92mkdir panel
93cd panel
94tar zxf ../fglrx_panel_sources.tgz
95# Makefile doesn't test for qt include files properly
96sed -i s,qglobal.h,qt/qglobal.h,g Makefile
97# Not all proper include directories are passed to gcc in Makefile
98make MK_QTDIR=/usr CC="gcc -I/usr/include/qt -I/usr/X11R6/include"
99install fireglcontrol* /usr/bin/fireglcontrol
100
101Configuring fglrx
102
103Change in /etc/X11/xorg.conf the line
104 Driver "ati"
105 or
106 Driver "radeon"
107to
108 Driver "fglrx"
109
110and restart X. Alternatively, you can fine-tune the driver by running the
111"fglrxconfig" program. The "fglrx.ko" kernel module will be loaded
112automatically by the X server upon restart.
113
114Contents
115
116Installed Programs:
117 fgl_glxgears fglrx_xgamma fglrxconfig fglrxinfo fireglcontrol
118Installed libraries:
119 libGL
120
121Short Descriptions
122 fgl_glxgears: a classical "gears" benchmark program that uses pbuffers
123 fglrx_xgamma: sets the gamma value of the display
124 fglrxconfig: assists the user in writing the configuration file for XOrg
125 fglrxinfo: gives various information about the video card and the driver
126 fireglcontrol: allows interactive configuration of gamma value and dual-head
127 modes
128 libGL: this is an OpenGL implementation for video cards manufactured by ATI
129
130-- Alexander E. Patrakov