| 1 | fglrx-8.12.10-1
|
|---|
| 2 |
|
|---|
| 3 | Introduction 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 |
|
|---|
| 9 | Package information
|
|---|
| 10 |
|
|---|
| 11 | Download (HTTP, for x86):
|
|---|
| 12 | http://www2.ati.com/drivers/linux/fglrx_6_8_0-8.12.10-1.i386.rpm
|
|---|
| 13 | MD5 sum: 9c6397047331aadaa2c379ca78245810
|
|---|
| 14 | Required 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
|
|---|
| 20 | Optional 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
|
|---|
| 23 | Additional download:
|
|---|
| 24 | http://www.rpm.org/tools/scripts/rpm2cpio.sh
|
|---|
| 25 | Download size: 3.6 MB
|
|---|
| 26 | Estimated disk space required: 18 MB
|
|---|
| 27 | Estimated build time: 0.1 SBU
|
|---|
| 28 |
|
|---|
| 29 | fglrx dependencies:
|
|---|
| 30 | Required: cpio-2.5
|
|---|
| 31 | Optional: qt-3.3.3
|
|---|
| 32 |
|
|---|
| 33 | Known bug: the "uninstaller" program from "wine" package irreversibly blanks
|
|---|
| 34 | the screen until reboot.
|
|---|
| 35 |
|
|---|
| 36 | Installation of fglrx
|
|---|
| 37 |
|
|---|
| 38 | All commands below have to be executed from the root user.
|
|---|
| 39 |
|
|---|
| 40 | Back up the original libGL.so.1.2 library that was installed with XOrg if you
|
|---|
| 41 | want to be able to revert to open-source drivers:
|
|---|
| 42 |
|
|---|
| 43 | cp /usr/X11R6/lib/{,pre-fglrx-}libGL.so.1.2
|
|---|
| 44 |
|
|---|
| 45 | Install fglrx by running the following command:
|
|---|
| 46 |
|
|---|
| 47 | sh rpm2cpio.sh fglrx_6_8_0-8.12.10-1.i386.rpm | ( cd / ; cpio -u -d -i )
|
|---|
| 48 |
|
|---|
| 49 | Make sure that your kernel meets the following requirements:
|
|---|
| 50 |
|
|---|
| 51 | 1) CONFIG_MTRR=y
|
|---|
| 52 | 2) CONFIG_AGP=y or m
|
|---|
| 53 | CONFIG_AGP_your-chipset=y or m
|
|---|
| 54 | 3) CONFIG_DRM_RADEON=m or not set; the module must not be loaded
|
|---|
| 55 |
|
|---|
| 56 | Rebuild the kernel if necessary.
|
|---|
| 57 |
|
|---|
| 58 | Compile the fglrx kernel module:
|
|---|
| 59 |
|
|---|
| 60 | patch -d /lib/modules/fglrx/build_mod -Np4 <fglrx-2.6-pagetable.patch
|
|---|
| 61 | patch -d /lib/modules/fglrx/build_mod -Np0 <8.8.25-smp.patch
|
|---|
| 62 | patch -d /lib/modules/fglrx/build_mod -Np0 <8.8.25-via-amd64.patch
|
|---|
| 63 | make -C /lib/modules/fglrx/build_mod/2.6.x
|
|---|
| 64 |
|
|---|
| 65 | Install the kernel module:
|
|---|
| 66 |
|
|---|
| 67 | mkdir -p /lib/modules/`uname -r`/fglrx
|
|---|
| 68 | install -m 644 /lib/modules/fglrx/build_mod/2.6.x/fglrx.ko \
|
|---|
| 69 | /lib/modules/`uname -r`/fglrx
|
|---|
| 70 | depmod -ae
|
|---|
| 71 |
|
|---|
| 72 | Clean up the kernel driver source directory:
|
|---|
| 73 |
|
|---|
| 74 | make -C /lib/modules/fglrx/build_mod/2.6.x clean
|
|---|
| 75 | (ignore the error)
|
|---|
| 76 |
|
|---|
| 77 | Optionally rebuild the fgl_glxgears demo:
|
|---|
| 78 |
|
|---|
| 79 | cd /usr/src/ATI
|
|---|
| 80 | mkdir sample
|
|---|
| 81 | cd sample
|
|---|
| 82 | tar zxf ../fglrx_sample_source.tgz
|
|---|
| 83 | cd fgl_glxgears
|
|---|
| 84 | make -f Makefile.linux
|
|---|
| 85 | install fgl_glxgears /usr/X11R6/bin
|
|---|
| 86 |
|
|---|
| 87 | <!-- I had no success rebuilding fglrx_gamma from source -->
|
|---|
| 88 |
|
|---|
| 89 | If you have qt-3.3.3, compile and install the ATI control panel application:
|
|---|
| 90 |
|
|---|
| 91 | cd /usr/src/ATI
|
|---|
| 92 | mkdir panel
|
|---|
| 93 | cd panel
|
|---|
| 94 | tar zxf ../fglrx_panel_sources.tgz
|
|---|
| 95 | # Makefile doesn't test for qt include files properly
|
|---|
| 96 | sed -i s,qglobal.h,qt/qglobal.h,g Makefile
|
|---|
| 97 | # Not all proper include directories are passed to gcc in Makefile
|
|---|
| 98 | make MK_QTDIR=/usr CC="gcc -I/usr/include/qt -I/usr/X11R6/include"
|
|---|
| 99 | install fireglcontrol* /usr/bin/fireglcontrol
|
|---|
| 100 |
|
|---|
| 101 | Configuring fglrx
|
|---|
| 102 |
|
|---|
| 103 | Change in /etc/X11/xorg.conf the line
|
|---|
| 104 | Driver "ati"
|
|---|
| 105 | or
|
|---|
| 106 | Driver "radeon"
|
|---|
| 107 | to
|
|---|
| 108 | Driver "fglrx"
|
|---|
| 109 |
|
|---|
| 110 | and restart X. Alternatively, you can fine-tune the driver by running the
|
|---|
| 111 | "fglrxconfig" program. The "fglrx.ko" kernel module will be loaded
|
|---|
| 112 | automatically by the X server upon restart.
|
|---|
| 113 |
|
|---|
| 114 | Contents
|
|---|
| 115 |
|
|---|
| 116 | Installed Programs:
|
|---|
| 117 | fgl_glxgears fglrx_xgamma fglrxconfig fglrxinfo fireglcontrol
|
|---|
| 118 | Installed libraries:
|
|---|
| 119 | libGL
|
|---|
| 120 |
|
|---|
| 121 | Short 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
|
|---|