[Bug 204391] New: Overdrive on AMDGPU does not allow clocks above official clocks.

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Wed Jul 31 10:41:02 UTC 2019


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 at kernel-bugs.osdl.org
          Reporter: haxk612 at 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.


More information about the dri-devel mailing list