From owner-freebsd-mobile@FreeBSD.ORG  Fri Jun 28 18:35:48 2013
Return-Path: <owner-freebsd-mobile@FreeBSD.ORG>
Delivered-To: freebsd-mobile@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by hub.freebsd.org (Postfix) with ESMTP id 96C226FA;
 Fri, 28 Jun 2013 18:35:48 +0000 (UTC)
 (envelope-from adrian.chadd@gmail.com)
Received: from mail-qc0-x22f.google.com (mail-qc0-x22f.google.com
 [IPv6:2607:f8b0:400d:c01::22f])
 by mx1.freebsd.org (Postfix) with ESMTP id 25C521E42;
 Fri, 28 Jun 2013 18:35:48 +0000 (UTC)
Received: by mail-qc0-f175.google.com with SMTP id k14so1572469qcv.34
 for <multiple recipients>; Fri, 28 Jun 2013 11:35:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:sender:in-reply-to:references:date
 :x-google-sender-auth:message-id:subject:from:to:cc:content-type;
 bh=NZYGbbhw6Mv7pQCBjKoqQel3abzYqo2SaUUthfUPRDo=;
 b=XPZQ1S/xIJatMUrZhPVT+0Cvv8H0FePkDvv1cA3kSkK8Ioo8Nc2DFfDUnZeBqZuEtA
 1LIv6uKgopzZoX4uZJsdbkIhoNOH9YSeozljKi7eRc5YJ12ZAHeti8i8uV7ADvEA9vWY
 bDsKoOPgBKBZq1SaP0yvOQcgyZyAobQLkN1BYrOEsSK70MxdoNc5wtfhK4BZCepT/PtU
 tprtbi0uehGyl8RlyWOWajUYG3S3T81a4YlF9FyKYOTCsGENymu10g6h2pPkjcFAvDgw
 4HpuctzndFdPUN36rb9+0l4YK6d6u+QwqybvezgsvBp/C0cDlIMx9V8nWx9E7LyOMgvU
 1CqA==
MIME-Version: 1.0
X-Received: by 10.224.190.137 with SMTP id di9mr19113039qab.95.1372444547670; 
 Fri, 28 Jun 2013 11:35:47 -0700 (PDT)
Sender: adrian.chadd@gmail.com
Received: by 10.224.214.7 with HTTP; Fri, 28 Jun 2013 11:35:47 -0700 (PDT)
In-Reply-To: <CAJ-Vmok8J24-uN=r5cB8MzdzcP_dvneK6cUpNitXrJEhQOZd+A@mail.gmail.com>
References: <CAJ-Vmo=D231CUKyON0qm+k3Kyen0n2Y1=Qs-eGhRmgN6F4gz2g@mail.gmail.com>
 <20120624.022452.67408510.iwasaki@jp.FreeBSD.org>
 <CAJ-Vmong4amP25KsV=CTnc4n4CCwwrQ+E8hM3kAUrP9=4aWcWg@mail.gmail.com>
 <20120625.225430.106438166.iwasaki@jp.FreeBSD.org>
 <CAJ-Vmo=w64q-H0Sn9E=PSew3PJUuMUKcHhA8CGqc3FgDv_S6TQ@mail.gmail.com>
 <CAJ-Vmok8J24-uN=r5cB8MzdzcP_dvneK6cUpNitXrJEhQOZd+A@mail.gmail.com>
Date: Fri, 28 Jun 2013 11:35:47 -0700
X-Google-Sender-Auth: ZQypW5bpD6aga3Z-gAGQeX9i7e8
Message-ID: <CAJ-VmonPVtSedvtx+zn2e+eWHYipXsC2p4E57sk5CPtTEY22iw@mail.gmail.com>
Subject: Re: STABLE/9 SMP ACPI suspend/resume - video mode not being restored
From: Adrian Chadd <adrian@freebsd.org>
To: Mitsuru IWASAKI <iwasaki@jp.freebsd.org>
Content-Type: text/plain; charset=ISO-8859-1
Cc: iwasaki@freebsd.org, freebsd-stable@freebsd.org, jkim@freebsd.org,
 freebsd-mobile@freebsd.org
X-BeenThere: freebsd-mobile@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Mobile computing with FreeBSD <freebsd-mobile.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-mobile>,
 <mailto:freebsd-mobile-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-mobile>
List-Post: <mailto:freebsd-mobile@freebsd.org>
List-Help: <mailto:freebsd-mobile-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-mobile>,
 <mailto:freebsd-mobile-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Jun 2013 18:35:48 -0000

hi!

Just as a note - this is still a problem on _all_ hardware I have
running -9 or -HEAD.

If you resume in text mode and it's a non-default mode (ie, it's not
VGA 80x25), it comes back corrupted.

Would someone please try it out? It's pretty easy to try out:

* set a non-default VGA Mode (say, 80x50)
* go through an ACPI suspend/resume cycle
* See the VGA display be corrupt.

On 21 July 2012 17:28, Adrian Chadd <adrian@freebsd.org> wrote:
> Hi!
>
> I just tried it. It worked:
>
> * resume occured and the video mode was corrupt;
> * then shortly after it went through all the reattaching, and the
> video mode was fixed.
>
> Why's the video mode starting off corrupted?
>
>
> Adrian