You are not logged in.

#1 2018-07-01 19:26:46

murlakatamenka
Member
Registered: 2018-06-01
Posts: 3

Overclocking / Downvolting with amdgpu

Can't change frequencies, voltage on my R9 290 with amdgpu despite look ups in several places (archwiki, reddit: /r/linux + /r/linuxhardware + /r/archlinux, phoronix threads) and even gathered the data in a personal Boostnote.

R9 290 is Sea Islands, Hawaii architecture, GCN 2.0 GPU.
Linux kernel 4.17.3, mesa 18.1.3

Kernel parameters (/etc/default/grub/):

GRUB_CMDLINE_LINUX_DEFAULT="quiet radeon.cik_support=0 amdgpu.cik_support=1 amdgpu.ppfeaturemask=0xffffffff"

amdgpu is loaded in MODULES of /etc/mkinitcpio.conf. radeon is blacklisted in /etc/modprobe.d/00-blacklist-radeon.conf, linked to in FILES of mkinitcpio.conf.

amdgpu.ppfeature mask applies correctly

# cat /sys/module/amdgpu/parameters/ppfeaturemask
4294967295 # = decimal value for 0xffffffff

Clock speeds, voltages are supposed to change via overriding GPU's P-states in /sys/class/drm/card0/device/pp_od_clk_voltage and committing
it with "c".

# cat /sys/class/drm/card0/device/pp_od_clk_voltage # shows nothing for me
# echo "10" > /sys/class/drm/card0/device/pp_sclk_od # increasing overclocking limit by 10%
# echo "s 7 1000 1050" > /sys/class/drm/card0/device/pp_od_clk_voltage # format is "<s/m for core/mem clock> <p-state num> <clock in MHz> <voltage in mV>"
echo "c" > /sys/class/drm/card0/device/pp_od_clk_voltage
bash: echo: write error: Invalid argument

At the moment I'm stuck, asking for help.

Related links:
https://www.phoronix.com/scan.php?page= … 7-features
https://wiki.archlinux.org/index.php/Im … ith_amdgpu
https://pastebin.com/ZXN5hqf0

Offline

#2 2018-07-13 10:55:57

r0l1
Member
Registered: 2018-07-13
Posts: 1

Re: Overclocking / Downvolting with amdgpu

To manually adjust these settings, first select manual using power_dpm_force_performance_level.

https://dri.freedesktop.org/docs/drm/gpu/amdgpu.html

Try setting it first to manual:

echo manual > /sys/class/drm/card0/device/power_dpm_force_performance_level

Offline

Board footer

Powered by FluxBB