LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   DRI kernel modules won't compile in RH9 (https://www.linuxquestions.org/questions/linux-hardware-18/dri-kernel-modules-wont-compile-in-rh9-111318/)

sponge4life89 11-01-2003 10:20 PM

DRI kernel modules won't compile in RH9
 
I have a ATi Radeon 9600 pro, which, even after installing the Ati linux drivers, am unable to use direct openGL hardware rendering. So, I decided to try the DRI route through the land of drivers. I downloaded and unarchived, but when I went to compile, it gave me an error and said that it couldn't continue without the kernel modules (duh). So, any ideas on how to get it further in the install? Or, is there some way that the ati drivers can be changed so that direct hardware rendering works?

PS-This is all in Red Hat 9.

PSS- I ran "glxgears", and it gave me 250 fps, but tux racer still is at 1-1.5 fps.:cry:

adz 11-02-2003 01:32 AM

Was it kernel modules it said or kernel headers?

sponge4life89 11-02-2003 01:17 PM

kernel modules

Here is the contents of the dri.log file it pointed me to:
Code:

make -f Makefile.linux DRM_MODULES=radeon.o modules
make[1]: Entering directory `/root/.gnome-desktop/dripkg/drm'
make -C /lib/modules/2.4.20-6/build  SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
make[2]: Entering directory `/usr/src/linux-2.4.20-6'
make -r -f tmp_include_depends all
make[3]: Entering directory `/usr/src/linux-2.4.20-6'
make[3]: *** No rule to make target `/usr/src/build/229371-i386/install/usr/src/linux-2.4.20-6/fs/jfs/jfs_filsys.h', needed by `/usr/src/build/229371-i386/install/usr/src/linux-2.4.20-6/fs/jfs/jfs_logmgr.h'.  Stop.
make[3]: Leaving directory `/usr/src/linux-2.4.20-6'
make[2]: *** [tmp_include_depends] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.20-6'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/root/.gnome-desktop/dripkg/drm'
make: *** [radeon.o] Error 20


UnTamed 11-02-2003 06:45 PM

DRI's radeon module doesn't support your card.

Better upgrade your kernel and have another shot at ATI's, they're really your only hope for 3d accel.

sponge4life89 11-03-2003 04:25 PM

Darn....

Any ideas on how to get the ATi drivers to work?

UnTamed 11-03-2003 09:22 PM

Dunno what red-hat has to offer as far as kernel upgrades go, but your best bet would be to upgrade kernel, sources and headers to 2.4.22.
It offers support for some AGP v3.0 compliant motherboards chipsets, nForce2 and possibly kt400.
Also there was patches available in the past that may or not be still required.

Hit the search with "radeon" and "<your chipset>", all radeon 8500 and up use the same driver and experience the same issues with the same chipsets.
You're sure to turn up something relevant, it's been discussed quite extensively already.

sponge4life89 11-04-2003 10:24 PM

Yea!!!
 
Yea!! It's working now, after folowing these directions:

change line 6073 in the agpgart_be.c file in /lib/modules/fglrx/build_mod to read

via_kt400_setup

Did that and now it works *almost* like a charm. Thanks!

That almost -- any OpenGL app crashes after a minuite or two. This includes Tux Racer (.6 version) and Chronium. Anyone have anyideas on this?


All times are GMT -5. The time now is 12:14 PM.