From owner-freebsd-x11@freebsd.org Tue Mar 15 23:59:28 2016 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6DF0FAD2CCD for ; Tue, 15 Mar 2016 23:59:28 +0000 (UTC) (envelope-from am_dxer@fastmail.fm) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2D75DA0 for ; Tue, 15 Mar 2016 23:59:27 +0000 (UTC) (envelope-from am_dxer@fastmail.fm) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 962A420F7B for ; Tue, 15 Mar 2016 19:59:26 -0400 (EDT) Received: from web1 ([10.202.2.211]) by compute6.internal (MEProxy); Tue, 15 Mar 2016 19:59:26 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=FyMW37PWCQ+A/iCOtqQTlNeJLcs=; b=fHjSBd BdEtl6Xecu1lRnUz5Q/ozOMp06PScsY8W3RiossLor1WG1e5tU8kUe9DRmLKZY1B VcI6pKFWJ8dKNVO4auetRQQz3rUht2I8tI54OlJJMHX27/p11oCKDINEyUcfMC+p 3DAWZrcrjjc5WIVWIphPdnjNoowBiN9FKWs6U= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=FyMW37PWCQ+A/iC OtqQTlNeJLcs=; b=S0roocAk7Do9v+fR7N+pUl88V/vbMQZHgwRKSuCBlcjeJ+Y W2h6E6PGctaCSlMfAOgEAtyFDzGuCWkRnRb9u655aDSsWdv7jIZTvQqvshN1TvSg hABCHyy+IylEGKCtMkKeC5CxwpzOtm2F+G3SJqrwN4oj1lDfPClzn95idTqw= Received: by web1.nyi.internal (Postfix, from userid 99) id 63D78AE6FAF; Tue, 15 Mar 2016 19:59:26 -0400 (EDT) Message-Id: <1458086366.4068324.550308746.4DBF0576@webmail.messagingengine.com> X-Sasl-Enc: bilJrak8joHzN7goRVxLEMPUlIpts5TXspR+IMkPBcXm 1458086366 From: am_dxer@fastmail.fm To: Konstantin Belousov , Ed Maste Cc: "freebsd-x11@freebsd.org" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - html In-Reply-To: <20160315171920.GZ1741@kib.kiev.ua> References: <1457974114.3576662.548762770.0E1628BF@webmail.messagingengine.com> <20160315171920.GZ1741@kib.kiev.ua> Subject: Re: i915 update to Linux 3.8 ready! Date: Tue, 15 Mar 2016 19:59:26 -0400 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Mar 2016 23:59:28 -0000 On Tue, Mar 15, 2016, at 01:19 PM, Konstantin Belousov wrote: > On Tue, Mar 15, 2016 at 11:40:13AM -0400, Ed Maste wrote: > > There should be some rc6 stats we can obtain from the driver (in order > > to see how much time the hw is spending in each state) but I'm not > > sure how off hand. I'll follow up if I find out how to get them. > > Perhaps sysctl hw.dri.0.info.i915_drpc_info. Thank you both for the suggestions. After suspending and resuming the machine, I find that the power used by the GPU is significantly less. Below is two runs of the suggested command. The first was from before I suspended the machine and the second was after I woke the laptop back up. From this output, it seems that the GPU is entering a deeper sleep state after resuming from suspend when comparing the "Current RC state" and "RC6++ residency since boot" from the two outputs. The estimation of time until battery depletion from "acpiconf" also increased after resuming the machine. The tests were done from the console after loading the i915kms driver. Since i have no vision, I had to think a bit of how I would accomplish this. I ended up capturing the output from the console by using the script command to save the info to a file. Afterwords, I booted back into Mate and used cat to display the file on Mate Terminal which my screen reading program supports. Before Suspending: hw.dri.0.info.i915_drpc_info: RC information accurate: yes Video Turbo Mode: yes HW control enabled: yes SW control enabled: no RC1e Enabled: no RC6 Enabled: yes Deep RC6 Enabled: yes Deepest RC6 Enabled: yes Current RC state: on Core Power Down: no RC6 "Locked to RPn" residency since boot: 0 RC6 residency since boot: 203836837 RC6+ residency since boot: 0 RC6++ residency since boot: 0 RC6 voltage: 450mV RC6+ voltage: 245mV RC6++ voltage: 245mV After Resuming: hw.dri.0.info.i915_drpc_info: RC information accurate: yes Video Turbo Mode: yes HW control enabled: yes SW control enabled: no RC1e Enabled: no RC6 Enabled: yes Deep RC6 Enabled: yes Deepest RC6 Enabled: yes Current RC state: RC6 Core Power Down: no RC6 "Locked to RPn" residency since boot: 0 RC6 residency since boot: 717780 RC6+ residency since boot: 0 RC6++ residency since boot: 19374295 RC6 voltage: 450mV RC6+ voltage: 245mV RC6++ voltage: 245mV