OpenGL + TNT2 + NVIDIA binary drivers

markzero mark at darklogik.org
Wed Jan 26 17:14:49 PST 2005


Hi, I've scoured the mailing lists and Google and can't seem to find a
solution to this little problem. I'm using the binary nvidia drivers on
my old 32mb TNT Riva 64 and from the framerates I'm getting from
xscreensaver, I think it's safe to assume that I'm not getting any
acceleration!

I installed the drivers as per the included documentation and set things
up as they suggested.

X.org gives this error on startup:

(EE) NVIDIA(0): Failed to load GLX

The relevant sysctls say:

hw.nvidia.agp.card.rates: 4x 2x 1x 
hw.nvidia.agp.card.fw: not supported
hw.nvidia.agp.card.sba: not supported
hw.nvidia.agp.card.registers: 0x1f000007:0x00000000
hw.nvidia.agp.status.status: disabled
hw.nvidia.agp.status.driver: n/a (unused)
hw.nvidia.agp.status.rate: n/a (disabled)
hw.nvidia.agp.status.fw: n/a (disabled)
hw.nvidia.agp.status.sba: n/a (disabled)
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: 1
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
hw.nvidia.cards.0.model: RIVA TNT2 Model 64/Model 64 Pro
hw.nvidia.cards.0.irq: 16
hw.nvidia.cards.0.vbios: ??.??.??.??.??
hw.nvidia.cards.0.type: AGP

My X.org config says:

Section "Device"
   Option  "NvAGP" "2"   #try OS agp, fall back to nvagp
   Identifier  "Card0"
   Driver      "nvidia"
   VendorName  "nVidia Corporation"
   BoardName   "NV5M64 [RIVA TNT2 Model 64/Model 64 Pro]"
   BusID       "PCI:2:0:0"
EndSection

I have tried setting NvAGP to both 1 and 2 but neither makes any
difference. kldstat says:

d Refs Address    Size     Name
1   11 0xc0400000 6b524c   kernel
2    2 0xc0ab6000 1fb38    linux.ko
3    1 0xc0ad6000 2890     mac_seeotheruids.ko
4    1 0xc0ad9000 4ad9c8   nvidia.ko
5   14 0xc0f87000 5d7f0    acpi.ko
6    1 0xc1bb6000 2c000    pf.ko

So it hasn't loaded agp.ko (the documentation says that this is correct)
and nvidia.ko is obviously loaded.

I keep finding references to this problem but no definite resolution.
Does anybody have any ideas about what to try next?

Thanks,
Mark

-- 
PGP: http://www.darklogik.org/pub/pgp/pgp.txt
B776 43DC 8A5D EAF9 2126 9A67 A7DA 390F DEFF 9DD1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 825 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050127/3edc505e/attachment.bin


More information about the freebsd-questions mailing list