File tree 2 files changed +10
-1
lines changed
system_files/desktop/shared/usr
2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 1
1
[Unit]
2
2
Description =Configure Bazzite for current hardware
3
- After =rpm-ostreed.service
3
+ After =rpm-ostreed.service tuned.service
4
4
Before =systemd-user-sessions.service jupiter-biosupdate.service jupiter-controller-update.service
5
5
6
6
[Service]
Original file line number Diff line number Diff line change @@ -246,6 +246,15 @@ else
246
246
echo " No minimum-free ZRAM changes needed"
247
247
fi
248
248
249
+ # NO-PSTATE FIX
250
+ if grep -q " acpi-cpufreq" <<< " $(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver)" ; then
251
+ sed -i ' s/balanced=balanced/balanced=balanced-no-pstate/g' /etc/tuned/ppd.conf
252
+ tuned-adm profile balanced-no-pstate
253
+ else
254
+ sed -i ' s/balanced=balanced-no-pstate/balanced=balanced/g' /etc/tuned/ppd.conf
255
+ tuned-adm profile balanced
256
+ fi
257
+
249
258
# HOSTNAME FIX
250
259
# If the hostname is too long Distrobox will fail during setup
251
260
# Let's check the length and reset it to something sensible if that happens.
You can’t perform that action at this time.
0 commit comments