Corectrl will not allow overlock/undervolt after updating kernel

This started today when i attempted to install the most recent updates to the kernel.

current stable: 6.4.4-AMD-znver2

when i attempted to update to kernel 6.4.v.6-1, it breaks corectrl, and then will not allow corectrl to adjust the timings. once i restored (thanks again snapper) i'm back to where i started.

i do not see any updates to corectrl.

New to garuda, just come from pop_os! 22.04 with Xanmod or Liquorix kernels'.

what do?

garuda-inxi

System:
Kernel: 6.4.4-AMD-znver2 arch: x86_64 bits: 64 compiler: gcc v: 13.1.1
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-amd-znver2
root=UUID=58726e34-1cc3-481a-9542-e505a8de20c3 rw rootflags=subvol=@
quiet quiet rd.udev.log_priority=3 vt.global_cursor_default=0 loglevel=3
ibt=off
Desktop: KDE Plasma v: 5.27.6 tk: Qt v: 5.15.10 wm: kwin_x11 vt: 2
dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Desktop Mobo: ASUSTeK model: ROG STRIX B450-F GAMING v: Rev 1.xx
serial: <superuser required> BIOS: American Megatrends v: 5102
date: 05/31/2023
CPU:
Info: model: AMD Ryzen 7 3700X bits: 64 type: MT MCP arch: Zen 2 gen: 3
level: v3 note: check built: 2020-22 process: TSMC n7 (7nm)
family: 0x17 (23) model-id: 0x71 (113) stepping: 0 microcode: 0x8701030
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB
L3: 32 MiB desc: 2x16 MiB
Speed (MHz): avg: 2220 high: 2617 min/max: 2200/4426 boost: enabled
scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 2200 2: 2200
3: 2200 4: 2200 5: 2187 6: 2617 7: 2200 8: 2200 9: 2200 10: 2200 11: 2200
12: 2200 13: 2116 14: 2200 15: 2200 16: 2200 bogomips: 115240
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data status: Not affected
Type: retbleed mitigation: untrained return thunk; SMT enabled with STIBP
protection
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
prctl
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
sanitization
Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, STIBP:
always-on, RSB filling, PBRSB-eIBRS: Not affected
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
vendor: ASUSTeK driver: amdgpu v: kernel arch: GCN-4 code: Arctic Islands
process: GF 14nm built: 2016-20 pcie: gen: 3 speed: 8 GT/s lanes: 16
ports: active: DP-2 empty: DP-1, DVI-D-1, HDMI-A-1, HDMI-A-2
bus-ID: 09:00.0 chip-ID: 1002:67df class-ID: 0300 temp: 59.0 C
Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.1.2
compositor: kwin_x11 driver: X: loaded: amdgpu unloaded: modesetting
alternate: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
s-diag: 582mm (22.93")
Monitor-1: DP-2 mapped: DisplayPort-1 model: Samsung C27F398
serial: <filter> built: 2019 res: 1920x1080 hz: 60 dpi: 82 gamma: 1.2
size: 598x336mm (23.54x13.23") diag: 686mm (27") ratio: 16:9 modes:
max: 1920x1080 min: 720x400
API: OpenGL v: 4.6 Mesa 23.1.4 renderer: AMD Radeon RX 580 Series
(polaris10 LLVM 15.0.7 DRM 3.52 6.4.4-AMD-znver2) direct-render: Yes
Audio:
Device-1: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]
vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s
lanes: 16 bus-ID: 09:00.1 chip-ID: 1002:aaf0 class-ID: 0403
Device-2: AMD Starship/Matisse HD Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 0b:00.4 chip-ID: 1022:1487 class-ID: 0403
API: ALSA v: k6.4.4-AMD-znver2 status: kernel-api with: aoss
type: oss-emulator tools: N/A
Server-1: PipeWire v: 0.3.75 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Intel I211 Gigabit Network vendor: ASUSTeK driver: igb v: kernel
pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 04:00.0
chip-ID: 8086:1539 class-ID: 0200
IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
Device-1: Broadcom BCM20702A0 Bluetooth 4.0 driver: btusb v: 0.8 type: USB
rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-2:3 chip-ID: 0a5c:21e8
class-ID: fe01 serial: <filter>
Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
Drives:
Local Storage: total: 12.26 TiB used: 117.03 GiB (0.9%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 970 EVO 1TB
size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: 2B2QEXE7 temp: 43.9 C
scheme: MBR
ID-2: /dev/sda maj-min: 8:0 vendor: Hitachi model: HUS724040ALE641
size: 3.64 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
tech: HDD rpm: 7200 serial: <filter> fw-rev: A5F0
ID-3: /dev/sdb maj-min: 8:16 vendor: PNY model: CS900 240GB SSD
size: 223.57 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
tech: SSD serial: <filter> fw-rev: 0J13 scheme: MBR
ID-4: /dev/sdc maj-min: 8:32 vendor: PNY model: CS900 240GB SSD
size: 223.57 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
tech: SSD serial: <filter> fw-rev: 0J13 scheme: GPT
ID-5: /dev/sdd maj-min: 8:48 vendor: Hitachi model: HUS724040ALE641
size: 3.64 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
tech: HDD rpm: 7200 serial: <filter> fw-rev: A5F0 scheme: MBR
ID-6: /dev/sde maj-min: 8:64 vendor: Western Digital
model: WD40NMZW-11GX6S1 size: 3.64 TiB block-size: physical: 4096 B
logical: 512 B type: USB rev: 3.1 spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1
tech: HDD rpm: 5400 serial: <filter> fw-rev: 4005 scheme: GPT
Partition:
ID-1: / raw-size: 223.57 GiB size: 223.57 GiB (100.00%)
used: 117.03 GiB (52.3%) fs: btrfs dev: /dev/sdb1 maj-min: 8:17
ID-2: /home raw-size: 223.57 GiB size: 223.57 GiB (100.00%)
used: 117.03 GiB (52.3%) fs: btrfs dev: /dev/sdb1 maj-min: 8:17
ID-3: /var/log raw-size: 223.57 GiB size: 223.57 GiB (100.00%)
used: 117.03 GiB (52.3%) fs: btrfs dev: /dev/sdb1 maj-min: 8:17
ID-4: /var/tmp raw-size: 223.57 GiB size: 223.57 GiB (100.00%)
used: 117.03 GiB (52.3%) fs: btrfs dev: /dev/sdb1 maj-min: 8:17
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 31.28 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
Sensors:
System Temperatures: cpu: 45.9 C mobo: N/A gpu: amdgpu temp: 59.0 C
Fan Speeds (RPM): N/A gpu: amdgpu fan: 1050
Info:
Processes: 371 Uptime: 1h 40m wakeups: 0 Memory: total: 32 GiB
available: 31.28 GiB used: 4.89 GiB (15.6%) Init: systemd v: 253
default: graphical tool: systemctl Compilers: gcc: 13.1.1 clang: 15.0.7
Packages: pm: pacman pkgs: 1918 libs: 544
tools: gnome-software,octopi,pamac,paru,yay Shell: fish v: 3.6.1
default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.28

Try other kernel

sudo pacman -S linux-zen linux-zen-headers

and boot it via grub - advanced.

2 Likes

well, i did, i tried several others, none worked. neglected to mention that in my original post. i did however forget to RTFM, and according to Setup · Wiki · CoreCtrl / CoreCtrl · GitLab you must append the following to your /etc/default/grub file specifically the GRUB_CMDLINE_LINUX_DEFAULT= Section;

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.

so to review;

old config of /etc/default/grub

....
GRUB_CMDLINE_LINUX_DEFAULT='quiet quiet rd.udev.log_priority=3 vt.global_cursor_default=0 loglevel=3' # Modified by garuda-migrations: splash

new config of /etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT='quiet quiet rd.udev.log_priority=3 vt.global_cursor_default=0 loglevel=3 amdgpu.ppfeaturemask=0xffffffff' # Modified by garuda-migrations: splash

what was confusing to me, was that i didn't have amdgpu.ppfeaturemask=0xffffffff in my grub file in the previous kernel version. so it wasnt something i thought of right away. is there something missing? either way, its working now for those that google this later!!

Corectrl came with this disro, so i didn't have to pull it from somewhere, and it was able to load/control my timings without the edited grub, but dropped once the kernel was updated. curious as to what that could be and was that by design?