PDF download Download Article
Play your PC games anywhere with Moonlight for Steam Deck
PDF download Download Article

Moonlight is an open-source program that allows you to use NVIDIA's Gamestream to stream games from your PC to any device, including Steam Deck. This allows you to play games over Wi-Fi on your Steam Deck using your PC's hardware, which allows you to play games at much higher settings and improve your battery life. You can also use the Internet Hosting Tool to stream over the internet and remote-play games on your PC while away from home. This wikiHow article teaches you how to install, configure, and stream to your Steam Deck using Moonlight.

Installing and Running Moonlight on a Steam Deck

  • Download and install the Sunshine Client from GitHub to your PC to allow streaming from your PC to your Steam Deck.
  • You can download Moonlight to your Steam Deck from the Discover Store while in Desktop Mode. Add Moonlight to your Steam library as a non-Steam game.
  • Connect your Steam Deck and PC to the same Wi-Fi network. Launch Moonlight on your Steam Deck and Sunshine on your PC. Select your PC, and enter the PIN in the Sunshine web UI.
Part 1
Part 1 of 6:

Installing Sunshine on your PC

PDF download Download Article
  1. You'll need to download Sunshine on your PC to host a streaming session. You can download it from its GitHub page at the following address:
  2. It's in the column on the right below "Releases." This takes you to the download page for the latest version of Sunshine.
    Advertisement
  3. All links are below "Assets" If you are installing Sunshine on Windows, click the sunshine-windows-installer.exe link. You can also download Sunshine for various Linux distributions.
    • If you want to install Sunshine on Mac, you can do so using the Profile version of Sunshine. You will also need to install MacPorts and Blackhole Audio Sink. You can find instructions for installing Sunshine on Mac here .
  4. By default, the installer file can be found in your downloads folder. Double-click the installer file to open it.
    • If the file gets flagged by your antivirus or Windows Defender, click More Info and then click Run anyway or click the option to bypass your antivirus software.
  5. Next, you'll go through the usual process to install the program. Follow the prompts to install Sunshine.
  6. Advertisement
Part 2
Part 2 of 6:

Installing Moonlight on Steam Deck

PDF download Download Article
  1. Moonlight is not available on Steam , so you will need to switch to Desktop mode to install it. Use the following steps to do so:
    • Press the Steam button on your Steam Deck.
    • Select Power from the Steam menu
    • Select Switch to Desktop .
  2. Once your Steam Deck switches to Desktop mode, you can launch the Discover store. It has an icon that resembles a blue shopping bag. Select it in the dock at the bottom of the screen.
  3. The search bar is at the top of the column on the left side.
  4. This will install Moonlight on your Steam Deck.
  5. Advertisement
Part 3
Part 3 of 6:

Adding Moonlight to Steam

PDF download Download Article
  1. Make sure you are still in Desktop mode. Click the Steam icon on your Desktop or Dock to open Steam. Adding Moonlight to Steam as a non-Steam game allows you to use Moonlight in Game mode.
  2. It's in the lower-right corner of the Steam app. This allows you to add non-Steam games and applications to your Steam library.
  3. It'll be in the list of programs you have installed on your Steam Deck.
  4. This adds Moonlight to your Steam library so that you can access it in Game mode.
  5. Advertisement
Part 4
Part 4 of 6:

Configuring Moonlight

PDF download Download Article
  1. Use the following steps to do so:
    • Restart your Steam Deck.
    • Boot your Steam Deck up in Game mode.
    • Press the Steam button.
    • Select Library .
    • Select the Non-Steam tab at the top.
    • Select Moonlight .
  2. You can do this from the Moonlight page in Steam. Use the following steps to do so:
    • Select the Gear icon on the right side.
    • Select Manage .
    • Select Properties .
    • Set the Game Resolution to "1920x1200".
    • Check "Set resolution for internal and external display."
  3. To do so, select Play on the Moonlight page in Steam.
  4. To do so, press the Steam button and select Controller settings .
  5. You can do so in the Quick Settings. Scroll down to "Right trackpad behavior" and make sure it is set as "as Mouse." Everything else should have controller settings.
    • You can select Edit Layout at the top to configure your button settings.
  6. It's the first drop-down menu at the top of the page.
    • Alternatively, you can select Custom and set the resolution to "!280x800" to match the resolution of the Steam Deck screen. It's important you set the screen resolution to 1920x1200 for super sampling or match the resolution of the Steam Deck display.
  7. This will vary depending on your internet speed. Start at 20Mbps and see if you have any stuttering or jitters. If you do, increase the bitrate by another 20Mbps. Keep experimenting until you find a good bitrate for your internet connection.
  8. It's the first option below "Advanced Settings" on the right.
  9. It's the second option below "Advanced Settings". This codec produces the best quality picture at a lower bitrate, and it supports HDR .
    • If you have a Steam Deck with an OLED display, ensure "Enable HDR (Experimental)" is checked.
    • Be sure to check all the rest of the settings to make sure there isn't anything else you want to configure for your particular setup or preferences.
  10. Advertisement
