From owner-freebsd-stable@FreeBSD.ORG Wed Nov 10 01:32:33 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E7E7316A4CE for ; Wed, 10 Nov 2004 01:32:32 +0000 (GMT) Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1300043D49 for ; Wed, 10 Nov 2004 01:32:27 +0000 (GMT) (envelope-from wilkinsa@squash.dsto.defence.gov.au) Received: from ednmsw503.dsto.defence.gov.au (ednmsw503.dsto.defence.gov.au [131.185.2.150]) by digger1.defence.gov.au with ESMTP id iAA1VSZg017296 for ; Wed, 10 Nov 2004 12:01:28 +1030 (CST) Received: from muttley.dsto.defence.gov.au (unverified) by ednmsw503.dsto.defence.gov.au for ; Wed, 10 Nov 2004 12:01:39 +1030 Received: from ednex501.dsto.defence.gov.au (ednex501.dsto.defence.gov.au [131.185.2.81])iAA1Sbh15205 for ; Wed, 10 Nov 2004 11:58:38 +1030 (CST) Received: from squash.dsto.defence.gov.au ([131.185.40.212]) by ednex501.dsto.defence.gov.au with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id RZJDCBNM; Wed, 10 Nov 2004 11:58:24 +1030 Received: from squash.dsto.defence.gov.au (localhost [127.0.0.1]) iAA1T3Mj027943 for ; Wed, 10 Nov 2004 11:59:03 +1030 (CST) (envelope-from wilkinsa@squash.dsto.defence.gov.au) Received: (from wilkinsa@localhost)iAA1T3OZ027942 for freebsd-stable@freebsd.org; Wed, 10 Nov 2004 11:59:03 +1030 (CST) (envelope-from wilkinsa) Date: Wed, 10 Nov 2004 11:59:03 +1030 From: "Wilkinson, Alex" To: freebsd-stable@freebsd.org Message-ID: <20041110012902.GF27373@squash.dsto.defence.gov.au> Mail-Followup-To: freebsd-stable@freebsd.org References: <6d46f148041108230866bef0b6@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <6d46f148041108230866bef0b6@mail.gmail.com> User-Agent: Mutt/1.5.6i Subject: Re: NVIDIA driver crashing the system X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2004 01:32:33 -0000 From: /usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-1.0-6113/doc/README __________________________________________________________________________ (sec-05) CHOOSING THE AGP GART DRIVER __________________________________________________________________________ Similar to the NVIDIA Linux Driver Set, the user can decide if the NVIDIA driver should use its internal AGP GART driver or if it should rely on an OS provided AGP GART driver with the "NvAGP" XFree86 config file option: - Option "NvAGP" "0" Disable AGP - Option "NvAGP" "1" Use NVIDIA's AGP GART Driver - Option "NvAGP" "2" Use the OS AGP GART driver (agp.ko) - Option "NvAGP" "3" Attempt "2", fall back to "1" Unlike Linux, however, this option is not the only controlling factor at this point; for architectural reasons, the nvidia.ko kernel module must be built with exclusive support for NVIDIA's AGP GART driver or with support for FreeBSD's driver and NVIDIA's driver. By default, nvidia.ko is built with support for NVIDIA's internal driver, only; this can be changed (see nv-freebsd.h for details). Please note that if you built nvidia.ko with support for FreeBSD's driver it will not load unless agp.ko is loaded. agp.ko is special in that you can not load it after the system boot is complete, you need to append the following line to /boot/loader.conf to make sure it is pre-loaded: # -- load FreeBSD AGP GART driver -- # agp_load="YES" Also note that if agp.ko is loaded, it could conflict with NVIDIA's AGP GART driver (NvAGP), resulting in stability problems; for this reason, the NVIDIA driver will abort NvAGP initialization when it detects agp.ko. Note that current FreeBSD releases are shipped with agp.ko built into the kernel, which will need to be rebuilt without 'device agp'. Very recent -CURRENT kernels allow disabling agp.ko via device hints; if you're using such a kernel, adding the following to /boot/device.hints is sufficient: hint.agp.0.disabled="1" 0n Tue, Nov 09, 2004 at 01:08:14AM -0600, Nicolás de Bari Embriz García Rojas wrote: I am trying to use the nvidia driver from the ports on FreeBSD 5.3-STABLE but every time i startup X the system crash My system: Laptop: Dell latitud D800 video card: GeForce FX Go5200 I attached a console to the laptop and i got this: --- NVRM: detected agp.ko, aborting NVIDIA AGP setup!