From owner-freebsd-stable@FreeBSD.ORG Sun Feb 22 15:04:39 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 9616D16A4CE for ; Sun, 22 Feb 2004 15:04:39 -0800 (PST) Received: from kayjay.xs4all.nl (kayjay.xs4all.nl [80.126.33.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 086D843D1D for ; Sun, 22 Feb 2004 15:04:39 -0800 (PST) (envelope-from karelj@kayjay.xs4all.nl) Received: from kayjay.xs4all.nl (localhost.wop.wtb.tue.nl [127.0.0.1]) by kayjay.xs4all.nl (8.12.10/8.12.10) with ESMTP id i1MN7scH021626; Mon, 23 Feb 2004 00:07:54 +0100 (CET) (envelope-from karelj@kayjay.xs4all.nl) Received: (from karelj@localhost) by kayjay.xs4all.nl (8.12.10/8.12.10/Submit) id i1MN7rVR021625; Mon, 23 Feb 2004 00:07:53 +0100 (CET) (envelope-from karelj) Date: Mon, 23 Feb 2004 00:07:53 +0100 From: "Karel J. Bosschaart" To: "Raphael H. Becker" Message-ID: <20040222230753.GA21521@kayjay.xs4all.nl> References: <20040222142145.GA99480@local.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040222142145.GA99480@local.net> User-Agent: Mutt/1.4.2.1i cc: stable@freebsd.org Subject: Re: X11 with nvidia --> panic 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: Sun, 22 Feb 2004 23:04:39 -0000 On Sun, Feb 22, 2004 at 03:21:45PM +0100, Raphael H. Becker wrote: > Hi *, > > I tried to set up X11 with the x11/nvidia-driver port yesterday. Set up > my X11 config and loader.conf (didn't work automatically). I had to > set up the linux module in loader.conf otherwise the nvidia module > didn't work (see beginning of the first session in dmesg-file). > > I disabled xdm in /etc/ttys, tried it with "startx". > > X11 starts but the console does not switch to graphics mode, it "hangs" > at the startup messages. As you can see in the dmesg-File (2 reboots!) > the end of the 2nd session ends with a kernel panic I didn't see on the > console. > > All relevant config- and logfiles are located under > http://rhb.uugrn.org/temp/X11-nvidia/ > There are quite some ways to use the nvidia driver. Difficult to say which one is suited for you, you have to try different things and keep the one that does not crash the machine :-/. The docs in /usr/X11R6/share/doc/NVIDIA provide some info on what you can try. About your config: You seem to have agp in your kernel so it's not needed to load it in boot/loader.conf. Did you compile the port with WITH_FREEBSD_AGP="YES", since you apparently want to use the AGP from FreeBSD? Alternatively, if you built the nvidia driver with default options (nvidia agp), comment out agp in your kernel config and comment the agp entry in loader.conf (although it might work when both agp's are loaded). Also see this page http://www.soulwax.net/nvidia/ , it contains useful tips. Good luck, Karel.