From c0b853aac6d6880b0937323709d468459acf4c06 Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Thu, 18 Jan 2024 12:00:03 -0800 Subject: [PATCH] feat: Add TuneD in place of PPD --- Containerfile | 18 +++++++++++++++++- README.md | 2 ++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/Containerfile b/Containerfile index 99d1593c..c8c22fdb 100644 --- a/Containerfile +++ b/Containerfile @@ -183,7 +183,14 @@ RUN rpm-ostree override remove \ ublue-os-update-services \ firefox \ firefox-langpacks \ - htop + htop && \ + rpm-ostree override remove \ + power-profiles-daemon \ + || true && \ + rpm-ostree override remove \ + tlp \ + tlp-rdw \ + || true # Install new packages RUN rpm-ostree install \ @@ -198,6 +205,13 @@ RUN rpm-ostree install \ compsize \ input-remapper \ system76-scheduler \ + tuned \ + tuned-ppd \ + tuned-utils \ + tuned-utils-systemtap \ + tuned-gtk \ + tuned-profiles-atomic \ + tuned-profiles-cpu-partitioning \ powertop \ hl2linux-selinux \ joycond \ @@ -232,6 +246,7 @@ RUN rpm-ostree install \ gum \ setools \ redhat-lsb-core && \ + sed -i 's@Name=tuned-gui@Name=TuneD Manager@g' /usr/share/applications/tuned-gui.desktop && \ ln -s /usr/share/fonts/google-noto-sans-cjk-fonts /usr/share/fonts/noto-cjk && \ wget https://raw.githubusercontent.com/KyleGospo/steam-proton-mf-wmv/master/installcab.py -O /usr/bin/installcab && \ wget https://github.com/KyleGospo/steam-proton-mf-wmv/blob/master/install-mf-wmv.sh -O /usr/bin/install-mf-wmv && \ @@ -443,6 +458,7 @@ RUN /tmp/image-info.sh && \ mkdir -p /usr/etc/flatpak/remotes.d && \ wget -q https://dl.flathub.org/repo/flathub.flatpakrepo -P /usr/etc/flatpak/remotes.d && \ systemctl enable com.system76.Scheduler.service && \ + systemctl enable tuned.service && \ systemctl enable btrfs-dedup@var-home.timer && \ systemctl enable displaylink.service && \ systemctl enable input-remapper.service && \ diff --git a/README.md b/README.md index bdd38f02..0f5301f8 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,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 Red Hat offers [entire classes on](https://www.redhat.com/en/services/training/rh442-red-hat-enterprise-performance-tuning). - Support for [Wallpaper Engine](https://www.wallpaperengine.io/en). (Only on KDE) - [ROM Properties Page shell extension](https://github.com/GerbilSoft/rom-properties) included. - Full support for [Winesync/Fastsync/NTsync](https://github.com/Frogging-Family/wine-tkg-git/issues/936). @@ -264,6 +265,7 @@ Ported SteamOS and ChimeraOS packages, among others used by Bazzite, are built o | steamdeck-kde-presets | ![Build Status](https://copr.fedorainfracloud.org/coprs/kylegospo/bazzite/package/steamdeck-kde-presets/status_image/last_build.png?) | | steamdeck-kde-presets-desktop | ![Build Status](https://copr.fedorainfracloud.org/coprs/kylegospo/bazzite/package/steamdeck-kde-presets-desktop/status_image/last_build.png?) | | steam_notif_daemon | ![Build Status](https://copr.fedorainfracloud.org/coprs/kylegospo/bazzite/package/steam_notif_daemon/status_image/last_build.png?) | +| [tuned](https://github.com/redhat-performance/tuned)-ppd | ![Build Status](https://copr.fedorainfracloud.org/coprs/kylegospo/bazzite/package/tuned/status_image/last_build.png?) | udisks2 | ![Build Status](https://copr.fedorainfracloud.org/coprs/kylegospo/bazzite/package/udisks2/status_image/last_build.png?) | | upower | ![Build Status](https://copr.fedorainfracloud.org/coprs/kylegospo/bazzite/package/upower/status_image/last_build.png?) | | vpower | ![Build Status](https://copr.fedorainfracloud.org/coprs/kylegospo/bazzite/package/vpower/status_image/last_build.png?) |