From owner-freebsd-acpi@FreeBSD.ORG Thu Aug 29 16:44:42 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 08287551; Thu, 29 Aug 2013 16:44:42 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qe0-x22f.google.com (mail-qe0-x22f.google.com [IPv6:2607:f8b0:400d:c02::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 990DA272F; Thu, 29 Aug 2013 16:44:41 +0000 (UTC) Received: by mail-qe0-f47.google.com with SMTP id b4so336963qen.34 for ; Thu, 29 Aug 2013 09:44:40 -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:message-id:subject :from:to:cc:content-type; bh=SI8a6kmcWOmDgK+jsEDXie7rkhxA8NvQq/XPC/NDOO8=; b=dhp20umJb7d/KV42WQJnIRTFhVuZL5olZDXld0+aLYkhT4MBrhi8SdJ5PvekAx+mdV qiv3phabrfBX2I67sRUt3HGWHh8822Bj6i8YOz0dRDUy+MRY7vCb0A0Zo4W9OlZIy7dy 5+6heUxLoicR8HwmGTrnOvYTU5QGhECCIxE3m6etpDnsv8MXDqPAYQYg/TQ8YPjSUiQt 7xlWBtFTMJuXnbcVvlHDhEPkl+f8pryq4ekA8iCYnFul/MztqSSj1ML/rfv2MhHfGzzK Jx+4Za8EfZ/I+JftJnM0PBIbTsHBCEut060IdRIjiaaQPcDYjc+SWhsLompdtwcLtnwg +23g== MIME-Version: 1.0 X-Received: by 10.229.185.68 with SMTP id cn4mr5255419qcb.5.1377794680795; Thu, 29 Aug 2013 09:44:40 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.128.70 with HTTP; Thu, 29 Aug 2013 09:44:40 -0700 (PDT) In-Reply-To: <521F79F4.7070603@sics.se> References: <521D03AE.3050709@sics.se> <20130828040505.GD32399@FreeBSD.org> <521DF184.7030308@sics.se> <20130828150310.GR4574@glebius.int.ru> <521F79F4.7070603@sics.se> Date: Thu, 29 Aug 2013 09:44:40 -0700 X-Google-Sender-Auth: 06T8u1dMfRrCY-l8XDd0vkF1J4o Message-ID: Subject: Re: suspend/resume on Lenovo X1 (regression from reports on wiki) From: Adrian Chadd To: Laura Marie Feeney Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Thu, 29 Aug 2013 16:44:42 -0000 Hi! On 29 August 2013 09:42, Laura Marie Feeney wrote: > Hi > > Yes! I now have working suspend/resume building xorg using the updated > ports and compile options that Gleb Smirnoff kindly pointed me at. > > 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 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. > > Definitely suspend/resume are working and amazingly fast compared to 8.2 > (though running on a much older machine). > > Thanks to all for the useful suggestions! > >> >> Let's not finish this just yet! I'd like to try and nail down exactly what's going on so PRs can be filed. * Is this with 9.2-RC2? Are you wiling to try out a -HEAD snapshot to make sure this stuff in -10 is also going to work? * Ok, so if you have no VESA option, does suspend/resume work in console mode? * Try manually setting the cpu frequency low and high (sysctl dev.0.cpu - you can change 'freq') - see if that fixes your speed issues. Someone else has reported this. Thanks! -adrian