gamemoderun(1)
β¨ NAME β¨
gamemoderun β okay bestie, this is literally the little launcher that gets GameMode into any program you want π this is the gamemoderun man page, and we're gonna read it together, no skimming π«Ά
πΈ SYNOPSIS πΈ
gamemoderun PROGRAM
that's it. that's the whole vibe. you hand it a program, it does the thing π
π¦ DESCRIPTION π¦
GameMode is a daemon/lib combo for Linux that lets games request a set of optimisations be temporarily applied to the host OS. it's giving "borrow the whole computer for a sec, pls and thank you" β¨
the design has a clear cut abstraction between the host daemon and library (gamemoded and libgamemode), and the client loaders (libgamemodeauto and gamemode_client.h). and why do we care?? because it means safe usage β you don't have to worry about whether the daemon is even installed or running π this design also means that while the host library currently relies on systemd for exchanging messages with the daemon, it's entirely possible to implement other internals that still work with the same clients. flexible icon behaviour, we love to see it π
GameMode was designed primarily as a stop-gap solution to problems with the Intel and AMD CPU powersave or ondemand governors, but bestie it is intended to be expanded beyond just CPU governor states, because there are a wealth of automation tasks one might want to apply. the vision is huge, fr fr π
π USAGE π
libgamemodeauto.so.0 can be pre-loaded into any program to request gamemoded begin or end the mode. like so π
gamemoderun ./game
or by setting the Steam launch options for a game:
gamemoderun %command%
and if you're feeling very manual-main-character, the library can be manually preloaded if needed:
LD_PRELOAD=$LD_PRELOAD:/usr/\$LIB/libgamemodeauto.so.0 ./game
π CONFIG π
it is possible to set additional start commands to gamemoderun by setting the environment variable:
GAMEMODERUNEXEC="command"
when this is set, gamemoderun will execute the command given by that environment variable, and the command line passed to gamemoderun will be passed as arguments to that command. π§
heads up bestie: GameMode will not be applied to the wrapper command β just the game itself. periodt π
β SEE ALSO β
gamemoded(8)β go read the daemon's page too, iykyk π
π₯ ABOUT π₯
GameMode source can be found at:
https://github.com/FeralInteractive/gamemode.git
go star it, it's iconic π
π AUTHOR π
Feral Interactive (linux-contact@feralinteractive.com)
okay that's the whole page bestie, you're officially gamemode-literate now πΈ this was the gamemoderun man page, version 1.8.1, dated 4 May 2020 β slay, go run your games π
β¨
π¦ where this page comes from
- debian trixie: gamemode 1.8.2-2 Β· BSD-3-Clause
- opensuse-leap 16.0: gamemode 1.8.2-bp160.1.14 Β· BSD-3-Clause
- opensuse-leap 16.0: gamemode 1.8.2-bp160.1.14 Β· BSD-3-Clause
- opensuse-leap 16.0: gamemode 1.8.2-bp160.1.14 Β· BSD-3-Clause
- opensuse-leap 16.0: gamemode 1.8.2-bp160.1.14 Β· BSD-3-Clause
- ubuntu noble: gamemode 1.8.1-2build1 Β· BSD-3-Clause
- ubuntu questing: gamemode 1.8.2-2
- ubuntu resolute: gamemode 1.8.2-2build1 Β· BSD-3-Clause
- ubuntu stonking: gamemode 1.8.2-2build1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms