From owner-freebsd-questions@FreeBSD.ORG Thu Jan 27 01:14:49 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F95A16A4CE for ; Thu, 27 Jan 2005 01:14:49 +0000 (GMT) Received: from addr14.addr.com (addr14.addr.com [209.249.147.92]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5AE2043D45 for ; Thu, 27 Jan 2005 01:14:49 +0000 (GMT) (envelope-from markzero@logik.ath.cx) Received: from logik.ath.cx (localhost [127.0.0.1])j0R1Eka4036029 for ; Wed, 26 Jan 2005 17:14:47 -0800 (PST) Received: by logik.ath.cx (Postfix, from userid 1001) id 903A16310; Thu, 27 Jan 2005 01:11:36 +0000 (UTC) Date: Thu, 27 Jan 2005 01:11:36 +0000 From: markzero To: freebsd-questions@freebsd.org Message-ID: <20050127011136.GA31868@logik.ath.cx> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YZ5djTAD1cGYuMQK" Content-Disposition: inline X-OS: FreeBSD 5.3-RELEASE-p3 i386 LOGIK004 X-GPG-Key: http://darklogik.org/pub/pgp/pgp.txt X-Fingerprint: B776 43DC 8A5D EAF9 2126 9A67 A7DA 390F DEFF 9DD1 User-Agent: Mutt/1.5.6i X-ADDRSpamFilter: Passed, probability (0%) X-ADDRSignature: 49D4A074 Subject: OpenGL + TNT2 + NVIDIA binary drivers X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jan 2005 01:14:49 -0000 --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--