I installed the nvidia-driver port with complete success and went on to change Driver "nvidia" and commented out Load "dri" in my xorg.conf - I find that i had no problems in the xorg log no errors but when i run glxinfo or glxgears i get errors saying that it can't find a rgb buffered visual, i also get messages about agp.ko so i recompiled a new kernel without device agp and i still get the same problem. I had this very same problem when trying to install the nvidia driver's on mandrake 10.1 official as well. Does anyone know why this is happening? I followed the document to the point to no prevail. The card is a GF4 ti4600. Any help will be hugely appreciated.

I installed the nvidia-driver port with complete success and went on to change Driver "nvidia" and commented out Load "dri" in my xorg.conf - I find that i had no problems in the xorg log no errors but when i run glxinfo or glxgears i get errors saying that it can't find a rgb buffered visual, i also get messages about agp.ko so i recompiled a new kernel without device agp and i still get the same problem. I had this very same problem when trying to install the nvidia driver's on mandrake 10.1 official as well. Does anyone know why this is happening? I followed the document to the point to no prevail. The card is a GF4 ti4600. Any help will be hugely appreciated.

You're seeing two different problems, both of which are easily solvable. The first is that you're requesting the use of NvAGP, with FreeBSD's AGPGART driver present; the easiest fix for this is to add hint.agp.0.disabled="1" to /boot/device.hints (make sure you reboot). The second problem is that you're running X at depth 8; to address this, add DefaultDepth 24 to the Screen section of your Xorg configuration file.

Zander's fix for adding the line to device.hints didn't work for me. I rebooted but I still get the same error. This nVidia driver installer DOESN'T WORK for my expensive video card. I can't do my work! I want to disable agp.ko by default from the installer please!

The device.hints approach to disabling agp.ko only works with recent (past FreeBSD 5.2.1, e.g. FreeBSD 5.3) kernels; on systems using earlier kernels, the kernel needs to be rebuilt w/o agp.ko support (this is beyond the Makefile's capabilities).