From owner-freebsd-acpi@FreeBSD.ORG Fri Aug 30 16:14:58 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 AC4713E9; Fri, 30 Aug 2013 16:14:58 +0000 (UTC) (envelope-from bengta@P142.sics.se) Received: from sink.sics.se (sink.sics.se [193.10.64.88]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1D6572FA8; Fri, 30 Aug 2013 16:14:54 +0000 (UTC) Received: from P142.sics.se (h139n3-u-d1.ias.bredband.telia.com [90.228.197.139]) by sink.sics.se (8.14.5/8.14.5) with ESMTP id r7UGDgiE024057 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 30 Aug 2013 18:13:42 +0200 (CEST) (envelope-from bengta@P142.sics.se) Received: from P142.sics.se (localhost [127.0.0.1]) by P142.sics.se (8.14.5/8.14.5) with ESMTP id r7UGFSuo003710; Fri, 30 Aug 2013 18:15:28 +0200 (CEST) (envelope-from bengta@P142.sics.se) Received: (from bengta@localhost) by P142.sics.se (8.14.5/8.14.5/Submit) id r7UGFSV7003709; Fri, 30 Aug 2013 18:15:28 +0200 (CEST) (envelope-from bengta@P142.sics.se) From: Bengt Ahlgren To: Glen Barber , Laura Marie Feeney Subject: Re: suspend/resume on Lenovo X1 (regression from reports on wiki) In-Reply-To: <20130829190428.GA2582@glenbarber.us> (Glen Barber's message of "Thu, 29 Aug 2013 15:04:28 -0400") References: <521D03AE.3050709@sics.se> <20130828040505.GD32399@FreeBSD.org> <521DF184.7030308@sics.se> <20130828150310.GR4574@glebius.int.ru> <521F79F4.7070603@sics.se> <20130829190428.GA2582@glenbarber.us> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (berkeley-unix) Date: Fri, 30 Aug 2013 18:15:28 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Cc: "freebsd-acpi@freebsd.org" , Gleb Smirnoff , "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: Fri, 30 Aug 2013 16:14:58 -0000 Just a "mee too" report for a Thinkpad X201. Resume now results in a usable display with Intel/KMS graphics thanks to removing options VESA from the kernel config! Still no backlight in console mode, however. I have not investigated any slow-downs. Thanks for the crucial piece of info! (I'm on stable/9 and a ports tree as of today.) Bengt Glen Barber writes: > 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. >> > > I can also confirm that removing VESA from the kernel allows my system > to resume properly, both with Xorg and console. > > root@nucleus:~ # kldstat > 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. >> > > 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