U can try to do it as follows: (use it at your own risk ;))
1. remove your XFree86 installation (remember to backup appropriate things);
2. install the following packages from Slackware CD:
XFree86-4.3.0,
XFree86-devel-4.3.0;
3. make sure you don't have DRI support enabled in your kernel configuration,
it must be DISABLED.
4. AGPGART support should be ENABLED (you can compile it as a module),
5. Download DRI-CVS
( how to do that? ->
http://dri.sourceforge.net/doc/DRIcompile.html subsection 6.1 )
6. Compile it
- Make a built tree as it is written in subsection 8.1 of DRIcompile.html
- you may need to edit the ~/DRI-CVS/build/xc/config/cf/host.def file.
I had to add something like this: #define ProjectRoot pathToYourXFree86installation
(it's described in that document)
- follow the instruction in subsection 8.3
- go and have a coffee (it takes a bit)
- As I remember, I had to build the DRI kernel module by myself. I did it as follows:
cd ~/DRI-CVS/build/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel
you have to specify a full path to your CONFIGURED (disable DRI, enable AGPGART) kernel to make:
for example:
make TREE=/usr/src/linux-2.4.22 -f Makefile.linux
it will produce a few files, but you need only this one: radeon.o.
Copy this file to /lib/modules/2.4.x./kernel/drivers/char/drm/
(if the last subdirectory 'drm' doesn't exist, create it)
7. Install new XFree86 ->
cd ~/DRI-CVS/build/xc
make install
8. Edit your XFree86-Config-4 file.
-in section 'Module', make sure you have:
Load "dri"
Load "glx"
-in section 'Device', set Driver to "ati":
Identifier "Radeon"
Driver "ati"
...
remember, the Identifier ("Radeon" in my case) must match to Device in section 'Screen':
Section "Screen"
Identifier "Screen0"
Device "Radeon"
...
9. hope I didn't forget about anything.
Good luck!
-- INSERT