sibradzic / amdgpu-clocks

Simple script to control power states of amdgpu driven GPUs
GNU General Public License v2.0
390 stars 43 forks source link

Write error on line 151 and 165 #35

Closed ThibaultNocchi closed 2 years ago

ThibaultNocchi commented 2 years ago

Hello,

I'm trying to use your soft on Arch Linux, Linux 5.13.12 on a Ryzen 2200G. I'm trying to run this simple config file:

OD_SCLK:
0:        201Mhz
1:       1201Mhz
OD_RANGE:
SCLK:     201MHz       1201MHz

with the default system one being at 1101MHz instead of 1201MHz. When running the script, I get this:

print_screen_2021-08-22-18-57-14

I guess this must be related to me not putting any tension in the config file, and this power1_cap file not being found.

What can I do?

Thanks :)

sibradzic commented 2 years ago

You should read the https://github.com/sibradzic/amdgpu-clocks#readme, which sais:

unfortunately Vega found on AMD APUs does not expose this API

ThibaultNocchi commented 2 years ago

Oh missed it, thanks! Does that mean that I need to supply voltage in my config to make it work, or is there a workaround?

sibradzic commented 2 years ago

Sorry, the last time I checked the kernel API that manages these "OverDrive" clocks and voltages does not work on APUs like 2200G, only on discrete GPUs.

ThibaultNocchi commented 2 years ago

Oh too bad ^^ No problem, thanks for your help, have a nice day! :)