mirror of
https://github.com/ilya-zlobintsev/LACT.git
synced 2026-11-03 12:50:31 -06:00
* migrate wiki * update Readme * try different width * upd * upd link in about-dialog * move wiki from dedicated folder
2.1 KiB
2.1 KiB
Overclocking functionality (called Overdrive) is disabled by default in the amdgpu driver. It is required to use the following functionality:
- Clocks and voltage configuration
- Power cap configuration beyond the default value
- Fan control (RDNA3+, older generations don't need overdrive for this)
Enabling overdrive requires the ppfeaturemask option to be set in the amdgpu driver. There are 2 way to do it:
- For mainstream Linux distributions, you can use the "Enable Overclocking" button in the OC page of the LACT UI. It will automatically create a file with the required setting in
/etc/modprobe.dand regenerate the initramfs to include it. This has been tested to work with the default setup on Debian, Fedora, and Arch-based systems.- This option will not work on distributions that aren't explicitly supported, or if you have a non-standard initramfs configuration.
- If this fails, try the boot parameter option.
- Add the setting as a boot parameter. You need to add
amdgpu.ppfeaturemask=0xffffffffas a kernel parameter in the boot options. The exact procedure for how to do this will depend on your distro.
To disable overdrive:
- If you enabled it through LACT, select the "disable overclocking" option in the dropdown menu.
- If you set the boot option yourself, remove it.
NixOS
To enable overdrive on NixOS, you can set the following flag in system configuration:
hardware.amdgpu.overdrive.enable = true;
Fedora Atomic (Silverblue, Kionite, Bazzite etc)
Note: if you're using Bazzite, overdrive is enabled automatically when you run ujust install-lact
Enable overdrive:
rpm-ostree kargs --append-if-missing=$(printf 'amdgpu.ppfeaturemask=0x%x\n' "$(($(cat /sys/module/amdgpu/parameters/ppfeaturemask) | 0x4000))")
Disable overdrive:
rpm-ostree kargs --delete-if-present=$(printf 'amdgpu.ppfeaturemask=0x%x\n' "$(($(cat /sys/module/amdgpu/parameters/ppfeaturemask) | 0x4000))")