From owner-freebsd-acpi@FreeBSD.ORG Sat Aug 31 05:47:15 2013 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C3EDFDE0; Sat, 31 Aug 2013 05:47:15 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ob0-x235.google.com (mail-ob0-x235.google.com [IPv6:2607:f8b0:4003:c01::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 72D6C2ADB; Sat, 31 Aug 2013 05:47:15 +0000 (UTC) Received: by mail-ob0-f181.google.com with SMTP id dn14so2654202obc.40 for ; Fri, 30 Aug 2013 22:47:14 -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=C+qrwFKUU8uoyURaCFFV3gnMKFObRsM+XuM7No4M6qk=; b=Z3hcYf71nkktWCZb8dcPes/d0kv0Q+R/Mrol20aow722yU2xVxNw4KwLo1n2ZTNRBt m+x3ua1F28vcwQu+AcQEULB+rMj8DWb/KZjWHKezK1RQozoIJQtS+/+b5BgR6hRkbMHQ 3NkitKYfqmFdYUaD2DjmFJYBS3I7+qAMhXLJAHRMcyEbLipzWArFiGhMXYGl2SX04MWc 2iv3VU7E/9QHlmDhN+sRGF2TbPm+64gsonQ5fPQk49YVMVEJwOCWzf//fk6WiIxnw8io fCX3bdn25zzIAoTGqEeuOH52i5LUvBCc9tUiEIzOF4BGneDkZSe0FoHO6MzhSt9kNGjN qmEQ== MIME-Version: 1.0 X-Received: by 10.182.250.163 with SMTP id zd3mr9560735obc.20.1377928034716; Fri, 30 Aug 2013 22:47:14 -0700 (PDT) Sender: kob6558@gmail.com Received: by 10.76.173.163 with HTTP; Fri, 30 Aug 2013 22:47:14 -0700 (PDT) In-Reply-To: <522118EB.5090801@sics.se> References: <521D03AE.3050709@sics.se> <20130830145102.GG32399@FreeBSD.org> <201308301153.23184.jhb@freebsd.org> <20130830215355.GH32399@FreeBSD.org> <522118EB.5090801@sics.se> Date: Fri, 30 Aug 2013 22:47:14 -0700 X-Google-Sender-Auth: xRt6hJyR-0FRpgnsNG0l_QUhmSY Message-ID: Subject: Re: suspend/resume on Lenovo X1 (regression from reports on wiki) From: Kevin Oberman To: lmfeeney@sics.se Content-Type: text/plain; charset=UTF-8 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: Sat, 31 Aug 2013 05:47:15 -0000 On Fri, Aug 30, 2013 at 3:12 PM, Laura Marie Feeney wrote: > On 08/30/13 23:53, Sergey A. Osokin wrote: > >> >> Maybe try x11perf before and after? I just removed VESA from my kernel >>> on an >>> X220 and it now suspends and resumes great in X. I don't notice any >>> slowdown, >>> but I'm using a very simple tiling window manager (i3wm). >>> >> >> I'm also using i3 now, previously it was fvwm2 earlier with slowdown. >> Hmm... >> >> Gleb and Luara, could you try x11-wm/i3 for suspend/resume trick and check >> slowdown? >> >> > I was using twm (like i3, it's very lightweight window manager and > actually my personal preference for everyday use) and saw little or no > slowdown under normal use. (I was able to get the cpu load to spike quite > a bit higher by scrolling an xterm as fast as I could, but that's not very > normal.) > > Will try i3 tomorrow. > > Perhaps cairo-perf with some common set of traces would be a good > comparison? > > Laura > Woo hoo! for the first time in the 2+ years I've owned it I can resume my T520. Removing VESA from the kernel did the trick! After resume, X was rather slow for some operations. Not painfully slow, but noticeably slower than normal. I did nothing to the system but ran x11perf. After about 2.5 hours it completed. When I resumed use of the system, it seems to be back to normal. No idea what made it change. I am running Gnome2, so it is a very heavyweight system running 9.2-Stable from last Wednesday (r255013). I'm delighted to finally have a working resume. It's been YEARS since I've had it that works on any of my Thinkpads (600E, T43, T520). -- R. Kevin Oberman, Network Engineer E-mail: rkoberman@gmail.com