Can't undervolt in lact nor corectrl

Can’t enable the options to undervolt my gpu because lact says :“Could not determine initramfs type, manual initramfs regeneration may be required.”

But when i try to do that it says dracut[F]: Can't write to /boot/ff9d86720f2c49aeab9c0e42ccb7ad09/6.12.8-201.bazzite.fc41.x86_64: Directory /boot/ff9d86720f2c49aeab9c0e42ccb7ad09/6.12.8-201.bazzite.fc41.x86_64 does not exist or is not accessible.

Then out of frustration for no solution i thought i’d install and configure corectrl following a comment on this post here

To add to my frustration corectrl does not wanna work as intended as well and won’t let me undervolt my gpu. When i try to run the commands again i get hit with No changes.

Yes i have tried uninstalling and reinstalling both of them.

I would really appreciate if anyone here has a solution to either of my problems.

you need the amdgpu ppfeaturemask for overclocking controls to be available (including volt controls) if your gpu is an amd card
rpm-ostree kargs --append-if-missing=$(printf 'amdgpu.ppfeaturemask=0x%x\n' "$(($(cat /sys/module/amdgpu/parameters/ppfeaturemask) | 0x4000))")

if you have a different gpu i dont know what those require

Ran that command, terminal said “No changes.” again. And yes i use a AMD RX 7600xt.

rpm-ostree kargs what does that say

rhgb quiet root=UUID=072bb06b-62d1-4857-9412-b9d1b7c28c5f rootflags=subvol=root rw ostree=/ostree/boot.1/default/f034e442f8d319e808849dd72c708ce264f4163db0c3fc4a58d0968ea1d1a838/0 bluetooth.disable_ertm=1 preempt=full amdgpu.ppfeaturemask=0xfff7ffff amdgpu.ppfeaturemask=0xfff7bfff

might be because its added 2 times

rpm-ostree kargs --delete=amdgpu.ppfeaturemask
rpm-ostree kargs --append-if-missing=$(printf 'amdgpu.ppfeaturemask=0x%x\n' "$(($(cat /sys/module/amdgpu/parameters/ppfeaturemask) | 0x4000))")

other than that i have no idea why it wont work for you

First line of your commands gives me the following error: error: Multiple values for key 'amdgpu.ppfeaturemask' found

manually remove the double entries with EDITOR=nano rpm-ostree kargs --editor
use CTRL+X to exit and save when prompted once youre done

Done. System also prompted me to reboot, which i did.

rpm-ostree kargs

now outputs

rhgb quiet root=UUID=072bb06b-62d1-4857-9412-b9d1b7c28c5f rootflags=subvol=root rw bluetooth.disable_ertm=1 preempt=full ostree=/ostree/boot.0/default/f034e442f8d319e808849dd72c708ce264f4163db0c3fc4a58d0968ea1d1a838/0

now run

rpm-ostree kargs --append-if-missing=$(printf 'amdgpu.ppfeaturemask=0x%x\n' "$(($(cat /sys/module/amdgpu/parameters/ppfeaturemask) | 0x4000))")

and reboot see if that helps

other than that i dont know as everything else should be there

It worked! thank you so much!

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