40 lines
1.3 KiB
Plaintext
40 lines
1.3 KiB
Plaintext
|
corectrl for debian
|
||
|
|
||
|
post-installation hints:
|
||
|
|
||
|
Don't ask for user password:
|
||
|
|
||
|
|
||
|
Create the file /etc/polkit-1/rules.d/90-corectrl.rules with the following contents:
|
||
|
|
||
|
polkit.addRule(function(action, subject) {
|
||
|
if ((action.id == "org.corectrl.helper.init" ||
|
||
|
action.id == "org.corectrl.helperkiller.init") &&
|
||
|
subject.local == true &&
|
||
|
subject.active == true &&
|
||
|
subject.isInGroup("your-user-group")) {
|
||
|
return polkit.Result.YES;
|
||
|
}
|
||
|
});
|
||
|
|
||
|
Replace your-user-group with your user group name.
|
||
|
|
||
|
|
||
|
Full AMD GPU controls:
|
||
|
|
||
|
Currently, to have full control of your AMD GPU while using the amdgpu driver, you need to append the boot parameter
|
||
|
amdgpu.ppfeaturemask=0xffffffff to your bootloader configuration and reboot.
|
||
|
|
||
|
If your system uses Grub, edit the file (as root) /etc/default/grub and append the parameter to GRUB_CMDLINE_LINUX_DEFAULT:
|
||
|
|
||
|
GRUB_CMDLINE_LINUX_DEFAULT="<other_params>... amdgpu.ppfeaturemask=0xffffffff"
|
||
|
|
||
|
Then regenerate (as root) the bootloader configuration file with the command:
|
||
|
|
||
|
grub-mkconfig -o /boot/grub/grub.cfg
|
||
|
|
||
|
Reboot your system.
|
||
|
You should have more controls when you select Advanced as Performance mode.
|
||
|
|
||
|
-- Matthias Geiger <matthias.geiger1024@tutanota.de> Thu, 23 Mar 2023 11:49:32 +0100
|