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
This commit is contained in:
Sam Gleske
2022-02-21 04:50:57 -05:00
committed by GitHub
parent 898feb9c52
commit c96f7379b4
4 changed files with 135 additions and 0 deletions

View File

@@ -85,9 +85,26 @@ See repository subdirectories for information on each component.
GameMode depends on `meson` for building and `systemd` for internal communication. This repo contains a `bootstrap.sh` script to allow for quick install to the user bus, but check `meson_options.txt` for custom settings.
#### Ubuntu/Debian (you may also need `dbus-user-session`)
```bash
apt install meson libsystemd-dev pkg-config ninja-build git libdbus-1-dev libinih-dev build-essential
```
On Ubuntu 18.04, you'll need to install `python3` package and install the latest meson version from `pip`.
```bash
python3 -m venv .venv
source .venv/bin/activate
pip install meson
```
Later you can deactivate the virtual environment and remove it.
```bash
deactivate
rm -rf .venv
```
#### Arch
```bash
pacman -S meson systemd git dbus libinih