Commit Graph

11 Commits

Author SHA1 Message Date
7ede50af39 Make sure we actually build the examples in the travis tests
Otherwise failing changes to gamemode_client.h risk passing
2019-05-15 18:56:14 +01:00
c0ffecae43 Build with optimizations 2019-03-19 10:38:49 +02:00
206700919c Only request input if we're not travis 2019-01-28 18:57:56 +00:00
55a3dea992 bootstrap.sh: configurable prefix path 2018-12-02 09:22:06 +05:30
3b586dcc54 Don't explicitly enable the systemd service after installing
Commit 432a21f5 makes the service D-Bus activated so there's no need to
enable it explicitly.
2018-07-04 09:41:47 +01:00
21b8ec76dc Restart the service in bootstrap.sh 2018-05-16 08:47:26 +01:00
5d113b8e9f Correct a comment 2018-05-11 14:25:02 +01:00
9aacadb56b Warn users if no governor is found so they spot issues sooner
See issue 44
2018-05-11 08:53:42 +01:00
8dfbaba288 Prevent running bootstrap.sh as root 2018-04-11 09:58:22 +01:00
1328e07f86 Split meson up to be more modular
This also explicitly constructs reusable library components to make it
easier to extend the project over time. Notably we make less assumptions
about the host system and use pkgconfig where appropriate to give us
system details, such as the systemd system unit directory for packaging.
This can be overriden with the meson option.

Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2018-03-05 17:32:01 +00:00
c459c05076 Initial 0.1 commit
This is a small daemon/libary to enable games to request a
performance "game mode" from the system.

Currently only implemented to upgrade the CPU governor and
automatically downgrade it once done.

A game only needs to load libgamemodeauto to activate the request.
Which means an LD_PRELOAD can be applied to any game to activate
the mode as needed.

However gamemode_client.h can be used to manually activate/deactivate
the mode as needed, and also perform error checking.

The libs are miminal loaders to call into an installed libgamemode
which, if the daemon is installed and running, will send through
the equivelant game mode request, and magic will happen.

See the README.md for more details.

Currently licensed under the BSD 3 clause license.
2018-03-05 17:32:01 +00:00