From owner-freebsd-current@freebsd.org Thu Apr 20 09:05:54 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 ADA0ED47044 for ; Thu, 20 Apr 2017 09:05:54 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: from mail-wr0-x22d.google.com (mail-wr0-x22d.google.com [IPv6:2a00:1450:400c:c0c::22d]) (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 3E60BB5B; Thu, 20 Apr 2017 09:05:54 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: by mail-wr0-x22d.google.com with SMTP id z109so31146819wrb.1; Thu, 20 Apr 2017 02:05:54 -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=0cNsoEK4YNRr6gL9HJU03JnDC6SsZCqLM4SVXfMPFYk=; b=bvywz+joA9abjQ2oX4gJ6EL6TutpMvu5CZ0/1ajWk+NYgqfdOuunGGbd7bNG2LDGbY nKKFSDgnHNI+WuL+hj1puAatomd/Mr80jolm92fO54WHcUpyp5XQvMNlW9RSChmI40PS LiCszMWMR3vTtbZM2aM548vYBrHOPlar/hYu7iiZYcamXPEa3pr8X0gSsT+HG9FR1u++ wTnhB0PNOF3+6rSeUVaX1pVUg88Lpx5pBbfCs+ovG/X6vxEDhUSuhc7/1+r0ly5AD0V1 fr6sZUbtbDYOhWM9awSnm5Fm51YnQCqALGeTLhow3kYL3Yr2IXCLis5ni+wxWQL7c5Ye jF7Q== 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=0cNsoEK4YNRr6gL9HJU03JnDC6SsZCqLM4SVXfMPFYk=; b=W8f3iHueqy/BwtvfamiMjjbmhGXtALWfNUrrRmp+WNAJmr5XdX490m7uWu2lQCAELn tx3ZI/bKmVMbwYMJY4qeOlJW7mpG2fjT+j2HjI8KJh+UgAGMXzTrSN4Xkt5Q8Mv0edxL l1JQ5xsH4ICAzPlb+jEKkzhpil/6AGW7LwXz0MwSTtA2+qTV95MX7Sm7TZ1OuYUplCln vMauDVbYJMYgwmbhuEhOwentwVBAoxI9SAstSEkgwlE6r2G0N8IxdqfKJc2CubSi+PLb YAHaEpx4VDYv5YtJNpDVMMfpxT+oJVELSFnkfj6JW/D5Cke2RwhhFdYzwSb6BJ0YXVVn UQaQ== X-Gm-Message-State: AN3rC/68wuymoobGH2pUUNBsDSURoKMrGowURxrfZOnCZX1DrUYb8ZXp BtaX/bGK+VUbEWUWPjHxTDVuFI/JXg== X-Received: by 10.223.164.83 with SMTP id e19mr6768596wra.40.1492679152542; Thu, 20 Apr 2017 02:05:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.150.81 with HTTP; Thu, 20 Apr 2017 02:05:52 -0700 (PDT) In-Reply-To: References: From: Johannes Lundberg Date: Thu, 20 Apr 2017 11:05:52 +0200 Message-ID: Subject: Re: increased power consumption lately? To: "Ngie Cooper (yaneurabeya)" Cc: Adrian Chadd , 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, 20 Apr 2017 09:05:54 -0000 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. Can > 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) < >> yaneurabeya@gmail.com> 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 pr= inting >>> 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 >>> >> >> >