From owner-freebsd-questions@FreeBSD.ORG  Tue Mar 13 15:07:56 2007
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
X-Original-To: freebsd-questions@freebsd.org
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 8CBFD16A400
	for <freebsd-questions@freebsd.org>;
	Tue, 13 Mar 2007 15:07:56 +0000 (UTC)
	(envelope-from pieter@degoeje.nl)
Received: from smtp.utwente.nl (smtp2.utsp.utwente.nl [130.89.2.9])
	by mx1.freebsd.org (Postfix) with ESMTP id 04A9413C48A
	for <freebsd-questions@freebsd.org>;
	Tue, 13 Mar 2007 15:07:55 +0000 (UTC)
	(envelope-from pieter@degoeje.nl)
Received: from nox.student.utwente.nl (nox.student.utwente.nl [130.89.165.91])
	by smtp.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id
	l2DF7lox009041; Tue, 13 Mar 2007 16:07:48 +0100
From: Pieter de Goeje <pieter@degoeje.nl>
To: freebsd-questions@freebsd.org
Date: Tue, 13 Mar 2007 16:07:46 +0100
User-Agent: KMail/1.9.5
References: <45F541F3.5040309@planet.nl> <45F6A98A.9070706@barafranca.com>
	<45F6AD75.4050404@planet.nl>
In-Reply-To: <45F6AD75.4050404@planet.nl>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200703131607.47274.pieter@degoeje.nl>
X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact
	helpdesk@ITBE.utwente.nl for more information.
X-UTwente-MailScanner: Found to be clean
X-UTwente-MailScanner-From: pieter@degoeje.nl
X-Spam-Status: No
Cc: hxc@planet.nl, Hugo Silva <hugo@barafranca.com>
Subject: Re: No matter what I try I can't get Nvidia 3d acceleration to
	work. Please help!
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 13 Mar 2007 15:07:56 -0000

Op dinsdag 13 maart 2007 14:56, schreef hxc@planet.nl:
> Hugo Silva wrote:
> > I have to disagree. Been playing Return to Castle Wolfenstein[: Enemy
> > Territory] and NeverWinter Nights 1 for years - I surely wouldn't say
> > they're "anything from slow to unplayable": NWN runs fine at max
> > resolution, and I have constant 142FPS (they're capped @ 142) on ET, at
> > 1280x1024.
> >
> > Hugo
My experience exactly; been playing Quake3 a while at framerates over 350 
(1024x768). In fact, I have created a robot simulation / visualisation which 
runs faster on FreeBSD than on Windows. OpenGL is just as fast on FreeBSD as 
it is on Windows, when set up properly.

>
> That is good news :D. I think the problem is not with 3d acceleration
> but with AGP. I now get this error message at boot:
>
> login: NVRM: AGP cannot be enabled on this combination of the AMD CPU
> and OS kernel
> NVRM: kernel upgrade recommended.
You really need to delete 'device AGP' from your kernel config and rebuild 
your kernel.

When everything is working OK, the hw.nvidia sysctl will look like this:
pyotr@nox:~> sysctl hw.nvidia
hw.nvidia.agp.card.rates: 8x 4x
hw.nvidia.agp.card.fw: supported
hw.nvidia.agp.card.sba: supported
hw.nvidia.agp.card.registers: 0xff000e1b:0x1f000302
hw.nvidia.agp.status.status: enabled
hw.nvidia.agp.status.driver: nvidia
hw.nvidia.agp.status.rate: 8x
hw.nvidia.agp.status.fw: disabled
hw.nvidia.agp.status.sba: enabled
[ ... ]
hw.nvidia.cards.0.model: GeForce 7600 GT
hw.nvidia.cards.0.irq: 16
hw.nvidia.cards.0.vbios: 05.73.22.25.70
hw.nvidia.cards.0.type: AGP

Regards,
Pieter de Goeje