You are not logged in.

#1 2024-05-12 16:46:52

zz97
Member
Registered: 2024-05-12
Posts: 1

How can i set pp_dpm_mclk in right way?

Hello everyone,
My platform is AMD Ryzen 7840HS with integrated gpu Radeon 780M.
And i'm trying to change gpu's memory clock preset manually.

The gpu is now:
[root@mypc device]# cat power_dpm_force_performance_level
auto
[root@mypc device]# cat pp_dpm_mclk
0: 400Mhz
1: 800Mhz *

And I have read many posts, including the Arch Wiki, and their answer is:
echo "manual" > /sys/class/drm/card0/device/power_dpm_force_performance_level
echo "0" > /sys/class/drm/card0/device/pp_dpm_mclk

The line 1 works fine, but line 2 show error:
[root@mypc device]# echo "0" > /sys/class/drm/card0/device/pp_dpm_mclk
bash: echo: write error: Invalid argument

How could i fix that?
Thanks!

Offline

#2 2024-05-13 07:19:12

seth
Member
Registered: 2012-09-03
Posts: 59,330

Re: How can i set pp_dpm_mclk in right way?

Make sure you're operating on the same card/device and are not looking at …/card1/device/pp_dpm_mclk but the trying to write …/card0/device/pp_dpm_mclk and what's the output of

cat /sys/class/drm/card0/device/pp_dpm_mclk

*after*

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

?

Offline

Board footer

Powered by FluxBB