Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Oct 2006 18:06:43 GMT
From:      Jason Bacon<bacon@smithers.neuro.mcw.edu>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/104224: New nVidia driver causes X11 hangups and system crashes
Message-ID:  <200610091806.k99I6h4H005542@www.freebsd.org>
Resent-Message-ID: <200610091810.k99IAFGc016476@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         104224
>Category:       ports
>Synopsis:       New nVidia driver causes X11 hangups and system crashes
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 09 18:10:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jason Bacon
>Release:        5.4-RELEASE
>Organization:
Medical College of Wisconsin
>Environment:
FreeBSD smithers.neuro.mcw.edu 5.4-RELEASE FreeBSD 5.4-RELEASE #2: Wed Aug 24 14:54:53 CDT 2005     bacon@clone.neuro.mcw.edu:/usr/obj/usr/src/sys/clone  i386

>Description:
We've experienced a slew of problems with nvidia-driver-1.0.8762 on FreeBSD 5.4 systems.  Symptoms include an apparent infinite loop in Xorg, and system lockups and spontaneous reboots with no clues left behind in the system log.  The symptoms usually appear when trying to close a program that utilizes GL functions, or when logging out from KDE after using such programs.  The same symptoms occur on a wide range of nVidia cards ranging from several-year-old AGP cards to the latest PCI-E.
>How-To-Repeat:
Install nvidia-driver-1.0.8762, run a GL program, close it.
>Fix:
In some cases, but not all, rebuilding the nVidia driver without FreeBSD_AGP resolved the problem.

The better solution seems to be rolling back the driver to nvidia-driver-1.0.7174_3, by rebuilding with -DWITH_LEGACY_GPU_SUPPORT.  This version of the driver seems to be stable with FreeBSD_AGP enabled.

1. Shut down X11
2. Update the nvidia driver
3. Restart X11

Example from systems running kdm:

vi /etc/ttys (disable kdm)
kill -HUP 1

killall kdm-bin
kldunload nvidia
cd /usr/ports/x11/nvidia-driver
make deinstall
make config (for my systems, I enabled FreeBSD_AGP and Linux)
make -DWITH_LEGACY_GPU_SUPPORT reinstall

vi /etc/ttys (enable kdm)
kill -HUP 1

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610091806.k99I6h4H005542>