From owner-freebsd-acpi@FreeBSD.ORG Thu Aug 29 19:04:32 2013 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 35786B39; Thu, 29 Aug 2013 19:04:32 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from mail0.glenbarber.us (mail0.glenbarber.us [IPv6:2607:fc50:1:2300:1001:1001:1001:face]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 081162171; Thu, 29 Aug 2013 19:04:32 +0000 (UTC) Received: from glenbarber.us (unknown [IPv6:2001:470:8:1205:3871:9183:4b6f:99b1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: gjb) by mail0.glenbarber.us (Postfix) with ESMTPSA id 7811E76AE; Thu, 29 Aug 2013 19:04:30 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.8.3 mail0.glenbarber.us 7811E76AE Authentication-Results: mail0.glenbarber.us; dkim=none reason="no signature"; dkim-adsp=none Date: Thu, 29 Aug 2013 15:04:28 -0400 From: Glen Barber To: Laura Marie Feeney Subject: Re: suspend/resume on Lenovo X1 (regression from reports on wiki) Message-ID: <20130829190428.GA2582@glenbarber.us> References: <521D03AE.3050709@sics.se> <20130828040505.GD32399@FreeBSD.org> <521DF184.7030308@sics.se> <20130828150310.GR4574@glebius.int.ru> <521F79F4.7070603@sics.se> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ibTvN161/egqYuK8" Content-Disposition: inline In-Reply-To: <521F79F4.7070603@sics.se> X-Operating-System: FreeBSD 10.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Gleb Smirnoff , "freebsd-acpi@freebsd.org" , "Sergey A. Osokin" X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Aug 2013 19:04:32 -0000 --ibTvN161/egqYuK8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 29, 2013 at 06:42:28PM +0200, Laura Marie Feeney wrote: > No xorg.conf is needed and all acpi options are as default. It > seems to work correctly both with and without acpi_video and > acpi_ibm in the kernel. It's still necessary to compile out > 'options VESA' from the kernel, otherwise resume fails entirely. >=20 I can also confirm that removing VESA from the kernel allows my system to resume properly, both with Xorg and console. root@nucleus:~ # kldstat=20 Id Refs Address Size Name 1 28 0xffffffff80200000 eb6148 kernel 2 1 0xffffffff810b7000 22ca40 zfs.ko 3 2 0xffffffff812e4000 5e58 opensolaris.ko 4 1 0xffffffff81412000 6149f i915kms.ko 5 1 0xffffffff81474000 3e5c7 drm2.ko > I also observe the issue that Gleb Smirnoff mentions below, that the > xorg server is quite slow after result. Using 'xterm -sb' and > moving the scrollbar up and down very fast, I was able to able to > get the xorg process up to ~20% of CPU. On casual observation, it > didn't seem to get worse after several suspend/resume cycles. >=20 I did not see any unusual CPU chewing by X after resume in my case. I did see something unpleasant with xrandr(1), however. I have dual external monitors attached, which I have a login script set the resolution properly. With my resolution set to 3840x1080, X is unusable on resume. (The screen is fuzzy, but the machine does not crash.) Without changing the resolution before suspend, X works properly at resume. Glen --ibTvN161/egqYuK8 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.21 (FreeBSD) iQEcBAEBCAAGBQJSH5s8AAoJEFJPDDeguUajotYH/iGKs2bHu/I3UnLUdZlzlW94 uCcVWxUa8AtFmZev2A2XxU1k9+5piHwXYh9JX6GRSm0HSnpbzAqRabwu2g7fc59k p7a8hGI0n9AQpQlzaI+LtDT8guVhhOhaT8fjXfXVW3TXw+D3wyrI/oiw7zK/ic+P fwFkMKlRlbB99UBj29mg67LQweSj8T13Gsgud/L2777ZRbhC/mk2uhU2BxinWo5J IMNfvTEbAhTEQJx/HdbJS328z0FXN8EN9YUVaNOdvdaoM8pUxYgvXfy9M5aGxbee CcShTkR+d0bjkgHAbqSKAwcmNVxeocU9RCkPh89XdbmkAm7qMr4oLdQoJ+uNlP4= =jew8 -----END PGP SIGNATURE----- --ibTvN161/egqYuK8--