Gamemode is a daemon and library combo for Linux that allows games to request a set of optimisations be temporarily applied to the host OS and/or a game process.
Install and .
Add yourself to the
gamemode user group. Without it, the gamemode user daemon will not have rights to change CPU governor or the niceness of processes.
Gamemode is configured via the following files, which are read and then merged in the following order:
/etc/gamemode.inifor system-wide configuration;
$XDG_CONFIG_HOME/gamemode.inifor user-local configuration;
./gamemode.inifor directory-local configuration.
/usr/share/gamemode/gamemode.ini should not be created by users, as it's reserved for manual configuration by package maintainers. See for more details.
Gamemode can optionally adjust the priority of game processes (see
This is controlled by the following configuration option:
Unlike renicing a process with the
renice command, Gamemode uses a positive value and negates it before applying it to the process, ie, a value of
10 will renice the game process to
Gamemode can optionally overclock your GPU when it is running, but requires special configuration on part of the user.
Independently of the used GPU, the
gpu_device configuration options must be set appropriately.
To alter the performance level of AMD GPUs, overclocking must be manually enabled, and the
amd_performance_level configuration option must be set.
To alter the performance level of NVIDIA GPUs, overclocking must be manually enabled, and the
nv_core_clock_mhz_offset, and the
nv_mem_clock_mhz_offset configuration options must be set.
Verify if the settings in the configuration file are working:
$ gamemoded -t
Run a single game
To run a game with gamemode start it like this:
$ gamemoderun ./game
Use with MangoHud
Verify that gamemode is running
When you have started your game you can verify that gamemode is running with the command:
$ gamemoded -s
Run a single Steam game
To make Steam start a game with gamemode, right click the game in the Library, select Properties..., then in the Launch Options text box enter:
Run Steam with gamemode
To avoid having to change launch options for all Steam games, you may launch Steam directly with gamemode:
$ gamemoderun steam-runtime
The downside of this approach is that gamemode will be running for as long as the Steam process is open, instead of only when a game is opened.