From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 106188] Can't successfully set pstates in pp_od_clk_voltage
Date: Fri, 27 Apr 2018 18:45:49 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1353330979=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 62FF86E14D
for ; Fri, 27 Apr 2018 18:45:49 +0000 (UTC)
In-Reply-To:
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
--===============1353330979==
Content-Type: multipart/alternative; boundary="15248547490.8F0b5.3612"
Content-Transfer-Encoding: 7bit
--15248547490.8F0b5.3612
Date: Fri, 27 Apr 2018 18:45:49 +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=3D106188
--- Comment #4 from tempel.julian@gmail.com ---
Ok, it's simple. To unlock higher clocks, I simply have to set
"/sys/class/drm/card0/device/pp_sclk_od" as well.
To sum up: For my 1209MHz 900mV I have to do the following:
echo "2" > /sys/class/drm/card0/device/pp_sclk_od
echo "s 7 1209 900" > /sys/class/drm/card0/device/pp_od_clk_voltage
echo "c" > /sys/class/drm/card0/device/pp_od_clk_voltage
Works like a charm, thanks for the "Wattman" functionality!
However, I am still not able to raise the maximum allowed power consumption=
of
the GPU.
It's clear that "/sys/class/drm/card0/device/hwmon/hwmon0/power1_cap" sets =
the
actual power limit and thus I need to raise it. But the problem is:
- I can't set it higher than power1_cap_max, only values below work.
- power1_cap_max equals to power1_cap, so raising power consumption is actu=
ally
completely forbidden
- Despite of being root, I don't have write access to power1_cap_max, unlik=
e to
power1_cap
So, it seems I'm being stuck and there is no way of increasing allowed maxi=
mum
power consumption, which is not a problem with Wattman on Windows.
I suppose either I'm missing a boot parameter to unlock write access to
power1_cap_max, or there might be a bug in amdgpu driver.
Any help appreciated.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15248547490.8F0b5.3612
Date: Fri, 27 Apr 2018 18:45:49 +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
Commen=
t # 4
on bug 10618=
8
from tempel.j=
ulian@gmail.com
Ok, it's simple. To unlock higher clocks, I simply have to set
"/sys/class/drm/card0/device/pp_sclk_od" as well.
To sum up: For my 1209MHz 900mV I have to do the following:
echo "2" > /sys/class/drm/card0/device/pp_sclk_od
echo "s 7 1209 900" > /sys/class/drm/card0/device/pp_od_clk_vo=
ltage
echo "c" > /sys/class/drm/card0/device/pp_od_clk_voltage
Works like a charm, thanks for the "Wattman" functionality!
However, I am still not able to raise the maximum allowed power consumption=
of
the GPU.
It's clear that "/sys/class/drm/card0/device/hwmon/hwmon0/power1_cap&q=
uot; sets the
actual power limit and thus I need to raise it. But the problem is:
- I can't set it higher than power1_cap_max, only values below work.
- power1_cap_max equals to power1_cap, so raising power consumption is actu=
ally
completely forbidden
- Despite of being root, I don't have write access to power1_cap_max, unlik=
e to
power1_cap
So, it seems I'm being stuck and there is no way of increasing allowed maxi=
mum
power consumption, which is not a problem with Wattman on Windows.
I suppose either I'm missing a boot parameter to unlock write access to
power1_cap_max, or there might be a bug in amdgpu driver.
Any help appreciated.
You are receiving this mail because:
- You are the assignee for the bug.
=
--15248547490.8F0b5.3612--
--===============1353330979==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============1353330979==--