feat(deck): Improve default CPU frequency behavior on Galileo & Jupiter

This commit is contained in:
Kyle Gospodnetich 2024-08-06 14:08:02 -07:00
parent 6fcd085db4
commit 7cd4ea1e80

View File

@ -7,7 +7,7 @@ IMAGE_FLAVOR=$(jq -r '."image-flavor"' < $IMAGE_INFO)
FEDORA_VERSION=$(jq -r '."fedora-version"' < $IMAGE_INFO)
# SCRIPT VERSION
HWS_VER=46
HWS_VER=47
HWS_VER_FILE="/etc/bazzite/hws_version"
HWS_VER_RAN=$(cat $HWS_VER_FILE)
@ -49,6 +49,10 @@ if /usr/libexec/hwsupport/valve-hardware; then
NEEDED_KARGS+=("--append-if-missing=amdgpu.gttsize=8128")
fi
fi
if [[ ! $KARGS =~ "amd_pstate" ]]; then
NEEDED_KARGS+=("--append-if-missing=amd_pstate=passive")
fi
fi
if [[ $IMAGE_NAME =~ "deck" && ":AOKZOE A1 AR07:" =~ ":$SYS_ID:" ]]; then
@ -163,6 +167,8 @@ if [[ $IMAGE_NAME =~ "deck" || $IMAGE_NAME =~ "ally" ]]; then
echo "Jupiter with 32GB RAM detected, disabling BIOS updates..."
systemctl disable --now jupiter-biosupdate.service
fi
systemctl enable --now scx.service
fi
systemctl enable --now jupiter-fan-control.service