dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 110113] AMD Vega64 issue setting custom voltages
Date: Thu, 14 Mar 2019 13:10:10 +0000	[thread overview]
Message-ID: <bug-110113-502@http.bugs.freedesktop.org/> (raw)


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

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

            Bug ID: 110113
           Summary: AMD Vega64 issue setting custom voltages
           Product: DRI
           Version: XOrg git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/AMDgpu
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: wslatem@gmail.com

I have been attempting to undervolt my Vega64 to reduce power consumption.

I have tested the GPU under Fedora 29, running stock kernel 4.20 and mesa 18.3,
and Mint 19.1, with Kernel 5.0 and mesa 19 and the issue is identical

I have set the AMDgpu mask in grub to amdgpu.ppfeaturemask=0xffffffff.

I can confirm the GPU accepts custom values that I write into
pp_od_clk_voltage, and the GPU run on these, but the voltage create a strange
profile.

The voltages abide to the new settings, but only in the hysteresis/dead band
around the clock in that P state.

Soon as the clocks move out of this band, the voltages go max, i.e. 1.2V.
Under 2D workload, the card seems fine, but soon as it is in 3D work loads,
running in P5 and up, the voltage control is a problem, esspecialy if I'm at
only 1450Mhz and running at 1.2V

If I set P state, P6, to 1550MHz @ 1000mV and P7 to 1620MHz @ 1050mV and the
clock is around 1550MHz, I will see that it has set the voltage to 1000mV, but
if that freq increase to, say, 1580MHz, the GPU will be set to 1200mV.

I suspected that maybe the reading I saw was incorrect, but it cannot be
incorrect, as the GPU performs worse after the tweak, generally battling to
leave P5 state, where stock clocks, it will stick closer to the P6 state
clocks.

My GPU also unfortunately has coil whine, but this does give audio cues with
load and frame rate.

The GPU changes pitch when it moves in and out of the set voltage. The GPU
whine will be quieter when it landed in the reduced voltage state, and
immediately increases once it jumps to the 1.2V state. 
The issue is also that it jumps between the reduced voltage and full voltage
when it is boarder line, as the GPU starts to throttle when the voltages jump
to 1.2V

Essentially this is how I see the GPU react to my new voltage profile (leaving
the clocks at stock).

         P5                  P6                   P7
-------|     |-------------|     |--------------|     |-----1200mV
       |_____|             |_____|              |_____|
        980mV               1000mV              1050mV

So far all I can really change is the power state without causing issue, and
this helps with performace when I increase it, at the cost of massive heat
production

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

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

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

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

             reply	other threads:[~2019-03-14 13:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-14 13:10 bugzilla-daemon [this message]
2019-07-03 17:28 ` [Bug 110113] AMD Vega64 issue setting custom voltages bugzilla-daemon
2019-10-23 14:40 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-110113-502@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).