From owner-freebsd-current@freebsd.org Thu Apr 27 06:46:43 2017 Return-Path: Delivered-To: freebsd-current@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 AFAF4D524B4 for ; Thu, 27 Apr 2017 06:46:43 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com [IPv6:2a00:1450:400c:c09::232]) (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 3BC54B60; Thu, 27 Apr 2017 06:46:43 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: by mail-wm0-x232.google.com with SMTP id w64so8122480wma.0; Wed, 26 Apr 2017 23:46:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=eivbyeO5ndBcnXUPHYd45VNF8TDeESBJutQ4OlBtGAo=; b=Z3yep/1ELWhhXFjyRMd5WPNkgBVikk0/0BQu5PPzbsXOwynkcLVdqUi8FqwWCBz2Vf iJUanQwW4p7FHzqjBEjjE1knWOwbXnmo1ppi0/l0Ykp5ZQSpmAzZmKZntcOKrWOjpkL/ 4cJ+4R6CbKDbwPu8Uwfj4v+9cXUJtqlST+81tbFzjZIkwd1x3ou7ezHbehw7dH8/vbnI 047c078luCYzymNHnHHGxt+zoyi3f/PPKVXNa04MdPLNYg8IZtJCY3Pb405bdkjlH19A yVX5ZeLvn3kpRT6xG8gGqxLy7P2vd4xTxBQ/EF6wPadjPkjiWiRByUJjncDQrqPQgcYC ojsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=eivbyeO5ndBcnXUPHYd45VNF8TDeESBJutQ4OlBtGAo=; b=EWpwXxpFJg+Zt436e73VQN0CI2+LIJMvcO55HNJSsJPPNxKNDLDeB9w1+m9OvetTYj 9v+j3a+yt71+ROIs28iA9cKrJgPAh6QSf7hFXBhKVbSmjO3R24WmF0bclV55XmkyGBJ5 PCQh4/dwjU4KjdQpPZsTZxBs9g5jRFty3erjDl6X2+1vlDbVzIa2mI/RnxyuKMWXfGQI 914ICSAzuShjsj65+XA+k5rGXPv9JlobIScI9HYKYnBpY4A685iqUCxRZljL1shL86r+ ipLtdC4/3llOUAQeS9GKLPiYOaMAZVaLawXwOmOLK7HS5O7RJoD1OVFp/UuDwgV81WjR brGw== X-Gm-Message-State: AN3rC/4HvB+PF/zPIRt2W1tR3w1c0x/Y7WEG7fPAJjA3Ahfa1FYwLMDw OQGU0qptdeHs72F0hIJsPZVbWmuEYw== X-Received: by 10.28.29.72 with SMTP id d69mr983798wmd.25.1493275600810; Wed, 26 Apr 2017 23:46:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.164.23 with HTTP; Wed, 26 Apr 2017 23:46:40 -0700 (PDT) In-Reply-To: References: From: Johannes Lundberg Date: Thu, 27 Apr 2017 08:46:40 +0200 Message-ID: Subject: Re: increased power consumption lately? To: Adrian Chadd Cc: "Ngie Cooper (yaneurabeya)" , freebsd-current Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2017 06:46:43 -0000 There's a rather lengthy theory about it here https://bugs.freedesktop.org/show_bug.cgi?id=3D98501 On Wed, Apr 26, 2017 at 11:15 PM, Adrian Chadd wrote: > can you file a bugzilla bug with this information in it? What's > triggering the interrupt? > > > -a > > > On 20 April 2017 at 02:05, Johannes Lundberg wrote: > > I found another solution. Modifying the DSDT file by removing > > > > Method (_L06, 0, NotSerialized) // _Lxx: Level-Triggered GPE > > { > > If (LAnd (\_SB.PCI0.IGPU.GSSE, LNot (GSMI))) > > { > > \_SB.PCI0.IGPU.GSCI () > > } > > Else > > { > > Store (0x00, \_SB.PCI0.IGPU.GEFC) > > Store (0x01, SCIS) /* \SCIS */ > > Store (0x00, \_SB.PCI0.IGPU.GSSE) > > Store (0x00, \_SB.PCI0.IGPU.SCIE) > > } > > } > > > > seem to solve the problem, as discussed here > > https://bugs.freedesktop.org/show_bug.cgi?id=3D98501 > > > > I will keep an eye on that bug report and see what happens. > > I should also mention that I am running the Linux i915kms driver > > https://github.com/FreeBSDDesktop/freebsd-base-graphics > > > > Since we're constantly merging updates from Linux maybe there will be a > fix > > for this soon. > > > > > > > > On Thu, Apr 20, 2017 at 10:35 AM, Johannes Lundberg > > wrote: > >> > >> Seem like a temporary solution on Linux is to disable the interrupt. C= an > >> this be done on FreeBSD somehow? > >> > >> On Thu, Apr 20, 2017 at 10:09 AM, Johannes Lundberg > > >> wrote: > >>> > >>> Thanks Ngie, that was a good one! (I really need to learn dtrace...) > >>> > >>> Got this among other: > >>> > >>> AcpiNsLookup:entry PathInfo: \/ _SB_PCI0IGPUGSSE=EF=BF=BDGSMI\/ > >>> _SB_PCI0IGPUGSCI=EF=BF=BDK p > >>> > >>> Might be related to: > >>> https://bugs.freedesktop.org/show_bug.cgi?id=3D98501 > >>> > >>> > >>> > >>> On Wed, Apr 5, 2017 at 8:15 PM, Ngie Cooper (yaneurabeya) > >>> wrote: > >>>> > >>>> > >>>> > On Apr 5, 2017, at 10:39, Adrian Chadd wrote: > >>>> > > >>>> > hm, you could use dtrace to find what's calling that function and > >>>> > print out the call stack? > >>>> > >>>> *does shrug* something like this (I realize it=E2=80=99s not= printing > >>>> out arg0 =E2=80=94 arg0 is a union that would need decoding)? > >>>> Thanks, > >>>> -Ngie > >>>> > >>>> $ cat AcpiNsLookup.d > >>>> fbt:kernel:AcpiNsLookup:entry > >>>> { > >>>> printf("PathInfo: %s\nType: %d\nFlags: %u", > >>>> stringof(arg1), arg2, arg3); > >>>> } > >>>> $ sudo dtrace -s AcpiNsLookup.d > >>> > >>> > >> > > >