From owner-freebsd-performance@FreeBSD.ORG Tue Jan 4 13:33:49 2005 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 418E716A4CF for ; Tue, 4 Jan 2005 13:33:49 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id BED0F43D39 for ; Tue, 4 Jan 2005 13:33:48 +0000 (GMT) (envelope-from molnarcs@gmail.com) Received: by rproxy.gmail.com with SMTP id g11so311998rne for ; Tue, 04 Jan 2005 05:33:48 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=Dea/E7ZMEoOfYQjjeaugQXABvGy8nahwqCERpQpciVW8UKnhUUmbCdsdTA/sIMHUUpac8x0o6iGwbk/lLkHjFG1bSoTztI43NqZYwushHrBpN+C6OSZMG8V+AMOWoKIkOMF9T/Y49Om4tsfbnsWphwBoeFib8a2+kW3Jz7trDoo= Received: by 10.38.207.31 with SMTP id e31mr734535rng; Tue, 04 Jan 2005 05:33:48 -0800 (PST) Received: by 10.38.207.37 with HTTP; Tue, 4 Jan 2005 05:33:48 -0800 (PST) Message-ID: Date: Tue, 4 Jan 2005 14:33:48 +0100 From: =?ISO-8859-1?Q?Csaba_Moln=E1r?= To: dkouroun@cc.uoi.gr, freebsd-performance@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Tue, 04 Jan 2005 15:01:19 +0000 Subject: nvidia on FreeBSD 5.3 X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: =?ISO-8859-1?Q?Csaba_Moln=E1r?= List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jan 2005 13:33:49 -0000 I'm not on the list, that's why I mail directly... I noticed some strange behaviour on FreeBSD 5.3. I had these settings in my /etc/sysctl.conf hw.nvidia.registry.EnableVia4x=1 hw.nvidia.registry.EnableAGPSBA=1 hw.nvidia.registry.EnableAGPFW=1 However, EnableAGPSBA/AGPFW was still not set after boot up for some strange reason. glxgears with this setting reported ~250-300 fps. Card is: GeForce FX 5200/128 (64 bit). After changing registry values manually, (sysctl hw.nvidia.registry.EnableVia4x=1 ...) fps is now: mcsaba@mcsaba$ glxgears 3319 frames in 5.0 seconds = 663.800 FPS 4537 frames in 5.0 seconds = 907.400 FPS 4528 frames in 5.0 seconds = 905.600 FPS 4506 frames in 5.0 seconds = 901.200 FPS 4544 frames in 5.0 seconds = 908.800 FPS X connection to :0.0 broken (explicit kill or server shutdown). mcsaba@mcsaba$ I put hw.nvidia.registry.EnableAGPSBA=1 hw.nvidia.registry.EnableAGPFW=1 in /boot/loader.conf, and now they seem to be set at boot up, however, sysctl -a | grep nvidia still reports status as disabled. I know it isn't because there is a substantial difference, but here is my output anyway: root@mcsaba# sysctl -a | grep nvidia nvidia 348 738K 791K 6419 16,32,64,128,256,512,1024,2048,4096 hw.nvidia.agp.card.rates: 4x 2x 1x hw.nvidia.agp.card.fw: supported hw.nvidia.agp.card.sba: supported hw.nvidia.agp.card.registers: 0x1f000217:0x1f000104 hw.nvidia.agp.status.status: enabled hw.nvidia.agp.status.driver: freebsd (agp.ko) hw.nvidia.agp.status.rate: 4x hw.nvidia.agp.status.fw: disabled hw.nvidia.agp.status.sba: 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: 1 hw.nvidia.registry.EnableALiAGP: 0 hw.nvidia.registry.NvAGP: 3 hw.nvidia.registry.EnableAGPSBA: 1 hw.nvidia.registry.EnableAGPFW: 1 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: GeForce FX 5200 hw.nvidia.cards.0.irq: 16 hw.nvidia.cards.0.vbios: 04.34.20.27.06 hw.nvidia.cards.0.type: AGP dev.nvidia.0.%desc: GeForce FX 5200 dev.nvidia.0.%driver: nvidia dev.nvidia.0.%location: slot=0 function=0 dev.nvidia.0.%pnpinfo: vendor=0x10de device=0x0322 subvendor=0x0000 subdevice=0x0000 class=0x030000 dev.nvidia.0.%parent: pci1 I compiled the nvidia-driver port WITH_ACPI=yes WITH_FREEBSD_AGP=yes WITH_LINUX=yes I don't know what might be the problem in your setting. I just thought that it might help if you compare it with my system. Where did you measure those fps? If it was with your own prog, than it must be something with your own prog. (you might try glxgears on both linux and freebsd as well). Unfortunately, I'm not a programmer, so I can't help much with that. Maybe if you post more details someone else might be more helpful :)