Kira Bruneau
55b799e3df
Add option to specific PAM limits.d directory
2022-08-05 11:35:24 +01:00
Kira Bruneau
337f1b8a8e
Scope polkit actions to require the privileged group
2022-08-05 11:35:24 +01:00
Kira Bruneau
898ab01924
Organize data files that hook into other packages
2022-08-05 11:35:24 +01:00
Kira Bruneau
1e24067430
Add option to specify privileged gamemode group
2022-08-05 11:35:24 +01:00
Kira Bruneau
e34e9c5a43
Add options to disable installing systemd specific files
2022-08-05 11:35:24 +01:00
Kira Bruneau
aee9703872
Add option to set systemd sysuser dir
2022-08-05 11:35:24 +01:00
Stephan Lachnit
b58b32072a
meson: fix warning in run_command
...
Fixes this warning:
```
WARNING: You should add the boolean check kwarg to the run_command call.
It currently defaults to false,
but it will default to true in future releases of meson.
See also: https://github.com/mesonbuild/meson/issues/9300
```
Signed-off-by: Stephan Lachnit <stephanlachnit@debian.org>
2022-07-15 14:16:09 +01:00
Sam Gleske
c96f7379b4
New utility: gamemodelist ( #346 )
...
* New utility: gamemodelist
While trying out gamemode on Ubuntu 18.04 I had trouble figuring out
whether or not my games were running with gamemode enabled. I wrote this
utility which prints all processes loaded with the gamemode shared
library.
- [x] Added utility to `data/` folder.
- [x] Update meson installer.
- [x] Included section 1 manual.
- [x] Updated README for Ubuntu 18.04 build instructions. Steam supports
Ubuntu 18.04.
I'm open to feedback and generally this should work for any distrobution
since it makes use of the Linux `/proc` filesystem. [Learn more about
`/proc`][1].
[1]: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/Documentation/filesystems/proc.rst?h=v5.15.12
2022-02-21 09:50:57 +00:00
Emil Velikov
898feb9c52
data: add and install sysusers.d gamemode.conf
...
Add a trivial gamemode.conf file, which creates the gamemode group.
v2: git add gamemode.conf (d'oh)
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2022-02-03 16:50:29 +00:00
Kira Bruneau
5e366bd55d
Fix loading shipped config when using a prefix other than /usr
...
Also remove recommendation to modify `/usr/share/gamemode/gamemode.ini`.
`/usr/share` is intended to contain read-only data files.
See https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s11.html .
2022-02-03 16:02:18 +00:00
Stephan Lachnit
49a0ef8c0b
minor metainfo improvements
...
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-11-18 12:33:38 +00:00
Rémi Verschelde
832f9ab7e0
Fix installation of man pages in proper man dirs
...
See https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s11.html#usrsharemanManualPages
2020-09-14 10:18:53 +01:00
sgleizes
5163c01d24
Allow LD_PRELOAD overrides from GAMEMODERUNEXEC commands
2020-09-01 16:21:05 +01:00
Stephan Lachnit
7a68a178ac
simplify libgamemodeauto preloading
...
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-07-09 08:13:17 +01:00
Stephan Lachnit
3033867fc9
add man page for example game
...
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-05-27 10:49:36 +01:00
Stephan Lachnit
a48272ae61
fix incorrect name in gamemoderun man page
...
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-05-27 10:49:36 +01:00
Stephan Lachnit
d27f8caecc
improve path names for man pages and metainfo
...
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-05-26 12:53:21 +01:00
Stephan Lachnit
3d49f87308
configure version in man pages
...
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-05-26 12:53:21 +01:00
Stephan Lachnit
ce6485ef97
combine no-daemon, elogind and systemd option
...
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-05-19 16:27:51 +01:00
Stephan Lachnit
1e8312f7e3
Add option to change lib dir in gamemoderun
...
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-05-13 10:27:15 +01:00
Stephan Lachnit
6453a123ab
add metainfo test
...
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-05-12 19:25:57 +01:00
Stephan Lachnit
c755f7e539
fix wrong prefix variable in data
...
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-05-12 19:25:57 +01:00
Stephan Lachnit
329f7b4cee
give gamemoderun an own man page
...
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-05-11 09:41:17 +01:00
Stephan Lachnit
e3c24f34f1
provide metainfo
...
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-05-06 12:34:06 +01:00
Ahsan Fayaz
40702d3fed
Update version back to 1.6 post-release
2020-03-03 16:35:37 +00:00
Ahsan Fayaz
616dca659a
Update version to 1.5.1
2020-03-03 16:18:48 +00:00
seb128
1a598f53d2
Don't default to syslog logging
...
Let the preferred/configured logging system to be used instead
2020-02-26 18:26:09 +00:00
Ahsan Fayaz
065454bb4e
Update version to 1.6 post-release
2020-01-22 14:51:00 +00:00
Ahsan Fayaz
d58c59c183
Update version to 1.5
2020-01-22 14:19:26 +00:00
Alex Smith
24687f960b
Update version to 1.5-dev post-release
2019-07-21 10:39:11 +01:00
Alex Smith
acb57735fc
Update version to 1.4
2019-07-21 10:24:18 +01:00
Alex Smith
ffea085396
Follow up improvements to documentation for GAMEMODERUNEXEC
2019-07-16 08:17:35 +01:00
Stephan Lachnit
47db83e509
Add hybrid GPU support
...
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2019-07-14 16:45:33 +02:00
Alex Smith
c6d1b45bfb
Use the appropriate library path for whether the app is 32- or 64-bit in gamemoderun ( #156 )
2019-07-13 09:50:25 +01:00
Marc Di Luzio
717777e6c2
Implement PID support for --request and --status
2019-05-11 12:08:29 +01:00
Marc Di Luzio
baff9c0363
Allow for long options using getopt_long
2019-05-11 12:08:29 +01:00
Timo Gurr
85d75c303c
Use path_bindir for installing gamemoderun
...
Honor prefix for installing gamemoderun to properly work in cross
environment so it can be installed in e.g. /usr/x86_64-pc-linux-gnu/bin
instead of /usr/bin like it's already done for gamemoded.
2019-03-29 18:18:23 +01:00
Alex Smith
959c48978b
Update version to 1.4-dev post-release
2019-03-29 15:39:08 +00:00
Alex Smith
e5ccb4b68d
Update version to 1.3.1
2019-03-29 15:30:11 +00:00
Alex Smith
c0032efc4f
Make gamemoderun.in executable ( #115 )
...
The install_mode option was only added in Meson 0.47. In versions prior
to that, it will base the mode on the permissions of the source file,
so set this executable to be compatible with older versions.
See #115 .
2019-03-25 16:40:54 +00:00
Alex Smith
95c365076f
Update to version 1.4-dev post-release
2019-03-15 16:11:57 +00:00
Alex Smith
ea7d1c13a3
Update to version 1.3
2019-03-15 13:39:00 +00:00
Alex Smith
10a31f8dec
Update copyright years to 2019
2019-03-14 16:59:30 +00:00
Alex Smith
d17d682082
Fix gamemoderun to set the right environment variable
2019-02-19 10:10:51 +00:00
Marc Di Luzio
547b7943fd
Remove r in "statesr"
2019-02-13 17:22:45 +00:00
Marc Di Luzio
8584558f9c
Make sure gpuclockctl inherits the DISPLAY and XAUTHORITY variables so nvidia-settings works
2019-02-12 08:55:23 +00:00
Marc Di Luzio
8d4e9ac54e
Add gpuclockctl to allow privilaged control of GPU parameters
2019-02-12 08:55:23 +00:00
Marc Di Luzio
440400c2d4
Set up some man page generation
...
Start with the example config file
2019-02-06 16:35:37 +00:00
Marc Di Luzio
74e26d6f63
Add "gamemoderun", a wrapper bash script like "primusrun"
...
This should remove a point of failure currently where users fail to set LD_PRELOAD correctly, or the path is wrong somehow.
FWIW: The old method still works, and I've noted that in the README.
2019-02-05 21:16:02 +00:00
Marc Di Luzio
6a7aa1e307
Add -t to the man page
2019-02-03 15:37:32 +00:00