How To Install gamemode on Fedora 34

gamemode is Optimize system performance for games on demand Optimize system performance for games on demand

Introduction

In this tutorial we learn how to install gamemode on Fedora 34.

What is gamemode

GameMode is a daemon/lib combo for GNU/Linux that allows games to request a set of optimizations be temporarily applied to the host OS. 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, like tweaking various settings kernel scheduler, the GPU performance mode and gpu overclocking (NVIDIA). It can also excute custom scripts when launching games. gamemode 1.6 2.fc34 x86_64 97 k gamemode-1.6-2.fc34.src.rpm fedora Optimize system performance for games on demand https BSD GameMode is a daemon/lib combo for GNU/Linux that allows games to request a set of optimizations be temporarily applied to the host OS. 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, like tweaking various settings kernel scheduler, the GPU performance mode and gpu overclocking (NVIDIA). It can also excute custom scripts when launching games.

We can use yum or dnf to install gamemode on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install gamemode.

Install gamemode on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install gamemode using dnf by running the following command:

sudo dnf -y install gamemode

Install gamemode on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install gamemode using yum by running the following command:

sudo yum -y install gamemode

How To Uninstall gamemode on Fedora 34

To uninstall only the gamemode package we can use the following command:

sudo dnf remove gamemode

gamemode Package Contents on Fedora 34

/usr/bin/gamemode-simulate-game
/usr/bin/gamemoded
/usr/bin/gamemoderun
/usr/lib/.build-id
/usr/lib/.build-id/19
/usr/lib/.build-id/19/634b5560bd7abca72d5441b9ee0744655ee072
/usr/lib/.build-id/5e
/usr/lib/.build-id/5e/7d9ed2aaf796c4eef6e10af50a8e5d13b7cc37
/usr/lib/.build-id/99
/usr/lib/.build-id/99/ac84bae17bc785d05917056c08d4aa7bb89663
/usr/lib/.build-id/a3
/usr/lib/.build-id/a3/0487796aaa7ed86c027bcd01d5ba0e3a08820c
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/9739665261e309ea7adc799d3d0f0aa3d9642d
/usr/lib/.build-id/d5
/usr/lib/.build-id/d5/2d5977f336c21f9e8437097a36bf3a7adf19db
/usr/lib/libgamemode.so
/usr/lib/libgamemode.so.0
/usr/lib/libgamemode.so.0.0.0
/usr/lib/libgamemodeauto.so
/usr/lib/libgamemodeauto.so.0
/usr/lib/libgamemodeauto.so.0.0.0
/usr/lib/systemd/user/gamemoded.service
/usr/libexec/cpugovctl
/usr/libexec/gpuclockctl
/usr/share/dbus-1/services/com.feralinteractive.GameMode.service
/usr/share/doc/gamemode
/usr/share/doc/gamemode/README.md
/usr/share/gamemode/gamemode.ini
/usr/share/licenses/gamemode
/usr/share/licenses/gamemode/LICENSE.txt
/usr/share/man/man1/gamemode-simulate-game.1.gz
/usr/share/man/man1/gamemoderun.1.gz
/usr/share/man/man8/gamemoded.8.gz
/usr/share/metainfo/io.github.feralinteractive.gamemode.metainfo.xml
/usr/share/polkit-1/actions/com.feralinteractive.GameMode.policy
/usr/bin/gamemode-simulate-game
/usr/bin/gamemoded
/usr/bin/gamemoderun
/usr/lib/.build-id
/usr/lib/.build-id/25
/usr/lib/.build-id/25/5edff1e671d99e777bf27e229683b89a211915
/usr/lib/.build-id/3d
/usr/lib/.build-id/3d/5147875e9804429ec2e4b4d04fec8a9cf45cdc
/usr/lib/.build-id/41
/usr/lib/.build-id/41/e6851aa3f923f61ddaa2fc0120c03db909c314
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/970961b6ed7e61b23bbfe5352a9a92c3e5d0a8
/usr/lib/.build-id/8e
/usr/lib/.build-id/8e/99f02c8fb664ee902fbe5b3f68e9bdad9b7f8e
/usr/lib/.build-id/94
/usr/lib/.build-id/94/a48810a9a22d389f9edd5a07694c083a0b808f
/usr/lib/systemd/user/gamemoded.service
/usr/lib64/libgamemode.so
/usr/lib64/libgamemode.so.0
/usr/lib64/libgamemode.so.0.0.0
/usr/lib64/libgamemodeauto.so
/usr/lib64/libgamemodeauto.so.0
/usr/lib64/libgamemodeauto.so.0.0.0
/usr/libexec/cpugovctl
/usr/libexec/gpuclockctl
/usr/share/dbus-1/services/com.feralinteractive.GameMode.service
/usr/share/doc/gamemode
/usr/share/doc/gamemode/README.md
/usr/share/gamemode/gamemode.ini
/usr/share/licenses/gamemode
/usr/share/licenses/gamemode/LICENSE.txt
/usr/share/man/man1/gamemode-simulate-game.1.gz
/usr/share/man/man1/gamemoderun.1.gz
/usr/share/man/man8/gamemoded.8.gz
/usr/share/metainfo/io.github.feralinteractive.gamemode.metainfo.xml
/usr/share/polkit-1/actions/com.feralinteractive.GameMode.policy

References

Summary

In this tutorial we learn how to install gamemode on Fedora 34 using yum and dnf.