From owner-freebsd-questions@FreeBSD.ORG Fri Sep 7 22:44:00 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7DA2B16A417 for ; Fri, 7 Sep 2007 22:44:00 +0000 (UTC) (envelope-from phatbuckett@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.178]) by mx1.freebsd.org (Postfix) with ESMTP id 42CEE13C458 for ; Fri, 7 Sep 2007 22:44:00 +0000 (UTC) (envelope-from phatbuckett@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so684183waf for ; Fri, 07 Sep 2007 15:44:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=bJsf2JnQZ53KovFopUIEZeOlaZ8+EefL+604KR3QSM4=; b=gy0kErMQoiSWt01w2jotFJEB6pbERTa8vizoX/PX6r6WhKIp02LW3b/uLrW4X9nAOperlikvXlK47Od7Don36mHiq9UBGd5J8c5ObUO3tu/FRsddaoJ4em3/67v6CHRlpkGX6FmcMbTf1Ib+rocSb/z5zeV978nukAHgdF4vvC8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=bFK6ad5nE+YjK3sBbfbLYPXM2QFhw62kXf6fgY0PM5GA8zpCfTMVOJzJdf1UFgZ8fs9h5DPt69RZULvCslRlh2Ek/3OmasLqqZAnGCBH317yv4VkuLfPgecpERjCneL9Kp3eNpoiObYNTMfVUexwOT//px4kefKkJ2Y4V/aluLI= Received: by 10.114.134.1 with SMTP id h1mr1680866wad.1189205039598; Fri, 07 Sep 2007 15:43:59 -0700 (PDT) Received: by 10.114.178.17 with HTTP; Fri, 7 Sep 2007 15:43:59 -0700 (PDT) Message-ID: <839aec700709071543l241ec6bck8f37712f4dbd4011@mail.gmail.com> Date: Fri, 7 Sep 2007 15:43:59 -0700 From: "Darren Spruell" To: Mel In-Reply-To: <200709072045.58773.fbsd.questions@rachie.is-a-geek.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <839aec700709061310m44a1f0f8p55fd7706ed3c02af@mail.gmail.com> <6.0.0.22.2.20070906170214.026e63f8@mail.computinginnovations.com> <839aec700709071043i307b8eb7p786a262982c52b4b@mail.gmail.com> <200709072045.58773.fbsd.questions@rachie.is-a-geek.net> Cc: freebsd-questions@freebsd.org Subject: Re: nvidia-driver rebooting machine on X startup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Sep 2007 22:44:00 -0000 On 9/7/07, Mel wrote: > On Friday 07 September 2007 19:43:03 Darren Spruell wrote: > > On 9/6/07, Derek Ragona wrote: > > > At 03:10 PM 9/6/2007, Darren Spruell wrote: > > > > > > Wondering if this is a known issue, or if anyone has suggestions to > > > get it working...? > > > > > > Running FreeBSD 6.2-RELEASE-p4 SMP i386. > > > > > > I installed nvidia-driver-100.14.11 from ports (Sep. 5 snapshot), > > > Linux compatibility enabled. After loading modules 'linux' and > > > 'nvidia', I do: > > > > > > # X -configure > > > # X -config /root/xorg.conf.new > > > > > > At this point the system spontaneously reboots. 'X -configure' runs > > > fine and produces a configuration without issue, but the reboot > > > occcurs when launching X. Nothing is output to screen (it flickers as > > > if starting X), and nothing is written to /var/log/Xorg.0.log. I do > > > get the same behavior if running 'xorgcfg'. > > > > > > Card info: > > > > > > "NV41 [Quadro FX 3450/4000 SDI] rev 162" > > > > > > nvidia0@pci7:0:0: class=0x030000 card=0x029b10de chip=0x00cd10de > > > rev=0xa2 hdr=0x00 > > > vendor = 'NVIDIA Corporation' > > > class = display > > > subclass = VGA > > > > > > I've tried an alternate version of the binary driver > > > (nvidia-driver-96xx) to see if there was any change, and it also > > > reboots on X startup. > > > > > > > > > -- > > > Check your AGP settings and consult the readme, chapter 9, for the > > > latest driver. You should be running the latest driver with your card. > > > > > > Make sure you have the correct AGP settings, either letting FreeBSD do > > > it in the kernel or disable the kernel and let the Nvidia driver manage > > > it. > > > > So, I'm not having terrific luck with any combination of settings I try. > > > > The latest FreeBSD driver release from Nvidia is the same as the > > version in the ports tree. This is what I've installed. > > > > Attempting the AGPGART route (building the driver with > > "WITH_FREEBSD_AGP=yes" and disabling NvAgp support in xorg.conf) still > > results in a reboot. > > > > Going the NvAGP route (Building without support for AGPGART, setting > > NvAgp to 1 in the xorg.conf, and setting hint.agp.0.disabled=1 in > > /boot/device.hints) also results in a reboot when X starts. One thing > > I notice here; when I specify hint.agp.0.disabled=1, and check the > > output of 'kldstat -v' after booting, I still see several agp drivers > > loaded: > > > > $ kldstat -v |grep -i agp > > 387 pci/agp_ali > > 388 pci/agp_amd > > 389 pci/agp_amd64 > > 390 pci/agp_ati > > 391 pci/agp_i810 > > 392 pci/agp_intel > > 393 pci/agp_nvidia > > 394 pci/agp_sis > > 395 pci/agp_via > > > > Is this a problem? > > > > I suspect a couple of problems with what I'm doing. Number one, > > there's several knobs to turn (in the driver, in the OS, etc.) and > > it's possible I'm not getting the correct combination. Other thing is, > > I've been told by a technician that this is a PCI Express video card, > > so would AGP even come into play? > > Probably not. I'm seeing the same thing on one machine, no AGP on MB, and agp > kernel modules loaded, but nvidia-driver doesn't care about it. > Let's kill all red herrings: > - Is COMPAT5X in the kernel? COMPAT5X doesn't show up anywhere in /usr/src/; I do have 'options COMPAT_FREEBSD5' defined, though (stock SMP kernel). > - Does running `nvidia-xconfig --query-gpu-info' reboot the system? > - If you do not load the nvidia kernel module, but use Xorg's "nv" driver does > this reboot the system? No, doesn't reboot the system. Output attached below. With the 'nv' driver, X starts fine. I don't use it because I don't have success with the two output displays and xinerama window sizing. nvidia-xconfig --query-gpu-info: Number of GPUs: 1 GPU #0: Name : Quadro FX 3450/4000 SDI PCI BusID : PCI:7:0:0 Number of Display Devices: 2 Display Device 0 (CRT-0): EDID Name : DELL 2001FP Minimum HorizSync : 31.000 kHz Maximum HorizSync : 80.000 kHz Minimum VertRefresh : 56 Hz Maximum VertRefresh : 76 Hz Maximum PixelClock : 162.000 MHz Maximum Width : 1600 pixels Maximum Height : 1200 pixels Preferred Width : 1600 pixels Preferred Height : 1200 pixels Preferred VertRefresh : 60 Hz Physical Width : 410 mm Physical Height : 310 mm Display Device 1 (CRT-1): EDID Name : DELL 2001FP Minimum HorizSync : 31.000 kHz Maximum HorizSync : 80.000 kHz Minimum VertRefresh : 56 Hz Maximum VertRefresh : 76 Hz Maximum PixelClock : 162.000 MHz Maximum Width : 1600 pixels Maximum Height : 1200 pixels Preferred Width : 1600 pixels Preferred Height : 1200 pixels Preferred VertRefresh : 60 Hz Physical Width : 410 mm Physical Height : 310 mm -- Darren Spruell phatbuckett@gmail.com