From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 5 20:43:49 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDAF41065676 for ; Thu, 5 Aug 2010 20:43:49 +0000 (UTC) (envelope-from chzander@nvidia.com) Received: from hqemgate04.nvidia.com (hqemgate04.nvidia.com [216.228.121.35]) by mx1.freebsd.org (Postfix) with ESMTP id CF0638FC16 for ; Thu, 5 Aug 2010 20:43:49 +0000 (UTC) Received: from hqnvupgp04.nvidia.com (Not Verified[172.20.161.48]) by hqemgate04.nvidia.com id ; Thu, 05 Aug 2010 13:41:24 -0700 Received: from hqemfe02.nvidia.com ([172.17.108.22]) by hqnvupgp04.nvidia.com (PGP Universal service); Thu, 05 Aug 2010 13:43:49 -0700 X-PGP-Universal: processed; by hqnvupgp04.nvidia.com on Thu, 05 Aug 2010 13:43:49 -0700 Received: from nvidia.com ([172.20.144.16]) by hqemfe02.nvidia.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 5 Aug 2010 13:43:48 -0700 Date: Thu, 5 Aug 2010 13:44:17 -0700 From: Christian Zander To: Jung-uk Kim Message-ID: <20100805204417.GF3610@panther.nvidia.com> References: <20100805200022.GB3610@panther.nvidia.com> <201008051635.09273.jkim@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201008051635.09273.jkim@FreeBSD.org> User-Agent: Mutt/1.4.2.3i X-NVConfidentiality: public X-OriginalArrivalTime: 05 Aug 2010 20:43:48.0914 (UTC) FILETIME=[E7F49120:01CB34DE] Cc: Christian Zander , "freebsd-hackers@freebsd.org" , Oleg Sharoyko Subject: Re: PCI config space is not restored upon resume (macbook pro) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Christian Zander List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Aug 2010 20:43:50 -0000 On Thu, Aug 05, 2010 at 01:35:01PM -0700, Jung-uk Kim wrote: (...) > > When using the NVIDIA driver, you will need to make sure that > > you're using 256.44, you'll need to be running X at the time of > > entry to S3/S4, and you'll need to make sure you've switched > > away from X's VT (this didn't happen automatically on FreeBSD > > last time I checked). > > We *do* switch VTs unless it is explicitly turned off by 'sysctl > hw.syscons.sc_no_suspend_vtswitch=1'. However, it was slightly > broken but I fixed it recently. > > http://svn.freebsd.org/viewvc/base?view=revision&revision=210303 > OK. It didn't happen on FreeBSD 8.1 when I tried recently. That's the only recent data point I have, though. > > However, NVIDIA suspend/resume is largely untested on FreeBSD. > > That's very sad news. :-( > Well, it's not entirely by choice. I have yet to find a system on which FreeBSD comes back from S3. In any case, the driver paths taken on FreeBSD are nearly identical to those taken on Linux, so given a sufficiently stable host, mileage should be the same on both platforms -- christian zander ch?zander@nvidia.com