PDA

View Full Version : Building nvidia-agp


Lamego
2004-12-03, 01:13 PM CST
Hello,
I have an asus motherboard with the nforce2 chipset.
On other distros to get the 3D acceleration I usually just need to load the nvidia-agp and agpgart modules whith insmod.
The kernel that comes with fedora doesn't seem to include this modules:
[root@localhost agp]# modprobe -v agpgart
FATAL: Module agpgart not found.
[root@localhost agp]# modprobe -v nvidia-agp
FATAL: Module nvidia_agp not found.

I have tried to build the modules myself by getting the kernel source, selecting a nvidia agp support as a module. make modules ; make modules insttall
The new built modules were installed into /lib/modules/2.6.9-prep.

When I try modprobe I still unable to load the module.
Any tip on this ? It was pretty simple to load this modules on the kernel that comes with Mandrake or Suse...

TomRiddle
2004-12-09, 04:16 AM CST
I had the exact same problem. I hope people see this. It's bad enough to have to settle for using the kernel agpgart, without even getting to try out NVIDIA's solution for their out card. However, in the worst case, you should be able to use the available source to build yourself back to the kernel you have running. In grub conf, I had a prebuilt kernel 2.6.9-1.6_FC2, and a custom version that had many less things compiled in, was much faster - but had broken AGP. As a last resort, I tried to compile AGPGARt into the kernel. But that failed to initialize. When people advertise Linux as ready for the desktop, they need to consider these things. It is beyond ridiculous when the sources, the provided .config, in spec compilation tools plus standard compile instructions can't give you a kernel with working AGP. People keep ragging on NVIDIA. This seems to be the fault of the people packaging the kernel source. Taking out infrared or radio support shouldn't break the AGP functionality. Selecting a choice other than "Pentium Pro" shouldn't break agpgart, if you wanted to compile for your specific machine. I hope people see these messages. Something is *very* wrong. People who have other obligations or want to learn other things don't have 78 hours to throw at building broken kernel sources just to get a Geforce 2 MX running for 3D. What good is posting sources if people can't build kernels that leave out the unneeded features and save space/memory/speed? If I take source, and the .config file, don't make changes, and can't get the same kernel I started with, what's the point?

Tru
2004-12-09, 04:47 AM CST
Here is post I made for using yum to install nvidia driver and the kernel module it needs http://www.fedoraforum.org/forum/showthread.php?t=28529 this is for fedora core 3. If you are using fedora core 2 then goto www.fedorafaq.org and just look under FC2 and you will see how to do it.