AGP not working on nForce3

Mats Kristoffersen f00makr at
Sun Jan 9 09:44:53 PST 2005

I have trouble with AGP using the nVidia drivers from ports.

I have a MSI K8N neo2 motherboard (nForce3 Ultra), an Athlon64 3000+ CPU 
and a GeForce FX 5200. I'm running FreeBSD 5.3-STABLE in i386 mode.

When I load the nvidia drivers, it says:

agp0: <NVIDIA Generic AGP Controller> mem 0xe8000000-0xefffffff at 
device 0.0 on pci0
agp0: Unable to find NVIDIA Memory Controller 1.
device_attach: agp0 attach returned 19
nvidia0: <GeForce FX 5200> mem 
0xf0000000-0xf3ffffff,0xf4000000-0xf4ffffff irq 16 at device 0.0 on pci1
nvidia0: [GIANT-LOCKED]

When I startx, it says

NVRM: AGP cannot be enabled on this combination of the AMD CPU and OS kernel
NVRM: kernel upgrade recommended.

There is no /dev/agp or similar. Having agp enabled or disabled in the 
kernel or loading agp.ko dynamically makes no difference.

Nvidia-related sysctl variables:
hw.nvidia.agp.card.rates: 8x 4x
hw.nvidia.agp.card.fw: supported
hw.nvidia.agp.card.sba: supported
hw.nvidia.agp.card.registers: 0x1f000e1b:0x00000000
hw.nvidia.version: NVIDIA FreeBSD x86 NVIDIA Kernel Module  1.0-6113 
Mon Aug  2 16:08:32 PDT 2004
hw.nvidia.registry.EnableVia4x: 0
hw.nvidia.registry.EnableALiAGP: 0
hw.nvidia.registry.NvAGP: 3
hw.nvidia.registry.EnableAGPSBA: 0
hw.nvidia.registry.EnableAGPFW: 0
hw.nvidia.registry.SoftEDIDs: 1
hw.nvidia.registry.Mobile: 4294967295
hw.nvidia.registry.ResmanDebugLevel: 4294967295
hw.nvidia.registry.FlatPanelMode: 0 GeForce FX 5200 16 AGP
dev.nvidia.0.%desc: GeForce FX 5200
dev.nvidia.0.%driver: nvidia
dev.nvidia.0.%location: slot=0 function=0 handle=\_SB_.PCI0.AGPB.VGAG
dev.nvidia.0.%pnpinfo: vendor=0x10de device=0x0322 subvendor=0x0000 
subdevice=0x0000 class=0x030000
dev.nvidia.0.%parent: pci1

Hardware acceleration works fine, except for AGP.

Any help is appreciated.

More information about the freebsd-questions mailing list