From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 110347] pp_od_clk_voltage mV cap ignored Date: Sun, 07 Apr 2019 12:01:38 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1820229798==" 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 0F8DF8966C for ; Sun, 7 Apr 2019 12:01:39 +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 --===============1820229798== Content-Type: multipart/alternative; boundary="15546384990.122d4fa9.6667" Content-Transfer-Encoding: 7bit --15546384990.122d4fa9.6667 Date: Sun, 7 Apr 2019 12:01:38 +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=3D110347 Bug ID: 110347 Summary: pp_od_clk_voltage mV cap ignored 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: bednarczyk.pawel@outlook.com Hi all, I have a Gigabyte Radeon RX Vega 64 GAMING OC 8GB and I have been playing w= ith undervolting/overclocking the card for a better performance/power draw rati= o. I have set the voltages/frequency as follows: https://gist.github.com/Bednar87/eeeee4fea34b03b96b2833e2900d3405 with volt= age capped @ 950V Now of course prior to doing that I added the amdgpu.ppffeaturemask paramet= er to the boot line with value 0xfffd7fff. Looking at sudo watch -n 0.5 cat /sys/kernel/debug/dri/0/amdgpu_pm_info sho= ws that the voltage is at 1200mV (VDDGFX). The power draw is also not reduced = as one could expect from undervolting the clocks but instead shoots up to 320W= and maintains this value under stress (50% power limit was also enabled).=20 The frequency on the clocks seems to work fine and the settings seem to be honoured but the voltage value seems to be ignored. cat /sys/class/drm/card0/device/pp_od_clk_voltage OD_SCLK: 0: 852Mhz 800mV 1: 991Mhz 825mV 2: 1084Mhz 850mV 3: 1138Mhz 875mV 4: 1250Mhz 900mV 5: 1370Mhz 925mV 6: 1475Mhz 950mV 7: 1575Mhz 950mV OD_MCLK: 0: 167Mhz 800mV 1: 500Mhz 825mV 2: 800Mhz 865mV 3: 1050Mhz 950mV OD_RANGE: SCLK: 852MHz 2400MHz MCLK: 167MHz 1500MHz VDDC: 800mV 1200mV I am on Arch Linux kernel 5.0.6 MESA 19.0.1 --=20 You are receiving this mail because: You are the assignee for the bug.= --15546384990.122d4fa9.6667 Date: Sun, 7 Apr 2019 12:01:39 +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 110347
Summary pp_od_clk_voltage mV cap ignored
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 bednarczyk.pawel@outlook.com

Hi all,

I have a Gigabyte Radeon RX Vega 64 GAMING OC 8GB and I have been playing w=
ith
undervolting/overclocking the card for a better performance/power draw rati=
o.

I have set the voltages/frequency as follows:
https://gist.github.com/Bednar87/eeeee4fea34b03b96b2833e2900d3405 wi=
th voltage
capped @ 950V

Now of course prior to doing that I added the amdgpu.ppffeaturemask paramet=
er
to the boot line with value 0xfffd7fff.

Looking at sudo watch -n 0.5 cat /sys/kernel/debug/dri/0/amdgpu_pm_info sho=
ws
that the voltage is at 1200mV (VDDGFX). The power draw is also not reduced =
as
one could expect from undervolting the clocks but instead shoots up to 320W=
 and
maintains this value under stress (50% power limit was also enabled).=20

The frequency on the clocks seems to work fine and the settings seem to be
honoured but the voltage value seems to be ignored.

cat /sys/class/drm/card0/device/pp_od_clk_voltage

OD_SCLK:
0:        852Mhz        800mV
1:        991Mhz        825mV
2:       1084Mhz        850mV
3:       1138Mhz        875mV
4:       1250Mhz        900mV
5:       1370Mhz        925mV
6:       1475Mhz        950mV
7:       1575Mhz        950mV
OD_MCLK:
0:        167Mhz        800mV
1:        500Mhz        825mV
2:        800Mhz        865mV
3:       1050Mhz        950mV
OD_RANGE:
SCLK:     852MHz       2400MHz
MCLK:     167MHz       1500MHz
VDDC:     800mV        1200mV

I am on Arch Linux kernel 5.0.6 MESA 19.0.1


You are receiving this mail because:
  • You are the assignee for the bug.
= --15546384990.122d4fa9.6667-- --===============1820229798== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1820229798==--