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
16 library (gamemoded and libgamemode), and the client loaders (libgamemo‐
17 deauto 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
20 exchanging messages with the daemon, it's entirely possible to imple‐
21 ment 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
32 error 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.6-dev 26 May 2020 gamemode-simulate-game(1)