# How to install and use GameMode on Arch Linux and EndeavourOS (2026)

Canonical: https://kextcache.com/gamemode-setup-gaming-environment-on-arch-linux/
Published: 2023-12-19T20:47:08+05:30
Updated: 2026-11-18T09:00:00+05:30
Author: Aradhya Chaudhary

*Updated 18 Nov 2026: rewritten for GameMode 1.8.2, with the `[multilib]` and `gamemode` group steps, `gamemoderun` wrapping a game, service and config steps that match what Arch ships, and no "big FPS boost" claim, which no source backs.*

To set up GameMode on Arch Linux or EndeavourOS, install `gamemode` and `lib32-gamemode` with pacman, add yourself to the `gamemode` group and log back in, then start each game through `gamemoderun` (in Steam, the launch option `gamemoderun %command%`). While the game runs, `gamemoded -s` should print "gamemode is active". There is no service to enable.

This guide is for GameMode 1.8.2 (released 19 Aug 2024), which Arch packages as `gamemode` 1.8.2-3 and `lib32-gamemode` 1.8.2-1 as of November 2026. EndeavourOS has no GameMode package of its own and installs Arch's, so the steps are the same on both.

> **Tested by our setup on 17 Nov 2026**
>
> - What we did: installed GameMode 1.8.2 in an Arch Linux container and ran it: package files, `gamemoderun`, `gamemoded -s`, `gamemodelist` and the self-test
> - On: Arch Linux (archlinux Docker image, pacman 7.1, systemd 262), 1 CPU, 2 GB, on an Intel Core i3-7100 Debian 13 host
> - When: 17 Nov 2026
> - Not tested: games, frame rates, Steam launch options, GPU settings, the EndeavourOS installer, CPU governor changes on real hardware, and anything that needs a booted systemd: the service commands, the user journal, joining the `gamemode` group, and renice through `/etc/gamemode.ini`

