gamemoderun(1)

πŸ“¦
version 1.8.2 Β· 4 versions
, in debian trixie, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ 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 πŸ’…βœ¨