How do I do the CoreCTRL instructions on Manjaro?

On CoreCTRL Setup page it give incomplete nstructions on creating a file and add a code. I am not sure using the command sudo mkdir is the best choice and don’t know how to edit the file. I think it may be using nano but I am not sure.
Then it have instructions to have Full AMD GPU controls but on those I am even more lost. I am on Manjaro KDE.

$ inxi -Fxxxz
System:    Kernel: 5.12.19-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0 Desktop: KDE Plasma 5.22.4 tk: Qt 5.15.2 
           wm: kwin_x11 vt: 1 dm: SDDM Distro: Manjaro Linux base: Arch Linux 
Machine:   Type: Desktop Mobo: ASRock model: X570 Steel Legend serial: <filter> UEFI: American Megatrends v: P2.20 
           date: 11/26/2019 
CPU:       Info: 8-Core model: AMD Ryzen 7 3700X bits: 64 type: MT MCP arch: Zen 2 rev: 0 cache: L2: 4 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 115254 
           Speed: 4146 MHz min/max: 2200/3600 MHz boost: enabled Core speeds (MHz): 1: 4146 2: 3521 3: 3793 4: 4041 5: 3667 
           6: 4084 7: 3897 8: 4252 9: 4249 10: 4295 11: 3574 12: 4068 13: 4220 14: 4144 15: 4237 16: 3524 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] vendor: XFX Pine 
           driver: amdgpu v: kernel bus-ID: 10:00.0 chip-ID: 1002:731f class-ID: 0300 
           Display: x11 server: X.Org 1.20.13 compositor: kwin_x11 driver: loaded: amdgpu,ati unloaded: modesetting,radeon 
           alternate: fbdev,vesa resolution: 2560x1440~144Hz s-dpi: 96 
           OpenGL: renderer: AMD Radeon RX 5700 XT (NAVI10 DRM 3.40.0 5.12.19-1-MANJARO LLVM 12.0.1) v: 4.6 Mesa 21.2.1 
           direct render: Yes 
Audio:     Device-1: Advanced Micro Devices [AMD/ATI] Navi 10 HDMI Audio driver: snd_hda_intel v: kernel bus-ID: 10:00.1 
           chip-ID: 1002:ab38 class-ID: 0403 
           Device-2: Advanced Micro Devices [AMD] Starship/Matisse HD Audio vendor: ASRock driver: snd_hda_intel v: kernel 
           bus-ID: 12:00.4 chip-ID: 1022:1487 class-ID: 0403 
           Sound Server-1: ALSA v: k5.12.19-1-MANJARO running: yes 
           Sound Server-2: JACK v: 1.9.19 running: no 
           Sound Server-3: PulseAudio v: 15.0 running: yes 
           Sound Server-4: PipeWire v: 0.3.33 running: yes 
Network:   Device-1: Intel I211 Gigabit Network vendor: ASRock driver: igb v: kernel port: f000 bus-ID: 08:00.0 
           chip-ID: 8086:1539 class-ID: 0200 
           IF: enp8s0 state: down mac: <filter> 
           Device-2: Intel Wireless-AC 9260 driver: iwlwifi v: kernel port: f000 bus-ID: 0a:00.0 chip-ID: 8086:2526 
           class-ID: 0280 
           IF: wlp10s0 state: up mac: <filter> 
           IF-ID-1: virbr0 state: down mac: <filter> 
Bluetooth: Device-1: Intel Wireless-AC 9260 Bluetooth Adapter type: USB driver: btusb v: 0.8 bus-ID: 1-3:3 chip-ID: 8087:0025 
           class-ID: e001 
           Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends 
Drives:    Local Storage: total: 2.29 TiB used: 1.14 TiB (49.8%) 
           ID-1: /dev/nvme0n1 vendor: Intel model: SSDPEKNW512G8 size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 type: SSD 
           serial: <filter> rev: 002C temp: 37.9 C scheme: GPT 
           ID-2: /dev/sda vendor: Western Digital model: WD20EZAZ-00GGJB0 size: 1.82 TiB speed: 6.0 Gb/s type: HDD rpm: 5400 
           serial: <filter> rev: 0A80 scheme: GPT 
