After working on this for a couple of days, I finally got my acceration working with my ATI card in the newest deb kernel (2.6.7). This is for a single-head configuration, but the steps should be the same up until you manually edit the XF86Config-4 file. Here goes (This does require some knowledge on working with the kernel, lilo/grub, and compiling - it should be pretty simple).
- grab the newest kernel and alien (to convert rpm's to deb's), and for menu making:
apt-get kernel-source-2.6.7 alien libncurses5-dev module-init-tools modutils
- goto "/usr/src", and extract the kernel:
tar jxvf kernel-source-2.6.7.tar.bz2
- create a soft link to /usr/src/linux:
ln -s /usr/src/kernel-source-2.6.7 /usr/src/linux
- goto "/usr/src/linux" and run the following command to configure a new kernel
make menuconfig
be sure to enable (as modules or compiled in):
"/dev/agpgart" (under character devices)
MTRR (memory type range register) (under processor type and features)
ATI chipset support (under character devices)
be sure to disable:
Direct Rendering Manager (XFree86 DRI support) (under character devices)
Kernel debugging (under Kernel hacking)
ATI Radeon Support (under Graphics Support)
- exit menuconfig and save changes, then compile the modules and kernel using:
make clean bzImage modules modules_install
- copy the new kernel to your boot directory and name it appropriately:
cp /usr/src/linux/arch/i386/boot/bzImage /boot/linux-2.6.7
- make appropriate links in lilo.conf/grub.conf (these are only examples, use your OWN settings!):
i.e. /boot/grub/menu.lst (about 1/2 down, under menu boot options):
title Debian 2.6.7 AGP Support
root (hd0,1)
kernel /boot/linux-2.6.7 root=/dev/hda2 ro
savedefault
boot
i.e. /etc/lilo.conf
boot=/dev/hda
root=/dev/hda2
image=/boot/linux-2.6.7
label=Linux-2.6.7
read-only
THESE ARE ONLY EXAMPLES - USE YOUR OWN!
- save configurations (rerun lilo to update if nesscessary) and boot into new kernel
- make sure basic stuff works: network, etc (well, you don't have too, but....)
- download appropriate ATI driver package (.RPM) from ati.com for X-windows version, this can be found by running:
cat /var/log/XFree86.0.log | grep -i version | head
- goto where your downloaded package is and convert to debian package:
alien [package name].rpm
- install the fglrx package (if the first command fails, force install with --force-all option):
dpkg -i [package name].deb
- grab the patch file from:
http://firewilson.rit.edu/Downloads/...tch-2.6.7.txt, or from a rage3d.com server, save as a plain text file with a .patch extension. then patch the driver using the command:
cd /lib/modules/fglrx/build_mod
patch -p1 < ati-patch-2.6.7.patch
- After patching, build the ATI modules:
sh make.sh
- After building the modules, install them:
cd /lib/modules/fglrx/
sh make_install.sh
- make backup of XF86config-4, and run fglrxconfig, when setting up, default options for video drivers are fine except:
select:
- "no restrictions" - any user has access to the OpenGL ICD''
- "Default" under Application Profiles.
- "compatible operation" (for WineX, VM emulators and some profilers)
- use external "agpart" driver (kernel driver)
- change/add following lines in /etc/X11/XF86Config-4
(in FSAA Management, under fglrx specs)
Option "FSAAEnable" "yes" # Enable FSAA on first head
Option "FSAAScale" "2" # Enable FSAA on first head
(in misc options, under fglrx specs)
Option "KernelModuleParm" "agplock=0" # AGP locked user pages: disabled
Option "EnablePrivateBackZ" "yes" # enable Z buffer
- reboot linux to make sure modules load and startx. Everything should be peachy now.
I am not resposible for hosing your system, etc,etc; you know the drill.