Skip to content

Streamline your Debian-based Linux gaming setup with this all-in-one Python script! Automate GPU drivers (NVIDIA/AMD/Intel), platforms (Steam/Lutris/Heroic/ProtonUp-Qt/SOBER/Waydroid), & tools (GameMode/MangoHud/vkBasalt/GreenWithEnvy/mod managers). Supports 10+ distros, VMs, interactive/CLI modes, dry-run, rollback, & logging.

License

Notifications You must be signed in to change notification settings

Sandler73/Debian-Gaming-Setup-Project

Debian-Based Gaming Setup Script v2.1

A comprehensive automated gaming environment setup for Debian-based Linux distributions

License: MIT Python 3.6+ Ubuntu Maintained

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.


๐ŸŒŸ What's New in v2.1

  • โœจ 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


๐Ÿš€ Quick Start

One-Command Installation

# 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 --launcher

That's it! Reboot after installation and start gaming! ๐ŸŽฎ

See Quick_Start for detailed first-time setup guide.


โญ Key Features

  • โœ… 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

๐Ÿ“ฆ What Gets Installed

Core Components

  • 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

New in v2.1 โœจ

  • 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


๐Ÿ’ป Supported Systems

Tested & Verified โœ…

  • 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+

Hardware Support

  • Physical GPUs - NVIDIA GeForce/Quadro/Tesla, AMD Radeon, Intel HD/Iris/Arc
  • Virtual Machines - VMware, VirtualBox, KVM/QEMU, Hyper-V

See full compatibility matrix


๐ŸŽฏ Usage Examples

Complete Setups

NVIDIA Gaming PC:

sudo python3 debian_gaming_setup.py -y \
    --nvidia --all-platforms --wine --ge-proton \
    --gamemode --mangohud --gwe --vkbasalt \
    --discord --obs --optimize --launcher

AMD Gaming PC:

sudo python3 debian_gaming_setup.py -y \
    --amd --all-platforms --wine --ge-proton \
    --gamemode --mangohud --vkbasalt --optimize

Virtual Machine:

sudo python3 debian_gaming_setup.py -y \
    --vm-tools --steam --lutris --gamemode

Specialized Setups

Roblox Player:

sudo python3 debian_gaming_setup.py -y --sober

Mobile Gaming:

sudo python3 debian_gaming_setup.py -y --waydroid --controllers

Visual Enhancement:

sudo python3 debian_gaming_setup.py -y --vkbasalt --reshade --mangohud

See more examples in Usage_Guide.md


๐ŸŽ›๏ธ Command-Line Options

Quick Reference

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


๐ŸŽฎ Post-Installation

Essential Steps

  1. Reboot (required for drivers)

    sudo reboot
  2. Verify GPU drivers

    nvidia-smi  # NVIDIA
    glxinfo | grep "OpenGL renderer"  # AMD/Intel
  3. Configure Steam

    • Settings โ†’ Compatibility
    • Enable "Steam Play for all titles"
    • Select Proton Experimental
  4. Test with a game

    • Native: Counter-Strike 2, Portal 2 (free)
    • Proton: Stardew Valley, Terraria
  5. Use performance launcher

    ~/launch-game.sh steam

Detailed post-install guide in Quick_Start.md


๐Ÿ“– Documentation

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

๐Ÿ› Troubleshooting

Common Issues

"Package has no installation candidate"

sudo apt-get update && sudo apt-get upgrade

NVIDIA driver not loading

sudo apt-get install --reinstall nvidia-driver-*
sudo update-initramfs -u && sudo reboot

Steam won't launch

steam  # Run from terminal to see errors
rm -rf ~/.steam/steam/appcache/  # Clear cache

Check logs

cat ~/gaming_setup_logs/gaming_setup_*.log | tail -100
grep ERROR ~/gaming_setup_logs/gaming_setup_*.log

Full troubleshooting guide in Usage_Guide.md


๐Ÿค Contributing

Contributions welcome! See CONTRIBUTING.md for guidelines.

Quick steps:

  1. Fork repository
  2. Create feature branch
  3. Test with --dry-run
  4. Submit pull request

Areas needing help:

  • Testing on different distributions
  • Additional platform support
  • Documentation improvements
  • Bug fixes

๐Ÿ“Š Project Stats

  • 3,341 lines of Python code
  • 51+ CLI arguments for automation
  • 6 gaming platforms supported
  • 15+ utilities included
  • 10+ distributions tested
  • Active maintenance ongoing

๐ŸŒŸ Acknowledgments

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

๐Ÿ“œ License

MIT License - Free to use, modify, and distribute.


โš ๏ธ Disclaimer

This script makes system-level changes. Always:

  • โœ… Backup important data
  • โœ… Test with --dry-run first
  • โœ… Review logs for errors
  • โœ… Understand what's being installed

Use at your own risk. No warranty provided.


๐Ÿš€ Get Started

# 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 --optimize

Ready 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

Report Issue | Request Feature | Contribute

About

Streamline your Debian-based Linux gaming setup with this all-in-one Python script! Automate GPU drivers (NVIDIA/AMD/Intel), platforms (Steam/Lutris/Heroic/ProtonUp-Qt/SOBER/Waydroid), & tools (GameMode/MangoHud/vkBasalt/GreenWithEnvy/mod managers). Supports 10+ distros, VMs, interactive/CLI modes, dry-run, rollback, & logging.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages