NVIDIA driver crashing the system

Wilkinson, Alex alex.wilkinson at dsto.defence.gov.au
Tue Nov 9 17:32:33 PST 2004


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!
	


More information about the freebsd-stable mailing list