0

I am trying to follow this tutorial: https://gist.github.com/Francesco149/0302fbb5e056f3339ae17d3c13257929

  • The first step is to run sudo su to switch to root. Done that.
  • The second step is to run

    echo high > /sys/class/drm/card0/device/power_dpm_force_performance_level
    
  • So I ran it, and here's what I got:

    bash: /sys/class/drm/card0/device/power_dpm_force_performance_level: Permission denied
    

Permission denied?! How is that and I am the root user? How is it possible?

I have no idea of the inputs you would need from me, so please tell me and I will reply to you asap.

EDIT

Here is the output of echo high | sudo tee /sys/class/drm/card0/device/power_dpm_force_performance_leve‌​l (running as root):

tee: /sys/class/drm/card0/device/power_dpm_force_performance_leve‌​l: Permission denied 
high

output of echo high | sudo tee /sys/class/drm/card0/device/power_dpm_force_performance_leve‌​l

  • Did you try echo high | sudo tee /sys/class/drm/card0/device/power_dpm_force_performance_level instead? This should not be different, but who knows… – dessert Aug 23 '17 at 19:57
  • 1
  • 1
    @Ravexina Actually OP did sudo su before executing the command. – dessert Aug 23 '17 at 21:10
  • Then the entry might be protected, even if you write something there in will be overwritten by Kernel. – Ravexina Aug 23 '17 at 21:32
  • @dessert with sudo tee I get this: tee: /sys/class/drm/card0/device/power_dpm_force_performance_leve‌​l: Permission denied high – Tooniis Aug 24 '17 at 3:34
0

In: /sys/class/drm/cardX/device

$ cat power_dpm_force_performance_level
auto

$ echo manual > power_dpm_force_performance_level

$ cat power_dpm_force_performance_level 
manual

$ cat power_dpm_state 
balanced

$ echo performance > power_dpm_state 

$ cat power_dpm_state 
performance
  • Permission denied. That's my problem. – Tooniis Dec 21 '17 at 14:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.