6 Commits

Author SHA1 Message Date
Marc Di Luzio
21b8ec76dc Restart the service in bootstrap.sh 2018-05-16 08:47:26 +01:00
Marc Di Luzio
5d113b8e9f Correct a comment 2018-05-11 14:25:02 +01:00
Marc Di Luzio
9aacadb56b Warn users if no governor is found so they spot issues sooner
See issue 44
2018-05-11 08:53:42 +01:00
Casper
8dfbaba288 Prevent running bootstrap.sh as root 2018-04-11 09:58:22 +01:00
Ikey Doherty
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
Marc Di Luzio
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