From owner-freebsd-x11@FreeBSD.ORG Sun Apr 26 05:27:05 2015 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C3709E3C for ; Sun, 26 Apr 2015 05:27:05 +0000 (UTC) Received: from mail-ig0-x22f.google.com (mail-ig0-x22f.google.com [IPv6:2607:f8b0:4001:c05::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 93A961725 for ; Sun, 26 Apr 2015 05:27:05 +0000 (UTC) Received: by igbpi8 with SMTP id pi8so50811267igb.0 for ; Sat, 25 Apr 2015 22:27:04 -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=YlSgA798JhPq/8blezovlnt8xMKTS2uktzEEiPKPKt8=; b=SCe/OU0tSiRRVUSCumMi8rnafZGV2pSd3OJNmrFORwH46whM9UiWEeMRgyymQ/B+HF IsptgVllyb+Om1Bl9/b0qfzK/mwI1g4F9HoehqUqcJS36oKmC1mjj8B0Fs1KFwPjx+x1 ryGGmSH86C0nq+h2AehLs07SwCNWoxs87/MBR4DmS8ygjb2WkBCgwNmQarFxtHBX1SU1 TvaCld739/rwm2wxLEMrBMhhC0DsN9E+uzupOozyTsd6kZmuMnPFqmKw4p+br9B/TzpQ vMV24pMf/t488jOABhNIrpW5OjgHcmz9iLgKBaddpKM2Lbh5VUHsyZdrlLbDgRHS9Oox fwQA== MIME-Version: 1.0 X-Received: by 10.42.23.17 with SMTP id q17mr6531563icb.4.1430026024879; Sat, 25 Apr 2015 22:27:04 -0700 (PDT) Sender: kob6558@gmail.com Received: by 10.107.174.22 with HTTP; Sat, 25 Apr 2015 22:27:04 -0700 (PDT) In-Reply-To: <553BC035.8070007@astart.com> References: <86h9s5fuud.fsf@gly.ftfl.ca> <868udhfrn1.fsf@gly.ftfl.ca> <553BC035.8070007@astart.com> Date: Sat, 25 Apr 2015 22:27:04 -0700 X-Google-Sender-Auth: S4zdzbCA2uLR6A_9calZxL1lNbM Message-ID: Subject: Re: possible i915kms regressions (moved from questions@) From: Kevin Oberman To: Patrick Powell Cc: "freebsd-x11@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Apr 2015 05:27:05 -0000 On Sat, Apr 25, 2015 at 9:26 AM, Patrick Powell wrote: > On 04/24/15 08:54, Joseph Mingrone wrote: > >> Henry Hu writes: >> >>> Have you tried setting >>> drm.i915.enable_rc6=7 >>> in /boot/loader.conf? >>> >> I just did after your message. >> >> If you have it enabled, you would see >>> info: [drm] Enabling RC6 states: RC6 on, RC6p on, RC6pp on >>> in messages. It helped me reducing the GPU temperature. >>> >> Before today I saw, e.g., >> >> Mar 31 20:07:07 phe kernel: info: [drm] Enabling RC6 states: RC6 off, >> RC6p off, RC6pp off >> >> now I see >> >> Apr 24 12:34:14 phe kernel: info: [drm] Enabling RC6 states: RC6 on, >> RC6p on, RC6pp on. >> >> Now the temperatures, like before the upgrade, are in a normal range. >> Thank you for the tip Henry, much appreciated. >> >> Joseph >> > Are there any details about this? > It's mostly undocumented. RC6 states are power management states in the Intel APUs. By enabling them, you get a substantially cooler system. What is needed is a bit better dissemination of how to turn it on. To do so, add "drm.i915.enable_rc6=7" to /boot/loader.conf. There have been reports that RC6p may cause GPU hangs on Sandy Bridge APUs. Setting the value to "5" will disable RC6p while leaving RC6 and TC6pp. It is rumored that the code already disables RC6p on Sandy Bridge APUs, but I'm paranoid, so I don't enable it. My thanks to Jan Kokemueller who provided most of this information in answer to my question about the enabling of RC6 back in February. It requires fairly recent i915 code. Works on 10 and current. I assume it works on 9, but I have no 9 systems. -- Kevin Oberman, Network Engineer, Retired E-mail: rkoberman@gmail.com