All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 204391] New: Overdrive on AMDGPU does not allow clocks above official clocks.
@ 2019-07-31 10:41 bugzilla-daemon
  2019-07-31 10:41 ` [Bug 204391] " bugzilla-daemon
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bugzilla-daemon @ 2019-07-31 10:41 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=204391

            Bug ID: 204391
           Summary: Overdrive on AMDGPU does not allow clocks above
                    official clocks.
           Product: Drivers
           Version: 2.5
    Kernel Version: 5.3rc1
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: drivers_video-dri@kernel-bugs.osdl.org
          Reporter: haxk612@gmail.com
        Regression: No

Created attachment 284063
  --> https://bugzilla.kernel.org/attachment.cgi?id=284063&action=edit
dmesg with Overdrive enabled.

As the title of the bug says overdrive has a range that it operates in and
thats good to not allow users to overclock the card to its death but there is a
bug when overdrive is enabled it does not allow clocks for core or memory to be
outside official clocks.
I have RX560X with 1275 Mhz on Core and 1450Mhz on Memory and when i enable
overdrive i can increase voltage suplied to core or memory but im not allowed
to set any clock above the official clocks.
If we try to do so it returns invalid argument as the file expected the clock
to be in range.
[  914.519919] amdgpu: [powerplay] OD engine clock is out of range [214 - 1275]
MHz
[ 1096.096840] amdgpu: [powerplay] OD memory clock is out of range [300 - 1450]
MHz

I know for sure that this is not an GPU BIOS issue as in Windows we can indeed
overclock the GPU way above the official clocks with some nice FPS boost in all
games so the overclock there works.

But whats weird is also that if we disable Overdrive im allowed to overclock
Core frequency but im not able to overclock memory frequency.

I think as im looking at the dmesg that it may have to do something with this:
[  383.163783] amdgpu: [powerplay] pp_dpm_get_sclk_od was not implemented.
[  383.163858] amdgpu: [powerplay] pp_dpm_get_mclk_od was not implemented.
And indeed when trying to look into that file it does not exist anywhere. Only
file that exists that is close to it is pp_dpm_mclk/sclk.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 204391] Overdrive on AMDGPU does not allow clocks above official clocks.
  2019-07-31 10:41 [Bug 204391] New: Overdrive on AMDGPU does not allow clocks above official clocks bugzilla-daemon
@ 2019-07-31 10:41 ` bugzilla-daemon
  2019-08-02 19:08 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2019-07-31 10:41 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=204391

--- Comment #1 from Haxk20 (haxk612@gmail.com) ---
I forgot to add that this is an issue even before 5.3

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 204391] Overdrive on AMDGPU does not allow clocks above official clocks.
  2019-07-31 10:41 [Bug 204391] New: Overdrive on AMDGPU does not allow clocks above official clocks bugzilla-daemon
  2019-07-31 10:41 ` [Bug 204391] " bugzilla-daemon
@ 2019-08-02 19:08 ` bugzilla-daemon
  2019-08-03 18:47 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2019-08-02 19:08 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=204391

--- Comment #2 from Haxk20 (haxk612@gmail.com) ---
Can somebody look at this please ? I know this isnt experience breaking but
when the driver has support for overclocking then it should at least work.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 204391] Overdrive on AMDGPU does not allow clocks above official clocks.
  2019-07-31 10:41 [Bug 204391] New: Overdrive on AMDGPU does not allow clocks above official clocks bugzilla-daemon
  2019-07-31 10:41 ` [Bug 204391] " bugzilla-daemon
  2019-08-02 19:08 ` bugzilla-daemon
@ 2019-08-03 18:47 ` bugzilla-daemon
  2019-08-03 23:21 ` bugzilla-daemon
  2019-10-27 23:34 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2019-08-03 18:47 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=204391

--- Comment #3 from Haxk20 (haxk612@gmail.com) ---
Also to add to this pp_sclk_od is exposed even tho overdrive isnt enabled and
indeed im allowed to overclock the GPU core and i indeed see the Core running
at that frequency.
But i mean Core overclocking is nice and all but without memory OC its useless.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 204391] Overdrive on AMDGPU does not allow clocks above official clocks.
  2019-07-31 10:41 [Bug 204391] New: Overdrive on AMDGPU does not allow clocks above official clocks bugzilla-daemon
                   ` (2 preceding siblings ...)
  2019-08-03 18:47 ` bugzilla-daemon
@ 2019-08-03 23:21 ` bugzilla-daemon
  2019-10-27 23:34 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2019-08-03 23:21 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=204391

--- Comment #4 from Haxk20 (haxk612@gmail.com) ---
After looking at OverDrive code it looks like this is PP table issue of my GPU
VBIOS as it doesnt have OD range and so it cant find it thus only underclocking
is allowed. Hardcoding the range in the kernel is surely a huge hack but indeed
works and im able to overclock the card.
It would be useful to have an kernel argument that we can pass trough GRUB that
would just disable this check as some laptops dont have this table.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 204391] Overdrive on AMDGPU does not allow clocks above official clocks.
  2019-07-31 10:41 [Bug 204391] New: Overdrive on AMDGPU does not allow clocks above official clocks bugzilla-daemon
                   ` (3 preceding siblings ...)
  2019-08-03 23:21 ` bugzilla-daemon
@ 2019-10-27 23:34 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2019-10-27 23:34 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=204391

Haxk20 (haxk612@gmail.com) changed:

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

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-10-27 23:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-31 10:41 [Bug 204391] New: Overdrive on AMDGPU does not allow clocks above official clocks bugzilla-daemon
2019-07-31 10:41 ` [Bug 204391] " bugzilla-daemon
2019-08-02 19:08 ` bugzilla-daemon
2019-08-03 18:47 ` bugzilla-daemon
2019-08-03 23:21 ` bugzilla-daemon
2019-10-27 23:34 ` 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.