kitsunyan / intel-undervolt

Intel CPU undervolting and throttling configuration tool
GNU General Public License v3.0
935 stars 66 forks source link

Failed to open MSR device: Permission denied and Failed to setup the program #68

Open Yuki338n opened 1 year ago

Yuki338n commented 1 year ago

Hello, every time i prompt any command like intel-undervolt apply or even intel-undervolt read this shows up: Failed to open MSR device: Permission denied Failed to setup the program why? Screenshot from 2023-06-24 20-46-12

precla commented 1 year ago

tried with sudo intel-undervolt ...?

ohmstance commented 1 year ago

Have you disabled secure boot?

SkepticSeptic commented 6 months ago

As precla stated earlier, this just means you need to run it as root through sudo intel-undervolt apply

This is a bit annoying, so another way to do this is to add yourself to the sudoers file for intel-undervolt by running sudo EDITOR=nano visudo and then adding a line like such: your_username ALL=(ALL) NOPASSWD: /usr/bin/intel-undervolt. This way, you can just run intel-undervolt ... without any permissions issues