From owner-freebsd-acpi@FreeBSD.ORG Mon Aug 26 11:06:40 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 7719D98 for ; Mon, 26 Aug 2013 11:06:40 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4A1A02850 for ; Mon, 26 Aug 2013 11:06:40 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r7QB6eIf065848 for ; Mon, 26 Aug 2013 11:06:40 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r7QB6dPc065846 for freebsd-acpi@FreeBSD.org; Mon, 26 Aug 2013 11:06:39 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 26 Aug 2013 11:06:39 GMT Message-Id: <201308261106.r7QB6dPc065846@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-acpi@FreeBSD.org Subject: Current problem reports assigned to freebsd-acpi@FreeBSD.org 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: Mon, 26 Aug 2013 11:06:40 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/180897 acpi [acpi] ACPI error with MB p8h67 v.1405 o kern/174766 acpi [acpi] Random acpi panic o kern/174504 acpi [ACPI] Suspend/resume broken on Lenovo x220 o kern/173408 acpi [acpi] [regression] ACPI Regression: battery does not o kern/171305 acpi [acpi] acpi_tz0: _CRT value is absurd, ignored (256.0C o kern/165381 acpi [cpufreq] powerd(8) eats CPUs for breakfast o kern/164329 acpi [acpi] hw.acpi.thermal.tz0.temperature shows strange v o kern/162859 acpi [acpi] ACPI battery/acline monitoring partialy working o kern/161715 acpi [acpi] Dell E6520 doesn't resume after ACPI suspend o kern/161713 acpi [acpi] Suspend on Dell E6520 o kern/160838 acpi [acpi] ACPI Battery Monitor Non-Functional o kern/160419 acpi [acpi_thermal] acpi_thermal kernel thread high CPU usa o kern/158689 acpi [acpi] value of sysctl hw.acpi.thermal.polling_rate ne o kern/154955 acpi [acpi] Keyboard or ACPI doesn't work on Lenovo S10-3 o kern/152098 acpi [acpi] Lenovo T61p does not resume o i386/146715 acpi [acpi] Suspend works, resume not on a HP Probook 4510s o kern/145306 acpi [acpi]: Can't change brightness on HP ProBook 4510s o i386/143798 acpi [acpi] shutdown problem with SiS K7S5A o kern/143420 acpi [acpi] ACPI issues with Toshiba o kern/142009 acpi [acpi] [panic] Panic in AcpiNsGetAttachedObject o kern/139088 acpi [acpi] ACPI Exception: AE_AML_INFINITE_LOOP error o amd64/138210 acpi [acpi] acer aspire 5536 ACPI problems (S3, brightness, o i386/136008 acpi [acpi] Dell Vostro 1310 will not shutdown (Requires us o kern/132602 acpi [acpi] ACPI Problem with Intel SS4200: System does not a i386/122887 acpi [panic] [atkbdc] 7.0-RELEASE on IBM HS20 panics immed s kern/112544 acpi [acpi] [patch] Add High Precision Event Timer Driver f o kern/73823 acpi [request] acpi / power-on by timer support 27 problems total. From owner-freebsd-acpi@FreeBSD.ORG Tue Aug 27 19:53:02 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 CC11480A; Tue, 27 Aug 2013 19:53:02 +0000 (UTC) (envelope-from lmfeeney@sics.se) Received: from fsmsg2.sics.se (fsmsg2.sics.se [IPv6:2001:6b0:3a:1:250:56ff:fea9:52ad]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 576F92E51; Tue, 27 Aug 2013 19:53:01 +0000 (UTC) Received: from pps.filterd (fsmsg2 [127.0.0.1]) by fsmsg2.sics.se (8.14.5/8.14.5) with SMTP id r7RJqlGU014493; Tue, 27 Aug 2013 21:52:58 +0200 Received: from letter.sics.se (letter.sics.se [193.10.64.6]) by fsmsg2.sics.se with ESMTP id 1eg7hk26fm-1; Tue, 27 Aug 2013 21:52:58 +0200 Received: from [127.0.0.1] (sink.sics.se [193.10.64.88]) (Authenticated sender: lmfeeney@sics.se) by letter.sics.se (Postfix) with ESMTPSA id 75F7440115; Tue, 27 Aug 2013 21:52:58 +0200 (CEST) Message-ID: <521D03AE.3050709@sics.se> Date: Tue, 27 Aug 2013 21:53:18 +0200 From: Laura Marie Feeney User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.13) Gecko/20110202 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-acpi@freebsd.org Subject: suspend/resume on Lenovo X1 (regression from reports on wiki) Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8794, 1.0.431, 0.0.0000 definitions=2013-08-27_08:2013-08-27,2013-08-27,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=1 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1305240000 definitions=main-1308270122 Cc: glebius@freebsd.org, osa@freebsd.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: lmfeeney@sics.se List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Aug 2013 19:53:03 -0000 At https://wiki.freebsd.org/SuspendResume, users osa and glebius both report on Thinkpad Carbon X1. They agree that suspend and resume work from X (but not console) for '9.0-stable' and 'head' respectively. Sadly, I can't reproduce this on 9.2-RC2: Under X, resume fails to restore video. I don't know whether this is a configuration error on my part, or a regression, or the original reports on the wiki were misunderstood. (I do reproduce it not working on console.) Suggestions are welcome, especially from those who report working configurations. Details below, log files at http://www.sics.se/~lmfeeney/9.2-RC2. This is a new machine, with a minimal 9.2-RC2 install from memstick. X and its dependencies are installed from packages via portmaster and hald and dbus are enabled, as is ssh. These are the only packages installed. X is started using startx (with twm) and no xorg.conf. The kernel is a minimal kernel with no devices complied in and no option VESA (see ANKUNGE.config, dmesg, devinfo, pciconf, acpi.) Suspend appears to work (screen turns off, no ping, power light pulses slowly). On resume, the kernel resumes and if iwn is loaded, I can ssh into the machine. The screen does not resume, not even the backlight. (Looking with a flashlight, it doesn't seem to be in any mode.) The X server seems to have exited with error message (see messages, Xorg.0.log), but hald and dbus are still running. Fatal server error: EnterVT failed for screen 0 Using debug.bootverbose and debug.acpi.suspend_bounce leaves the backlight on, but doesn't restore the screen. If I ssh into the machine, the X server seems still be running (see messages_bouce, Xorg.0.log_bounce). Loading acpi_video and acpi_ibm modules into the kernel doesn't change the behavior. Same is true for i915 module. (These modules are reported in the working configuration info on the wiki.) The SuspendResume wiki notes that sdhci must be unloaded. These aren't in my minimal kernel, checked by loading and unloading the module). The old acpi.reset_video=1 option gives kernel panic on resume. With option VESA in the minimal kernel, the machine seems to suspend OK. On resume, the backlight comes on and the wlan indicator blinks a couple of times. Otherwise, the machine is unresponsive to both ping and (blind) keyboard commands. The GENERIC kernel has similar behavior. Thanks for any suggestion -- I really hope it's a configuration error on my part, Laura From owner-freebsd-acpi@FreeBSD.ORG Tue Aug 27 19:55:01 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 2072F859; Tue, 27 Aug 2013 19:55:01 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qe0-x22a.google.com (mail-qe0-x22a.google.com [IPv6:2607:f8b0:400d:c02::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B20D22E69; Tue, 27 Aug 2013 19:55:00 +0000 (UTC) Received: by mail-qe0-f42.google.com with SMTP id w7so2926884qeb.1 for ; Tue, 27 Aug 2013 12:54:59 -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=G8fGljzInCczTZbke7Iclj+klrMSMsCe6I+FUso07bU=; b=T1XHqiZw9Xd+2K91fuqxPgsKxEYxDEWdL0pDuVFNPxEDEcftF6Dcc8d5SK9lpDscVV s+jQLvTs6HTy3CgcTFpDjtKVT1lzHh7SHFn2zeyzOYUx3BwpR8esvD43Jeu2OppM3RaA ECFp3ChPWHIiGRhL4km1W1uSsyg1mP2AKmBIU4DW7guFbA49x4+0T5uAFTsq1OApThKh pe/VlgXMweWFztBqPj+rnhWGtHRw+uHBVNJT3dGoDUCX2X1exyvo4KE1CldFn1glltK4 IdbHOTpYNI5UGKQ5UKuk7jI8bUB4CXa/empmikYq2mj4uU60LXbgwX59kHuO/BPCZE5Z SXeg== MIME-Version: 1.0 X-Received: by 10.224.67.134 with SMTP id r6mr25221720qai.24.1377633299635; Tue, 27 Aug 2013 12:54:59 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.128.70 with HTTP; Tue, 27 Aug 2013 12:54:59 -0700 (PDT) In-Reply-To: <521D03AE.3050709@sics.se> References: <521D03AE.3050709@sics.se> Date: Tue, 27 Aug 2013 12:54:59 -0700 X-Google-Sender-Auth: mzHnC0M6JzGCOzAqtmhAm6oTzKY Message-ID: Subject: Re: suspend/resume on Lenovo X1 (regression from reports on wiki) From: Adrian Chadd To: lmfeeney@sics.se 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: Tue, 27 Aug 2013 19:55:01 -0000 Hi! Can you try 9.0-RELEASE? ANd 9.1-RELEASE? When you get a panic on resume - how do you know that? Can you get a photo of it? -adrian On 27 August 2013 12:53, Laura Marie Feeney wrote: > At https://wiki.freebsd.org/**SuspendResume, > users osa and glebius both report on Thinkpad Carbon X1. They agree that > suspend and resume work from X (but not console) for '9.0-stable' and > 'head' respectively. > > Sadly, I can't reproduce this on 9.2-RC2: Under X, resume fails to restore > video. I don't know whether this is a configuration error on my part, or a > regression, or the original reports on the wiki were misunderstood. (I do > reproduce it not working on console.) > > Suggestions are welcome, especially from those who report working > configurations. Details below, log files at > http://www.sics.se/~lmfeeney/**9.2-RC2 > . > > This is a new machine, with a minimal 9.2-RC2 install from memstick. X > and its dependencies are installed from packages via portmaster and hald > and dbus are enabled, as is ssh. These are the only packages installed. X > is started using startx (with twm) and no xorg.conf. > > The kernel is a minimal kernel with no devices complied in and no option > VESA (see ANKUNGE.config, dmesg, devinfo, pciconf, acpi.) > > Suspend appears to work (screen turns off, no ping, power light pulses > slowly). > > On resume, the kernel resumes and if iwn is loaded, I can ssh into the > machine. The screen does not resume, not even the backlight. (Looking with > a flashlight, it doesn't seem to be in any mode.) The X server seems to > have exited with error message (see messages, Xorg.0.log), but hald and > dbus are still running. > > Fatal server error: > EnterVT failed for screen 0 > > Using debug.bootverbose and debug.acpi.suspend_bounce leaves the backlight > on, but doesn't restore the screen. If I ssh into the machine, the X > server seems still be running (see messages_bouce, Xorg.0.log_bounce). > > Loading acpi_video and acpi_ibm modules into the kernel doesn't change the > behavior. Same is true for i915 module. (These modules are reported in the > working configuration info on the wiki.) > > The SuspendResume wiki notes that sdhci must be unloaded. These aren't in > my minimal kernel, checked by loading and unloading the module). > > The old acpi.reset_video=1 option gives kernel panic on resume. > > With option VESA in the minimal kernel, the machine seems to suspend OK. > On resume, the backlight comes on and the wlan indicator blinks a couple > of times. Otherwise, the machine is unresponsive to both ping and (blind) > keyboard commands. The GENERIC kernel has similar behavior. > > Thanks for any suggestion -- I really hope it's a configuration error on > my part, > > Laura > ______________________________**_________________ > freebsd-acpi@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-acpi > To unsubscribe, send any mail to "freebsd-acpi-unsubscribe@**freebsd.org > " > From owner-freebsd-acpi@FreeBSD.ORG Tue Aug 27 20:32:37 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 5DB57FB8; Tue, 27 Aug 2013 20:32:37 +0000 (UTC) (envelope-from lmfeeney@sics.se) Received: from fsmsg2.sics.se (fsmsg2.sics.se [IPv6:2001:6b0:3a:1:250:56ff:fea9:52ad]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DCF30209C; Tue, 27 Aug 2013 20:32:36 +0000 (UTC) Received: from pps.filterd (fsmsg2 [127.0.0.1]) by fsmsg2.sics.se (8.14.5/8.14.5) with SMTP id r7RKWZ04012315; Tue, 27 Aug 2013 22:32:35 +0200 Received: from letter.sics.se (letter.sics.se [193.10.64.6]) by fsmsg2.sics.se with ESMTP id 1eg7hk27ma-1; Tue, 27 Aug 2013 22:32:34 +0200 Received: from [127.0.0.1] (sink.sics.se [193.10.64.88]) (Authenticated sender: lmfeeney@sics.se) by letter.sics.se (Postfix) with ESMTPSA id BA64D40115; Tue, 27 Aug 2013 22:32:34 +0200 (CEST) Message-ID: <521D0CFA.5030809@sics.se> Date: Tue, 27 Aug 2013 22:32:58 +0200 From: Laura Marie Feeney User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.13) Gecko/20110202 Thunderbird/3.1.7 MIME-Version: 1.0 To: Adrian Chadd Subject: Re: suspend/resume on Lenovo X1 (regression from reports on wiki) References: <521D03AE.3050709@sics.se> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1305240000 definitions=main-1308270130 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8794, 1.0.431, 0.0.0000 definitions=2013-08-27_08:2013-08-27,2013-08-27,1970-01-01 signatures=0 Cc: "freebsd-acpi@freebsd.org" , Gleb Smirnoff , "Sergey A. Osokin" X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: lmfeeney@sics.se List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Aug 2013 20:32:37 -0000 On 08/27/13 21:54, Adrian Chadd wrote: > Hi! > Hi Adrian, > Can you try 9.0-RELEASE? ANd 9.1-RELEASE? > I tried suspend/resume (less systematically) with 9.1-RELEASE and didn't have success. I can build minimal kernels for both 9.1 and 9.0 and will report (probably not tonight). Unfortunately, the SuspendResume wiki isn't completely clear about what build was used - perhaps the folks who reported will be able to clarify. > When you get a panic on resume - how do you know that? Can you get a > photo of it? The machine seems to suspend (slow pulsing power light). When I resume, the machine reboots and that's the first screen that's visible. I don't find a core in /var/crash and savecore says there isn't one, so it must be a quite hard reset. /var/log/messages has nothing after the ...acpi: suspend at date time other than the new kernel booting. Since the reset_video is deprecated, I'm not sure this is too meaningful. I just tried it because it's required on older systems. Best, Laura > > -adrian From owner-freebsd-acpi@FreeBSD.ORG Tue Aug 27 20:36:57 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 A32E91FC for ; Tue, 27 Aug 2013 20:36:57 +0000 (UTC) (envelope-from matthias@petermann-it.de) Received: from mail.s1.d2ux.org (static.209.96.9.5.clients.your-server.de [5.9.96.209]) by mx1.freebsd.org (Postfix) with ESMTP id 5EB4020BF for ; Tue, 27 Aug 2013 20:36:56 +0000 (UTC) Received: from mail.s1.d2ux.org (mail [10.0.0.3]) by mail.s1.d2ux.org (Postfix) with ESMTP id C25A784F25BE for ; Tue, 27 Aug 2013 22:36:49 +0200 (CEST) Received: from mail.s1.d2ux.org ([10.0.0.3]) by mail.s1.d2ux.org (mail.s1.d2ux.org [10.0.0.3]) (amavisd-new, port 10024) with ESMTP id DPhhxA3JxktG for ; Tue, 27 Aug 2013 22:36:48 +0200 (CEST) Received: from workstation.local (p5DDA9415.dip0.t-ipconnect.de [93.218.148.21]) by mail.s1.d2ux.org (Postfix) with ESMTPSA id 2841584F25BA for ; Tue, 27 Aug 2013 22:36:48 +0200 (CEST) Message-ID: <521D0D76.3080804@petermann-it.de> Date: Tue, 27 Aug 2013 22:35:02 +0200 From: Matthias Petermann User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130526 Thunderbird/17.0.6 MIME-Version: 1.0 To: freebsd-acpi@freebsd.org Subject: Re: suspend/resume on Lenovo X1 (regression from reports on wiki) References: <521D03AE.3050709@sics.se> <521D0CFA.5030809@sics.se> In-Reply-To: <521D0CFA.5030809@sics.se> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Tue, 27 Aug 2013 20:36:57 -0000 Hi Laura, Am 27.08.2013 22:32, schrieb Laura Marie Feeney: > I tried suspend/resume (less systematically) with 9.1-RELEASE and > didn't have success. I can build minimal kernels for both 9.1 and 9.0 > and will report (probably not tonight). Unfortunately, the > SuspendResume wiki isn't completely clear about what build was used - > perhaps the folks who reported will be able to clarify. > Can you rebuild your kernel without "options VESA". This helped to fix suspend/resume for my Thinkpad X121e. Regards, Matthias From owner-freebsd-acpi@FreeBSD.ORG Wed Aug 28 04:05:05 2013 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 975) id DA29D322; Wed, 28 Aug 2013 04:05:05 +0000 (UTC) Date: Wed, 28 Aug 2013 04:05:05 +0000 From: "Sergey A. Osokin" To: Laura Marie Feeney Subject: Re: suspend/resume on Lenovo X1 (regression from reports on wiki) Message-ID: <20130828040505.GD32399@FreeBSD.org> References: <521D03AE.3050709@sics.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <521D03AE.3050709@sics.se> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-acpi@freebsd.org, glebius@freebsd.org 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: Wed, 28 Aug 2013 04:05:05 -0000 On Tue, Aug 27, 2013 at 09:53:18PM +0200, Laura Marie Feeney wrote: > At https://wiki.freebsd.org/SuspendResume, users osa and glebius > both report on Thinkpad Carbon X1. This is wrong, please read wiki carefully cause I'm using Lenovo ThinkPad X1 nor ThinkPad Carbon. -- Sergey A. Osokin osa@FreeBSD.org From owner-freebsd-acpi@FreeBSD.ORG Wed Aug 28 05:38:02 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 D15B4485; Wed, 28 Aug 2013 05:38:02 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.69.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 59C942B6C; Wed, 28 Aug 2013 05:38:01 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.7/8.14.7) with ESMTP id r7S5bxqT070119; Wed, 28 Aug 2013 09:37:59 +0400 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.7/8.14.7/Submit) id r7S5bxdN070118; Wed, 28 Aug 2013 09:37:59 +0400 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Wed, 28 Aug 2013 09:37:59 +0400 From: Gleb Smirnoff To: Laura Marie Feeney Subject: Re: suspend/resume on Lenovo X1 (regression from reports on wiki) Message-ID: <20130828053758.GJ4574@glebius.int.ru> References: <521D03AE.3050709@sics.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <521D03AE.3050709@sics.se> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-acpi@freebsd.org, osa@freebsd.org 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: Wed, 28 Aug 2013 05:38:02 -0000 Laura, On Tue, Aug 27, 2013 at 09:53:18PM +0200, Laura Marie Feeney wrote: L> At https://wiki.freebsd.org/SuspendResume, users osa and glebius both L> report on Thinkpad Carbon X1. They agree that suspend and resume work L> from X (but not console) for '9.0-stable' and 'head' respectively. I am running only head. It is always quite fresh, I upgrade beweekly. I've got Thinkpad X1 Carbon. L> Sadly, I can't reproduce this on 9.2-RC2: Under X, resume fails to L> restore video. I don't know whether this is a configuration error on my L> part, or a regression, or the original reports on the wiki were L> misunderstood. (I do reproduce it not working on console.) L> L> Suggestions are welcome, especially from those who report working L> configurations. Details below, log files at L> http://www.sics.se/~lmfeeney/9.2-RC2. Please do chmod o+r ~lmfeeney/9.2-RC2/* :) I will respond today later, when I come to job, where my Carbon is right now. -- Totus tuus, Glebius. From owner-freebsd-acpi@FreeBSD.ORG Wed Aug 28 12:47:47 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 72ACF79D; Wed, 28 Aug 2013 12:47:47 +0000 (UTC) (envelope-from lmfeeney@sics.se) Received: from fsmsg2.sics.se (fsmsg2.sics.se [IPv6:2001:6b0:3a:1:250:56ff:fea9:52ad]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7F8CE24B4; Wed, 28 Aug 2013 12:47:46 +0000 (UTC) Received: from pps.filterd (fsmsg2 [127.0.0.1]) by fsmsg2.sics.se (8.14.5/8.14.5) with SMTP id r7SClgn8029905; Wed, 28 Aug 2013 14:47:42 +0200 Received: from letter.sics.se (letter.sics.se [193.10.64.6]) by fsmsg2.sics.se with ESMTP id 1eg7hk38sr-1; Wed, 28 Aug 2013 14:47:41 +0200 Received: from [127.0.0.1] (sink.sics.se [193.10.64.88]) (Authenticated sender: lmfeeney@sics.se) by letter.sics.se (Postfix) with ESMTPSA id D4ADD40115; Wed, 28 Aug 2013 14:47:41 +0200 (CEST) Message-ID: <521DF184.7030308@sics.se> Date: Wed, 28 Aug 2013 14:48:04 +0200 From: Laura Marie Feeney User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.13) Gecko/20110202 Thunderbird/3.1.7 MIME-Version: 1.0 To: "Sergey A. Osokin" Subject: Re: suspend/resume on Lenovo X1 (regression from reports on wiki) References: <521D03AE.3050709@sics.se> <20130828040505.GD32399@FreeBSD.org> In-Reply-To: <20130828040505.GD32399@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8794, 1.0.431, 0.0.0000 definitions=2013-08-28_05:2013-08-28,2013-08-28,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1305240000 definitions=main-1308280051 Cc: freebsd-acpi@freebsd.org, glebius@freebsd.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: lmfeeney@sics.se List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Aug 2013 12:47:47 -0000 On 08/28/13 06:05, Sergey A. Osokin wrote: > On Tue, Aug 27, 2013 at 09:53:18PM +0200, Laura Marie Feeney wrote: >> At https://wiki.freebsd.org/SuspendResume, users osa and glebius >> both report on Thinkpad Carbon X1. > > This is wrong, please read wiki carefully cause I'm using Lenovo > ThinkPad X1 nor ThinkPad Carbon. > Thanks! I think that X1 and Carbon are different names, as Lenovo seems to use them quite interchangably (perhaps for different countries?). This isn't an X1 Touch, which surely has non-trivial differences for the touchscreen. Even if you're sure they're not exactly the same model, it might be helpful to have some more information about your configuration, to see what the difference is between working and not. Best, Laura From owner-freebsd-acpi@FreeBSD.ORG Wed Aug 28 14:47:17 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 56A9C140 for ; Wed, 28 Aug 2013 14:47:17 +0000 (UTC) (envelope-from lmfeeney@sics.se) Received: from fsmsg2.sics.se (fsmsg2.sics.se [IPv6:2001:6b0:3a:1:250:56ff:fea9:52ad]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D5E772C9E for ; Wed, 28 Aug 2013 14:47:16 +0000 (UTC) Received: from pps.filterd (fsmsg2 [127.0.0.1]) by fsmsg2.sics.se (8.14.5/8.14.5) with SMTP id r7SEU3UF009744 for ; Wed, 28 Aug 2013 16:47:14 +0200 Received: from letter.sics.se (letter.sics.se [193.10.64.6]) by fsmsg2.sics.se with ESMTP id 1eg7hk3c50-1 for ; Wed, 28 Aug 2013 16:47:14 +0200 Received: from [127.0.0.1] (sink.sics.se [193.10.64.88]) (Authenticated sender: lmfeeney@sics.se) by letter.sics.se (Postfix) with ESMTPSA id 9EE7B40115; Wed, 28 Aug 2013 16:47:13 +0200 (CEST) Message-ID: <521E0D8B.3000708@sics.se> Date: Wed, 28 Aug 2013 16:47:39 +0200 From: Laura Marie Feeney User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.13) Gecko/20110202 Thunderbird/3.1.7 MIME-Version: 1.0 To: "freebsd-acpi@freebsd.org" Subject: Re: suspend/resume on Lenovo X1 (regression from reports on wiki) References: <521E0B38.5090901@sics.se> In-Reply-To: <521E0B38.5090901@sics.se> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8794, 1.0.431, 0.0.0000 definitions=2013-08-28_05:2013-08-28,2013-08-28,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1305240000 definitions=main-1308280063 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: lmfeeney@sics.se List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Aug 2013 14:47:17 -0000 Hi Mattias, These results I described (system resumes, but video is not restored, x server exits with error) are with 'options VESA' compiled out of a minimal kernel. See http://www.sics.se/~lmfeeney/9.2-RC2/ANKUNGE.config for the full config) With 'options VESA' included in the same minimal kernel, the machine totally fails to resume - it doesn't even respond to ping. Best, Laura On 08/28/13 16:37, Laura Marie Feeney wrote: > Hi Laura, > > Am 27.08.2013 22:32, schrieb Laura Marie Feeney: > > I tried suspend/resume (less systematically) with 9.1-RELEASE and > > didn't have success. I can build minimal kernels for both 9.1 and 9.0 > > and will report (probably not tonight). Unfortunately, the > > SuspendResume wiki isn't completely clear about what build was used - > > perhaps the folks who reported will be able to clarify. > > > Can you rebuild your kernel without "options VESA". This helped to fix > suspend/resume for my Thinkpad X121e. > > Regards, > Matthias > From owner-freebsd-acpi@FreeBSD.ORG Wed Aug 28 15:03:20 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 04BB3679; Wed, 28 Aug 2013 15:03:20 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.69.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 83B452E7B; Wed, 28 Aug 2013 15:03:18 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.7/8.14.7) with ESMTP id r7SF3AoI072305; Wed, 28 Aug 2013 19:03:10 +0400 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.7/8.14.7/Submit) id r7SF3Ap6072304; Wed, 28 Aug 2013 19:03:10 +0400 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Wed, 28 Aug 2013 19:03:10 +0400 From: Gleb Smirnoff To: Laura Marie Feeney Subject: Re: suspend/resume on Lenovo X1 (regression from reports on wiki) Message-ID: <20130828150310.GR4574@glebius.int.ru> References: <521D03AE.3050709@sics.se> <20130828040505.GD32399@FreeBSD.org> <521DF184.7030308@sics.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <521DF184.7030308@sics.se> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: 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: Wed, 28 Aug 2013 15:03:20 -0000 Laura, according to your Xorg.log PCI device ID of your video card exactly matches mine 8086:0166:17aa:21f9, so it should work. It looks like versions of Xorg and Xorg Intel driver installed from packages are too old, and this is the biggest difference between your setup and mine. You are running Xorg 1.7.7. This is what I run: glebius@think:~:|>pkg info xorg-server xf86-video-intel xorg-server-1.12.4,1 xf86-video-intel-2.21.9 To get these packages you need to update your ports tree, put these lines into /etc/make.conf: WITH_NEW_XORG=yes WITH_KMS=yes , and reinstall xorg-server and xf86-video-intel from ports. You'd probably need to rebuild all xorg drivers like mouse and keyboard, to make them compatible with new server version. If this isn't enough I can send my xorg.conf and kernel config. But I hope default configs should be fine. Now bad news :) Last major Xorg update in ports, which happened couple of months ago, introduced a regression: xorg performs very slowly after resume. If the server process is restarted, then a new one performs okay. So this looks like xorg issue, not FreeBSD kernel problem. On Wed, Aug 28, 2013 at 02:48:04PM +0200, Laura Marie Feeney wrote: L> Thanks! I think that X1 and Carbon are different names, as Lenovo seems L> to use them quite interchangably (perhaps for different countries?). L> This isn't an X1 Touch, which surely has non-trivial differences for the L> touchscreen. X1 and X1 Carbon are really different, I owned both. Yep, both work with FreeBSD. -- Totus tuus, Glebius. From owner-freebsd-acpi@FreeBSD.ORG Thu Aug 29 14:22:19 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 008A2679; Thu, 29 Aug 2013 14:22:18 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qc0-x22d.google.com (mail-qc0-x22d.google.com [IPv6:2607:f8b0:400d:c01::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 90F2F2B8F; Thu, 29 Aug 2013 14:22:18 +0000 (UTC) Received: by mail-qc0-f173.google.com with SMTP id z10so249305qcx.4 for ; Thu, 29 Aug 2013 07:22:17 -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=sS+bn3l4clInNcdkTL/mYfIqmTW7TWcb6C0FGZYQWoI=; b=udzzisqCIpC+i1UJl24QMpahKLocTbo9HAL35Bl6EV8RZRN3rmMcNDD7u2U+JNOOh+ Ip3AQPy4CjLje5/SnXDe8JFlAvzPyIAHi/LQwfUNlsWZpSAGDpY4wZTwtcy4QvLVdJgF aFKUOR/P5oc9RMETHHccQr1+1jFkcdCSy7kCD1jjpITio3gBM76CfaMfsJO/NlM+1rer nwn3S+7ZUn4sDGdtrQ7QzhULYZKyFczD33U3JvFsOjJtOpvEm3manvYOMoxdCIyZsV/h xSt26j9gaTuVQ+N9wZHxIkw+xumUlFawKxo4hcT436GJSxBvZnkrywz27VU5ZqaBWWh2 N3Bw== MIME-Version: 1.0 X-Received: by 10.49.107.105 with SMTP id hb9mr4159714qeb.74.1377786137733; Thu, 29 Aug 2013 07:22:17 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.128.70 with HTTP; Thu, 29 Aug 2013 07:22:17 -0700 (PDT) In-Reply-To: <20130828150310.GR4574@glebius.int.ru> References: <521D03AE.3050709@sics.se> <20130828040505.GD32399@FreeBSD.org> <521DF184.7030308@sics.se> <20130828150310.GR4574@glebius.int.ru> Date: Thu, 29 Aug 2013 07:22:17 -0700 X-Google-Sender-Auth: cUHq-A_eOEqyzyCo1sDCcnf87og Message-ID: Subject: Re: suspend/resume on Lenovo X1 (regression from reports on wiki) From: Adrian Chadd To: Gleb Smirnoff Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Laura Marie Feeney , "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 14:22:19 -0000 Hi! What's the result of all of this? Laura - do you have functioning suspend/resume with xorg now? -adrian On 28 August 2013 08:03, Gleb Smirnoff wrote: > Laura, > > according to your Xorg.log PCI device ID of your video card exactly > matches mine 8086:0166:17aa:21f9, so it should work. > > It looks like versions of Xorg and Xorg Intel driver installed from > packages are too old, and this is the biggest difference between your > setup and mine. You are running Xorg 1.7.7. > > This is what I run: > > glebius@think:~:|>pkg info xorg-server xf86-video-intel > xorg-server-1.12.4,1 > xf86-video-intel-2.21.9 > > To get these packages you need to update your ports tree, put > these lines into /etc/make.conf: > > WITH_NEW_XORG=yes > WITH_KMS=yes > > , and reinstall xorg-server and xf86-video-intel from ports. You'd > probably need to rebuild all xorg drivers like mouse and keyboard, > to make them compatible with new server version. > > If this isn't enough I can send my xorg.conf and kernel config. But > I hope default configs should be fine. > > > Now bad news :) Last major Xorg update in ports, which happened couple > of months ago, introduced a regression: xorg performs very slowly after > resume. If the server process is restarted, then a new one performs okay. > So this looks like xorg issue, not FreeBSD kernel problem. > > On Wed, Aug 28, 2013 at 02:48:04PM +0200, Laura Marie Feeney wrote: > L> Thanks! I think that X1 and Carbon are different names, as Lenovo seems > L> to use them quite interchangably (perhaps for different countries?). > L> This isn't an X1 Touch, which surely has non-trivial differences for the > L> touchscreen. > > X1 and X1 Carbon are really different, I owned both. Yep, both work with > FreeBSD. > > -- > Totus tuus, Glebius. > _______________________________________________ > freebsd-acpi@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-acpi > To unsubscribe, send any mail to "freebsd-acpi-unsubscribe@freebsd.org" > From owner-freebsd-acpi@FreeBSD.ORG Thu Aug 29 16:42:07 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 1C7AA42B; Thu, 29 Aug 2013 16:42:07 +0000 (UTC) (envelope-from lmfeeney@sics.se) Received: from fsmsg2.sics.se (fsmsg2.sics.se [IPv6:2001:6b0:3a:1:250:56ff:fea9:52ad]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 997FB270C; Thu, 29 Aug 2013 16:42:06 +0000 (UTC) Received: from pps.filterd (fsmsg2 [127.0.0.1]) by fsmsg2.sics.se (8.14.5/8.14.5) with SMTP id r7TGVcYt010461; Thu, 29 Aug 2013 18:42:04 +0200 Received: from letter.sics.se (letter.sics.se [193.10.64.6]) by fsmsg2.sics.se with ESMTP id 1eg7hk5eak-1; Thu, 29 Aug 2013 18:42:03 +0200 Received: from kattunge.sics.se (sink.sics.se [193.10.64.88]) (Authenticated sender: lmfeeney@sics.se) by letter.sics.se (Postfix) with ESMTPSA id CE26340115; Thu, 29 Aug 2013 18:42:03 +0200 (CEST) Message-ID: <521F79F4.7070603@sics.se> Date: Thu, 29 Aug 2013 18:42:28 +0200 From: Laura Marie Feeney User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.13) Gecko/20110202 Thunderbird/3.1.7 MIME-Version: 1.0 To: Adrian Chadd Subject: Re: suspend/resume on Lenovo X1 (regression from reports on wiki) References: <521D03AE.3050709@sics.se> <20130828040505.GD32399@FreeBSD.org> <521DF184.7030308@sics.se> <20130828150310.GR4574@glebius.int.ru> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8794, 1.0.431, 0.0.0000 definitions=2013-08-29_06:2013-08-29,2013-08-29,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=11 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1305240000 definitions=main-1308290082 Cc: "freebsd-acpi@freebsd.org" , Gleb Smirnoff , "Sergey A. Osokin" X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: lmfeeney@sics.se 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:42:07 -0000 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! Laura On 08/29/13 16:22, Adrian Chadd wrote: > Hi! > > What's the result of all of this? Laura - do you have functioning > suspend/resume with xorg now? > > > > -adrian > > > > On 28 August 2013 08:03, Gleb Smirnoff > wrote: > > Laura, > > according to your Xorg.log PCI device ID of your video card exactly > matches mine 8086:0166:17aa:21f9, so it should work. > > It looks like versions of Xorg and Xorg Intel driver installed from > packages are too old, and this is the biggest difference between your > setup and mine. You are running Xorg 1.7.7. > > This is what I run: > > glebius@think:~:|>pkg info xorg-server xf86-video-intel > xorg-server-1.12.4,1 > xf86-video-intel-2.21.9 > > To get these packages you need to update your ports tree, put > these lines into /etc/make.conf: > > WITH_NEW_XORG=yes > WITH_KMS=yes > > , and reinstall xorg-server and xf86-video-intel from ports. You'd > probably need to rebuild all xorg drivers like mouse and keyboard, > to make them compatible with new server version. > > If this isn't enough I can send my xorg.conf and kernel config. But > I hope default configs should be fine. > > > Now bad news :) Last major Xorg update in ports, which happened > couple > of months ago, introduced a regression: xorg performs very slowly after > resume. If the server process is restarted, then a new one performs > okay. > So this looks like xorg issue, not FreeBSD kernel problem. > > On Wed, Aug 28, 2013 at 02:48:04PM +0200, Laura Marie Feeney wrote: > L> Thanks! I think that X1 and Carbon are different names, as > Lenovo seems > L> to use them quite interchangably (perhaps for different countries?). > L> This isn't an X1 Touch, which surely has non-trivial differences > for the > L> touchscreen. > > X1 and X1 Carbon are really different, I owned both. Yep, both work with > FreeBSD. > > -- > Totus tuus, Glebius. > _______________________________________________ > freebsd-acpi@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-acpi > To unsubscribe, send any mail to > "freebsd-acpi-unsubscribe@freebsd.org > " > > 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 From owner-freebsd-acpi@FreeBSD.ORG Thu Aug 29 18:02:35 2013 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 975) id ACF11B77; Thu, 29 Aug 2013 18:02:35 +0000 (UTC) Date: Thu, 29 Aug 2013 18:02:35 +0000 From: "Sergey A. Osokin" To: Laura Marie Feeney Subject: Re: suspend/resume on Lenovo X1 (regression from reports on wiki) Message-ID: <20130829180235.GE32399@FreeBSD.org> 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: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <521F79F4.7070603@sics.se> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Gleb Smirnoff , "freebsd-acpi@freebsd.org" 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 18:02:35 -0000 Dear Laura, could you show your kernel configuration file. Thanks in advance. -- Sergey A. Osokin osa@FreeBSD.org On Thu, Aug 29, 2013 at 06:42:28PM +0200, 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! > > Laura > > On 08/29/13 16:22, Adrian Chadd wrote: > >Hi! > > > >What's the result of all of this? Laura - do you have functioning > >suspend/resume with xorg now? > > > > > > > >-adrian > > > > > > > >On 28 August 2013 08:03, Gleb Smirnoff >> wrote: > > > > Laura, > > > > according to your Xorg.log PCI device ID of your video card exactly > > matches mine 8086:0166:17aa:21f9, so it should work. > > > > It looks like versions of Xorg and Xorg Intel driver installed from > > packages are too old, and this is the biggest difference between your > > setup and mine. You are running Xorg 1.7.7. > > > > This is what I run: > > > > glebius@think:~:|>pkg info xorg-server xf86-video-intel > > xorg-server-1.12.4,1 > > xf86-video-intel-2.21.9 > > > > To get these packages you need to update your ports tree, put > > these lines into /etc/make.conf: > > > > WITH_NEW_XORG=yes > > WITH_KMS=yes > > > > , and reinstall xorg-server and xf86-video-intel from ports. You'd > > probably need to rebuild all xorg drivers like mouse and keyboard, > > to make them compatible with new server version. > > > > If this isn't enough I can send my xorg.conf and kernel config. But > > I hope default configs should be fine. > > > > > > Now bad news :) Last major Xorg update in ports, which happened > > couple > > of months ago, introduced a regression: xorg performs very slowly after > > resume. If the server process is restarted, then a new one performs > > okay. > > So this looks like xorg issue, not FreeBSD kernel problem. > > > > On Wed, Aug 28, 2013 at 02:48:04PM +0200, Laura Marie Feeney wrote: > > L> Thanks! I think that X1 and Carbon are different names, as > > Lenovo seems > > L> to use them quite interchangably (perhaps for different countries?). > > L> This isn't an X1 Touch, which surely has non-trivial differences > > for the > > L> touchscreen. > > > > X1 and X1 Carbon are really different, I owned both. Yep, both work with > > FreeBSD. > > > > -- > > Totus tuus, Glebius. From owner-freebsd-acpi@FreeBSD.ORG Thu Aug 29 18:50:52 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 AEDD773F; Thu, 29 Aug 2013 18:50:52 +0000 (UTC) (envelope-from lmfeeney@sics.se) Received: from fsmsg2.sics.se (fsmsg2.sics.se [IPv6:2001:6b0:3a:1:250:56ff:fea9:52ad]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 37C3F20AE; Thu, 29 Aug 2013 18:50:52 +0000 (UTC) Received: from pps.filterd (fsmsg2 [127.0.0.1]) by fsmsg2.sics.se (8.14.5/8.14.5) with SMTP id r7TIcvGT007319; Thu, 29 Aug 2013 20:50:50 +0200 Received: from letter.sics.se (letter.sics.se [193.10.64.6]) by fsmsg2.sics.se with ESMTP id 1eg7hk5kr6-1; Thu, 29 Aug 2013 20:50:50 +0200 Received: from kattunge.sics.se (sink.sics.se [193.10.64.88]) (Authenticated sender: lmfeeney@sics.se) by letter.sics.se (Postfix) with ESMTPSA id 3200F40115; Thu, 29 Aug 2013 20:50:50 +0200 (CEST) Message-ID: <521F9826.8090003@sics.se> Date: Thu, 29 Aug 2013 20:51:18 +0200 From: Laura Marie Feeney User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.13) Gecko/20110202 Thunderbird/3.1.7 MIME-Version: 1.0 To: Adrian Chadd Subject: Re: suspend/resume on Lenovo X1 (regression from reports on wiki) References: <521D03AE.3050709@sics.se> <20130828040505.GD32399@FreeBSD.org> <521DF184.7030308@sics.se> <20130828150310.GR4574@glebius.int.ru> <521F79F4.7070603@sics.se> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8794, 1.0.431, 0.0.0000 definitions=2013-08-29_06:2013-08-29,2013-08-29,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=2 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1305240000 definitions=main-1308290101 Cc: "freebsd-acpi@freebsd.org" , Gleb Smirnoff , "Sergey A. Osokin" X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: lmfeeney@sics.se 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 18:50:52 -0000 On 08/29/13 18:44, Adrian Chadd wrote: > Hi! > > 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. Absolutely. (I was thinking to do this off-list to minimize spam.) > * Is this with 9.2-RC2? Yes this is 9.2-RC2. I think the problem is that the simple install path ends up with out-of-date components, rather than anything wrong with the components that should be used. Are you wiling to try out a -HEAD snapshot to > make sure this stuff in -10 is also going to work? Yes, but probably not until the weekend. > * Ok, so if you have no VESA option, does suspend/resume work in console > mode? No. The system resumes (can ssh in), but the backlight doesn't come on (using a flashlight, I don't see any video mode running either). See http://www.sics.se/~lmfeeney/9.2-RC2/messages_console. > * 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. Before and after resume, dev.cpu.0.freq: 1700. Setting to 100 and back to 1700 didn't seem to have much effect. Basically, what I see is that after resume, it seems to be easier to increase the load on the cpu (i.e. looking at top) by e.g. scrolling quickly. My "test" sequence was: boot, 'startx' (so twm and a couple xterms) 'top (in one xterm) 'xterm -sb -geometry 100x65' (make xterm w/ scrollbar), 'cat /var/log/messages' (in the new xterm) scroll very rapidly up and down for ~20sec look at top output suspend/resume and repeat the scrolling. The load seems to go quite a bit higher after resuming (CPU from ~10% to ~20%). But this is definitely not a scientific test AND I was primed by Gleb Smirnoff's comments to look for a performance hit. For sensible use (i.e. not madly scrolling), I don't sense slowdown. But the machine is completely minimal: portmaster and xorg are the only ports installed. It could be that KDE + web + mail + applications managing lots of things on the screen would show a big slowdown, as reported by others. It would probably make sense to define some metric that people who have reported problems can compare before and after suspsend/resume. Best, Laura From owner-freebsd-acpi@FreeBSD.ORG Thu Aug 29 18:59:00 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 66FE29F8; Thu, 29 Aug 2013 18:59:00 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.69.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C046C2113; Thu, 29 Aug 2013 18:58:58 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.7/8.14.7) with ESMTP id r7TIwu8V078777; Thu, 29 Aug 2013 22:58:56 +0400 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.7/8.14.7/Submit) id r7TIwuVf078776; Thu, 29 Aug 2013 22:58:56 +0400 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Thu, 29 Aug 2013 22:58:56 +0400 From: Gleb Smirnoff To: Laura Marie Feeney Subject: Re: suspend/resume on Lenovo X1 (regression from reports on wiki) Message-ID: <20130829185856.GE4574@glebius.int.ru> References: <521D03AE.3050709@sics.se> <20130828040505.GD32399@FreeBSD.org> <521DF184.7030308@sics.se> <20130828150310.GR4574@glebius.int.ru> <521F79F4.7070603@sics.se> <521F9826.8090003@sics.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <521F9826.8090003@sics.se> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: "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 18:59:00 -0000 On Thu, Aug 29, 2013 at 08:51:18PM +0200, Laura Marie Feeney wrote: L> suspend/resume and repeat the scrolling. The load seems to go quite a L> bit higher after resuming (CPU from ~10% to ~20%). But this is L> definitely not a scientific test AND I was primed by Gleb Smirnoff's L> comments to look for a performance hit. Hmm, my slowdown is really noticable, I barely can work after resume. Can you tell exact versions of xorg-server and x86-intel-driver you installed? -- Totus tuus, Glebius. 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-- From owner-freebsd-acpi@FreeBSD.ORG Thu Aug 29 19:10:56 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 25621F22; Thu, 29 Aug 2013 19:10:56 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.69.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7E1C92211; Thu, 29 Aug 2013 19:10:55 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.7/8.14.7) with ESMTP id r7TJAqgP078854; Thu, 29 Aug 2013 23:10:53 +0400 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.7/8.14.7/Submit) id r7TJAqfW078853; Thu, 29 Aug 2013 23:10:52 +0400 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Thu, 29 Aug 2013 23:10:52 +0400 From: Gleb Smirnoff To: Glen Barber Subject: Re: suspend/resume on Lenovo X1 (regression from reports on wiki) Message-ID: <20130829191052.GF4574@glebius.int.ru> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130829190428.GA2582@glenbarber.us> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Laura Marie Feeney , "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:10:56 -0000 On Thu, Aug 29, 2013 at 03:04:28PM -0400, Glen Barber wrote: G> > I also observe the issue that Gleb Smirnoff mentions below, that the G> > xorg server is quite slow after result. Using 'xterm -sb' and G> > moving the scrollbar up and down very fast, I was able to able to G> > get the xorg process up to ~20% of CPU. On casual observation, it G> > didn't seem to get worse after several suspend/resume cycles. G> G> I did not see any unusual CPU chewing by X after resume in my case. G> I did see something unpleasant with xrandr(1), however. I have dual G> external monitors attached, which I have a login script set the G> resolution properly. With my resolution set to 3840x1080, X is unusable G> on resume. (The screen is fuzzy, but the machine does not crash.) G> Without changing the resolution before suspend, X works properly at G> resume. I also have external monitor and observe slowdown after resume on it. -- Totus tuus, Glebius. From owner-freebsd-acpi@FreeBSD.ORG Thu Aug 29 19:32:44 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 22772579; Thu, 29 Aug 2013 19:32:44 +0000 (UTC) (envelope-from lmfeeney@sics.se) Received: from fsmsg2.sics.se (fsmsg2.sics.se [IPv6:2001:6b0:3a:1:250:56ff:fea9:52ad]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9DB4F236A; Thu, 29 Aug 2013 19:32:43 +0000 (UTC) Received: from pps.filterd (fsmsg2 [127.0.0.1]) by fsmsg2.sics.se (8.14.5/8.14.5) with SMTP id r7TJTemV013092; Thu, 29 Aug 2013 21:32:41 +0200 Received: from letter.sics.se (letter.sics.se [193.10.64.6]) by fsmsg2.sics.se with ESMTP id 1eg7hk5naw-1; Thu, 29 Aug 2013 21:32:41 +0200 Received: from kattunge.sics.se (sink.sics.se [193.10.64.88]) (Authenticated sender: lmfeeney@sics.se) by letter.sics.se (Postfix) with ESMTPSA id 22F5040115; Thu, 29 Aug 2013 21:32:41 +0200 (CEST) Message-ID: <521FA1F5.5090502@sics.se> Date: Thu, 29 Aug 2013 21:33:09 +0200 From: Laura Marie Feeney User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.13) Gecko/20110202 Thunderbird/3.1.7 MIME-Version: 1.0 To: Gleb Smirnoff Subject: Re: suspend/resume on Lenovo X1 (regression from reports on wiki) References: <521D03AE.3050709@sics.se> <20130828040505.GD32399@FreeBSD.org> <521DF184.7030308@sics.se> <20130828150310.GR4574@glebius.int.ru> <521F79F4.7070603@sics.se> <521F9826.8090003@sics.se> <20130829185856.GE4574@glebius.int.ru> In-Reply-To: <20130829185856.GE4574@glebius.int.ru> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=2 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1305240000 definitions=main-1308290106 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8794, 1.0.431, 0.0.0000 definitions=2013-08-29_07:2013-08-29,2013-08-29,1970-01-01 signatures=0 Cc: "freebsd-acpi@freebsd.org" , "Sergey A. Osokin" X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: lmfeeney@sics.se 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:32:44 -0000 I don't see noticable slowdown. But there is NOTHING (twm and a couple of xterms) running on the machine. A more practical machine is going to be interacting with a lot more X functionality. If you just run 'startx' from the console, do you still have a problem? xf86-input-keyboard-1.7.0 xf86-input-mouse-1.9.0 xf86-video-intel-2.21.9 xorg-7.7 xorg-server-1.12.4_1,1 dri-8.0.5_3,2 libdrm-2.4.46 On 08/29/13 20:58, Gleb Smirnoff wrote: > On Thu, Aug 29, 2013 at 08:51:18PM +0200, Laura Marie Feeney wrote: > L> suspend/resume and repeat the scrolling. The load seems to go quite a > L> bit higher after resuming (CPU from ~10% to ~20%). But this is > L> definitely not a scientific test AND I was primed by Gleb Smirnoff's > L> comments to look for a performance hit. > > Hmm, my slowdown is really noticable, I barely can work after resume. > Can you tell exact versions of xorg-server and x86-intel-driver you > installed? > From owner-freebsd-acpi@FreeBSD.ORG Fri Aug 30 03:10:20 2013 Return-Path: Delivered-To: freebsd-acpi@smarthost.ysv.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 48F7A1C9; Fri, 30 Aug 2013 03:10:20 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1E5042DD6; Fri, 30 Aug 2013 03:10:20 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r7U3AJvC001424; Fri, 30 Aug 2013 03:10:19 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r7U3AJAk001423; Fri, 30 Aug 2013 03:10:19 GMT (envelope-from linimon) Date: Fri, 30 Aug 2013 03:10:19 GMT Message-Id: <201308300310.r7U3AJAk001423@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-acpi@FreeBSD.org From: linimon@FreeBSD.org Subject: Re: kern/181665: [acpi] System will not go into S3 state. 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 03:10:20 -0000 Old Synopsis: System will no go into S3 state. New Synopsis: [acpi] System will not go into S3 state. Responsible-Changed-From-To: freebsd-bugs->freebsd-acpi Responsible-Changed-By: linimon Responsible-Changed-When: Fri Aug 30 03:09:58 UTC 2013 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=181665 From owner-freebsd-acpi@FreeBSD.ORG Fri Aug 30 03:14:24 2013 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 975) id 927873DC; Fri, 30 Aug 2013 03:14:24 +0000 (UTC) Date: Fri, 30 Aug 2013 03:14:24 +0000 From: "Sergey A. Osokin" To: Gleb Smirnoff Subject: Re: suspend/resume on Lenovo X1 (regression from reports on wiki) Message-ID: <20130830031424.GF32399@FreeBSD.org> References: <521D03AE.3050709@sics.se> <20130828040505.GD32399@FreeBSD.org> <521DF184.7030308@sics.se> <20130828150310.GR4574@glebius.int.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130828150310.GR4574@glebius.int.ru> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Laura Marie Feeney , freebsd-acpi@freebsd.org 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 03:14:24 -0000 On Wed, Aug 28, 2013 at 07:03:10PM +0400, Gleb Smirnoff wrote: > Laura, > > Now bad news :) Last major Xorg update in ports, which happened couple > of months ago, introduced a regression: xorg performs very slowly after > resume. If the server process is restarted, then a new one performs okay. Agree with Gleb. Kind of a slowness exist after resume. -- Sergey A. Osokin osa@FreeBSD.org From owner-freebsd-acpi@FreeBSD.ORG Fri Aug 30 06:50:22 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 20E3EB00; Fri, 30 Aug 2013 06:50:22 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-we0-x22e.google.com (mail-we0-x22e.google.com [IPv6:2a00:1450:400c:c03::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8151D2A32; Fri, 30 Aug 2013 06:50:21 +0000 (UTC) Received: by mail-we0-f174.google.com with SMTP id q54so1236229wes.19 for ; Thu, 29 Aug 2013 23:50:19 -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=l19ubGoZDThO/pTAirzCqnB4B042Mafxo8ryvJhdLhA=; b=an5RA3cxbEdhGLvRnYyV1v7W4tw7HONpLKvgqGzEC3XFcMDPpbPZwDEmwDKzyz26fS uEgy4J7LqF/W6TFKB8wuqe6oQTUisa8AKIcSgWe6G1mJT/CbBc+PXttsODj1+t7P29Rj PHOcnRnW+Pxuhx0NcZuxJUn3RMvWK+i87d22RiJWD4YsguBPLdEan9P9c6ij0KUtEN7q 2RAf41GEOcqqnmyZRL2dRd0oQ8YghJ0NYRBfb+f+Hypys83NNKU0ZKK/599/RMg5eU0A VJsfu24cVi6GpX0i3cBQVoxmp/+VSdE930aLQteifjufBboKoO7NuzUi3Dt1ZBcotYBU gLkw== MIME-Version: 1.0 X-Received: by 10.180.8.42 with SMTP id o10mr1160881wia.0.1377845419919; Thu, 29 Aug 2013 23:50:19 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.216.146.2 with HTTP; Thu, 29 Aug 2013 23:50:19 -0700 (PDT) In-Reply-To: References: Date: Thu, 29 Aug 2013 23:50:19 -0700 X-Google-Sender-Auth: ZEsNmLDszwben7aAwW4bDYGRDSo Message-ID: Subject: Re: 9.2-RC3 - suspend/resume causes slow system performance From: Adrian Chadd To: Mike Harding , "freebsd-acpi@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Stable Mailing List 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 06:50:22 -0000 On 29 August 2013 23:46, Mike Harding wrote: > I was able to track this down by building kernels against /base/stable/9 > (it took > -hours!-). > Wow, thanks! > The issue does occur with commit 244616, but does not occur with 244614. > The > only difference is a small patch to /usr/src/sys/dev/acpica/acpi_cpu.c - > this > code appears to do with c-state processing. I'll note it in the ticket, > but somebody > might want to look at this ASAP > That's awesome. It's a very small ACPI patch. Let's see if the others who are having this issue can test this out and report back! Thanks! -adrian From owner-freebsd-acpi@FreeBSD.ORG Fri Aug 30 08:40:01 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 E9F0F307; Fri, 30 Aug 2013 08:40:01 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-we0-x235.google.com (mail-we0-x235.google.com [IPv6:2a00:1450:400c:c03::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2F8EB2205; Fri, 30 Aug 2013 08:40:01 +0000 (UTC) Received: by mail-we0-f181.google.com with SMTP id q57so1318137wes.40 for ; Fri, 30 Aug 2013 01:39:59 -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=8f/Oj96iwEahwmBrH/BzTHmkwI1tLiHX4KmezepewpA=; b=leCgr0LSFOiFPHOJFlajy9pEHTNB9D6/XltSmgZqog7DolxC7rOzI5mtbJ7qZ9crDj up0aDzu6vWSjPcT5p8tTAcy7yFWiJz8glPg9SYfTFEMD6OAiNcNNQghDyrDZwmF7UFZb ueXC5QwNWUhNBLHKCkAqZ+qxyPMyyG2onsOnSBNKspP59JbeTxj43sDgPuMPowEkClau R7WidsnpGt4Ulqp7MYLtXnA76jysUecxZXsIMpYO6MQ5r+V5p2ZyxT2V5CAv3ywqrHxr DGWd93WqlO0bE+yDgXgJzNB7PwZCBqEkqz0SwKQ/57V7o0md2NWcO75MR9ih3sDIg96p LZRQ== MIME-Version: 1.0 X-Received: by 10.180.211.206 with SMTP id ne14mr1418094wic.30.1377851999551; Fri, 30 Aug 2013 01:39:59 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.216.146.2 with HTTP; Fri, 30 Aug 2013 01:39:59 -0700 (PDT) In-Reply-To: <20130830031424.GF32399@FreeBSD.org> References: <521D03AE.3050709@sics.se> <20130828040505.GD32399@FreeBSD.org> <521DF184.7030308@sics.se> <20130828150310.GR4574@glebius.int.ru> <20130830031424.GF32399@FreeBSD.org> Date: Fri, 30 Aug 2013 01:39:59 -0700 X-Google-Sender-Auth: fECn5I70WsDBXKhSJDo2GP3ZyBc Message-ID: Subject: Re: suspend/resume on Lenovo X1 (regression from reports on wiki) From: Adrian Chadd To: "Sergey A. Osokin" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Laura Marie Feeney , "freebsd-acpi@freebsd.org" , Gleb Smirnoff 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 08:40:02 -0000 On 29 August 2013 20:14, Sergey A. Osokin wrote: > On Wed, Aug 28, 2013 at 07:03:10PM +0400, Gleb Smirnoff wrote: > > Laura, > > > > Now bad news :) Last major Xorg update in ports, which happened couple > > of months ago, introduced a regression: xorg performs very slowly after > > resume. If the server process is restarted, then a new one performs okay. > > Agree with Gleb. Kind of a slowness exist after resume. > > Can y'all grab some basic, naive benchmarks (disk, CPU) and compare them before/after a suspend/resume cycle? -adrian From owner-freebsd-acpi@FreeBSD.ORG Fri Aug 30 14:51:02 2013 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 975) id CC7F23C9; Fri, 30 Aug 2013 14:51:02 +0000 (UTC) Date: Fri, 30 Aug 2013 14:51:02 +0000 From: "Sergey A. Osokin" To: Adrian Chadd Subject: Re: suspend/resume on Lenovo X1 (regression from reports on wiki) Message-ID: <20130830145102.GG32399@FreeBSD.org> References: <521D03AE.3050709@sics.se> <20130828040505.GD32399@FreeBSD.org> <521DF184.7030308@sics.se> <20130828150310.GR4574@glebius.int.ru> <20130830031424.GF32399@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Laura Marie Feeney , "freebsd-acpi@freebsd.org" , Gleb Smirnoff 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 14:51:02 -0000 On Fri, Aug 30, 2013 at 01:39:59AM -0700, Adrian Chadd wrote: > On 29 August 2013 20:14, Sergey A. Osokin wrote: > > On Wed, Aug 28, 2013 at 07:03:10PM +0400, Gleb Smirnoff wrote: > > > Laura, > > > > > > Now bad news :) Last major Xorg update in ports, which happened couple > > > of months ago, introduced a regression: xorg performs very slowly after > > > resume. If the server process is restarted, then a new one performs okay. > > > > Agree with Gleb. Kind of a slowness exist after resume. > > > Can y'all grab some basic, naive benchmarks (disk, CPU) and compare them > before/after a suspend/resume cycle? Unfortunately, I'm not sure what I need to check... -- Sergey A. Osokin osa@FreeBSD.org 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 From owner-freebsd-acpi@FreeBSD.ORG Fri Aug 30 19:57:39 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 294D6758; Fri, 30 Aug 2013 19:57:39 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EC9972BBD; Fri, 30 Aug 2013 19:57:38 +0000 (UTC) Received: from jhbbsd.localnet (unknown [38.105.238.108]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 8A392B939; Fri, 30 Aug 2013 15:57:36 -0400 (EDT) From: John Baldwin To: freebsd-acpi@freebsd.org Subject: Re: suspend/resume on Lenovo X1 (regression from reports on wiki) Date: Fri, 30 Aug 2013 11:53:22 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p28; KDE/4.5.5; amd64; ; ) References: <521D03AE.3050709@sics.se> <20130830145102.GG32399@FreeBSD.org> In-Reply-To: <20130830145102.GG32399@FreeBSD.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201308301153.23184.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Fri, 30 Aug 2013 15:57:36 -0400 (EDT) Cc: Laura Marie Feeney , 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 19:57:39 -0000 On Friday, August 30, 2013 10:51:02 am Sergey A. Osokin wrote: > On Fri, Aug 30, 2013 at 01:39:59AM -0700, Adrian Chadd wrote: > > On 29 August 2013 20:14, Sergey A. Osokin wrote: > > > On Wed, Aug 28, 2013 at 07:03:10PM +0400, Gleb Smirnoff wrote: > > > > Laura, > > > > > > > > Now bad news :) Last major Xorg update in ports, which happened couple > > > > of months ago, introduced a regression: xorg performs very slowly after > > > > resume. If the server process is restarted, then a new one performs okay. > > > > > > Agree with Gleb. Kind of a slowness exist after resume. > > > > > Can y'all grab some basic, naive benchmarks (disk, CPU) and compare them > > before/after a suspend/resume cycle? > > Unfortunately, I'm not sure what I need to check... 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). -- John Baldwin From owner-freebsd-acpi@FreeBSD.ORG Fri Aug 30 21:53:55 2013 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 975) id DBD32EF4; Fri, 30 Aug 2013 21:53:55 +0000 (UTC) Date: Fri, 30 Aug 2013 21:53:55 +0000 From: "Sergey A. Osokin" To: John Baldwin Subject: Re: suspend/resume on Lenovo X1 (regression from reports on wiki) Message-ID: <20130830215355.GH32399@FreeBSD.org> References: <521D03AE.3050709@sics.se> <20130830145102.GG32399@FreeBSD.org> <201308301153.23184.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201308301153.23184.jhb@freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Laura Marie Feeney , freebsd-acpi@freebsd.org, Gleb Smirnoff 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 21:53:55 -0000 On Fri, Aug 30, 2013 at 11:53:22AM -0400, John Baldwin wrote: > On Friday, August 30, 2013 10:51:02 am Sergey A. Osokin wrote: > > On Fri, Aug 30, 2013 at 01:39:59AM -0700, Adrian Chadd wrote: > > > On 29 August 2013 20:14, Sergey A. Osokin wrote: > > > > On Wed, Aug 28, 2013 at 07:03:10PM +0400, Gleb Smirnoff wrote: > > > > > Laura, > > > > > > > > > > Now bad news :) Last major Xorg update in ports, which happened couple > > > > > of months ago, introduced a regression: xorg performs very slowly after > > > > > resume. If the server process is restarted, then a new one performs okay. > > > > > > > > Agree with Gleb. Kind of a slowness exist after resume. > > > > > > > Can y'all grab some basic, naive benchmarks (disk, CPU) and compare them > > > before/after a suspend/resume cycle? > > > > Unfortunately, I'm not sure what I need to check... > > 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? -- Sergey A. Osokin osa@FreeBSD.org From owner-freebsd-acpi@FreeBSD.ORG Fri Aug 30 22:12:33 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 3F9AB42B; Fri, 30 Aug 2013 22:12:33 +0000 (UTC) (envelope-from lmfeeney@sics.se) Received: from fsmsg2.sics.se (fsmsg2.sics.se [IPv6:2001:6b0:3a:1:250:56ff:fea9:52ad]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BCF24232F; Fri, 30 Aug 2013 22:12:32 +0000 (UTC) Received: from pps.filterd (fsmsg2 [127.0.0.1]) by fsmsg2.sics.se (8.14.5/8.14.5) with SMTP id r7UMCTF4018531; Sat, 31 Aug 2013 00:12:29 +0200 Received: from letter.sics.se (letter.sics.se [193.10.64.6]) by fsmsg2.sics.se with ESMTP id 1eg7hk7ej2-1; Sat, 31 Aug 2013 00:12:29 +0200 Received: from kattunge.sics.se (sink.sics.se [193.10.64.88]) (Authenticated sender: lmfeeney@sics.se) by letter.sics.se (Postfix) with ESMTPSA id E2AC040115; Sat, 31 Aug 2013 00:12:28 +0200 (CEST) Message-ID: <522118EB.5090801@sics.se> Date: Sat, 31 Aug 2013 00:12:59 +0200 From: Laura Marie Feeney User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.13) Gecko/20110202 Thunderbird/3.1.7 MIME-Version: 1.0 To: "Sergey A. Osokin" Subject: Re: suspend/resume on Lenovo X1 (regression from reports on wiki) References: <521D03AE.3050709@sics.se> <20130830145102.GG32399@FreeBSD.org> <201308301153.23184.jhb@freebsd.org> <20130830215355.GH32399@FreeBSD.org> In-Reply-To: <20130830215355.GH32399@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=2 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1305240000 definitions=main-1308300156 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8794, 1.0.431, 0.0.0000 definitions=2013-08-30_09:2013-08-30,2013-08-30,1970-01-01 signatures=0 Cc: freebsd-acpi@freebsd.org, Gleb Smirnoff X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: lmfeeney@sics.se 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 22:12:33 -0000 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 From owner-freebsd-acpi@FreeBSD.ORG Sat Aug 31 05:45:09 2013 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 975) id 706B6D99; Sat, 31 Aug 2013 05:45:09 +0000 (UTC) Date: Sat, 31 Aug 2013 05:45:09 +0000 From: "Sergey A. Osokin" To: Laura Marie Feeney Subject: Re: suspend/resume on Lenovo X1 (regression from reports on wiki) Message-ID: <20130831054509.GI32399@FreeBSD.org> References: <521D03AE.3050709@sics.se> <20130830145102.GG32399@FreeBSD.org> <201308301153.23184.jhb@freebsd.org> <20130830215355.GH32399@FreeBSD.org> <522118EB.5090801@sics.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <522118EB.5090801@sics.se> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-acpi@freebsd.org, Gleb Smirnoff 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:45:09 -0000 On Sat, Aug 31, 2013 at 12:12:59AM +0200, 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.) The main difference in these two wms its toolkits - i3 mostly uses a xcb, twm uses a widget toolkit and it looks like xcb works well... -- Sergey A. Osokin osa@FreeBSD.org 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 From owner-freebsd-acpi@FreeBSD.ORG Sat Aug 31 06:39:08 2013 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 975) id E81D737E; Sat, 31 Aug 2013 06:39:08 +0000 (UTC) Date: Sat, 31 Aug 2013 06:39:08 +0000 From: "Sergey A. Osokin" To: Kevin Oberman Subject: Re: suspend/resume on Lenovo X1 (regression from reports on wiki) Message-ID: <20130831063908.GJ32399@FreeBSD.org> References: <521D03AE.3050709@sics.se> <20130830145102.GG32399@FreeBSD.org> <201308301153.23184.jhb@freebsd.org> <20130830215355.GH32399@FreeBSD.org> <522118EB.5090801@sics.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: lmfeeney@sics.se, "freebsd-acpi@freebsd.org" , Gleb Smirnoff 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 06:39:09 -0000 On Fri, Aug 30, 2013 at 10:47:14PM -0700, Kevin Oberman wrote: > [skipped] > > I am running Gnome2, so it is a very heavyweight system running 9.2-Stable > from last Wednesday (r255013). Are you talking about stable/9 or 9.2-PRERELEASE (releng/9.2)? 9.2-RELEASE hasn't yet released, FreeBSD 9.2-PRERELEASE #9 r255036: Fri Aug 30 00:15:23 MSK 2013 here. -- Sergey A. Osokin osa@FreeBSD.org From owner-freebsd-acpi@FreeBSD.ORG Sat Aug 31 16:43:26 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 3636EE64; Sat, 31 Aug 2013 16:43:26 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-pb0-x22a.google.com (mail-pb0-x22a.google.com [IPv6:2607:f8b0:400e:c01::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id F224E2A66; Sat, 31 Aug 2013 16:43:25 +0000 (UTC) Received: by mail-pb0-f42.google.com with SMTP id un15so3094611pbc.15 for ; Sat, 31 Aug 2013 09:43:25 -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=h4B1NRzBs2ArnaQqZQCjwNSnjc5VA8hMLkVp2LBwM8o=; b=EGhV8/L9skAYUvxFR2GgiPhRWbIg2jvaOTp3w5AcPy9rFDO2gsN+98aFOh9clPLMg3 whDuQsVc+lrYBlWit+of8LAUr1WYRqhPyD78sK5OM15l2aiAm5eOOJVPLziNw2U7i5NM Zqyyo4UZ8hc+qmY8qk4dl3yE573NiEGYwqRdxxALMIR4k42mqFVKgJNTD4PpN8Dwz5Lm aLnuHaDLj/ozipsv8lb8UPCcIzS1opiNGha+emfD5tI2l2lqWcOE8oCj7bMHVcs13Xbj 7eKZMp5t4rSn/Nqdm4gFEdpRSErbZ4B3xYUwxErNdnHxY1Z7r95uvnfF8q/SoK+OANrT vu9g== MIME-Version: 1.0 X-Received: by 10.68.134.65 with SMTP id pi1mr16408292pbb.59.1377967405483; Sat, 31 Aug 2013 09:43:25 -0700 (PDT) Sender: kob6558@gmail.com Received: by 10.66.219.74 with HTTP; Sat, 31 Aug 2013 09:43:25 -0700 (PDT) In-Reply-To: <20130831063908.GJ32399@FreeBSD.org> References: <521D03AE.3050709@sics.se> <20130830145102.GG32399@FreeBSD.org> <201308301153.23184.jhb@freebsd.org> <20130830215355.GH32399@FreeBSD.org> <522118EB.5090801@sics.se> <20130831063908.GJ32399@FreeBSD.org> Date: Sat, 31 Aug 2013 09:43:25 -0700 X-Google-Sender-Auth: cFq9sTcZ4_-SlCKCPJFDMvesoFY Message-ID: Subject: Re: suspend/resume on Lenovo X1 (regression from reports on wiki) From: Kevin Oberman To: "Sergey A. Osokin" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: lmfeeney@sics.se, "freebsd-acpi@freebsd.org" , Gleb Smirnoff 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 16:43:26 -0000 On Fri, Aug 30, 2013 at 11:39 PM, Sergey A. Osokin wrote: > On Fri, Aug 30, 2013 at 10:47:14PM -0700, Kevin Oberman wrote: > > > [skipped] > > > > I am running Gnome2, so it is a very heavyweight system running > 9.2-Stable > > from last Wednesday (r255013). > > Are you talking about stable/9 or 9.2-PRERELEASE (releng/9.2)? > 9.2-RELEASE hasn't yet released, FreeBSD 9.2-PRERELEASE #9 r255036: Fri > Aug 30 00:15:23 MSK 2013 here. > > -- > Sergey A. Osokin > osa@FreeBSD.org > No, 9.2 has not been released, but it has been branched. I am NOT running releng/9.2 code but stable/9 code. It self-identifies as FreeBSD 9.2-PRERELEASE, but that is simply not true as it is the stable branch after the split and already has features which will not be a part of 9.2, a couple f them being quite significant. -- R. Kevin Oberman, Network Engineer E-mail: rkoberman@gmail.com From owner-freebsd-acpi@FreeBSD.ORG Sat Aug 31 16:53:24 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 532DCF37; Sat, 31 Aug 2013 16:53:24 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-we0-x236.google.com (mail-we0-x236.google.com [IPv6:2a00:1450:400c:c03::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8B4532ACC; Sat, 31 Aug 2013 16:53:23 +0000 (UTC) Received: by mail-we0-f182.google.com with SMTP id q59so2574073wes.13 for ; Sat, 31 Aug 2013 09:53:21 -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=dtLpL6m3c7JL2oPXlX601BeMNWNwb8VLZwTSJK54AEg=; b=lm2Oz3c2nwTtRO4kKmGArua6EUfTfWIPk/iC5i2GRKCAbAhCUt8ZOG30VbjSDThnyt QQkIDVrd5cWykGSqW+D8QAmtFJfd2G/EMUsSVAquYRykpvRBxqDLmbbh61ZAwP6YAJrE Xte/F7xFN/HgEINwzrm2afsgCGSiqNzzNEBKk/MNFRgyeYe43rqi4W1QYZ2Oj0X4CuTS 78G1Y0Ha7f1k9tkhsd09bqXzPdxMb6xcibl4sm1QfRGpeppuK0Kk8zqtURJyaMjv7miq WnVOLfyAgOqjgFKFj1p7gBPUgCSWfZmnjOndhWJq+icyNXK6w86fQnekEhoG009Sn+0d 4NJw== MIME-Version: 1.0 X-Received: by 10.180.10.136 with SMTP id i8mr6892984wib.46.1377968001317; Sat, 31 Aug 2013 09:53:21 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.216.146.2 with HTTP; Sat, 31 Aug 2013 09:53:21 -0700 (PDT) In-Reply-To: References: <521D03AE.3050709@sics.se> <20130830145102.GG32399@FreeBSD.org> <201308301153.23184.jhb@freebsd.org> <20130830215355.GH32399@FreeBSD.org> <522118EB.5090801@sics.se> <20130831063908.GJ32399@FreeBSD.org> Date: Sat, 31 Aug 2013 09:53:21 -0700 X-Google-Sender-Auth: CCa-ROrX2zx17WIacm75hLiRJo0 Message-ID: Subject: Re: suspend/resume on Lenovo X1 (regression from reports on wiki) From: Adrian Chadd To: Kevin Oberman Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Laura Marie Feeney , "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 16:53:24 -0000 Ok. I'm glad this is actually working for people. But now comes the hard bit - figuring out why the VESA driver is breaking resume. :( I actually use VESA text modes in console mode so I'll take a look but I can't promise anything. Who actually has experience with the VESA code and may be able to help? Does anyone know? THanks, -adrian From owner-freebsd-acpi@FreeBSD.ORG Sat Aug 31 17:23:02 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 968516AB; Sat, 31 Aug 2013 17:23:02 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-pb0-x234.google.com (mail-pb0-x234.google.com [IPv6:2607:f8b0:400e:c01::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5B64C2C0A; Sat, 31 Aug 2013 17:23:02 +0000 (UTC) Received: by mail-pb0-f52.google.com with SMTP id wz12so3093461pbc.11 for ; Sat, 31 Aug 2013 10:23:02 -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=ndjoSFILUHZXq3XfYFDcLffdxm0qxyukuKbohOk7WPQ=; b=oItqi3/+RgbZhOXTMGptjJdU9JguxaRwUTd5pL0qpOJjo3xrtDBpSzSkuQ/BWYYbMw lgJjbFWFi5XxpTICjWJw5FEJZ66vEk8IKKoXfd3HKvBOpAkxZ8wWa3cRVLkkyRDmp+KK Ibv/a4c+rRpPJkVB4i2Jl1G03wsNdj1pcbs980ehh/NV3PviV8BqWGYNXDPayMkBPEJ6 iHFiD4YZVaYMC7+2mT58h2pKgxuy4TG3g/CqJYD4gfNZ48qlVy1/glajJs3OZ1ewn9f1 TLfIPupS2i3NW3tBrkPDy77046zzZcWZmozxoO39g2exX2ha8qm3jAynhuhvrOQiyqzp o4Fw== MIME-Version: 1.0 X-Received: by 10.68.252.168 with SMTP id zt8mr16601565pbc.35.1377969781982; Sat, 31 Aug 2013 10:23:01 -0700 (PDT) Sender: kob6558@gmail.com Received: by 10.66.219.74 with HTTP; Sat, 31 Aug 2013 10:23:01 -0700 (PDT) In-Reply-To: References: <521D03AE.3050709@sics.se> <20130830145102.GG32399@FreeBSD.org> <201308301153.23184.jhb@freebsd.org> <20130830215355.GH32399@FreeBSD.org> <522118EB.5090801@sics.se> <20130831063908.GJ32399@FreeBSD.org> Date: Sat, 31 Aug 2013 10:23:01 -0700 X-Google-Sender-Auth: o4JxZtI-y-O38PHnE0ljPzd-Yhg Message-ID: Subject: Re: suspend/resume on Lenovo X1 (regression from reports on wiki) From: Kevin Oberman To: Adrian Chadd Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Laura Marie Feeney , "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 17:23:02 -0000 On Sat, Aug 31, 2013 at 9:53 AM, Adrian Chadd wrote: > Ok. > > I'm glad this is actually working for people. > > But now comes the hard bit - figuring out why the VESA driver is breaking > resume. :( > > I actually use VESA text modes in console mode so I'll take a look but I > can't promise anything. > > Who actually has experience with the VESA code and may be able to help? > Does anyone know? > > Thanks, > > > > -adrian > > Of course this is the real issue. Removing VESA is just a band-aid and will become a problem once newcons makes it out the door (any day now). I'd like to try to figure out the scope of the problem, if possible. In most (all?) reports, removing VESA has worked on Thinkpads. I think I have seen reports that it works on other platforms, but I'm not positive. I also believe that it has been reported to not work for attempts to suspend/resume when in text mode... only when in X. (I guess I can test this myself.) For almost four years all vesa commits were by jkim. -- R. Kevin Oberman, Network Engineer E-mail: rkoberman@gmail.com From owner-freebsd-acpi@FreeBSD.ORG Sat Aug 31 17:35:23 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 18C6BA59; Sat, 31 Aug 2013 17:35:23 +0000 (UTC) (envelope-from mvharding@gmail.com) Received: from mail-wi0-x231.google.com (mail-wi0-x231.google.com [IPv6:2a00:1450:400c:c05::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5242E2C76; Sat, 31 Aug 2013 17:35:22 +0000 (UTC) Received: by mail-wi0-f177.google.com with SMTP id hi5so528799wib.10 for ; Sat, 31 Aug 2013 10:35:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=/mGNXIYobu22sasCEgI6NdqA+YWgXcxQ6020YWb4r6g=; b=Glo++VZwdvS46ozW3qE3TQ6lHvXtwNMaTwFkaojiQWSbJ9HeTy0nyedB1LNIOkRhwU GrJ3MP9oJDQHe9zAs83UnPqGwmoQ8ROyDpV4EUz74+hcsjNE5EHb2l3+cCHmjxbJNVgT TLkKdvNwSIoYLIgNoQUjkX3YtVa1KvwNj34mCggSJHTmpv65DV2cczFuWEmKEBAEXt5h siBQ9cmouasSMyQJo3fFgTQmvs7aq36Wa+RAzhz5r3+/nx3m3MQpj8C7NPrWW9VzB7Rh G/QUyFpZMnx3XxjgMxqK8D6ZAybQtcpxcuqecRSvglW+8BPVbcWAP2sNSWeEe2NMgO1z BwEA== MIME-Version: 1.0 X-Received: by 10.180.72.47 with SMTP id a15mr6965094wiv.63.1377970520568; Sat, 31 Aug 2013 10:35:20 -0700 (PDT) Received: by 10.217.67.69 with HTTP; Sat, 31 Aug 2013 10:35:20 -0700 (PDT) In-Reply-To: References: Date: Sat, 31 Aug 2013 10:35:20 -0700 Message-ID: Subject: Re: 9.2-RC3 - suspend/resume causes slow system performance From: Mike Harding To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-acpi@freebsd.org" , FreeBSD Stable Mailing List 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 17:35:23 -0000 I've tracked this down to a single line, details in http://www.freebsd.org/cgi/query-pr.cgi?pr=181632. Basically, the code is now doing a 'sti, hlt' vs. a 'sti' in some code that is only supposed to run if idle is disabled. Given that 'hlt' is the idle instruction, this doesn't seem right. On Thu, Aug 29, 2013 at 11:50 PM, Adrian Chadd wrote: > On 29 August 2013 23:46, Mike Harding wrote: > >> I was able to track this down by building kernels against /base/stable/9 >> (it took >> -hours!-). >> > > Wow, thanks! > > >> The issue does occur with commit 244616, but does not occur with 244614. >> The >> only difference is a small patch to /usr/src/sys/dev/acpica/acpi_cpu.c - >> this >> code appears to do with c-state processing. I'll note it in the ticket, >> but somebody >> might want to look at this ASAP >> > > That's awesome. It's a very small ACPI patch. Let's see if the others who > are having this issue can test this out and report back! > > Thanks! > > > > -adrian > > From owner-freebsd-acpi@FreeBSD.ORG Sat Aug 31 23:40:58 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 197C6F50; Sat, 31 Aug 2013 23:40:58 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wg0-x234.google.com (mail-wg0-x234.google.com [IPv6:2a00:1450:400c:c00::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 51A9C2A16; Sat, 31 Aug 2013 23:40:57 +0000 (UTC) Received: by mail-wg0-f52.google.com with SMTP id m14so833690wgh.7 for ; Sat, 31 Aug 2013 16:40:55 -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=DrdHgXWOZ9F3Myz6zWtP6fEn74TEhKzWOIRz5vhXXBs=; b=dixizIhljWoMqTyr96THI/o4h1pGvtowzJjQLtVbOvgzXP2s8ZWq+2EhYICO5W9fKs jShS8NmWQmUCWMx93kF4KwuxyDa8qVhGvDOycrAYDNErtzpLSzQoD9MhnmtqJOTHIRqh g7wnjxi53PSXAHGGDAKDhuYVlFdJQnvc3j9vhc6LDHVYMiZaooDFOuZY8EEnSypDYVYV i/5QjVAQmw7s6CWK7eHYU9DFFG49whs7YiVL+y2/I0n8h9cX5H6w1/ZS8BZ79aHVAwuP aMTLAEqaPyMdz1hXXDU5L4fRp6Zb6m+chHZeIi6YYhBS/dgTEGhXT75hOtj5R6vfOUcj iglQ== MIME-Version: 1.0 X-Received: by 10.194.8.9 with SMTP id n9mr16913207wja.11.1377992455156; Sat, 31 Aug 2013 16:40:55 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.216.146.2 with HTTP; Sat, 31 Aug 2013 16:40:55 -0700 (PDT) In-Reply-To: References: Date: Sat, 31 Aug 2013 16:40:55 -0700 X-Google-Sender-Auth: Y1WPSbNHgATSkJkUBccuulVU5qY Message-ID: Subject: Re: 9.2-RC3 - suspend/resume causes slow system performance From: Adrian Chadd To: Mike Harding , Andriy Gapon Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-acpi@freebsd.org" , FreeBSD Stable Mailing List 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 23:40:58 -0000 On 31 August 2013 10:35, Mike Harding wrote: > I've tracked this down to a single line, details in > http://www.freebsd.org/cgi/query-pr.cgi?pr=181632. Basically, the code > is now doing a 'sti, hlt' vs. a 'sti' in some code that is only supposed to > run if idle is disabled. Given that 'hlt' is the idle instruction, this > doesn't seem right. > > Wow, nice! Avg - can we get this fixed? Or just revert this! -adrian