Score:0

BASH: echo: write error: Invalid argument when settings power profiles for power_dpm_force_performance_level

fr flag
root@valtok-msi:/sys/class/drm/card0/device# echo "manual" > /sys/class/drm/card0/device/power_dpm_force_performance_level
bash: echo: write error: Invalid argument

And if I try it without sudo su it gives me:

valtok@valtok-msi:~$ sudo echo "manual" > /sys/class/drm/card0/device/power_dpm_force_performance_level
bash: /sys/class/drm/card0/device/power_dpm_force_performance_level: Permission denied

I really don't know what to do, I've been searching everywhere for this problem but seems like I'm the single one having it.

muru avatar
us flag
Please [edit] your question to answer these: Which version of Ubuntu? What is the output of `uname -a` and `lsmod | grep -i amd`?
Score:0
cn flag

echo puting new line at the end that could be the reason behind the error, So once try this:

echo -n "manual" > /sys/class/drm/card0/device/power_dpm_force_performance_level
Valtok avatar
fr flag
YOOO HOLY SHIT IT WORKS THANK YOU SOO MUCH
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.