From owner-freebsd-current@FreeBSD.ORG Fri Jul 11 11:02:59 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 5BA6337B401 for ; Fri, 11 Jul 2003 11:02:59 -0700 (PDT) Received: from mailhub.yumyumyum.org (dsl092-171-091.wdc1.dsl.speakeasy.net [66.92.171.91]) by mx1.FreeBSD.org (Postfix) with ESMTP id 18B0E43FAF for ; Fri, 11 Jul 2003 11:02:58 -0700 (PDT) (envelope-from culverk@yumyumyum.org) Received: by mailhub.yumyumyum.org (Postfix, from userid 1001) id E120367; Fri, 11 Jul 2003 14:03:19 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mailhub.yumyumyum.org (Postfix) with ESMTP id DC8145F; Fri, 11 Jul 2003 14:03:19 -0400 (EDT) Date: Fri, 11 Jul 2003 14:03:19 -0400 (EDT) From: Kenneth Culver To: Damian Gerow In-Reply-To: <20030711171757.GE7797@sentex.net> Message-ID: <20030711135821.P4006@alpha.yumyumyum.org> References: <20030711171757.GE7797@sentex.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org Subject: Re: NVidia driver stability? 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, 11 Jul 2003 18:02:59 -0000 > I've been seeing this *exact* same behaviour on a Riva TNT2 for some > time now. I find the new driver to be a /little/ more stable -- i.e. > it's only locked up once on me since I installed it on Monday, as > opposed to locking up three out of the four mornings for the previous > driver. > > I /do/ use FreeBSD's AGP driver, as I found that otherwise I just had > massive instability problems. Back when I used the first nvidia driver with my old Geforce 3 TI 200, I didn't see anything like this, occasionally a FreeBSD app would cause a crash, but as long as I set the environment variable that kept things single threaded, I had no problems. This could be your problem: >From the README on nvidia's driver page for FreeBSD: The NVIDIA FreeBSD Accelerated Driver Set is fully thread-safe if native, multi-threaded applications are developed using the FreeBSD linux-threads port. If the above mentioned linux_sysvec.c.diff patch is applied, then the Linux ABI compatibility libraries are also fully thread-safe. The native NVIDIA FreeBSD OpenGL driver does not currently interact well with the libc_r, libkse, or libthr thread libraries. Until these issues are resolved, it is recommended that you use the FreeBSD linux-threads port for multithreaded OpenGL applications. I've seen problems on my friends machine until we compiled native GL apps to use linuxthreads, and set the appropriate environment variables before running any linux games. Ken