Skip to content

Simple Guide To Setup Arch linux For Gaming. Researched from Nobara packages and CachyOS gaming meta. Systemd, KDE, and AMD CPU/GPU Focused.

Notifications You must be signed in to change notification settings

KowabungaOfficial/Arch-Linux-Gaming-Setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

Arch Linux Gaming Setup

Important

Run These When Booting Into Desktop Environment (i.e. KDE)

(I Don't Include Feral Gamemode Because Of Performance Related Issues. i.e. Stutters & FPS Loss In Some Games)


  • Main Step

Enabling use of AUR:

  1. sudo pacman -Syu
  2. sudo pacman -S --needed base-devel git
  3. git clone https://aur.archlinux.org/yay.git
  4. cd yay
  5. makepkg -si

  • Second Step (Backup Kernels)
  1. sudo pacman -S linux-lts linux-lts-headers

  • Third Step

Install These (Enables CachyOS Kernel and Mesa Layers):

  1. yay -S linux-cachyos linux-cachyos-headers
  2. sudo pacman -S vulkan-mesa-layers lib32-vulkan-mesa-layers

CachyOS Kernel Setup Guide:

  1. Go to /boot/loader/entries/ and find the default linux.conf, not the fallback one.
  2. Copy that file and paste it on your desktop
  3. Now edit the name to arch-cachyos.conf
  4. Edit it to look like this (KEEP EVERYTHING THE SAME AFTER "initrd" SECTION!):
title   Arch Linux (CachyOS)
linux   /vmlinuz-linux-cachyos
initrd  /initramfs-linux-cachyos.img
  1. Now copy arch-cachy.conf to /boot/loader/entries/

  • Fourth Step

Set CachyOS Kernel As Default:

  1. Go to /boot/loader/ and open loader.conf then edit timeout 3 to this (waits 5 seconds before booting kernel):

timeout 5

  1. Add this before the timeout 5 line:

default arch-cachyos.conf


  • Fourth Step (No Password Automount HDD's/SSD's)

For when you have multiple game drives or other drives

  1. Run this in your ternminal: lsblk -f
  2. open fstab file located in etc folder
  3. Look at UUID of your drive in "UUID" section, where your drives are mounted "MOUNTPOINTS" section, Format type in "FSTYPE"
  4. As for # add it and you can name it to whatever you want to indentify the drive
  5. See example bellow to see what it will look like

Example:


  • Final Step
  1. Edit pacman.conf in /etc/
  2. Find the [multilib] section and remove the # from the two lines:
[multilib]
Include = /etc/pacman.d/mirrorlist

(Optional Section)

[Enables Color and Pacman Video Game Loading/Downloading Bar In Terminal]

  1. In Misc options section remove # before color
  2. Add ILoveCandy after CheckSpace

Gaming Packages

Official Arch Repo (Pacman)
  1. sudo pacman -S zlib-ng zlib-ng-compat amd-ucode steam wine-staging winetricks wine-mono wine-gecko wine-nine goverlay gamescope mangohud lib32-mangohud inputplumber tk libdecor lib32-libdecor scx-scheds python-pip python-pipx
  2. sudo pacman -S jre-openjdk gstreamer lib32-gstreamer gst-plugin-va gst-plugins-base lib32-gst-plugins-base ffmpeg
  3. sudo pacman -S gst-plugins-good lib32-gst-plugins-good gst-plugin-pipewire fontconfig lib32-fontconfig mpg123 lib32-mpg123 ttf-liberation vulkan-tools libva lib32-libva
  4. sudo pacman -S libxslt lib32-libxslt lib32-gtk3 ocl-icd lib32-ocl-icd openal lib32-openal libjpeg-turbo lib32-libjpeg-turbo alsa-plugins lib32-alsa-plugins giflib lib32-giflib glfw lib32-pipewire
  5. sudo pacman -S gst-plugins-base-libs lib32-gst-plugins-base-libs python-setuptools python-virtualenv lib32-mesa dosfstools dolphin-plugins unrar 7zip gst-plugins-bad adobe-source-han-sans-jp-fonts adobe-source-han-sans-cn-fonts adobe-source-han-sans-hk-fonts
  6. sudo pacman -S adobe-source-han-sans-kr-fonts adobe-source-han-sans-otc-fonts adobe-source-han-sans-tw-fonts adobe-source-sans-fonts ttf-nerd-fonts-symbols ttf-nerd-fonts-symbols-common ttf-nerd-fonts-symbols-mono ffmpegthumbs kdegraphics-thumbnailers

Install and Enable Bluetooth:

  1. sudo pacman -S bluedevil bluez bluez-utils qt5-connectivity qt6-connectivity
  2. sudo systemctl enable bluetooth.service
  3. sudo systemctl start bluetooth.service

AUR (Yay)
  1. yay -S heroic-games-launcher-bin protonplus xpadneo-dkms vkbasalt lib32-vkbasalt faudio python-glfw ttf-ms-fonts

Fixes Section
  • Dualsense Controller Acting as a mouse (In KDE, but might work with other Desktop Enivronments):

Go to “Input & Output” in settings then clicked the tab “Mouse & Touchpad”. Select “Touchpad” and uncheck the box beside “Device enabled” at the top.


Optional Section (Mostly Packages I Use)
  • Pacman
  1. sudo pacman -S android-tools mpv vlc phonon-qt5-vlc phonon-qt6-vlc corectrl mission-center fastfetch kio-admin prismlauncher gwenview partitionmanager qbittorrent

Enabling Arch Update addon:

  1. sudo pacman -S --needed pacman-contrib archlinux-contrib curl fakeroot htmlq diffutils hicolor-icon-theme python python-pyqt6 qt6-svg glib2
  2. yay -S arch-update
  3. arch-update --tray --enable
  • Yay
  1. yay -S mullvad-vpn-bin jdownloader2 rustdesk-bin pince floorp-bin
  • Other

https://github.com/DeckCheatz/wemod-launcher


SPECIAL THANKS TO:

CachyOS Dev Team

https://cachyos.org/

Nobara (Thomas Crider)

https://nobaraproject.org/

About

Simple Guide To Setup Arch linux For Gaming. Researched from Nobara packages and CachyOS gaming meta. Systemd, KDE, and AMD CPU/GPU Focused.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published