b51e881
# Setup
b51e881
b51e881
## Launch CoreCtrl on session startup
b51e881
b51e881
Execute this command on a terminal:
b51e881
b51e881
```bash
b51e881
cp /usr/share/applications/corectrl.desktop ~/.config/autostart/corectrl.desktop
b51e881
```
b51e881
b51e881
## Don't ask for user password
b51e881
b51e881
**CoreCtrl** uses a helper with root privileges to control your system. In order to start the helper, the system will ask you to enter your user password. If you want to avoid being asked every time for your password, you can grant root access to the helper permanently. Just create the file `/etc/polkit-1/rules.d/90-corectrl.rules` with the following contents:
b51e881
b51e881
```
b51e881
polkit.addRule(function(action, subject) {
b51e881
    if ((action.id == "org.corectrl.helper.init" ||
b51e881
         action.id == "org.corectrl.helperkiller.init") &&
b51e881
        subject.local == true &&
b51e881
        subject.active == true &&
b51e881
        subject.isInGroup("your-user-group")) {
b51e881
            return polkit.Result.YES;
b51e881
    }
b51e881
});
b51e881
```
b51e881
b51e881
Replace `your-user-group` with your user group name.
b51e881
b51e881
## Full AMD GPU controls
b51e881
b51e881
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.
b51e881
b51e881
**NOTE:** The following instructions are for guidance only. Check your distribution documentation on how to add a boot parameter before proceed.
b51e881
b51e881
If your system uses **Grub**, edit the file (as root) `/etc/default/grub` and append the parameter to `GRUB_CMDLINE_LINUX_DEFAULT`:
b51e881
b51e881
```bash
b51e881
GRUB_CMDLINE_LINUX_DEFAULT="<other_params>... amdgpu.ppfeaturemask=0xffffffff"
b51e881
```
b51e881
b51e881
Then regenerate (as root) the bootloader configuration file with the command:
b51e881
b51e881
```bash
b51e881
grub-mkconfig -o /boot/grub/grub.cfg
b51e881
```
b51e881
b51e881
Reboot your system.
b51e881
b51e881
You should have more controls when you select `Advanced` as `Performance mode`.