Close Menu
    DevStackTipsDevStackTips
    • Home
    • News & Updates
      1. Tech & Work
      2. View All

      Sunshine And March Vibes (2025 Wallpapers Edition)

      June 3, 2025

      The Case For Minimal WordPress Setups: A Contrarian View On Theme Frameworks

      June 3, 2025

      How To Fix Largest Contentful Paint Issues With Subpart Analysis

      June 3, 2025

      How To Prevent WordPress SQL Injection Attacks

      June 3, 2025

      SteelSeries reveals new Arctis Nova 3 Wireless headset series for Xbox, PlayStation, Nintendo Switch, and PC

      June 3, 2025

      The Witcher 4 looks absolutely amazing in UE5 technical presentation at State of Unreal 2025

      June 3, 2025

      Razer’s having another go at making it so you never have to charge your wireless gaming mouse, and this time it might have nailed it

      June 3, 2025

      Alienware’s rumored laptop could be the first to feature NVIDIA’s revolutionary Arm-based APU

      June 3, 2025
    • Development
      1. Algorithms & Data Structures
      2. Artificial Intelligence
      3. Back-End Development
      4. Databases
      5. Front-End Development
      6. Libraries & Frameworks
      7. Machine Learning
      8. Security
      9. Software Engineering
      10. Tools & IDEs
      11. Web Design
      12. Web Development
      13. Web Security
      14. Programming Languages
        • PHP
        • JavaScript
      Featured

      easy-live2d – About Make your Live2D as easy to control as a pixi sprite! Live2D Web SDK based on Pixi.js.

      June 3, 2025
      Recent

      easy-live2d – About Make your Live2D as easy to control as a pixi sprite! Live2D Web SDK based on Pixi.js.

      June 3, 2025

      From Kitchen To Conversion

      June 3, 2025

      Perficient Included in Forrester’s AI Technical Services Landscape, Q2 2025

      June 3, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      SteelSeries reveals new Arctis Nova 3 Wireless headset series for Xbox, PlayStation, Nintendo Switch, and PC

      June 3, 2025
      Recent

      SteelSeries reveals new Arctis Nova 3 Wireless headset series for Xbox, PlayStation, Nintendo Switch, and PC

      June 3, 2025

      The Witcher 4 looks absolutely amazing in UE5 technical presentation at State of Unreal 2025

      June 3, 2025

      Razer’s having another go at making it so you never have to charge your wireless gaming mouse, and this time it might have nailed it

      June 3, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Development»How I Managed to Play AAA Games on Raspberry Pi

    How I Managed to Play AAA Games on Raspberry Pi

    December 9, 2024

    How I Managed to Play AAA Games on Raspberry Pi

    Have you ever thought of running high-end AAA games on a Raspberry Pi? Absurd right?

    Spoiler alert: you can’t. Of course.

    But, you may ask — what about the article’s title?

    In fairness, please note that I mentioned “Play” instead of “Run.” That is the crucial aspect of my experiment 🤓

    You cannot run the game, but what you can do is stream those demanding games from a powerful PC to your Raspberry Pi using Moonlight, and it works like a charm!

    How I Managed to Play AAA Games on Raspberry Pi

    In this article, I’ll show you how I turned my humble Raspberry Pi 5 into a game-streaming powerhouse.

    Stick with me for a breakdown of every step you need to replicate this feat. And don’t worry—I’ll try keeping the technical jargon at bay.

    What is Moonlight?

    Picture this: your beastly gaming rig is upstairs, but your comfy couch (and bigger TV) is downstairs.

    Instead of running an HDMI cable across the house, you can use Moonlight to stream your games over your home network. Moonlight uses Nvidia’s GameStream technology to deliver smooth, high-definition, low-latency gameplay.

    The Raspberry Pi, with its small form factor and affordable price, makes the perfect device for this setup.

    Whether you’re using a Raspberry Pi 4 or the newer Raspberry Pi 5, Moonlight can help you bring AAA gaming to the comfort of any room.

    What You’ll Need

    Here’s the gear that I used for this project:

    💡
    A wired connection is highly recommended for both your Raspberry Pi and your PC for the best experience.
    • Raspberry Pi 4/5 (the more powerful, the better)
    • MicroSD Card (16 GB or larger, for the OS)
    • Ethernet Cable (for low latency)
    • USB Mouse and Keyboard
    • Controller (Xbox or PlayStation, optional but recommended)
    • A PC with a Compatible Nvidia GPU (running Sunshine, an open-source GameStream host)

    Step 1: Preparing Your Raspberry Pi

    📋
    You should install the official Raspberry Pi OS on your Pi first.

    Start by making sure your Raspberry Pi is updated. Open the terminal and run these commands:

    sudo apt update && sudo apt full-upgrade -y
    How I Managed to Play AAA Games on Raspberry Pi

    You will need curl for downloading the repository and pulseaudio for audio support. Install them with:

    sudo apt install curl pulseaudio
    How I Managed to Play AAA Games on Raspberry Pi

    Set PulseAudio to start automatically when the Pi boots:

    sudo systemctl --global enable pulseaudio
    How I Managed to Play AAA Games on Raspberry Pi

    Step 2: Installing Moonlight

    Run the following command to add the Moonlight package repository:

    curl -1sLf 'https://dl.cloudsmith.io/public/moonlight-game-streaming/moonlight-qt/setup.deb.sh' | distro=raspbian codename=$(lsb_release -cs) sudo -E bash
    
    How I Managed to Play AAA Games on Raspberry Pi

    Once the repository is added, install Moonlight with:

    sudo apt install moonlight-qt
    How I Managed to Play AAA Games on Raspberry Pi

    Step 3: Configuring Moonlight

    Edit the crontab file to launch Moonlight automatically when your Pi starts. This way, you get a seamless experience.

    crontab -e
    
    How I Managed to Play AAA Games on Raspberry Pi

    Add this line at the end of the file:

    @reboot moonlight-qt
    How I Managed to Play AAA Games on Raspberry Pi

    Reboot your Pi to apply the changes:

    sudo reboot now

    Step 4: Pairing Moonlight with your PC

    Download and install Sunshine, an open-source GameStream server, on your PC. This is essential for pairing with Moonlight.

    How I Managed to Play AAA Games on Raspberry Pi

    Once installed, it will redirect you to a browser window, where you need to set up a user first before you can access anything:

    How I Managed to Play AAA Games on Raspberry Pi

    Once done, you are ready to launch Moonlight on your Raspberry Pi.

    💡
    If your PC doesn’t appear automatically, click the + icon and manually enter your PC’s IP address.
    How I Managed to Play AAA Games on Raspberry Pi

    You’ll be prompted with a PIN code. Enter this PIN in the Sunshine web interface on your PC to complete the pairing.

    How I Managed to Play AAA Games on Raspberry Pi

    You need to enter this PIN here in the Sunshine web UI:

    How I Managed to Play AAA Games on Raspberry Pi

    Sunshine should automatically add the desktop to stream, but you can manually use Sunshine’s web interface to add specific applications, the desktop, or games to the list of streamable apps.

    How I Managed to Play AAA Games on Raspberry Pi

    Step 5: Start Streaming!

    With everything set up, you can now stream games to your Raspberry Pi. Connect your controller, choose a game from the Moonlight interface, and enjoy the magic of high-performance gaming on your Pi.

    If you are wondering the input lag and poor framerate, that’s all because I tested this whole setup on Wi-Fi just for the tutorial. Unlike me, you are smart and will use a wired connection.

    Final Thoughts

    Running AAA games directly on a Raspberry Pi is not an ideal thought because of what it’s built for. Thanks to Moonlight, you can stream games effortlessly on your Raspberry Pi, so it is always useful in one way or the other.

    With a bit of preparation, your Raspberry Pi can transform into a versatile gaming client, letting you enjoy PC-quality gaming anywhere in your home.

    💭 Have questions or tips of your own? Drop them in the comments below, I’d love to hear from you!

    Happy streaming! 🎮

    Source: Read More

    Facebook Twitter Reddit Email Copy Link
    Previous ArticleCreating the Morphing Effect of the Luma Dream Machine Website
    Next Article Yet Another Anchor Positioning Quirk

    Related Posts

    News & Updates

    SteelSeries reveals new Arctis Nova 3 Wireless headset series for Xbox, PlayStation, Nintendo Switch, and PC

    June 3, 2025
    News & Updates

    The Witcher 4 looks absolutely amazing in UE5 technical presentation at State of Unreal 2025

    June 3, 2025
    Leave A Reply Cancel Reply

    Hostinger

    Continue Reading

    I’ve enjoyed FBC: Firebreak in preview, and I’m looking forward to more sticky notes, leeches, and showers this summer

    News & Updates

    RTX 5070 Ti: Should you buy NVIDIA’s latest GPU? Benchmarks, reviews, and the best places to shop.

    News & Updates

    Sightseeing Tours in Berlin: Explore the Heart of Germany’s Capital

    Web Development

    Samsung’s new Galaxy Book5 Pro laptops are “AI PCs,” snubbing Microsoft’s “Copilot+ PC” branding

    News & Updates

    Highlights

    Development

    How to Seamlessly Migrate from Appium 1.x to Appium 2.x: A Comprehensive Guide

    May 15, 2024

    The most recent iteration of the Appium mobile automation framework is Appium 2. This edition…

    PureCrypter Deploys Agent Tesla and New TorNet Backdoor in Ongoing Cyberattacks

    January 28, 2025

    AlphaPlot generates 2D and 3D plots

    April 7, 2025

    Config 2024: How we redesigned Figma

    June 29, 2024
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.