This project contains a collection of scripts, configurations, and optimizations for maximizing gaming performance on Arch Linux and its derivatives.
Optimizing Linux for gaming requires several key adjustments:
- Kernel Optimization: Installing gaming-oriented kernels (Zen, Xanmod)
- System Configuration: Optimizing system parameters via sysctl and other methods
- Service Management: Disabling unnecessary background services
- Software Installation: Installing gaming software, drivers, and utilities
- Desktop Environment Tuning: Configuring KDE Plasma for optimal gaming performance
- Universal Approach: All optimizations work across different hardware vendors
- Sysctl-based Configuration: System-wide performance tuning via sysctl
- Gaming Kernels: Support for Zen and Xanmod kernels
- Gaming Software: Installation of Steam, Lutris, Wine, Proton, etc.
- Desktop Optimizations: KDE Plasma configurations for gaming performance
- Service Optimization: Disabling unnecessary services for better gaming experience
-
Clone this repository:
git clone https://github.com/root0emir/ArchLinux-GamingPerformanceTuning.git cd ArchLinux-GamingPerformanceTuning -
Start with the kernel manager to install an optimized gaming kernel:
cd Scripts chmod +x kernel-manager.sh ./kernel-manager.sh -
Install gaming software:
chmod +x gaming-software.sh ./gaming-software.sh
-
Disable unnecessary services:
cd .. chmod +x disable-services.sh sudo ./disable-services.sh -
Apply KDE optimizations if using KDE Plasma desktop:
# Follow instructions in KDE/kde-gaming-settings.conf -
Apply sysctl optimizations:
cd .. sudo cp sysctl.conf /etc/sysctl.conf sudo sysctl -p -
Apply resource limits:
cd .. sudo cp limits.conf /etc/security/limits.conf -
Apply I/O scheduler:
cd .. sudo cp 60-io-scheduler.rules /etc/udev/rules.d/ sudo udevadm control --reload sudo udevadm trigger -
Apply GRUB optimizations:
cd .. sudo cp grub.cfg /boot/grub/grub.cfg
- I/O scheduler optimizations
- CPU governor settings
- Memory management parameters
- Network tweaking
- Real-time priorities
- Steam, Lutris, Heroic Games Launcher
- Wine, Proton, DXVK
- Graphics drivers (NVIDIA, AMD, Intel)
- Gaming utilities (MangoHud, GameMode, GOverlay)
- Streaming tools (OBS Studio, ReplaySorcery)
- Compositor settings for reduced latency
- Desktop effects management
- Application menu and wallpaper customization
- System tray and panel configurations
- Arch Linux or derivative (Manjaro, EndeavourOS, etc.)
- Sudo access
- Internet connection
- Basic understanding of Linux command line
This project builds on the knowledge and work from various Linux gaming communities, including:
- Arch Linux Wiki
- Steam Proton GitHub
- GloriousEggroll
- Linux_Gaming subreddit
- Garuda Linux
This project is released under the MIT License. See the LICENSE file for details.