From c1e62092c9af8944133e67583c9e98630e71558f Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Tue, 24 Sep 2024 00:50:03 -0700 Subject: [PATCH] feat: Switch back to TuneD ahead of F41 --- Containerfile | 15 +++++++++++++++ README.md | 1 + 2 files changed, 16 insertions(+) diff --git a/Containerfile b/Containerfile index 60713b71..204c1f4f 100644 --- a/Containerfile +++ b/Containerfile @@ -383,6 +383,13 @@ RUN --mount=type=cache,dst=/var/cache/rpm-ostree \ firefox \ firefox-langpacks \ htop && \ + rpm-ostree override remove \ + power-profiles-daemon \ + || true && \ + rpm-ostree override remove \ + tlp \ + tlp-rdw \ + || true && \ /usr/libexec/containerbuild/cleanup.sh && \ ostree container commit @@ -400,6 +407,12 @@ RUN --mount=type=cache,dst=/var/cache/rpm-ostree \ compsize \ ryzenadj \ input-remapper \ + tuned \ + tuned-ppd \ + tuned-utils \ + tuned-gtk \ + tuned-profiles-atomic \ + tuned-profiles-cpu-partitioning \ i2c-tools \ udica \ ladspa-caps-plugins \ @@ -452,6 +465,7 @@ RUN --mount=type=cache,dst=/var/cache/rpm-ostree \ sed -i 's/max_cpu_load_percent.*/max_cpu_load_percent = 100.0/' /etc/ublue-update/ublue-update.toml && \ sed -i 's/max_mem_percent.*/max_mem_percent = 90.0/' /etc/ublue-update/ublue-update.toml && \ sed -i 's/dbus_notify.*/dbus_notify = false/' /etc/ublue-update/ublue-update.toml && \ + sed -i 's@Name=tuned-gui@Name=TuneD Manager@g' /usr/share/applications/tuned-gui.desktop && \ curl -Lo /usr/bin/installcab https://raw.githubusercontent.com/KyleGospo/steam-proton-mf-wmv/master/installcab.py && \ chmod +x /usr/bin/installcab && \ curl -Lo /usr/bin/install-mf-wmv https://github.com/KyleGospo/steam-proton-mf-wmv/blob/master/install-mf-wmv.sh && \ @@ -733,6 +747,7 @@ RUN rm -f /etc/profile.d/toolbox.sh && \ sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/rpmfusion-nonfree-updates-testing.repo && \ mkdir -p /etc/flatpak/remotes.d && \ curl -Lo /etc/flatpak/remotes.d/flathub.flatpakrepo https://dl.flathub.org/repo/flathub.flatpakrepo && \ + systemctl enable tuned.service && \ systemctl enable brew-dir-fix.service && \ systemctl enable brew-setup.service && \ systemctl disable brew-upgrade.timer && \ diff --git a/README.md b/README.md index c12eb386..02d25f98 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,7 @@ Bazzite is built from [ublue-os/main](https://github.com/ublue-os/main) and [ubl - Includes Valve's KDE themes from SteamOS. - Features optional Valve-inspired GTK3/4 themes matching Vapor and VGUI2 from SteamOS. Install [Gradience](https://flathub.org/apps/com.github.GradienceTeam.Gradience) to make use of them. - [LatencyFleX](https://github.com/ishitatsuyuki/LatencyFleX), [vkBasalt](https://github.com/DadSchoorse/vkBasalt), [MangoHud](https://github.com/flightlessmango/Mangohud), and [OBS VkCapture](https://github.com/nowrep/obs-vkcapture) installed and available by default +- Uses [TuneD](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/monitoring_and_managing_system_status_and_performance/getting-started-with-tuned_monitoring-and-managing-system-status-and-performance) in place of PPD, with full integration into GNOME, KDE, and Game mode. This is an incredibly powerful tool that RedHat offers [entire classes on](https://www.redhat.com/en/services/training/rh442-red-hat-enterprise-performance-tuning). - [Patched Switcheroo-Control](https://copr.fedorainfracloud.org/coprs/sentry/switcheroo-control_discrete/) fixing default-broken iGPU/dGPU switching. - Support for [Wallpaper Engine](https://www.wallpaperengine.io/en). (Only on KDE) - [ROM Properties Page shell extension](https://github.com/GerbilSoft/rom-properties) included.