From owner-freebsd-questions@FreeBSD.ORG Mon Mar 12 19:33:51 2007 Return-Path: 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 6174316A403 for ; Mon, 12 Mar 2007 19:33:51 +0000 (UTC) (envelope-from hxc@planet.nl) Received: from psmtp04.wxs.nl (psmtp04.wxs.nl [195.121.247.13]) by mx1.freebsd.org (Postfix) with ESMTP id 2882B13C484 for ; Mon, 12 Mar 2007 19:33:51 +0000 (UTC) (envelope-from hxc@planet.nl) Received: from [192.168.0.141] ([80.60.30.253]) by psmtp04.wxs.nl (iPlanet Messaging Server 5.2 HotFix 2.15 (built Nov 14 2006)) with ESMTP id <0JET00FZK2CETI@psmtp04.wxs.nl> for freebsd-questions@freebsd.org; Mon, 12 Mar 2007 20:33:50 +0100 (MET) Date: Mon, 12 Mar 2007 20:33:50 +0100 From: hxc@planet.nl In-reply-to: <45F56F10.1090401@netscape.net> To: Tore Lund Message-id: <45F5AB1E.9030807@planet.nl> MIME-version: 1.0 User-Agent: Thunderbird 1.5.0.10 (X11/20070303) References: <45F541F3.5040309@planet.nl> <20070312141910.GA27605@xs2.xs4all.nl> <45F56665.7060006@planet.nl> <45F56F10.1090401@netscape.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Mar 2007 19:33:51 -0000 Tore Lund wrote: > > I believe it's enough to put this line into /boot/device.hints: > > hint.agp.0.disabled="1" > > >> Is this really true? Who can confirm this? I also wonder why glxgears in >> FreeBSD gives me 5000 fps, while in Linux gives me 13000. To get 5000 >> fps in Linux I need to disable 3d support :-\ . >> > > Have you installed the port or package "nvidia-driver" (or one of its > siblings)? The documentation that comes with it will probably tell you > what you need to know. > > On my own machine I have NVIDIA-FreeBSD-x86-1.0-9631, and I get this: > > %sysctl hw.nvidia.agp.status > hw.nvidia.agp.status.status: enabled > hw.nvidia.agp.status.driver: nvidia > hw.nvidia.agp.status.rate: 4x > hw.nvidia.agp.status.fw: disabled > hw.nvidia.agp.status.sba: disabled > I have installed the port nvidia-driver. I have followed all the step in the readme (including adding the line to /boot/device.hint see below). I wonder though is nvidia 3d acceleration supported under FreeBSD? From the readme: / The NVIDIA Accelerated FreeBSD Driver Set brings accelerated 2D functionality and high-performance OpenGL support to FreeBSD x86 with the use of NVIDIA graphics processing units (GPUs). These drivers provide optimized hardware acceleration for OpenGL and X applications and support nearly all recent NVIDIA graphics chips (please see Appendix A for a complete list of supported chips). TwinView, TV-Out and flat panel displays are also supported. / P.S. I also have ran ppracer. Results: *FreeBSD* *110 fps* *Gentoo Linux* *240 fps* Additional information: *# tail /boot/device.hints* /hint.ie.0.maddr="0xd0000" hint.fe.0.at="isa" hint.fe.0.disabled="1" hint.fe.0.port="0x300" hint.lnc.0.at="isa" hint.lnc.0.disabled="1" hint.lnc.0.port="0x280" hint.lnc.0.irq="10" hint.lnc.0.drq="0" hint.agp.0.disabled="1"/