ROCm / ROC-smi

ROC System Management Interface
https://github.com/RadeonOpenCompute/ROC-smi/blob/master/README.md
179 stars 55 forks source link

rocm-smi --setslevel doesn't work #59

Closed hyc3z closed 5 years ago

hyc3z commented 5 years ago

System information

Describe the problem rocm-smi --setslevel doesn't work


Do you accept these terms? [y/N] y Unable to write to sysfs file /sys/class/drm/card0/device/pp_od_clk_voltage


I tried to vim the file using root privilege, and I failed again. Could you guys give an idea what's the possible problem?

jlgreathouse commented 5 years ago

Did you turn on OverDrive in the ppfeaturemask of your driver?

For instance, the default ppfeaturemask in kernel 4.20 is 0xfffd3fff. Bit 14 is OverDrive. So setting amdgpu.ppfeaturemask=0xfffd7fff on your grub boot line.

hyc3z commented 5 years ago

@jlgreathouse Thank you so much! I added amdgpu.ppfeaturemask=0xfffd7fff in grub.cfg and everything starts to work now.