From owner-freebsd-current@FreeBSD.ORG Fri Oct 3 00:05:00 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0346D16A4B3 for ; Fri, 3 Oct 2003 00:05:00 -0700 (PDT) Received: from ack.Berkeley.EDU (ack.Berkeley.EDU [128.32.206.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5424443FF3 for ; Fri, 3 Oct 2003 00:04:59 -0700 (PDT) (envelope-from mhunter@ack.Berkeley.EDU) Received: (from mhunter@localhost) by ack.Berkeley.EDU (8.11.3/8.11.3) id h9374cI28361; Fri, 3 Oct 2003 00:04:38 -0700 (PDT) Date: Fri, 3 Oct 2003 00:04:38 -0700 From: Mike Hunter To: "Daniel O'Connor" Message-ID: <20031003070437.GA27493@ack.Berkeley.EDU> References: <1065051659.1040.1.camel@localhost> <20031002042347.GA17191@ack.Berkeley.EDU> <200310021402.57452.doconnor@gsoft.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200310021402.57452.doconnor@gsoft.com.au> User-Agent: Mutt/1.4.1i cc: Justin Smith cc: freebsd-current@freebsd.org Subject: Re: Nvidia driver X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Oct 2003 07:05:00 -0000 On Oct 02, "Daniel O'Connor" wrote: > My wife's computer did this. In the end I turned down all the knobs I > could find (mostly AGP speed stuff). > > It still dies when trying OpenGL though. > hw.nvidia.agp.card.rates: 2x 1x > hw.nvidia.agp.card.fw: not supported > hw.nvidia.agp.card.sba: supported > hw.nvidia.agp.card.registers: 0x1f000203:0x00000000 > hw.nvidia.agp.status.status: disabled > hw.nvidia.agp.status.driver: n/a > hw.nvidia.agp.status.rate: n/a > hw.nvidia.agp.status.fw: n/a > hw.nvidia.agp.status.sba: n/a > hw.nvidia.version: NVIDIA FreeBSD x86 nvidia.ko Kernel Module 1.0-3203 Wed Oct 30 06:06:58 PST 2002 > hw.nvidia.registry.EnableAGPSBA: 0 > hw.nvidia.registry.EnableAGPFW: 0 > hw.nvidia.registry.SoftEDIDs: 1 > hw.nvidia.registry.Mobile: 4294967295 > hw.nvidia.cards.0.model: RIVA TNT2 > hw.nvidia.cards.0.irq: 11 > hw.nvidia.cards.0.vbios: 02.05.01.00.00 > hw.nvidia.cards.0.type: AGP > > ... > Section "Device" > Option "NvAgp" "0" > Identifier "Card1" > Driver "nvidia" > VendorName "NVidia" > BoardName "Riva TNT2" > BusID "PCI:1:0:0" > EndSection > ... > > agp0: mem 0xd0000000-0xd3ffffff at device 0.0 on pci0 > ... > nvidia0: mem 0xd4000000-0xd5ffffff,0xd6000000-0xd6ffffff irq 11 at device 0.0 on pci1 > .. > > This is a 4.8 system though. How do you turn those down? /boot/loader.conf? I tried saying "hw.nvidia.card.rates="2x 1x" but that didn't seem to do anything (I have a feeling that putting that in /boot/loader.conf makes no sense...please consider this a desperate cry for help.) Is it a bad sign that my sysctl has some weird values in it? sysctl -a | grep nvidia nvidia 21 13K 13K 21 16,32,256 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:0x01000000 hw.nvidia.agp.status.status: disabled hw.nvidia.agp.status.driver: n/a hw.nvidia.agp.status.rate: n/a hw.nvidia.agp.status.fw: n/a hw.nvidia.agp.status.sba: n/a hw.nvidia.version: NVIDIA FreeBSD x86 nvidia.ko Kernel Module 1.0-4365 Wed May 28 09:20:25 PDT 2003 hw.nvidia.registry.EnableVia4x: 0 hw.nvidia.registry.EnableALiAGP: 0 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.registry.UpdateKernelAGP: 1 hw.nvidia.cards.0.model: GeForce4 4200 Go hw.nvidia.cards.0.irq: 11 hw.nvidia.cards.0.vbios: ??.??.??.??.?? hw.nvidia.cards.0.type: AGP I have yet to try the posted suggestion of NOT loading "agp" into the kernel or having it as a module...maybe that's what "WITH_FREEBSD_AGP" refers to...hmmmmm..... Thanks, Mike