mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-03-28 19:20:16 +00:00
fix: Set GPU scheduler back to RR
This commit is contained in:
parent
d4b587d389
commit
d64208df44
@ -7,7 +7,7 @@ IMAGE_FLAVOR=$(jq -r '."image-flavor"' < $IMAGE_INFO)
|
||||
FEDORA_VERSION=$(jq -r '."fedora-version"' < $IMAGE_INFO)
|
||||
|
||||
# SCRIPT VERSION
|
||||
HWS_VER=30
|
||||
HWS_VER=31
|
||||
HWS_VER_FILE="/etc/bazzite/hws_version"
|
||||
HWS_VER_RAN=$(cat $HWS_VER_FILE)
|
||||
|
||||
@ -156,6 +156,11 @@ if [[ $KARGS =~ "nomodeset" ]]; then
|
||||
NEEDED_KARGS+=("--delete-if-present=nomodeset")
|
||||
fi
|
||||
|
||||
if [[ ! $KARGS =~ "gpu_sched.sched_policy" ]]; then
|
||||
echo "Fixing GPU scheduler default"
|
||||
NEEDED_KARGS+=("--append-if-missing=gpu_sched.sched_policy=0")
|
||||
fi
|
||||
|
||||
if [[ -n "$NEEDED_KARGS" ]]; then
|
||||
echo "Found needed karg changes, applying the following: ${NEEDED_KARGS[*]}"
|
||||
plymouth display-message --text="Updating kargs - Please wait, this may take a while" || true
|
||||
|
Loading…
x
Reference in New Issue
Block a user