list of packages needed:
a) suse 9.1 kernel source (2.6.4-52 or 2.6.4-53.3) (DVD, CDs, Suse FTP)
b) fglrx-4.3.0-3.7.6.i386.rpm (
http://www2.ati.com/drivers/linux/fg...3.7.6.i386.rpm)
c) fglrx-3.7.6-regparm.patch (
http://www.kaseorg.com/fglrx-3.7.6-regparm.patch)
1. get super user priveledges (su -)
2. install kernel source and goto that directory (cd /usr/src/linux)
3. start the kernel configuration (make xconfig, make menuconfig)
4. in the kernel configuration change these options
a) loadable module support --> loadable module support, module unloading, automatic kernel module = Y
b) to boat option --> CFGNAME = RaR + RELEASE = 01
c) processor type and feature --> register of argument = N, MTRR = Y
d) character devices --> /dev/agpgart = Y (select your chipset to Y), DRM = N
e) kernel hacking --- kernel debugging = N
5. save your configuration and compile your new kernel (make)
6. build your boot images (make bzImage)
7. build kernel modules (make modules)
8. install kernel modules (make modules_install)
9. prepares and installs boot images (make install)
10. pay attention to what the initrd and what vmlinuz images where created so you can edit the bootloader
11. now its time to install the ati driver (init 3 and login as root)
12. install the latest ati driver 3.76 from there site (rpm -Uvh fglrx-4.3.0-3.7.6.i386.rpm)
13. copy the driver patch to modules location (cp fglrx-3.7.6-regparm.patch /lib/modules/fglrx/build_mod
14. apply the module patch (cd /lib/modules/fglrx/build_mod, patch -p1 < fglrx-3.7.6-regparm.patch)
15. edit lines 791, 1823, 3021 of the firegl_pub.c file (vim firegl_pub.c, pico firegl_pub.c)
a) (*notifier) --> (*IP_LINKAGE notifier)
b) (*handler) --> (*IP_LINKAGE handler)
c) (*func) --> (*IP_LINKAGE func)
15 make sure fglrx service isn't already active (lsmod | grep fglrx, ps -aux and get pid, kill pid)
16. now build your kernel module (cd /lib/modules/fglrx/build_mod, sh make.sh)
17. now install the module you just built into kernel(cd /lib/modules/fglrx, sh make_install.sh)
18. edit your XF86Config and add load "dri" to the modules section (cd /etc/X11/XF86Config)
19. add on 3 lines to the boot.local file (cd /etc/rc.d/boot.local)
a) /sbin/modprobe agpgart
b) /sbin/modprobe intel-agp, nvidia-agp (depends on ur chipset that you built into the kernel)
c) /sbin/modprobe fireglx
20. run fglrxconfig and select approriate settings, edit your bootloader so it loads your new kernel, then reboot