| 1 |
corectrl for debian |
| 2 |
|
| 3 |
post-installation hints: |
| 4 |
|
| 5 |
Don't ask for user password: |
| 6 |
|
| 7 |
|
| 8 |
Create the file /etc/polkit-1/rules.d/90-corectrl.rules with the following contents: |
| 9 |
|
| 10 |
polkit.addRule(function(action, subject) { |
| 11 |
if ((action.id == "org.corectrl.helper.init" || |
| 12 |
action.id == "org.corectrl.helperkiller.init") && |
| 13 |
subject.local == true && |
| 14 |
subject.active == true && |
| 15 |
subject.isInGroup("your-user-group")) { |
| 16 |
return polkit.Result.YES; |
| 17 |
} |
| 18 |
}); |
| 19 |
|
| 20 |
Replace your-user-group with your user group name. |
| 21 |
|
| 22 |
|
| 23 |
Full AMD GPU controls: |
| 24 |
|
| 25 |
Currently, to have full control of your AMD GPU while using the amdgpu driver, you need to append the boot parameter |
| 26 |
amdgpu.ppfeaturemask=0xffffffff to your bootloader configuration and reboot. |
| 27 |
|
| 28 |
If your system uses Grub, edit the file (as root) /etc/default/grub and append the parameter to GRUB_CMDLINE_LINUX_DEFAULT: |
| 29 |
|
| 30 |
GRUB_CMDLINE_LINUX_DEFAULT="<other_params>... amdgpu.ppfeaturemask=0xffffffff" |
| 31 |
|
| 32 |
Then regenerate (as root) the bootloader configuration file with the command: |
| 33 |
|
| 34 |
grub-mkconfig -o /boot/grub/grub.cfg |
| 35 |
|
| 36 |
Reboot your system. |
| 37 |
You should have more controls when you select Advanced as Performance mode. |
| 38 |
|
| 39 |
-- Matthias Geiger <[email protected]> Thu, 23 Mar 2023 11:49:32 +0100 |