From owner-freebsd-questions Sun Mar 18 20:30: 8 2001 Delivered-To: freebsd-questions@freebsd.org Received: from chmod.ath.cx (CC2-1242.charter-stl.com [24.217.116.226]) by hub.freebsd.org (Postfix) with ESMTP id 38ADB37B718; Sun, 18 Mar 2001 20:30:03 -0800 (PST) (envelope-from ajh3@chmod.ath.cx) Received: by chmod.ath.cx (Postfix, from userid 1001) id B4776A896; Sun, 18 Mar 2001 22:29:41 -0600 (CST) Date: Sun, 18 Mar 2001 22:29:41 -0600 From: Andrew Hesford To: FreeBSD-stable , FreeBSD-questions Subject: XFree86 and i810 Message-ID: <20010318222941.A47265@cec.wustl.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Loop: Andrew Hesford Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I know the i810 is a known problem in FreeBSD while running XFree86 4.0.2 or greater, and I've seen complaints on the mailing list. The trouble, as far as I can tell, is that the i810 driver doesn't deallocate GART resources when switching consoles, and upon switching back to the X console, there is no memory the xserver can use to display. The server crashes, and if it is restarted, it still fails to deallocate resources, causing garbled video. Looking at driver code, I see the deallocation code is commented out, which leads me to believe that the linux agpgart driver automatically deallocates resources when not in use. This leads me to three questions: 1) Is it possible to make the agpgart-handling code in FreeBSD deallocate unused resources automatically, so that XFree86 will work as-is? 2) Can somebody implement a patch for XFree86 to deallocate GART resources when not in use? I looked at the driver, and there is more to learn about XFree86's structure than i have time for. 3) Is my analysis of the problem accurate? If not, has anybody found the cause of our woes? -- Andrew Hesford ajh3@chmod.ath.cx To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message