From owner-freebsd-current@FreeBSD.ORG Thu May 6 10:49:04 2004 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 6556816A4CE for ; Thu, 6 May 2004 10:49:04 -0700 (PDT) Received: from mail4.speakeasy.net (mail4.speakeasy.net [216.254.0.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE81343D41 for ; Thu, 6 May 2004 10:49:01 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 30335 invoked from network); 6 May 2004 17:49:01 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 6 May 2004 17:49:01 -0000 Received: from 10.50.40.205 (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id i46Hmral007443; Thu, 6 May 2004 13:48:54 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-current@FreeBSD.org Date: Thu, 6 May 2004 13:49:12 -0400 User-Agent: KMail/1.6 References: <40982623.2090804@bellsouth.net> <4099E481.9090201@techfak.uni-bielefeld.de> <20040506090049.o4nwg40sw08g84s8@www.sweetdreamsracing.biz> In-Reply-To: <20040506090049.o4nwg40sw08g84s8@www.sweetdreamsracing.biz> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200405061349.12831.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: Kenneth Culver cc: Hendrik Hasenbein cc: Dimitry Andric cc: Johan Pettersson cc: nilson@bellsouth.net Subject: Re: nVidia FX Support? 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: Thu, 06 May 2004 17:49:04 -0000 On Thursday 06 May 2004 09:00 am, Kenneth Culver wrote: > Quoting Hendrik Hasenbein : > > Kenneth Culver wrote: > >> Quoting Daniel O'Connor : > >>> -----BEGIN PGP SIGNED MESSAGE----- > >>> Hash: SHA1 > >>> > >>> On Thu, 6 May 2004 05:48, Kenneth Culver wrote: > >>>> > If it still hangs, or is unstable, you might try forcing the AGP > >>>> > down to 4x or 2x. Many motherboards are unstable at 8x. > >>>> > >>>> I'm thinking it's because I had the XFree86-Server-Snap port > >>>> installed... that nvidia driver wasn't designed to work with that > >>>> server. Also, I have the acpi module loaded, and I've heard of that > >>>> causing problems. The card works fine in 8x mode in windows, so I > >>>> don't think that's the problem. > >>> > >>> The Windows drivers could have workarounds for broken AGP hardware > >>> (ie the AGP > >>> driver itself) > >> > >> I don't think the AGP hardware is broken, but BSD can't seem to route > >> the interrupt correctly for the AGP port. It cause the video card to be > >> routed to > >> IRQ 11 in FreeBSD, but in Windows, it is routed to irq 16. They > >> should be the > >> same in both OS's, and since it works in windows, I'm assuming it's > >> FreeBSD that's broken. > > > > No they don't need to be reported as the same interrupt. Just look at > > APIC vs non-APIC. IRQ11 looks like non-APIC, IRQ16 is most likely APIC > > driven. > > > > If you have agp in your kernel, remove that line and preload the > > nvidia.ko from the bootloader. That way my system works with a 5900XT. > > (nforce2, no apic, acpi enabled) > > > > Hendrik > > The thing that bugs me is that I have apic in the kernel, and the card > is still > at irq 11. I already tried removing agp from the kernel along with apic, > but the only thing that shows up on the screen is garbage. (the machine > doesn't hang though :-P. Your BIOS sucks and doesn't properly tell us which interrupt to use. I don't know how Windows figures out which IRQ to use. If I did I'd add that into the current code as a workaround to this problem. So, yes, FreeBSD isn't routing the IRQ properly, but it's because the BIOS doesn't tell us where to route it. :( -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org