Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Conner Clere (508b401c52527c8dcafd046e9865fb68947992a2)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Conner Clere <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Conner Clere (508b401c52527c8dcafd046e9865fb68947992a2)
  • Date: Thu, 18 Jan 2024 00:47:48 +0000

GIT changes to master grimoire by Conner Clere <xenanthropy AT sourcemage.org>:

ChangeLog | 1 +
utils/gamemode/CONFIGURE | 1 +
utils/gamemode/DEPENDS | 13 +++++++++++++
utils/gamemode/DETAILS | 30 ++++++++++++++++++++++++++++++
utils/gamemode/HISTORY | 3 +++
utils/gamemode/PRE_BUILD | 3 +++
6 files changed, 51 insertions(+)

New commits:
commit 508b401c52527c8dcafd046e9865fb68947992a2
Author: Conner Clere <xenanthropy AT sourcemage.org>
Commit: Conner Clere <xenanthropy AT sourcemage.org>

utils/gamemode: new spell, version 1.8.1

linux performance optimization on-demand, mainly for gaming purposes

diff --git a/ChangeLog b/ChangeLog
index 50a67a9..146741f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,7 @@
* fonts-x11/ttf-nerdfonts-symbols: new spell, standalone nerdfonts
symbols
* python-pypi/gi-docgen: new spell, doc generator for gobject libs
* kernels/dkms: new spell, dynamic kernel module support
+ * utils/gamemode: new spell, system performance optimizer for gaming

2024-01-16 Conner Clere <xenanthropy AT sourcemage.org>
* vulkan/shaderc: new spell, tools and libs for vulkan shader
compilation
diff --git a/utils/gamemode/CONFIGURE b/utils/gamemode/CONFIGURE
new file mode 100755
index 0000000..9f48d22
--- /dev/null
+++ b/utils/gamemode/CONFIGURE
@@ -0,0 +1 @@
+. "${GRIMOIRE}/MESON_CONFIGURE"
diff --git a/utils/gamemode/DEPENDS b/utils/gamemode/DEPENDS
new file mode 100755
index 0000000..a4630cd
--- /dev/null
+++ b/utils/gamemode/DEPENDS
@@ -0,0 +1,13 @@
+. "${GRIMOIRE}/MESON_DEPENDS" &&
+depends PKG-CONFIG &&
+depends inih &&
+depends dbus
+
+optional_depends systemd \
+ 'with-sd-bus-provider=systemd' \
+ 'with-sd-bus-provider=elogind' \
+ 'Use systemd over elogind?' &&
+
+if ! is_depends_enabled $SPELL systemd; then
+ depends elogind
+fi
diff --git a/utils/gamemode/DETAILS b/utils/gamemode/DETAILS
new file mode 100755
index 0000000..308e792
--- /dev/null
+++ b/utils/gamemode/DETAILS
@@ -0,0 +1,30 @@
+. "${GRIMOIRE}/MESON_FUNCTIONS"
+ SPELL=gamemode
+ VERSION=1.8.1
+ SOURCE=$SPELL-$VERSION.tar.xz
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+
SOURCE_URL[0]=https://github.com/FeralInteractive/${SPELL}/releases/download/$VERSION/$SOURCE
+
SOURCE_HASH=sha512:7bfe7d34b422a87c2f53e69b44649a1aca7eba9fb08daa52e7e2f521fea0744e8f03b666c4dd684ad85ccadde20bc2edfb716d67a103629baa690051b8836554
+ LICENSE[0]=BSD
+ WEB_SITE=https://github.com/FeralInteractive/gamemode
+ ENTERED=20240117
+ KEYWORDS="utils steam games"
+ SHORT="optimise linux system performance on demand"
+cat << EOF
+GameMode is a daemon/lib combo for Linux that allows games to request a set
of
+optimisations be temporarily applied to the host OS and/or a game process.
+
+GameMode was designed primarily as a stop-gap solution to problems with the
+Intel and AMD CPU powersave or ondemand governors, but is now host to a
+range of optimisation features and configurations.
+
+Currently GameMode includes support for optimisations including:
+
+ CPU governor
+ I/O priority
+ Process niceness
+ Kernel scheduler (SCHED_ISO)
+ Screensaver inhibiting
+ GPU performance mode (NVIDIA and AMD), GPU overclocking (NVIDIA)
+ Custom scripts
+EOF
diff --git a/utils/gamemode/HISTORY b/utils/gamemode/HISTORY
new file mode 100644
index 0000000..899e34b
--- /dev/null
+++ b/utils/gamemode/HISTORY
@@ -0,0 +1,3 @@
+2024-01-17 Conner Clere <xenanthropy AT sourcemage.org>
+ * BUILD, DEPENDS, CONFIGURE, DETAILS: version 1.8.1, new spell
+
diff --git a/utils/gamemode/PRE_BUILD b/utils/gamemode/PRE_BUILD
new file mode 100755
index 0000000..778341c
--- /dev/null
+++ b/utils/gamemode/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd "${SOURCE_DIRECTORY}" &&
+sed -i '14d' meson.build



  • [SM-Commit] GIT changes to master grimoire by Conner Clere (508b401c52527c8dcafd046e9865fb68947992a2), Conner Clere, 01/17/2024

Archive powered by MHonArc 2.6.24.

Top of Page