Partition: ID-1: / size: 459.5 GiB used: 299.93 GiB (65.3%) fs: ext4 dev: /dev/nvme0n1p2 
           ID-2: /boot/efi size: 299.4 MiB used: 280 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 
Swap:      ID-1: swap-1 type: partition size: 8.8 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/nvme0n1p3 
Sensors:   System Temperatures: cpu: 60.5 C mobo: N/A gpu: amdgpu temp: 54.0 C mem: 56.0 C 
           Fan Speeds (RPM): N/A gpu: amdgpu fan: 700 
Info:      Processes: 415 Uptime: 37m wakeups: 0 Memory: 15.56 GiB used: 4.95 GiB (31.8%) Init: systemd v: 248 Compilers: 
           gcc: 11.1.0 clang: 12.0.1 Packages: 1962 pacman: 1926 flatpak: 25 snap: 11 Shell: Bash v: 5.1.8 running-in: konsole 
           inxi: 3.3.06 

Please edit your post title, this does not appear to be a tutorial.


To be honest, is unclear what your issue is.
You have installed corectrl package from our repository and … ?

From Dolphin you navigate to /etc/default/ and open with Kate the grub file and edit accordingly to the instructions. When you save the file you will be asked for your password. Then you run from terminal:
sudo update-grub

and reboot the system.

Thank you for your reply. Your comment helped me answer the question if the line
“<other_params>… amdgpu.ppfeaturemask=0xffffffff”` was supposed to be added separated or included in the " " with a space?.

Regarding the first part: Create the file/etc/polkit-1/rules.d/90-corectrl.rules` with the following contents:

polkit.addRule(function(action, subject) {
    if (( == "org.corectrl.helper.init" || == "org.corectrl.helperkiller.init") &&
        subject.local == true && == true &&
        subject.isInGroup("your-user-group")) {
            return polkit.Result.YES;

How do I create that file with those instructions included? that one does not seems to be a txt file.

is a text file
create empty file if not exists : sudo touch "/etc/polkit-1/rules.d/90-corectrl.rules"

edit: sudo nano "/etc/polkit-1/rules.d/90-corectrl.rules" or for kde without “sudo” : kate "/etc/polkit-1/rules.d/90-corectrl.rules" or open this file (and others) with kate in dolpin

Its giving me this error in kate:

The document could not be saved, as it was not possible to write to /etc/polkit-1/rules.d/90-corectrl.rules.
Check that you have write access to this file or that enough disk space is available.
The original file may be lost or damaged. Don't quit the application until the file is successfully written.

in terminal from the folder:
polkit-1]$ cd rules.d
bash: cd: rules.d: Permission denied

ok users can’t read in rules.d/

cd /etc/polkit-1/rules.d/
nano 90-corectrl.rules # ctrl+o for save in nano
cat 90-corectrl.rules # only for check

When saving is asking me to Write the name so I name it


When trying to save It gives me this error in nano

[ Error writing 90-corectrl.rules: Is a directory ]

ok :sweat_smile:
mkdir is only for create directory :wink: for file we can use touch
remove before this directory with rmdir

Had to remove with rm -r because it said it was not empty. Now is giving me this error`:

$ sudo touch "/etc/polkit-1/rules.d/90-corectrl.rules"
touch: cannot touch '/etc/polkit-1/rules.d/90-corectrl.rules': No such file or directory

why not use my command :cry:
now rules.d/ is not deleted ? (or parent ? :scream:) if rules.d not exists , re-install polkit package

I am blind, it’s to you to look directory contents and to return them here if needed

 sudo tree /etc/polkit-1/

EDIT: command tree in tree package

the command did not worked because it gives the error it had content

sudo: tree: command not found

$ sudo tree /etc/polkit-1/

0 directories, 0 files

so was bad command “rm -r”…

install package re-create directories with good permissions

ps: no create new post if last is you, edit last :wink:

Thank you. Now everything works. You are a life saver. I learned so much with this thread. Now for the solution which post is best:


This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.