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: Mon, 23 Apr 2018 12:49:36 +0000
Message-ID:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0244159114=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 2C01C6E024
for ; Mon, 23 Apr 2018 12:49:36 +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
--===============0244159114==
Content-Type: multipart/alternative; boundary="15244877760.6f1Db8fC.6398"
Content-Transfer-Encoding: 7bit
--15244877760.6f1Db8fC.6398
Date: Mon, 23 Apr 2018 12:49:36 +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
Bug ID: 106188
Summary: Can't successfully set pstates in pp_od_clk_voltage
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: tempel.julian@gmail.com
Hello,
I specified "amdgpu.ppfeaturemask=3D0xffffffff" as a boot parameter so I co=
uld
access "/sys/class/drm/card0/device/pp_od_clk_voltage".
The pstate table for source and memory clocks looks correct.
When I run "echo "s 7 1209 900" /sys/class/drm/card0/device/pp_od_clk_volta=
ge",
it returns "s 7 1209 900 /sys/class/drm/card0/device/pp_od_clk_voltage".
When I run "echo "c" /sys/class/drm/card0/device/pp_od_clk_voltage" afterwa=
rds,
it returns "c /sys/class/drm/card0/device/pp_od_clk_voltage".
However, the change is not applied. When I do "cat
/sys/class/drm/card0/device/pp_od_clk_voltage", it still says "7: 119=
6Mhz
1006 mV".
And when I run "watch -n 0.5 cat /sys/kernel/debug/dri/0/amdgpu_pm_info", =
it
reports
" 1196 MHz (SCLK)
981 mV (VDDGFX)
".
Am I making a mistake somewhere or should it work like this?
I also tried "echo "manual" >
/sys/class/drm/card0/device/power_dpm_force_performance_level" and setting
pstates 5-7, but that didn't help either.
In the documentation, I read that pp_od_clk_voltage should also include
OD_range, but it's not there for me.
Linux drm-next-4.18-wip 4.16.1.52132fd03
MSI RX 560 Aero ITX
Thanks!
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15244877760.6f1Db8fC.6398
Date: Mon, 23 Apr 2018 12:49:36 +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 |
106188
|
| Summary |
Can't successfully set pstates in pp_od_clk_voltage
|
| 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 |
tempel.julian@gmail.com
|
Hello,
I specified "amdgpu.ppfeaturemask=3D0xffffffff" as a boot paramet=
er so I could
access "/sys/class/drm/card0/device/pp_od_clk_voltage".
The pstate table for source and memory clocks looks correct.
When I run "echo "s 7 1209 900" /sys/class/drm/card0/device/=
pp_od_clk_voltage",
it returns "s 7 1209 900 /sys/class/drm/card0/device/pp_od_clk_voltage=
".
When I run "echo "c" /sys/class/drm/card0/device/pp_od_clk_v=
oltage" afterwards,
it returns "c /sys/class/drm/card0/device/pp_od_clk_voltage".
However, the change is not applied. When I do "cat
/sys/class/drm/card0/device/pp_od_clk_voltage", it still says "7:=
1196Mhz
1006 mV".
And when I run "watch -n 0.5 cat /sys/kernel/debug/dri/0/amdgpu_pm_in=
fo", it
reports
" 1196 MHz (SCLK)
981 mV (VDDGFX)
".
Am I making a mistake somewhere or should it work like this?
I also tried "echo "manual" >
/sys/class/drm/card0/device/power_dpm_force_performance_level" and set=
ting
pstates 5-7, but that didn't help either.
In the documentation, I read that pp_od_clk_voltage should also include
OD_range, but it's not there for me.
Linux drm-next-4.18-wip 4.16.1.52132fd03
MSI RX 560 Aero ITX
Thanks!
You are receiving this mail because:
- You are the assignee for the bug.
=
--15244877760.6f1Db8fC.6398--
--===============0244159114==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============0244159114==--
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: Mon, 23 Apr 2018 15:04:04 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1554141136=="
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 EB30389E8C
for ; Mon, 23 Apr 2018 15:04:03 +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
--===============1554141136==
Content-Type: multipart/alternative; boundary="15244958430.40ac9.9496"
Content-Transfer-Encoding: 7bit
--15244958430.40ac9.9496
Date: Mon, 23 Apr 2018 15:04:03 +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 #1 from Alex Deucher ---
(In reply to tempel.julian from comment #0)
> Hello,
> I specified "amdgpu.ppfeaturemask=3D0xffffffff" as a boot parameter so I =
could
> access "/sys/class/drm/card0/device/pp_od_clk_voltage".
> The pstate table for source and memory clocks looks correct.
>=20
> When I run "echo "s 7 1209 900"
> /sys/class/drm/card0/device/pp_od_clk_voltage", it returns "s 7 1209 900
> /sys/class/drm/card0/device/pp_od_clk_voltage".
> When I run "echo "c" /sys/class/drm/card0/device/pp_od_clk_voltage"
> afterwards, it returns "c /sys/class/drm/card0/device/pp_od_clk_voltage".
>=20
Are you redirecting to the file? Something like the following should work:
echo "s 7 1209 900" > /sys/class/drm/card0/device/pp_od_clk_voltage
> However, the change is not applied. When I do "cat
> /sys/class/drm/card0/device/pp_od_clk_voltage", it still says "7:=20=20=
=20=20=20=20
> 1196Mhz 1006 mV".
> And when I run "watch -n 0.5 cat /sys/kernel/debug/dri/0/amdgpu_pm_info",
> it reports
> " 1196 MHz (SCLK)
> 981 mV (VDDGFX)
> ".
>=20
> Am I making a mistake somewhere or should it work like this?
>=20
> I also tried "echo "manual" >
> /sys/class/drm/card0/device/power_dpm_force_performance_level" and setting
> pstates 5-7, but that didn't help either.
You have to set manual mode before you can manually edit the state. You al=
so
have to be root (or have permission) to write to these files.
> In the documentation, I read that pp_od_clk_voltage should also include
> OD_range, but it's not there for me.
The patch is on the mailing list, but hasn't been committed yet.
https://patchwork.freedesktop.org/patch/217812/
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15244958430.40ac9.9496
Date: Mon, 23 Apr 2018 15:04:03 +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 # 1
on bug 10618=
8
from Alex Deucher
(In reply to tempel.julian from comment #0)
> Hello,
> I specified "amdgpu.ppfeaturemask=3D0xffffffff" as a boot pa=
rameter so I could
> access "/sys/class/drm/card0/device/pp_od_clk_voltage".
> The pstate table for source and memory clocks looks correct.
>=20
> When I run "echo "s 7 1209 900"
> /sys/class/drm/card0/device/pp_od_clk_voltage", it returns "=
s 7 1209 900
> /sys/class/drm/card0/device/pp_od_clk_voltage".
> When I run "echo "c" /sys/class/drm/card0/device/pp_od_=
clk_voltage"
> afterwards, it returns "c /sys/class/drm/card0/device/pp_od_clk_v=
oltage".
>
Are you redirecting to the file? Something like the following should work:
echo "s 7 1209 900" > /sys/class/drm/card0/device/pp_od_clk_vo=
ltage
> However, the change is not applied. When I do &q=
uot;cat
> /sys/class/drm/card0/device/pp_od_clk_voltage", it still says &qu=
ot;7:=20=20=20=20=20=20
> 1196Mhz 1006 mV".
> And when I run "watch -n 0.5 cat /sys/kernel/debug/dri/0/amdgpu_=
pm_info",
> it reports
> " 1196 MHz (SCLK)
> 981 mV (VDDGFX)
> ".
>=20
> Am I making a mistake somewhere or should it work like this?
>=20
> I also tried "echo "manual" >
> /sys/class/drm/card0/device/power_dpm_force_performance_level" an=
d setting
> pstates 5-7, but that didn't help either.
You have to set manual mode before you can manually edit the state. You al=
so
have to be root (or have permission) to write to these files.
> In the documentation, I read that pp_od_clk_volt=
age should also include
> OD_range, but it's not there for me.
The patch is on the mailing list, but hasn't been committed yet.
https://patchwo=
rk.freedesktop.org/patch/217812/
You are receiving this mail because:
- You are the assignee for the bug.
=
--15244958430.40ac9.9496--
--===============1554141136==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============1554141136==--
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: Mon, 23 Apr 2018 16:12:25 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0846357707=="
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 F077E8982E
for ; Mon, 23 Apr 2018 16:12:24 +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
--===============0846357707==
Content-Type: multipart/alternative; boundary="15244999440.4Cd9.25238"
Content-Transfer-Encoding: 7bit
--15244999440.4Cd9.25238
Date: Mon, 23 Apr 2018 16:12:24 +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 #2 from tempel.julian@gmail.com ---
Thanks for your response.
I somehow forgot the missing ">", whoops. I now almost got it working like
desired, thanks!
However, there is a small problem left: It doesn't switch into pstate 7.
I set up:
echo "manual" > /sys/class/drm/card0/device/power_dpm_force_performance_lev=
el
echo "s 0 214 721" > /sys/class/drm/card0/device/pp_od_clk_voltage
echo "s 1 389 721" > /sys/class/drm/card0/device/pp_od_clk_voltage
echo "s 2 844 725" > /sys/class/drm/card0/device/pp_od_clk_voltage
echo "s 3 1009 818" > /sys/class/drm/card0/device/pp_od_clk_voltage
echo "s 4 1079 875" > /sys/class/drm/card0/device/pp_od_clk_voltage
echo "s 5 1134 880" > /sys/class/drm/card0/device/pp_od_clk_voltage
echo "s 6 1179 890" > /sys/class/drm/card0/device/pp_od_clk_voltage
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
But according to /sys/kernel/debug/dri/0/amdgpu_pm_info, pstate 6 (1179 890=
) is
the maximum of chosen clocks.
I set up Unigine Valley to run in 720p with 8xMSAA, so there is no high pow=
er
consumption which could make the GPU throttle down to a lower state, so it
definitely should switch to pstate 7.
I also tried making s 7 and s 6 the same, but then it's just limited to an =
even
lower pstate. So I fail to get to my desired 1209MHz 900mV.
It also seems like setting up power_dpm_force_performance_level to manual i=
sn't
actually required, at least it doesn't make any difference here (or I'm mis=
sing
something).
Btw: Since I'm already bugging you with this :) :
Is there a way to also increase the maximum allowed power consumption?
There are /sys/class/drm/card0/device/hwmon/hwmon0/power1_cap and
/sys/class/drm/card0/device/hwmon/hwmon0/power1_cap_max containing the maxi=
mum
ASIC power (at least it looks to me that way), but I haven't been able to
successfully alter those to e.g. raise the limit of my Baffin GPU to 60 Wat=
ts.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15244999440.4Cd9.25238
Date: Mon, 23 Apr 2018 16:12:24 +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 # 2
on bug 10618=
8
from tempel.j=
ulian@gmail.com
Thanks for your response.
I somehow forgot the missing ">", whoops. I now almost got it =
working like
desired, thanks!
However, there is a small problem left: It doesn't switch into pstate 7.
I set up:
echo "manual" > /sys/class/drm/card0/device/power_dpm_force_pe=
rformance_level
echo "s 0 214 721" > /sys/class/drm/card0/device/pp_od_clk_vol=
tage
echo "s 1 389 721" > /sys/class/drm/card0/device/pp_od_clk_vol=
tage
echo "s 2 844 725" > /sys/class/drm/card0/device/pp_od_clk_vol=
tage
echo "s 3 1009 818" > /sys/class/drm/card0/device/pp_od_clk_vo=
ltage
echo "s 4 1079 875" > /sys/class/drm/card0/device/pp_od_clk_vo=
ltage
echo "s 5 1134 880" > /sys/class/drm/card0/device/pp_od_clk_vo=
ltage
echo "s 6 1179 890" > /sys/class/drm/card0/device/pp_od_clk_vo=
ltage
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
But according to /sys/kernel/debug/dri/0/amdgpu_pm_info, pstate 6 (1179 890=
) is
the maximum of chosen clocks.
I set up Unigine Valley to run in 720p with 8xMSAA, so there is no high pow=
er
consumption which could make the GPU throttle down to a lower state, so it
definitely should switch to pstate 7.
I also tried making s 7 and s 6 the same, but then it's just limited to an =
even
lower pstate. So I fail to get to my desired 1209MHz 900mV.
It also seems like setting up power_dpm_force_performance_level to manual i=
sn't
actually required, at least it doesn't make any difference here (or I'm mis=
sing
something).
Btw: Since I'm already bugging you with this :) :
Is there a way to also increase the maximum allowed power consumption?
There are /sys/class/drm/card0/device/hwmon/hwmon0/power1_cap and
/sys/class/drm/card0/device/hwmon/hwmon0/power1_cap_max containing the maxi=
mum
ASIC power (at least it looks to me that way), but I haven't been able to
successfully alter those to e.g. raise the limit of my Baffin GPU to 60 Wat=
ts.
You are receiving this mail because:
- You are the assignee for the bug.
=
--15244999440.4Cd9.25238--
--===============0846357707==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============0846357707==--
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: Mon, 23 Apr 2018 16:39:26 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0587338304=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id DC91E6E098
for ; Mon, 23 Apr 2018 16:39:25 +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
--===============0587338304==
Content-Type: multipart/alternative; boundary="15245015650.2d8a4DaEF.31048"
Content-Transfer-Encoding: 7bit
--15245015650.2d8a4DaEF.31048
Date: Mon, 23 Apr 2018 16:39:25 +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 #3 from tempel.julian@gmail.com ---
I figured out that the cause of the described behavior is that it doesn't a=
llow
me to really increase the GPU clock.
So I can set "echo "s 7 1194 900" >
/sys/class/drm/card0/device/pp_od_clk_voltage" and it works correctly.
But when I set e.g. "echo "s 7 1199 900" >
/sys/class/drm/card0/device/pp_od_clk_voltage", the clock doesn't get over
pstate 6.
Is this restriction by purpose? It's not there with Wattman on Windows.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15245015650.2d8a4DaEF.31048
Date: Mon, 23 Apr 2018 16:39:25 +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 # 3
on bug 10618=
8
from tempel.j=
ulian@gmail.com
I figured out that the cause of the described behavior is that=
it doesn't allow
me to really increase the GPU clock.
So I can set "echo "s 7 1194 900" >
/sys/class/drm/card0/device/pp_od_clk_voltage" and it works correctly.
But when I set e.g. "echo "s 7 1199 900" >
/sys/class/drm/card0/device/pp_od_clk_voltage", the clock doesn't get =
over
pstate 6.
Is this restriction by purpose? It's not there with Wattman on Windows.
You are receiving this mail because:
- You are the assignee for the bug.
=
--15245015650.2d8a4DaEF.31048--
--===============0587338304==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============0587338304==--
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==--
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: Sun, 29 Apr 2018 18:43:33 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1915191119=="
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 7D9AE6E095
for ; Sun, 29 Apr 2018 18:43:33 +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
--===============1915191119==
Content-Type: multipart/alternative; boundary="15250274130.9CBA.25916"
Content-Transfer-Encoding: 7bit
--15250274130.9CBA.25916
Date: Sun, 29 Apr 2018 18:43:33 +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
tempel.julian@gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |NOTABUG
Status|NEW |RESOLVED
--- Comment #5 from tempel.julian@gmail.com ---
I'm closing this issue now as my current issue isn't related anymore to the
initial one. I'm going to create a new ticket for it instead.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15250274130.9CBA.25916
Date: Sun, 29 Apr 2018 18:43:33 +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
tempel.julian@=
;gmail.com
changed
bug 10618=
8
| What |
Removed |
Added |
| Resolution |
---
|
NOTABUG
|
| Status |
NEW
|
RESOLVED
|
You are receiving this mail because:
- You are the assignee for the bug.
=
--15250274130.9CBA.25916--
--===============1915191119==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============1915191119==--
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: Tue, 08 May 2018 22:18:25 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0268591109=="
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 CDE126EBBE
for ; Tue, 8 May 2018 22:18:24 +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
--===============0268591109==
Content-Type: multipart/alternative; boundary="15258179040.0c3CF5B2E.31474"
Content-Transfer-Encoding: 7bit
--15258179040.0c3CF5B2E.31474
Date: Tue, 8 May 2018 22:18:24 +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 #6 from Alex Deucher ---
(In reply to tempel.julian from comment #4)
> However, I am still not able to raise the maximum allowed power consumpti=
on
> 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
> actually completely forbidden
> - Despite of being root, I don't have write access to power1_cap_max, unl=
ike
> to power1_cap
The max supported power cap is defined by the OEM in a vbios table and we l=
imit
the max to that value. power1_cap_min and max are RO so you can't change t=
hem.
They define the range of available values.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15258179040.0c3CF5B2E.31474
Date: Tue, 8 May 2018 22:18:24 +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 # 6
on bug 10618=
8
from Alex Deucher
(In reply to tempel.julian from comment #4)
> However, I am still not able to raise the maximu=
m 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
> actually completely forbidden
> - Despite of being root, I don't have write access to power1_cap_max, =
unlike
> to power1_cap
The max supported power cap is defined by the OEM in a vbios table and we l=
imit
the max to that value. power1_cap_min and max are RO so you can't change t=
hem.
They define the range of available values.
You are receiving this mail because:
- You are the assignee for the bug.
=
--15258179040.0c3CF5B2E.31474--
--===============0268591109==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============0268591109==--