From owner-freebsd-questions@FreeBSD.ORG Fri Oct 8 05:13:50 2004 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 7B05A16A4CE for ; Fri, 8 Oct 2004 05:13:50 +0000 (GMT) Received: from smtp1.adl2.internode.on.net (smtp1.adl2.internode.on.net [203.16.214.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id C222543D48 for ; Fri, 8 Oct 2004 05:13:49 +0000 (GMT) (envelope-from ws+freebsd-questions@au.dyndns.ws) Received: from lillith-iv.ovirt.dyndns.ws (ppp142-48.lns1.adl2.internode.on.net [150.101.142.48]) i985Dj4Y024683; Fri, 8 Oct 2004 14:43:47 +0930 (CST) X-Envelope-From: ws+freebsd-questions@au.dyndns.ws X-Envelope-To: freebsd-questions@freebsd.org Received: from [192.168.100.132] (ppp142-48.lns1.adl2.internode.on.net [150.101.142.48])i985DiEv059692; Fri, 8 Oct 2004 14:43:44 +0930 (CST) (envelope-from ws+freebsd-questions@au.dyndns.ws) From: Wayne Sierke To: scott@sremick.net In-Reply-To: <20041008004413.1818.qmail@web53606.mail.yahoo.com> References: <20041008004413.1818.qmail@web53606.mail.yahoo.com> Content-Type: text/plain Message-Id: <1097212423.815.30.camel@ovirt.dyndns.ws> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Fri, 08 Oct 2004 14:43:44 +0930 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.39 X-Scanned-By: SpamAssassin 2.64(2004-01-11) X-Scanned-By: F-Prot X-Scanned-By: ClamAV X-Spam-Score: 0 () cc: freebsd-questions@freebsd.org Subject: Re: How to NOT load AGP? 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: Fri, 08 Oct 2004 05:13:50 -0000 On Fri, 2004-10-08 at 10:14, Scott I. Remick wrote: > Background: > > My computer likes to lock up sometimes in XFree86. This last time it was > All along I've been using the FreeBSD AGP. I'm thinking maybe I need to try > nvidia's (some people swear one way, some the other... if only there was > consensus!). > > So I try rebuilding my kernel w/o "device agp". Except the kernel build > bombs at a weird point. Unable to find any reference to other people failing > there, I suspect a corrupt /usr/src (perhaps due to one of my many lockups). > So I rm -R and re-cvsup it. Then the build works. I also made sure that > agp_load="YES" was commented out of my /boot/loader.conf file. Well, upon > rebooting I still see agp loading, confirmed w/ kldstat. So I try > uncommenting the line but changing it to "NO". Reboot, same thing. I do some > more research, and try adding hint.agp.0.disabled="1" to my > /boot/device.hints file. Reboot, but AGP is still loading. Argh. I can't > even use kldunload to remove it. > I'm assuming you have the nvidia-driver port installed? Text below is from /usr/X11/share/doc/NVIDIA_GLX-1.0/README. hint.agp.0.disabled="1" If you're using FreeBSD 5.2.1 or another -CURRENT kernel that does not yet offer this functionality, the following patch will enable it: /usr/X11R6/share/doc/NVIDIA_GLX-1.0/agp.ko-hints.diff My 5.2.1-RELEASE-p4 didn't support it without patching, I'll have to check but I don't think I used it in the end. Does your XF86Config contain the following entries in 'Section "Device"': Driver "nvidia" Option "NvAGP" "1" I'm pretty sure this (the 'Option "NvAGP" "1"') is what did it in the end for me. If it doesn't appear to work, don't forget to verify which config X is using by checking your XFree86.0.log or :0.log for the line: (==) Using config file: "/etc/X11/XF86Config" Wayne