Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 652906 - sys-power/gamemode - Optimise Linux system performance on demand
Summary: sys-power/gamemode - Optimise Linux system performance on demand
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Default Assignee for New Packages
URL: https://github.com/FeralInteractive/g...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2018-04-10 11:30 UTC by egon2003
Modified: 2018-09-24 06:34 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gamemode-1.0.ebuild (gamemode-1.0.ebuild,1.17 KB, text/plain)
2018-04-10 11:30 UTC, egon2003
Details
gamemode-1.1.ebuild (gamemode-1.1.ebuild,1.18 KB, text/plain)
2018-05-17 18:09 UTC, egon2003
Details
gamemode-1.1.ebuild (gamemode-1.1.ebuild,1.14 KB, text/plain)
2018-05-17 18:15 UTC, egon2003
Details
app-admin/gamermode-1.2.ebuild (gamemode-1.2.ebuild,1.14 KB, text/plain)
2018-07-23 15:13 UTC, Mike Lothian
Details
games-util/gamemode-9999.ebuild (gamemode-9999.ebuild,2.35 KB, text/plain)
2018-09-20 00:09 UTC, Kai Krakow
Details

Note You need to log in before you can comment on or make changes to this bug.
Description egon2003 2018-04-10 11:30:13 UTC
Created attachment 527006 [details]
gamemode-1.0.ebuild

Feral Interactive today released Gamemode https://github.com/FeralInteractive/gamemode

I made an ebuild that works for me but probably needs some work since I dont really know what I'm doing. I disabled --wrap-mode since it wants to download during configure and I dont know how to solve that properly.
Comment 1 egon2003 2018-05-17 18:09:09 UTC
Created attachment 531950 [details]
gamemode-1.1.ebuild

gamemode-1.1.ebuild
Comment 2 egon2003 2018-05-17 18:15:24 UTC
Created attachment 531952 [details]
gamemode-1.1.ebuild

gamemode-1.1.ebuild

Removed the --wrap-mode default since its not needed anymore.
Comment 3 Mike Lothian 2018-07-23 15:13:03 UTC
Created attachment 540588 [details]
app-admin/gamermode-1.2.ebuild

app-admin/gamermode-1.2.ebuild

Removed dependencies on ninja and meson as that's already in the eclass, made the build multilib and used the system user directory for the unit file (the default)
Comment 4 Kai Krakow 2018-08-27 00:01:00 UTC
I've submitted a pull request here:
https://github.com/gentoo/gentoo/pull/9700
Comment 5 Kai Krakow 2018-09-20 00:06:47 UTC
Pinging the authors of the ebuild suggestions here:

I've added a Co-authored-by mentioning you because I was taking ideas and texts by you. If you do not want this, please let me know.

The updated PR is here:
https://github.com/gentoo/gentoo/pull/9700

I think it's also better suited in the games-util category because it's neither an admin utility nor a power management utility, tho you are not forced to use it explicitly with games only.
Comment 6 Kai Krakow 2018-09-20 00:09:30 UTC
Created attachment 547358 [details]
games-util/gamemode-9999.ebuild

Added currently committed ebuild as a reference. The stable 1.2 is also in the PR, this one builds from git.
Comment 7 Larry the Git Cow gentoo-dev 2018-09-24 06:34:40 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ee30ef790d2a621dda91db7c7989ecc0196df71

commit 5ee30ef790d2a621dda91db7c7989ecc0196df71
Author:     Kai Krakow <kai@kaishome.de>
AuthorDate: 2018-08-26 16:17:14 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-09-24 06:20:54 +0000

    games-util/gamemode: New ebuild suggestion
    
    GameMode from Feral Interactive is a systemd daemon allowing games to
    adjust the system to performance mode. It is supported by newer Feral
    titles and also supports other games by preloading a lib.
    
    Closes: https://bugs.gentoo.org/652906
    Package-Manager: Portage-2.3.40, Repoman-2.3.9
    Signed-off-by: Kai Krakow <kai@kaishome.de>
    Co-authored-by: Mike Lothian <mike@fireburn.co.uk>
    Co-authored-by: Erik Badman <erik.badman@yahoo.com>
    Signed-off-by: Michał Górny <mgorny@gentoo.org>
    Closes: https://github.com/gentoo/gentoo/pull/9700

 games-util/gamemode/Manifest             |   1 +
 games-util/gamemode/gamemode-1.2.ebuild  | 102 +++++++++++++++++++++++++++++++
 games-util/gamemode/gamemode-9999.ebuild | 102 +++++++++++++++++++++++++++++++
 games-util/gamemode/metadata.xml         |  16 +++++
 profiles/features/selinux/package.mask   |   1 +
 5 files changed, 222 insertions(+)