New to Arch Linux? Our [beginner's guide to EndeavourOS terminal commands](/unlock-the-potential-of-endeavouros-10-essential-terminal-commands-for-optimal-linux-performance/) covers the basics first.

<a class="embed-card" href="/unlock-the-potential-of-endeavouros-10-essential-terminal-commands-for-optimal-linux-performance/">10 Arch Linux terminal commands every EndeavourOS user should know</a>

## What GameMode is and what it changes

GameMode, both a daemon and library, lets games request temporary operating system optimizations. It is [Feral Interactive's project](https://github.com/FeralInteractive/gamemode) (version 1.0 came out on 16 May 2018), not an EndeavourOS feature. Feral says it "was designed primarily as a stop-gap solution to problems with the Intel and AMD CPU powersave or ondemand governors, but is now host to a range of optimisation features and configurations."

With no config file, GameMode 1.8.2 makes these changes while a game is running and undoes them when the game exits:

| What | Default | Setting in gamemode.ini |
|---|---|---|
| CPU governor | `performance`, or `powersave` when the integrated GPU is under heavy load (iGPU power above 0.3 of CPU power) | `desiredgov`, `igpu_desiredgov`, `igpu_power_threshold` |
| I/O priority | best effort, level 0 | `ioprio=0` |
| Process niceness | unchanged | `renice=0` |
| Screensaver | blocked | `inhibit_screensaver=1` |
| Split lock mitigation | turned off | `disable_splitlock=1` |
| CPU cores | pinning on, parking off | `pin_cores`, `park_cores` |
| GPU performance mode and overclocking | off | `apply_gpu_optimisations` |

No primary source gives a frame-rate figure for GameMode, and we did not measure one. Whether it helps depends on your CPU, the governor your system uses by default and the game. GameMode also does not install or change graphics drivers; for those, see our [guide to Wayland and NVIDIA drivers on Arch](/wayland-nvidia-a-definite-2025-guide/).

## Before you start

- Arch Linux or EndeavourOS, fully updated. Arch does not support partial upgrades, so update before you install anything.
- The `[multilib]` repository, for `lib32-gamemode`. EndeavourOS turns it on by default; on Arch you turn it on yourself (step 2).
- Disk space for your games. GameMode itself is tiny: in our test `gamemode` took 284.34 KiB and `lib32-gamemode` 31.11 KiB once installed. On a bare system the whole download was 19.12 MiB, most of it 32-bit libraries (the total also counts `sudo`, which we added for the test). A desktop that already has them downloads much less.
- GameMode states no RAM requirement, and the packages are small enough for any connection. For reference, EndeavourOS asks for 15 GB of disk and 4 GB of RAM.

## Step 1: Update the system

Open a terminal and run the following command:

*Tested by our setup on 17 Nov 2026: Arch Linux container (Intel Core i3-7100 host). We ran it as root, so without `sudo`.*

```bash
sudo pacman -Syu
```

<figure><img src="/wp-content/uploads/2023/11/WhatsApp-Image-2023-11-30-at-9.59.39-PM-jpeg.webp" alt="Terminal on EndeavourOS running sudo pacman -Syu: endeavouros.db fails to download, core, extra and multilib sync, and community is up to date"><figcaption>Updating packages before installing GameMode, on the author's EndeavourOS machine on 30 Nov 2023</figcaption></figure>

That screenshot is from 2023, when Arch still had a `[community]` repository. Arch removed it on 1 Mar 2025. If your `/etc/pacman.conf` still lists `[community]`, `pacman -Sy` now returns an error: delete the `[community]` section from the file and run the update again. Pacman 6.0.2-7 shipped the current file as `/etc/pacman.conf.pacnew` ([Arch news, 17 Feb 2025](https://archlinux.org/news/cleaning-up-old-repositories/)).

## Step 2: Turn on multilib (plain Arch only)

`lib32-gamemode` lives in `[multilib]`. On EndeavourOS it is already on, so skip this step. On Arch, open `/etc/pacman.conf` and uncomment these two lines:

*From the official docs: [ArchWiki, Enabling multilib](https://wiki.archlinux.org/title/Official_repositories#Enabling_multilib), checked 17 Nov 2026. In our container the Arch Docker image had no `[multilib]` lines to uncomment, so we added these two, and pacman then listed multilib.*

```ini
[multilib]
Include = /etc/pacman.d/mirrorlist
```

Then run `sudo pacman -Syu` again.

## Step 3: Install GameMode

Open a terminal and run the following command:

*Tested by our setup on 17 Nov 2026: Arch Linux container (Intel Core i3-7100 host), with `[multilib]` on.*

```bash
sudo pacman -S gamemode lib32-gamemode
```

`lib32-gamemode` is for 32-bit games, and the ArchWiki suggests it "since many old games are 32-bit-only". If `[multilib]` is off, pacman stops with `error: target not found: lib32-gamemode` and installs nothing, not even `gamemode`.

![Terminal on EndeavourOS installing gamemode 1.7-1 and lib32-gamemode 1.7-1 with 17 lib32 libraries and two core package upgrades, 39.80 MiB to download](/wp-content/uploads/2023/11/WhatsApp-Image-2023-11-30-at-10.15.35-PM-jpeg.webp)

When the install finishes, pacman shows this:

<figure><img src="/wp-content/uploads/2023/11/WhatsApp-Image-2023-11-30-at-10.17.52-PM-jpeg.webp" alt="Finished GameMode install on EndeavourOS: 21 packages installed or upgraded and a post-transaction hook creating group gamemode with GID 966"><figcaption>Installing GameMode 1.7 on EndeavourOS, November 2023. Note the hook that creates the gamemode group.</figcaption></figure>

Those screenshots show GameMode 1.7. Today you get 1.8.2, and the download size depends on how many 32-bit libraries you already have. Pacman prints no hint to enable a service, and you don't need one: D-Bus starts the daemon when a game asks for it. To check the versions:

*Tested by our setup on 17 Nov 2026: Arch Linux container (Intel Core i3-7100 host).*

```
$ pacman -Q gamemode lib32-gamemode
gamemode 1.8.2-3
lib32-gamemode 1.8.2-1
```

## Step 4: Add yourself to the gamemode group

The install creates a `gamemode` group (in our test, `Creating group 'gamemode' with GID 969`; the number varies), but it does not put you in it. Without it, the ArchWiki says, "the GameMode user daemon will not have rights to change CPU governor or the niceness of processes."

*From the official docs: [ArchWiki, GameMode](https://wiki.archlinux.org/title/GameMode) (revision of 6 Sep 2026) and the [GameMode 1.8.2 example config](https://github.com/FeralInteractive/gamemode/blob/1.8.2/example/gamemode.ini), checked 17 Nov 2026. Not run by us.*

```bash
sudo usermod -aG gamemode $USER
```

Log out and back in for the change to apply (the upstream example config says to reboot). We read the package files in our test: the polkit rules let only members of `gamemode` use the CPU governor, CPU core, GPU and `/proc/sys` helpers, and `/etc/security/limits.d/10-gamemode.conf` gives the group `nice -10`.

## Step 5: Start your games with gamemoderun

`gamemoderun` does not start anything in the background on its own. It is a short script that loads `libgamemodeauto.so.0` into the program you give it, and that program asks the daemon for GameMode. Typed alone, it only prints your environment and exits.

For a game you start from a terminal:

*Tested by our setup on 17 Nov 2026: Arch Linux container (Intel Core i3-7100 host), with `sleep 30` standing in for a game.*

```bash
gamemoderun ./game
```

In Steam, right-click the game, choose Properties and put this in the launch options:

*From the official docs: [GameMode README](https://github.com/FeralInteractive/gamemode) and [ArchWiki, GameMode](https://wiki.archlinux.org/title/GameMode), checked 17 Nov 2026. Not run by us: our test had no Steam.*

```
gamemoderun %command%
```

You can also start Steam itself with `gamemoderun steam`, but then GameMode stays on for as long as Steam is open, not only while a game runs. Some games and launchers ask for GameMode on their own. The upstream README dropped its list of those on 24 Feb 2025, so check your launcher's own docs. Our [guide to gaming on Linux](/gaming-on-linux-guide/) covers Steam, Proton and Lutris.

On a laptop with two GPUs, set `GAMEMODERUNEXEC` to your offload command so `gamemoderun` also starts the game on the discrete GPU. You can set it globally, for example in `/etc/environment`:

*From the official docs: [GameMode README](https://github.com/FeralInteractive/gamemode), checked 17 Nov 2026. Not run by us.*

```bash
GAMEMODERUNEXEC="env DRI_PRIME=1"
```

For NVIDIA PRIME offload, the README's value is `GAMEMODERUNEXEC="env __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia __VK_LAYER_NV_optimus=NVIDIA_only"`.

## Step 6: Check that GameMode is working

Run `gamemoded -s` while the game is running. When no game has asked for GameMode, "gamemode is inactive" is the normal answer, not a fault:

*Tested by our setup on 17 Nov 2026: Arch Linux container (Intel Core i3-7100 host), as a normal user. The container had no systemd user session, so we started the daemon by hand (`gamemoded &`) first.*

```
$ gamemoded -s
gamemode is inactive
$ gamemoderun sleep 30 &
$ gamemoded -s
gamemode is active
```

![Terminal output in an Arch Linux container showing GameMode 1.8.2 reporting inactive, then active while a program runs under gamemoderun, then inactive again](/images/gamemode-setup-gaming-environment-on-arch-linux/gamemode-status-container-2026-11-17.png)

`gamemodelist` shows which processes are using GameMode, and `gamemoded -t` runs the built-in self-test:

*Tested by our setup on 17 Nov 2026: Arch Linux container (Intel Core i3-7100 host).*

```bash
gamemodelist
gamemoded -t
```

In our container the self-test failed only its CPU governor check, because the container could not write to `/sys` and had no polkit. On real hardware the result can differ, and we have not run it there.

### There is no system service to start or enable

The old version of this guide said to run `sudo systemctl start gamemoded` and `sudo systemctl enable gamemoded`. Neither applies: `gamemoded.service` is a systemd user unit that D-Bus starts on demand, and the package ships no system unit. In our container, the offline form `systemctl --root=/ enable gamemoded` failed with `Unit gamemoded.service does not exist`. To look at the user service and its log:

*From the official docs: [ArchWiki, GameMode](https://wiki.archlinux.org/title/GameMode) and [journalctl(1)](https://www.freedesktop.org/software/systemd/man/latest/journalctl.html), checked 17 Nov 2026. Not tested: our container had no systemd user session.*

```bash
systemctl --user status gamemoded
journalctl --user-unit=gamemoded -b
```

If `gamemoded -s` still says inactive while a game is running, check the launch option, check that you are in the `gamemode` group, and read that log.

## Step 7: Change settings in gamemode.ini (optional)

Arch ships no `gamemode.ini`. After our install, neither `/etc/gamemode.ini` nor `/usr/share/gamemode/gamemode.ini` existed. The defaults are built into the daemon and match the upstream example file, so there is no "enabled" switch to check, and `sudo nano /etc/gamemode.ini` opens an empty new file.

To change a setting, start from the [GameMode 1.8.2 example config](https://github.com/FeralInteractive/gamemode/blob/1.8.2/example/gamemode.ini), which explains every option. Save it in one of these places:

- `/etc/gamemode.ini` for the whole system. `[gpu]` settings only work here.
- `~/.config/gamemode.ini` for your user.
- `gamemode.ini` in the directory you start the game from.

GameMode merges them, and the later ones in that list win. Don't create `/usr/share/gamemode/gamemode.ini`; the ArchWiki reserves it for packagers. The daemon checks for config changes every 5 seconds.

For example, to lower the game's nice value to -10, which needs the `gamemode` group:

*From the official docs: [ArchWiki, GameMode](https://wiki.archlinux.org/title/GameMode), checked 17 Nov 2026. Not run by us.*

```ini
[general]
renice=10
```

GameMode negates the value, so `10` becomes nice -10. The group's limit is -10 by default, and a value above 10 makes renicing fail completely.

## Step 8: Compare with and without GameMode

Launch a game with and without GameMode and watch the difference. An overlay such as MangoHud ([Arch package](https://archlinux.org/packages/extra/x86_64/mangohud/) 0.8.4) shows the frame rate on screen. Results depend on your hardware and default governor, and we have not run this comparison ourselves.

The ArchWiki notes that Ananicy Cpp can provide some of the same benefits as GameMode. GameMode 1.8.2 has no power-profiles-daemon support yet ([issue #333](https://github.com/FeralInteractive/gamemode/issues/333), open since 2021).

## Troubleshooting

- `error: target not found: lib32-gamemode`: `[multilib]` is off. Do step 2.
- `syntax error near unexpected token 'newline'`: older copies of this guide printed commands inside `< >`. Bash rejects the brackets, so type the commands without them.
- `pacman -Sy` fails with an error about `[community]`: remove that section from `/etc/pacman.conf` (step 1).

![Terminal output showing pacman failing to find lib32-gamemode when multilib is off, and bash rejecting a command wrapped in angle brackets](/images/gamemode-setup-gaming-environment-on-arch-linux/gamemode-multilib-and-bracket-errors-2026-11-17.png)

For other problems on an Arch system, see our [fixes for common Arch Linux issues](/troubleshooting-common-issues-on-arch-linux/).

## Changes

- 18 Nov 2026: rewritten for GameMode 1.8.2. Added the `[multilib]` and `gamemode` group steps and the Steam launch option.
- 18 Nov 2026: fixed `gamemoderun`, `gamemoded -s` and the log command; removed the `sudo systemctl` steps and the "only check that it is enabled" config step, which do not apply on Arch.
- 18 Nov 2026: removed the FPS boost claim and the disk, RAM and network requirements, which no source supports.
- 18 Nov 2026: commands are no longer printed inside `< >`.
