From owner-freebsd-stable@FreeBSD.ORG Thu Apr 3 13:46:07 2003 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 2EA4F37B404 for ; Thu, 3 Apr 2003 13:46:07 -0800 (PST) Received: from sunfire.lclark.edu (lewis.lclark.edu [149.175.1.5]) by mx1.FreeBSD.org (Postfix) with SMTP id 947B843F3F for ; Thu, 3 Apr 2003 13:46:06 -0800 (PST) (envelope-from eta@lclark.edu) Received: from [149.175.30.191] ([149.175.30.191]) by sunfire.lclark.edu (SAVSMTP 3.0.1.45) with SMTP id M2003040313455209056 ; Thu, 03 Apr 2003 13:45:52 -0800 From: Eric Anholt To: "Welch, Sean M." In-Reply-To: <5B7014A44B89494E830AD32859FBC858010AE663@nsc-msg01.network.com> References: <5B7014A44B89494E830AD32859FBC858010AE663@nsc-msg01.network.com> Content-Type: text/plain Organization: Message-Id: <1049406648.609.17.camel@leguin> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 03 Apr 2003 13:50:48 -0800 Content-Transfer-Encoding: 7bit cc: "'dgilbert@velocet.ca'" cc: "'freebsd-stable@freebsd.org'" Subject: Re: Re:agp driver locks up on resume 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: Thu, 03 Apr 2003 21:46:07 -0000 On Thu, 2003-04-03 at 12:31, Welch, Sean M. wrote: > I'm familiar with this one -- it isn't agp, it is DRI. DRI depends on AGP > so you are disabling both when you disable > AGP. This issue has to do with the DRI module "losing track" of what is > going on in the usage of main memory > (through AGP) when you do a suspend resume -- it gets stuck trying to flush > a buffer... I was initally going to say this too. However, I remember I tried to suspend/resume my laptop in the console with DRM not loaded and still had hangs. I put some printf in the kernel to see if the AGP setup was corrupted by the resume and it didn't look like it (having noticed that linux does a whole re-setup of agp after resume). I didn't ever try without AGP at all I think, and didn't try reconfiguring. Some work has been done on suspend/resume with the DRI. I don't know too much about it, but I think it let you suspend/resume while a 3d client was running. I don't remember if that stuff got merged or not (thinking not). I think suspend/resume is supposed to still work if you're switched away to console. -- Eric Anholt eta@lclark.edu http://people.freebsd.org/~anholt/ anholt@FreeBSD.org