mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-04 02:40:05 +00:00
feat(deck): Improve default CPU frequency behavior on Galileo & Jupiter
This commit is contained in:
parent
6fcd085db4
commit
7cd4ea1e80
@ -7,7 +7,7 @@ IMAGE_FLAVOR=$(jq -r '."image-flavor"' < $IMAGE_INFO)
|
|||||||
FEDORA_VERSION=$(jq -r '."fedora-version"' < $IMAGE_INFO)
|
FEDORA_VERSION=$(jq -r '."fedora-version"' < $IMAGE_INFO)
|
||||||
|
|
||||||
# SCRIPT VERSION
|
# SCRIPT VERSION
|
||||||
HWS_VER=46
|
HWS_VER=47
|
||||||
HWS_VER_FILE="/etc/bazzite/hws_version"
|
HWS_VER_FILE="/etc/bazzite/hws_version"
|
||||||
HWS_VER_RAN=$(cat $HWS_VER_FILE)
|
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")
|
NEEDED_KARGS+=("--append-if-missing=amdgpu.gttsize=8128")
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ ! $KARGS =~ "amd_pstate" ]]; then
|
||||||
|
NEEDED_KARGS+=("--append-if-missing=amd_pstate=passive")
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $IMAGE_NAME =~ "deck" && ":AOKZOE A1 AR07:" =~ ":$SYS_ID:" ]]; then
|
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..."
|
echo "Jupiter with 32GB RAM detected, disabling BIOS updates..."
|
||||||
systemctl disable --now jupiter-biosupdate.service
|
systemctl disable --now jupiter-biosupdate.service
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
systemctl enable --now scx.service
|
||||||
fi
|
fi
|
||||||
|
|
||||||
systemctl enable --now jupiter-fan-control.service
|
systemctl enable --now jupiter-fan-control.service
|
||||||
|
Loading…
Reference in New Issue
Block a user