1gamemode-simulate-game(1)gamemode-simulate-game man paggeamemode-simulate-game(1)
2
3
4
6 gamemode-simulate-game - simulate a game using gamemode
7
9 gamemode-simulate-game
10
12 GameMode is a daemon/lib combo for Linux that allows games to request a
13 set of optimisations be temporarily applied to the host OS.
14
15 The design has a clear cut abstraction between the host daemon and li‐
16 brary (gamemoded and libgamemode), and the client loaders (libgamemod‐
17 eauto and gamemode_client.h) that allows for safe usage without worry‐
18 ing about whether the daemon is installed or running. This design also
19 means that while the host library currently relies on systemd for ex‐
20 changing messages with the daemon, it's entirely possible to implement
21 other internals that still work with the same clients.
22
23 GameMode was designed primarily as a stop-gap solution to problems with
24 the Intel and AMD CPU powersave or ondemand governors, but is intended
25 to be expanded beyond just CPU governor states, as there are a wealth
26 of automation tasks one might want to apply.
27
28
30 The executable starts gamemode, sleeps for 10 seconds and stops it. It
31 will exit with zero if everything works fine, else it will print an er‐
32 ror and exit with one.
33
34 To use this with a CI you might need to start a dbus session by hand.
35 This can be done with:
36
37 dbus-run-session -- gamemode-simulate-game
38
39 Note that this might output to stderr, even if it exits with zero.
40
41
43 gamemoded(8), gamemoderun(1), dbus-run-session(1)
44
45
47 GameMode source can be found at https://github.com/FeralInterac‐
48 tive/gamemode.git
49
50
52 Feral Interactive (linux-contact@feralinteractive.com)
53
54
55
561.7 26 May 2020 gamemode-simulate-game(1)