gamemoderun
Invoke a program with GameMode optimizations for better game performance
TLDR
SYNOPSIS
gamemoderun program [args...]
DESCRIPTION
gamemoderun is a helper that launches the given program under GameMode. GameMode is a daemon and library combination for Linux that requests temporary system optimizations (such as CPU governor changes, I/O priority, process niceness, screensaver inhibiting, GPU performance modes, and optional custom scripts) while a game or other performance-sensitive application is running.It works by preloading `libgamemodeauto.so.0`, which communicates with the `gamemoded` daemon. The design cleanly separates the client from the daemon so games can safely request mode without hard dependencies.gamemoderun is the recommended way to launch games that do not integrate the GameMode client library directly. It is commonly used in Steam launch options and desktop launchers.
PARAMETERS
gamemoderun itself takes no flags; it executes its arguments under GameMode via `LD_PRELOAD`.GAMEMODERUNEXEC
Environment variable. If set, gamemoderun runs this command (or command prefix) and passes the original program and arguments to it. Useful for hybrid-GPU wrappers (`optirun`, `env DRI_PRIME=1`, NVIDIA prime offload env) or other launch helpers. GameMode is injected into the final game process, not into the wrapper itself. May be set globally (e.g. in `/etc/environment`).
INSTALL
CAVEATS
GameMode optimizations are best-effort and depend on the host configuration and privileges. On some systems the CPU governor changes may be restricted. The daemon must be installed and running (or activatable via user service) for optimizations to apply; missing daemon still allows the game to start.
