Linux Gaming Guide

Table of Contents

How to run games on Arch (and configure Steam and Proton).

1. Enable Game Mode scheduling

Game Mode configures CPU governer, scheduler, and process niceness for maximum performance for games. To enable Game Mode:

  1. First enable the multilib repo if you haven't already. Edit /etc/pacman.conf to add

    Include = /etc/pacman.d/mirrorlist
  2. Synchronize the repos by sudo pacman -Syy
  3. Install Game Mode

    sudo pacman -S lib32-gamemode gamemode
  4. You can run Game Mode by running gamemoderun command.
  5. Create a new user group with sudo groupadd -r gamemode.
  6. Add yourself to the group by sudo usermod -aG gamemode <your username>.
  7. Edit system security limits for users sudo nvim /etc/security/limits.conf to add the line:

    @gamemode      -        nice         10

This will enable user accounts that are members of the gamemode group to increase (or 'renice') processes to a value of 10.

  1. Now test everything is working by running gamemoded -t and fix any errors (hopefully none).

2. Installing Stuffs

2.1. Wine-Staging

sudo pacman -S wine-staging

2.2. Proton-GE

Go to GitHub Releases and download the latest version, as of today 25th Feb 2023 its 7.49 so I will be using that for this guide.

cd .steam/steam/compatibilitytools.d/
wget ""
tar -xvf GE-Proton7-49.tar.gz
rm *.tar.gz

2.3. DXVK & VKD3D

NOTE: for this you have to use the AUR helper

paru -S dxvk-bin vkd3d-proton-bin
cd /usr/share/dxvk
./ install
cd /usr/share/vkd3d-proton
./ install

2.4. vkbasalt

Similar to gamemode but specific to VULKAN games.

paru -S vkbasalt lib32-vkbasalt

2.5. gamescope

gamescope is pretty amazing, its a wayland based compositor for games which also removes the vsync barrier of wayland and also HDR.

sudo pacman -S gamescope

If you are on NVIDIA GPU then to use gamescope you need this script which I call it gamescope-run


igpu=$(lspci -nn | grep VGA | sed 's/^.*\[//;s/\].*$//' | head -n 1)

gamescope --default-touch-mode 4 --prefer-vk-device $igpu --rt -w 1920 -h 1080 -W 1920 -H 1080 -f -U $@

3. For games outside of steam

In that case you have to use this proton script I made to run those cracked games, yes I know it, with the same optimizations



You can remove the PROTON_ENABLE_NVAPI=1 and other NVIDIA variables if you don't have a NVIDIA GPU.

4. Done

Congratulations on completing the setup, now you can enjoy high end gaming on linux with optimized performance. Happy Gaming 😁.