Part 5
Part 5 of 6:

Streaming Over Wi-Fi with Moonlight

PDF download Download Article
  1. In order to stream from your PC to your Steam Deck, both devices need to be on the same wireless network (unless you set up your computer for remote streaming ). [1]
  2. Use the following steps to do so:
    • Open the Sunshine shortcut or app.
    • Enter any username you want in the field that says "Username."
    • Enter a password that you can remember in the "Password" field.
    • Enter the password again to confirm it.
    • Click Log In .
    • Enter the username and password in the window when it pops up.
    • Click Sign In .
  3. Use the following steps to do so:
    • Boot your Steam Deck up in Game mode.
    • Press the Steam button.
    • Select Library .
    • Select the Non-steam tab at the top.
    • Select Moonlight .
    • Select Play .
  4. If your computer is on the same network and you have Sunshine running on it, you should see it listed when you launch Moonlight on your Steam Deck. You will see a pop-up that displays a PIN.
  5. Return to your computer and use the following steps to enter the PIN.
    • Click the PIN tab at the top of the page.
    • Enter the PIN displayed on your Steam Deck where it says "PIN."
    • Click Send .
  6. Once Moonlight connects to your PC, you can select Desktop or Steam . "Steam" allows you to stream Steam games from your PC to your Steam Deck, while Desktop allows you to control your entire desktop computer using your Steam Deck.
    • If you are streaming your computer's desktop to your Steam Deck, you may want go into your computer's settings and change the display resolution to match your Steam Deck display (
  7. Advertisement
Part 6
Part 6 of 6:

Setting Up Remote Streaming

PDF download Download Article
  1. You can do this manually in your router's configuration page, or you can use the following steps to do it automatically using Sunshine: [2]
    • Open the Sunshine app on your PC.
    • Click the Configuration tab at the top.
    • Click the Network tab at the top.
    • Set "UPnP" to Enabled .
    • Scroll down and click Save .
  2. If you want to use Moonlight to remote stream from your PC to your Steam Deck while away from home, you will need to download the internet hosting tool. Use the following steps to do so.
    • Go to https://github.com/moonlight-stream/Internet-Hosting-Tool/ in a web browser.
    • Click the latest release in the column to the right.
    • Click the download link for the version that works if your PC is already paired with Moonlight.
    • Open the installation file in your Downloads folder.
    • Follow the instructions to complete the installation.
  3. You can find it in your Windows Start menu. This will test your ports to see if your PC is able to stream over the internet. If it is, it will display your computer's public IP address.
    • Warning: Do not share your public IP address with anyone. People can use this to gain access to your computer.
  4. Use the following steps to launch Moonlight on your Steam Deck:
    • Boot your Steam Deck up in Game mode.
    • Press the Steam button.
    • Select Library .
    • Select the Non-steam tab at the top.
    • Select Moonlight .
    • Select Play .
  5. It's the icon that resembles a computer screen with a plus sign (+). It's in the upper-right corner.
  6. This adds your computer to the list of computers you can connect to. As long as your computer has a stable internet connection, you can stream from your PC to your Steam Deck over the internet anywhere where you have a good internet connection.
    • You may need to lower the bitrate in the Settings menu for a smoother streaming experience while streaming over the internet.
    • It is recommended you connect your PC to the internet using a wired connection for increased stability for remote streaming.
  7. Advertisement

Expert Q&A

Ask a Question
      Advertisement

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!

      About This Article

      Thanks to all authors for creating a page that has been read 1,149 times.

      Did this article help you?

      Advertisement