Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jan 2005 01:11:36 +0000
From:      markzero <mark@darklogik.org>
To:        freebsd-questions@freebsd.org
Subject:   OpenGL + TNT2 + NVIDIA binary drivers
Message-ID:  <20050127011136.GA31868@logik.ath.cx>

next in thread | raw e-mail | index | archive | help

--YZ5djTAD1cGYuMQK
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=20
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 A=
ug  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

--=20
PGP: http://www.darklogik.org/pub/pgp/pgp.txt
B776 43DC 8A5D EAF9 2126 9A67 A7DA 390F DEFF 9DD1

--YZ5djTAD1cGYuMQK
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iQIVAwUBQfg/x6faOQ/e/53RAQI+zA/7B8qMfTpaX6BnZf1b6CybZHtgtLIZzYE+
wymcutKxAeuGyP+NXXX0gh8DJkWDOJxvwMwRKbNPiV439MjIo+ukeZSvlLM5JrJq
/1SDXIetkM/D4j0nFy2be9MpABb9uqcG3duKRB6hi1Lv5buidOAcl1JpdDOgCull
5UIDzt+KEJM26+h18N/mWFgONs/6Yl5u2kTG7DQMIV0zxZqadl+jjAs++ftCoiNs
Fcgx6UyZbo75zucHdqBX3hSoMpRY+XbDQsM7odVvBUWMbWKS0BpHHBS0/C4CP3SV
c4VslP9ovKB3RZxxz6N2W3HKher0bJsoCG4LyvmqXhKCqFJ5qOLIcdI1jto5UyBi
NEOxL2idNdKfWOW/bOQf67Csygv5gzkqdU+JSJTtp8BOFFgYY9hlsEBrq3KYyXv9
L5s2QR3HcRGE7PfxrDLPBxVS8DCMFvNwQsaUgYNKoEMffOLH5jgpPURafyqUNwbD
9bla+HKAVT9IWgoV8P7q5wNqmkUTNHGqyE48FO0ToTnsDr/Id8HECiO81HN9Vlja
eB4qo3LXt6WKPK11mu2087GMAdkidKDTrfoW1tpqLnbyPUCEE8ta/HCikFnK7Tu4
eGL2+GMoP8D2BHDj8dFcM5ezFAApLeg8VaRnj3x87zcQbK8q/A71a3hR9obU3u2c
PH7U4ZgQnfk=
=v5ab
-----END PGP SIGNATURE-----

--YZ5djTAD1cGYuMQK--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050127011136.GA31868>