|
|
发表于 2004-9-8 09:34:57
|
显示全部楼层
楼上的楼上,是什么版本?内核版本?
我是根据以下文章装成的。RH9+2.6.4内核+fglrx3.7.6
转载自http://www.linuxquestion.com,并参考http://www.rage3d.com/content/articles/atilinuxhowto/
Suse 9.1 + Radeon 9800 Guide
( post #1)
Hi,
Here is a guide that worked just fine for me...
list of what you need:
a) suse 9.1 kernel source (2.6.4-52 or 2.6.4-54.3) (DVD, CDs, Suse FTP)
b) fglrx-4.3.0-3.7.6.i386.rpm
c) 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. always start with a fresh source (make mrproper then make clean)
4. start the kernel configuration (make xconfig or make menuconfig)
5. in the kernel configuration change these options
a) loadable module support --> loadable module support, module unloading, automatic kernel module = M
b) processor type and feature --> register of argument = N, MTRR = Y
c) character devices --> /dev/agpgart = M, select only your chipset = M, DRM = N
d) kernel hacking --- kernel debugging = N
6. save your configuration and compile your new kernel (make)
7. build your boot images (make bzImage)
8. build kernel modules (make modules)
9. install kernel modules (make modules_install)
10. prepares and installs boot images (make install)
11. pay attention to what the initrd and what vmlinuz images where created so you can edit the bootloader
12. now its time to install the ati driver (init 3 and login as root)
13. install the latest ati driver 3.76 (rpm -ivh --force fglrx-4.3.0-3.7.6.i386.rpm)
14. copy the driver patch to modules location (cp fglrx-3.7.6-regparm.patch /lib/modules/fglrx/build_mod)
15. apply the module patch (cd /lib/modules/fglrx/build_mod then patch -p1 < fglrx-3.7.6-regparm.patch)
16. edit lines 791, 1823, 3021 of the firegl_public.c file (vim firegl_public.c or pico firegl_public.c)
a) (*notifier) --> (*IP_LINKAGE notifier) 791
b) (*handler) --> (*IP_LINKAGE handler) 1823
c) (*func) --> (*IP_LINKAGE func) 3021
17. now build your kernel module (cd /lib/modules/fglrx/build_mod, sh make.sh)
18. now install the module you just built into kernel(cd /lib/modules/fglrx, sh make_install.sh)
19. add (/sbin/modprobe fglrx) to the boot.local file in (/etc/rc.d/boot.local)
20. run fglrxconfig and select approriate settings, edit your bootloader so it loads your new kernel, then reboot
By: LiQuID (Nu7s4cK)
AIM: LiQuID0624
EMAIL: rj.birnesser@comcast.net
Here are some problems I solved after the driver installation:
You may have trouble playing videos using the XV output.. To fix this, add
Option "XaaNoOffscreenPixmaps"
In your XFree config file!
If you have a SE card and are noticing artifacts while playing games, you gotta add
ChipID 0x4146
In the XFree config file
I know compiling a kernel may be frustrating for Linux beginners, but you dont have much of a choice!
ENJOY and pass this How-to around |
|