All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 106177] overclocking doesn't work with 4.17-rc1
@ 2018-04-22 16:46 bugzilla-daemon
  2018-05-03 17:55 ` bugzilla-daemon
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: bugzilla-daemon @ 2018-04-22 16:46 UTC (permalink / raw)
  To: dri-devel


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

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

            Bug ID: 106177
           Summary: overclocking doesn't work with 4.17-rc1
           Product: DRI
           Version: DRI git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/AMDgpu
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: haagch@frickel.club

RX 480.

I noticed a while ago that overclocking didn't work on
drm-next-4.17-wip/drm-next-4.18-wip, but now it's gotten into mainline.

With linux 4.16.3 overclockling works fine.

With 4.17-rc1 the setting doesn't "stick" and the clocks aren't increased:

root@c-pc ~ # cat /sys/class/drm/card0/device/pp_sclk_od
0
root@c-pc ~ # cat /sys/class/drm/card0/device/pp_dpm_sclk
0: 300Mhz *
1: 608Mhz
2: 910Mhz
3: 1077Mhz
4: 1145Mhz
5: 1191Mhz
6: 1236Mhz
7: 1288Mhz
root@c-pc ~ # echo 2 > /sys/class/drm/card0/device/pp_sclk_od
root@c-pc ~ # cat /sys/class/drm/card0/device/pp_sclk_od
0
root@c-pc ~ # cat /sys/class/drm/card0/device/pp_dpm_sclk
0: 300Mhz *
1: 608Mhz
2: 910Mhz
3: 1077Mhz
4: 1145Mhz
5: 1191Mhz
6: 1236Mhz
7: 1288Mhz

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

[-- Attachment #1.2: Type: text/html, Size: 2617 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] 12+ messages in thread

* [Bug 106177] overclocking doesn't work with 4.17-rc1
  2018-04-22 16:46 [Bug 106177] overclocking doesn't work with 4.17-rc1 bugzilla-daemon
@ 2018-05-03 17:55 ` bugzilla-daemon
  2018-05-03 23:42 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2018-05-03 17:55 UTC (permalink / raw)
  To: dri-devel


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

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

grmat@sub.red changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |grmat@sub.red

--- Comment #1 from grmat@sub.red ---
I have the same issue on 4.16.6 and 4.17-rc2 and CIK hardware (Hawaii/R9 290X)

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

