A comprehensive automated gaming environment setup for Debian-based Linux distributions
Transform your Debian-based Linux system into a complete gaming powerhouse with a single command. This script automates the installation and configuration of GPU drivers, gaming platforms, compatibility layers, performance tools, and system optimizations with both interactive and automated modes.
- โจ SOBER - Play Roblox on Linux
- โจ Waydroid - Run Android apps and mobile games
- โจ GreenWithEnvy - NVIDIA GPU monitoring and overclocking
- โจ vkBasalt - ReShade-like post-processing for Vulkan games
- โจ Mod Manager Tools - Complete modding setup
- ๐ Ubuntu 24.04 Fixes - Package compatibility resolved
- ๐ Enhanced Documentation - Complete usage guides
See CHANGELOG.md for full details
# Download
wget https://github.com/Sandler73/Debian-Gaming-Setup-Project/blob/main/debian_gaming_setup.py
# Interactive mode (recommended for first-time users)
sudo python3 debian_gaming_setup.py
# Or automated (NVIDIA example)
sudo python3 debian_gaming_setup.py -y \
--nvidia --all-platforms --optimize --launcherThat's it! Reboot after installation and start gaming! ๐ฎ
See Quick_Start for detailed first-time setup guide.
- โ 6 Gaming Platforms - Steam, Lutris, Heroic, ProtonUp-Qt, Roblox (SOBER), Android (Waydroid)
- โ All GPU Vendors - NVIDIA, AMD, Intel with automatic detection
- โ VM Support - VMware, VirtualBox, KVM, Hyper-V, Xen
- โ 51+ CLI Arguments - Full automation capabilities
- โ Smart Prompts - Shows versions, detects updates, intelligent recommendations
- โ Dry-Run Mode - Test before installing
- โ Performance Tools - GameMode, MangoHud, vkBasalt, CPU governor
- โ Visual Enhancement - vkBasalt post-processing, ReShade guidance
- โ Comprehensive Logging - Detailed logs with error tracking
- โ 10+ Distributions - Ubuntu, Mint, Debian, Pop!_OS, Elementary, Zorin, Kali
- GPU Drivers - NVIDIA/AMD/Intel or VM guest tools
- Gaming Platforms - Steam, Lutris, Heroic, ProtonUp-Qt
- Compatibility - Wine, Winetricks, GE-Proton
- Performance - GameMode, MangoHud, Goverlay
- Utilities - Discord, OBS, Mumble, controller support
- SOBER - Roblox on Linux via Flatpak
- Waydroid - Full Android container for mobile games
- GreenWithEnvy - NVIDIA GPU control and monitoring
- vkBasalt - Vulkan post-processing (ReShade-like)
- Mod Managers - MO2, Vortex, r2modman setup
See complete list in Usage_Guide.md
- Ubuntu 24.04, 22.04, 20.04
- Linux Mint 22, 21, 20
- Debian 12 (Bookworm), 11 (Bullseye)
- Pop!_OS 22.04+
- Elementary OS 7+
- Zorin OS 17+
- Physical GPUs - NVIDIA GeForce/Quadro/Tesla, AMD Radeon, Intel HD/Iris/Arc
- Virtual Machines - VMware, VirtualBox, KVM/QEMU, Hyper-V
NVIDIA Gaming PC:
sudo python3 debian_gaming_setup.py -y \
--nvidia --all-platforms --wine --ge-proton \
--gamemode --mangohud --gwe --vkbasalt \
--discord --obs --optimize --launcherAMD Gaming PC:
sudo python3 debian_gaming_setup.py -y \
--amd --all-platforms --wine --ge-proton \
--gamemode --mangohud --vkbasalt --optimizeVirtual Machine:
sudo python3 debian_gaming_setup.py -y \
--vm-tools --steam --lutris --gamemodeRoblox Player:
sudo python3 debian_gaming_setup.py -y --soberMobile Gaming:
sudo python3 debian_gaming_setup.py -y --waydroid --controllersVisual Enhancement:
sudo python3 debian_gaming_setup.py -y --vkbasalt --reshade --mangohudSee more examples in Usage_Guide.md
General: -y, --yes, --dry-run, --verbose
GPU/Drivers: --nvidia, --amd, --intel, --vm-tools
Platforms: --steam, --lutris, --heroic, --sober, --waydroid
Compatibility: --wine, --ge-proton
Performance: --gamemode, --mangohud, --gwe
Graphics: --vkbasalt, --reshade
Tools: --discord, --obs, --mod-managers, --controllers
System: --optimize, --launcher
Complete CLI reference in Usage_Guide.md
-
Reboot (required for drivers)
sudo reboot
-
Verify GPU drivers
nvidia-smi # NVIDIA glxinfo | grep "OpenGL renderer" # AMD/Intel
-
Configure Steam
- Settings โ Compatibility
- Enable "Steam Play for all titles"
- Select Proton Experimental
-
Test with a game
- Native: Counter-Strike 2, Portal 2 (free)
- Proton: Stardew Valley, Terraria
-
Use performance launcher
~/launch-game.sh steam
Detailed post-install guide in Quick_Start.md
| Document | Purpose | Best For |
|---|---|---|
| README.md | Overview & quick start | Everyone |
| Quick_Start.md | Step-by-step guide | First-time users |
| Usage_Guide.md | Complete reference | All users |
| CHANGELOG.md | Version history | Tracking changes |
| CONTRIBUTING.md | Contribution guide | Contributors |
| SECURITY.md | Security policies | Reporting issues |
"Package has no installation candidate"
sudo apt-get update && sudo apt-get upgradeNVIDIA driver not loading
sudo apt-get install --reinstall nvidia-driver-*
sudo update-initramfs -u && sudo rebootSteam won't launch
steam # Run from terminal to see errors
rm -rf ~/.steam/steam/appcache/ # Clear cacheCheck logs
cat ~/gaming_setup_logs/gaming_setup_*.log | tail -100
grep ERROR ~/gaming_setup_logs/gaming_setup_*.logFull troubleshooting guide in Usage_Guide.md
Contributions welcome! See CONTRIBUTING.md for guidelines.
Quick steps:
- Fork repository
- Create feature branch
- Test with
--dry-run - Submit pull request
Areas needing help:
- Testing on different distributions
- Additional platform support
- Documentation improvements
- Bug fixes
- 3,341 lines of Python code
- 51+ CLI arguments for automation
- 6 gaming platforms supported
- 15+ utilities included
- 10+ distributions tested
- Active maintenance ongoing
Inspired by:
- Original Ubuntu gaming setup script
- GameReady, linux-gaming, Gamebuntu projects
Special thanks:
- Valve (Steam, Proton)
- Lutris developers
- GloriousEggroll (GE-Proton)
- Feral Interactive (GameMode)
- MangoHud developers
- Open-source gaming community
MIT License - Free to use, modify, and distribute.
This script makes system-level changes. Always:
- โ Backup important data
- โ
Test with
--dry-runfirst - โ Review logs for errors
- โ Understand what's being installed
Use at your own risk. No warranty provided.
# Download
wget https://github.com/Sandler73/Debian-Gaming-Setup-Project/blob/main/debian_gaming_setup.py
# Test (safe)
sudo python3 debian_gaming_setup.py --dry-run
# Install (interactive)
sudo python3 debian_gaming_setup.py
# Install (automated)
sudo python3 debian_gaming_setup.py -y --all-platforms --optimizeReady to game on Linux? See Quick_Start.md! ๐ฎ
โญ Star this repo if it helped you! โญ
Made with โค๏ธ for the Linux gaming community
Version 2.1.0 | Updated January 2026