LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Reply to this topic Linux 2.6.0-test8+nforce2+radeon GUIDE (https://www.linuxquestions.org/questions/linux-hardware-18/reply-to-this-topic-linux-2-6-0-test8-nforce2-radeon-guide-107204/)

Gr_Terror 10-22-2003 01:20 PM

Reply to this topic Linux 2.6.0-test8+nforce2+radeon GUIDE
 
**Warning : n00b thread! i dont take responsibility for any damage including pc exploding girlfriend f*cking dog's death etc***
--yes i know this is a ripoff of other threads! its just a summary!--

What ull need:

1)A kernel with: a)no dri drm support (no build in ,no modules)
b)agpgart and nvidiaagp compiled as modules
c)ur kenrel's .config file somewhere saved
2)Vmalloc patch found somewhere in rage3d forum where i posted the guide
3)ati linux drivers

Procedure:

1)If u have allready messed with ati drivers delete /lib/modules/fglrx/ directory

2)Uninstall x86mesa package(dunno if this step is needed)

3)Install ati drivers : rpm -i --force <ati drivers>.rpm

4)cd /usr/src/linux/
make distclean
make mrproper (this step has nothing to dowith installing a new kernel)
make xconfig (use ur .config)
save
make clean bzImage then leave it as it is
(this step was neccesary to prepare the kernel tree as theres no make dep in 2.6)

5) cd /lib/modules/fglrx/build_mod
**Important patch ur firegl_public.c **
edit it as follows:
code:__ke_amd_adv_spec_cache_feature

two lines down, you'll see this:

code:#if ( (PAGE_ATTR_FIX == 1) || (LINUX_VERSION_CODE == KERNEL_VERSION(2,4,19)) )


you need to change that line into this:

code:#if ( (PAGE_ATTR_FIX == 1) || (LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,19)) )

then apply VMALLOC patch (if u cant find it just pm me)
patch -p1 <(path 2ur patch)

6) while in build_mod directory do ./make.sh
change dir to fglrx and ./make_install.sh

hopefully all would be ok by now

7) run fglrxconfig choose the external module when asked - then REBOOT


8)make sure u load agpgart and nvidia-agp modules before x starts

9)make sure u load fglrx module after these modules

10)--------THE END----- happy UTing

-----This was tested on rh9 dunno about other distros--------
----------------tell me if this helps--------------------


All times are GMT -5. The time now is 10:01 AM.