mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-03-29 22:20:21 +00:00
feat(desktop): Switch from CoreCtrl to LACT as the default AMD overclocking solution.
This commit is contained in:
parent
90a2fbf7d4
commit
6df03b50d1
@ -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:
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user