feat(desktop): Switch from CoreCtrl to LACT as the default AMD overclocking solution.

This commit is contained in:
Kyle Gospodnetich 2023-11-26 15:58:19 -08:00
parent 90a2fbf7d4
commit 6df03b50d1
2 changed files with 12 additions and 6 deletions

View File

@ -83,7 +83,7 @@ screens:
show_terminal: true
package_manager: yafti.plugin.run
packages:
- CoreCtrl (GPU Overclocking): ujust install-corectrl
- LACT (GPU Overclocking): ujust install-lact
nvidia-additions:
source: yafti.screen.package
values:

View File

@ -38,13 +38,19 @@ autostart-sunshine:
#!/usr/bin/env bash
systemctl enable --user --now sunshine.service
# Install CoreCtrl for overclocking & undervolting AMD GPUs
install-corectrl:
echo 'Installing CoreCtrl...'
# Install LACT for overclocking & undervolting AMD GPUs
install-lact:
echo 'Installing LACT...'
ublue-update --wait
rpm-ostree install corectrl
echo 'Setting needed kargs for CoreCtrl...'
wget \
$(curl -s https://api.github.com/repos/ilya-zlobintsev/LACT/releases/latest | \
jq -r ".assets[] | select(.name | test(\"lact-.*fedora-$(rpm -E %fedora)\")) | .browser_download_url") \
-P /tmp/lact.rpm
rpm-ostree install /tmp/lact.rpm
rm /tmp/lact.rpm
echo 'Setting needed kargs for LACT...'
rpm-ostree kargs --append="amdgpu.ppfeaturemask=0xffffffff"
echo 'Done. Be sure to enable LACT with sudo systemctl enable --now lactd after you reboot.'
# Install OpenRazer for Razer gaming hardware
install-openrazer: