All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 102468] RX470 powerplay issues on hybrid laptop system (dGPU does not power down)
@ 2017-08-29 16:48 bugzilla-daemon
  2017-08-29 16:51 ` bugzilla-daemon
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bugzilla-daemon @ 2017-08-29 16:48 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1898 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=102468

            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=133866&action=edit
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 line,
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 drain
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 from
going to power states below pc2.

If I blacklist amdgpu in the kcl and then force the dGPU to off with acpi_call,
the reported power consumption in powertop drops to ~12 W, with a corresponding
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 that I
expect from such a setup. This is just to confirm that this is not a hardware
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.

[-- Attachment #1.2: Type: text/html, Size: 3332 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 102468] RX470 powerplay issues on hybrid laptop system (dGPU does not power down)
  2017-08-29 16:48 [Bug 102468] RX470 powerplay issues on hybrid laptop system (dGPU does not power down) bugzilla-daemon
@ 2017-08-29 16:51 ` bugzilla-daemon
  2017-08-29 18:21 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2017-08-29 16:51 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 494 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=102468

--- Comment #1 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to taijian from comment #0)
> If I blacklist amdgpu in the kcl and then force the dGPU to off with
> acpi_call, the reported power consumption in powertop drops to ~12 W, with a
> corresponding increase in battery time. The CPU is now able to reach pc3.

What acpi call did you use?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1404 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 102468] RX470 powerplay issues on hybrid laptop system (dGPU does not power down)
  2017-08-29 16:48 [Bug 102468] RX470 powerplay issues on hybrid laptop system (dGPU does not power down) bugzilla-daemon
  2017-08-29 16:51 ` bugzilla-daemon
@ 2017-08-29 18:21 ` bugzilla-daemon
  2017-09-04 17:25 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2017-08-29 18:21 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 531 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=102468

--- Comment #2 from taijian@posteo.de ---
I followed the recommendations of this page:
https://wiki.archlinux.org/index.php/Hybrid_graphics

The call working on my system is: echo "\\_SB.PCI0.PEG0.PEGP._OFF" >
/proc/acpi/call

If I use this command on a system that does not have amdgpu blacklisted,
however, this will lead to unstable system behaviour and a certain crash within
~5 min.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1418 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 102468] RX470 powerplay issues on hybrid laptop system (dGPU does not power down)
  2017-08-29 16:48 [Bug 102468] RX470 powerplay issues on hybrid laptop system (dGPU does not power down) bugzilla-daemon
  2017-08-29 16:51 ` bugzilla-daemon
  2017-08-29 18:21 ` bugzilla-daemon
@ 2017-09-04 17:25 ` bugzilla-daemon
  2017-09-28 14:06 ` bugzilla-daemon
  2017-09-28 17:57 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2017-09-04 17:25 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 262 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=102468

--- Comment #3 from taijian@posteo.de ---
Also, this might be related:
https://bugzilla.kernel.org/show_bug.cgi?id=156341#c65

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1138 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 102468] RX470 powerplay issues on hybrid laptop system (dGPU does not power down)
  2017-08-29 16:48 [Bug 102468] RX470 powerplay issues on hybrid laptop system (dGPU does not power down) bugzilla-daemon
                   ` (2 preceding siblings ...)
  2017-09-04 17:25 ` bugzilla-daemon
@ 2017-09-28 14:06 ` bugzilla-daemon
  2017-09-28 17:57 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2017-09-28 14:06 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 578 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=102468

taijian@posteo.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #133866|0                           |1
        is obsolete|                            |

--- Comment #4 from taijian@posteo.de ---
Created attachment 134540
  --> https://bugs.freedesktop.org/attachment.cgi?id=134540&action=edit
dmesg output with kernel 4.13.3

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2058 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 102468] RX470 powerplay issues on hybrid laptop system (dGPU does not power down)
  2017-08-29 16:48 [Bug 102468] RX470 powerplay issues on hybrid laptop system (dGPU does not power down) bugzilla-daemon
                   ` (3 preceding siblings ...)
  2017-09-28 14:06 ` bugzilla-daemon
@ 2017-09-28 17:57 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2017-09-28 17:57 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 836 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=102468

taijian@posteo.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |NOTOURBUG
             Status|NEW                         |RESOLVED

--- Comment #5 from taijian@posteo.de ---
OK, so I finally summoned to courage to decompile my laptop's DSDT and look at
that to debug my ACPI problems - turns out that "Linux" just gets plain shafted
by the firmware. I rebootet with 'acpi_osi=!* acpi_osi="Windows 2015"' and the
problem disappeared. 

So, I'm sorry if I wasted anybody's time. I'll direct the rest of the powerplay
bugs to a different topic.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2392 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-09-28 17:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-29 16:48 [Bug 102468] RX470 powerplay issues on hybrid laptop system (dGPU does not power down) bugzilla-daemon
2017-08-29 16:51 ` bugzilla-daemon
2017-08-29 18:21 ` bugzilla-daemon
2017-09-04 17:25 ` bugzilla-daemon
2017-09-28 14:06 ` bugzilla-daemon
2017-09-28 17:57 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.