From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 102468] RX470 powerplay issues on hybrid laptop system (dGPU does not power down) Date: Tue, 29 Aug 2017 16:48:10 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1052200901==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 563C76E3AD for ; Tue, 29 Aug 2017 16:48:13 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1052200901== Content-Type: multipart/alternative; boundary="15040252930.D13A.22621"; charset="UTF-8" --15040252930.D13A.22621 Date: Tue, 29 Aug 2017 16:48:13 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D102468 Bug ID: 102468 Summary: RX470 powerplay issues on hybrid laptop system (dGPU does not power down) Product: DRI Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: taijian@posteo.de Created attachment 133866 --> https://bugs.freedesktop.org/attachment.cgi?id=3D133866&action=3Dedit relevant dmesg output I have an Alienware 15R3 laptop with hybrid Intel (HD 630) / AMD (RX470) graphics. I run Arch Linux, up to date as of 2017-08-29. My issue is that when booting the laptop with a 'normal' kernel command lin= e, the dGPU *never* turns off, even when it is not normally needed in desktop operations. This is confirmed by running powertop, which reports a power dr= ain of ~36 W even under basically zero load. This is accompanied by various [powerplay] error messages in dmesg. As a side effect, the CPU is blocked f= rom going to power states below pc2. If I blacklist amdgpu in the kcl and then force the dGPU to off with acpi_c= all, the reported power consumption in powertop drops to ~12 W, with a correspon= ding increase in battery time. The CPU is now able to reach pc3. Booting into Windows 10 also gives me the same battery time as blacklisting amdgpu in Linux, but also the expected 'on-demand-switching' of the dGPU th= at I expect from such a setup. This is just to confirm that this is not a hardwa= re issue - it is definitely possible to dynamically switch the dGPU on or off = from the OS level, the implementation is just botched in amdgpu. --=20 You are receiving this mail because: You are the assignee for the bug.= --15040252930.D13A.22621 Date: Tue, 29 Aug 2017 16:48:13 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 102468
Summary RX470 powerplay issues on hybrid laptop system (dGPU does not= power down)
Product DRI
Version unspecified
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter taijian@posteo.de

Created attachment 133866<=
/a> [details]
relevant dmesg output

I have an Alienware 15R3 laptop with hybrid Intel (HD 630) / AMD (RX470)
graphics. I run Arch Linux, up to date as of 2017-08-29.

My issue is that when booting the laptop with a 'normal' kernel command lin=
e,
the dGPU *never* turns off, even when it is not normally needed in desktop
operations. This is confirmed by running powertop, which reports a power dr=
ain
of ~36 W even under basically zero load. This is accompanied by various
[powerplay] error messages in dmesg. As a side effect, the CPU is blocked f=
rom
going to power states below pc2.

If I blacklist amdgpu in the kcl and then force the dGPU to off with acpi_c=
all,
the reported power consumption in powertop drops to ~12 W, with a correspon=
ding
increase in battery time. The CPU is now able to reach pc3.

Booting into Windows 10 also gives me the same battery time as blacklisting
amdgpu in Linux, but also the expected 'on-demand-switching' of the dGPU th=
at I
expect from such a setup. This is just to confirm that this is not a hardwa=
re
issue - it is definitely possible to dynamically switch the dGPU on or off =
from
the OS level, the implementation is just botched in amdgpu.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15040252930.D13A.22621-- --===============1052200901== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1052200901==--