[-- Attachment #1.2: Type: text/html, Size: 1713 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] 12+ messages in thread

* [Bug 106177] overclocking doesn't work with 4.17-rc1
  2018-04-22 16:46 [Bug 106177] overclocking doesn't work with 4.17-rc1 bugzilla-daemon
  2018-05-03 17:55 ` bugzilla-daemon
@ 2018-05-03 23:42 ` bugzilla-daemon
  2018-05-03 23:46 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2018-05-03 23:42 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #2 from Christoph Haag <haagch@frickel.club> ---
I just tried 4.16.7 and overclocking still works on the 4.16 version.
And I think on 4.17rc3 it still doesn't work.

Do you mean on 4.16.6 overclocking does not work for you? Then it's probably
not the same as my issue.

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

[-- Attachment #1.2: Type: text/html, Size: 1185 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] 12+ messages in thread

* [Bug 106177] overclocking doesn't work with 4.17-rc1
  2018-04-22 16:46 [Bug 106177] overclocking doesn't work with 4.17-rc1 bugzilla-daemon
  2018-05-03 17:55 ` bugzilla-daemon
  2018-05-03 23:42 ` bugzilla-daemon
@ 2018-05-03 23:46 ` bugzilla-daemon
  2018-05-04 16:49 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2018-05-03 23:46 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #3 from grmat@sub.red ---
At least I had the same behaviour, value not "sticky" and no impact on actual
clock.

I noticed it when I tested 4.17-rc2, actually wanted to test the "wattman"
functionality. Then noticed, it doesn't work on the 4.16.6 either. Will have to
test older kernels, maybe this weekend.

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

[-- Attachment #1.2: Type: text/html, Size: 1210 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] 12+ messages in thread

* [Bug 106177] overclocking doesn't work with 4.17-rc1
  2018-04-22 16:46 [Bug 106177] overclocking doesn't work with 4.17-rc1 bugzilla-daemon
                   ` (2 preceding siblings ...)
  2018-05-03 23:46 ` bugzilla-daemon
@ 2018-05-04 16:49 ` bugzilla-daemon
  2018-05-08 21:21 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2018-05-04 16:49 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #4 from tempel.julian@gmail.com ---
I'm on a RX 560.

I can confirm that with 4.17, behavior has quite changed a lot. I don't think
it's buggy for Polaris, but not documented correctly.
To make values "stick" in pp_sclk_od, you have to boot with the parameter
amdgpu.ppfeaturemask=0xffffffff.

Applying values higher than 1 in pp_sclk_od don't get reported back correctly,
cat pp_sclk_od always returns 1.
However, entering values higher than 1 have an effect despite of this, as they
allow using of higher clocks in pp_od_clk_voltage.

And unlike with 4.16, higher values than 0 in pp_sclk_od don't automatically
lead to higher clocks. Additionally it is also required to change the pstates
in pp_od_clk_voltage (again unlocked with amdgpu.ppfeaturemask=0xffffffff).

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

[-- Attachment #1.2: Type: text/html, Size: 1690 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] 12+ messages in thread

* [Bug 106177] overclocking doesn't work with 4.17-rc1
  2018-04-22 16:46 [Bug 106177] overclocking doesn't work with 4.17-rc1 bugzilla-daemon
                   ` (3 preceding siblings ...)
  2018-05-04 16:49 ` bugzilla-daemon
@ 2018-05-08 21:21 ` bugzilla-daemon
  2018-05-09  7:11 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2018-05-08 21:21 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #5 from Alex Deucher <alexdeucher@gmail.com> ---
Please use debugfs (e.g., /sys/kernel/debug/dri/0/amdgpu_pm_info) to check the
current clocks.

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

[-- Attachment #1.2: Type: text/html, Size: 1057 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] 12+ messages in thread

* [Bug 106177] overclocking doesn't work with 4.17-rc1
  2018-04-22 16:46 [Bug 106177] overclocking doesn't work with 4.17-rc1 bugzilla-daemon
                   ` (4 preceding siblings ...)
  2018-05-08 21:21 ` bugzilla-daemon
@ 2018-05-09  7:11 ` bugzilla-daemon
  2018-10-16  4:03 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2018-05-09  7:11 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #6 from Christoph Haag <haagch@frickel.club> ---
I have not tried amdgpu.ppfeaturemask=0xffffffff etc. yet.
If a behavior change like that is intended, there should be some easily
accessible documentation about it somewhere.

1288 MHz (SCLK) is the factory overclocked default max clock, so debugfs agrees
that pp_sclk_od on its own does nothing with 4.17rc4.

root@c-pc ~ # echo high >
/sys/class/drm/card0/device/power_dpm_force_performance_level
root@c-pc ~ # echo 5 > /sys/class/drm/card0/device/pp_sclk_od
root@c-pc ~ # cat /sys/kernel/debug/dri/0/amdgpu_pm_info
Clock Gating Flags Mask: 0x37bcf
        Graphics Medium Grain Clock Gating: On
        Graphics Medium Grain memory Light Sleep: On
        Graphics Coarse Grain Clock Gating: On
        Graphics Coarse Grain memory Light Sleep: On
        Graphics Coarse Grain Tree Shader Clock Gating: Off
        Graphics Coarse Grain Tree Shader Light Sleep: Off
        Graphics Command Processor Light Sleep: On
        Graphics Run List Controller Light Sleep: On
        Graphics 3D Coarse Grain Clock Gating: Off
        Graphics 3D Coarse Grain memory Light Sleep: Off
        Memory Controller Light Sleep: On
        Memory Controller Medium Grain Clock Gating: On
        System Direct Memory Access Light Sleep: Off
        System Direct Memory Access Medium Grain Clock Gating: On
        Bus Interface Medium Grain Clock Gating: Off
        Bus Interface Light Sleep: On
        Unified Video Decoder Medium Grain Clock Gating: On
        Video Compression Engine Medium Grain Clock Gating: On
        Host Data Path Light Sleep: Off
        Host Data Path Medium Grain Clock Gating: On
        Digital Right Management Medium Grain Clock Gating: Off
        Digital Right Management Light Sleep: Off
        Rom Medium Grain Clock Gating: On
        Data Fabric Medium Grain Clock Gating: Off

GFX Clocks and Power:
        2000 MHz (MCLK)
        1288 MHz (SCLK)
        300 MHz (PSTATE_SCLK)
        601 MHz (PSTATE_MCLK)
        1093 mV (VDDGFX)
        19.166 W (VDDC)
        15.19 W (VDDCI)
        40.200 W (max GPU)
        40.185 W (average GPU)

GPU Temperature: 43 C
GPU Load: 0 %

UVD: Disabled

VCE: Disabled

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

[-- Attachment #1.2: Type: text/html, Size: 3175 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] 12+ messages in thread

* [Bug 106177] overclocking doesn't work with 4.17-rc1
  2018-04-22 16:46 [Bug 106177] overclocking doesn't work with 4.17-rc1 bugzilla-daemon
                   ` (5 preceding siblings ...)
  2018-05-09  7:11 ` bugzilla-daemon
@ 2018-10-16  4:03 ` bugzilla-daemon
  2018-10-16  4:07 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2018-10-16  4:03 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #7 from alvarex <edisonalvarez@arnet.com.ar> ---
I can confirm this behaviour with kernel 4.16 and point release 16 and 18 it
works as I would expect, with kernel 4.17, 4.18.14 and 4.19 from drm fixes git
it doesn't work. Setting feature mask have no effect. 
Polaris Rx 460

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

[-- Attachment #1.2: Type: text/html, Size: 1190 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] 12+ messages in thread

* [Bug 106177] overclocking doesn't work with 4.17-rc1
  2018-04-22 16:46 [Bug 106177] overclocking doesn't work with 4.17-rc1 bugzilla-daemon
                   ` (6 preceding siblings ...)
  2018-10-16  4:03 ` bugzilla-daemon
@ 2018-10-16  4:07 ` bugzilla-daemon
  2018-10-18 22:33 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2018-10-16  4:07 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #8 from alvarex <edisonalvarez@arnet.com.ar> ---
same effect as Christoph Haag mentions echoing pp_dpm_mclk and pp_mclk_od
reports nothing changed.

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

[-- Attachment #1.2: Type: text/html, Size: 1061 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] 12+ messages in thread

* [Bug 106177] overclocking doesn't work with 4.17-rc1
  2018-04-22 16:46 [Bug 106177] overclocking doesn't work with 4.17-rc1 bugzilla-daemon
                   ` (7 preceding siblings ...)
  2018-10-16  4:07 ` bugzilla-daemon
@ 2018-10-18 22:33 ` bugzilla-daemon
  2018-10-18 22:37 ` bugzilla-daemon
  2018-10-19  1:47 ` bugzilla-daemon
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2018-10-18 22:33 UTC (permalink / raw)
  To: dri-devel


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

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

alvarex <edisonalvarez@arnet.com.ar> changed:

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

--- Comment #9 from alvarex <edisonalvarez@arnet.com.ar> ---
this is not a bug. tempel julian is right. There is also the archwiki which
explain this also. Behaviour has changed but it's not a bug.

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

[-- Attachment #1.2: Type: text/html, Size: 2116 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] 12+ messages in thread

* [Bug 106177] overclocking doesn't work with 4.17-rc1
  2018-04-22 16:46 [Bug 106177] overclocking doesn't work with 4.17-rc1 bugzilla-daemon
                   ` (8 preceding siblings ...)
  2018-10-18 22:33 ` bugzilla-daemon
@ 2018-10-18 22:37 ` bugzilla-daemon
  2018-10-19  1:47 ` bugzilla-daemon
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2018-10-18 22:37 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #10 from alvarex <edisonalvarez@arnet.com.ar> ---
check here 
https://wiki.archlinux.org/index.php/AMDGPU#Overclocking

and it's documented on the kernel source

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

[-- Attachment #1.2: Type: text/html, Size: 1204 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] 12+ messages in thread

* [Bug 106177] overclocking doesn't work with 4.17-rc1
  2018-04-22 16:46 [Bug 106177] overclocking doesn't work with 4.17-rc1 bugzilla-daemon
                   ` (9 preceding siblings ...)
  2018-10-18 22:37 ` bugzilla-daemon
@ 2018-10-19  1:47 ` bugzilla-daemon
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2018-10-19  1:47 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #11 from Alex Deucher <alexdeucher@gmail.com> ---
(In reply to alvarex from comment #10)
> check here 
> https://wiki.archlinux.org/index.php/AMDGPU#Overclocking
> 
> and it's documented on the kernel source

The arch wiki has some errors in it as well.  Here's the kernel documentation:
https://dri.freedesktop.org/docs/drm/gpu/amdgpu.html#gpu-power-thermal-controls-and-monitoring

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

[-- Attachment #1.2: Type: text/html, Size: 1620 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] 12+ messages in thread

end of thread, other threads:[~2018-10-19  1:47 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-22 16:46 [Bug 106177] overclocking doesn't work with 4.17-rc1 bugzilla-daemon
2018-05-03 17:55 ` bugzilla-daemon
2018-05-03 23:42 ` bugzilla-daemon
2018-05-03 23:46 ` bugzilla-daemon
2018-05-04 16:49 ` bugzilla-daemon
2018-05-08 21:21 ` bugzilla-daemon
2018-05-09  7:11 ` bugzilla-daemon
2018-10-16  4:03 ` bugzilla-daemon
2018-10-16  4:07 ` bugzilla-daemon
2018-10-18 22:33 ` bugzilla-daemon
2018-10-18 22:37 ` bugzilla-daemon
2018-10-19  1:47 ` 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.