Learning how to enable Moonlight on PC is your first step to a fantastic game streaming setup. Activating Moonlight on your PC allows you to stream games from a powerful host computer to other devices in your home. This guide provides a clear, step-by-step walkthrough to get you streaming quickly.
How To Enable Moonlight On Pc
This section covers the complete process, from checking your hardware to the final connection. We’ll break it down into manageable stages to ensure you don’t miss a step.
Understanding The Moonlight Ecosystem
Moonlight is an open-source client that works with NVIDIA’s GameStream technology. In simple terms, your powerful gaming PC acts as the host, and Moonlight is the receiver you install on other devices like laptops, tablets, or even phones. It’s a popular alternative to Steam Link.
Host PC Requirements
Your main gaming computer needs to meet specific criteria to act as the host.
- An NVIDIA GPU (GTX 600 series or newer) with GeForce Experience installed.
- Windows 10 or 11 (Linux is also possible with Sunshine, which we’ll discuss later).
- A stable wired Ethernet connection is strongly recommended for the host PC.
- Your host PC and client device must be on the same local network.
Client Device Options
You can install the Moonlight client on a wide variety of devices.
- Windows, macOS, or Linux computers.
- Android and iOS smartphones and tablets.
- Certain smart TVs and streaming boxes like the Shield TV.
- Even on a Steam Deck for ultimate portable play.
Preparing Your Host PC
Before you install anything, you need to prepare your gaming PC. This involves configuring GeForce Experience and your network settings.
Step 1: Update GeForce Experience
Open GeForce Experience on your host PC. Navigate to the Settings cog, then click on the “SHIELD” tab. Ensure that “Gamestream” is toggled ON. This is the service Moonlight will connect to.
Step 2: Configure Your Network Firewall
Windows Firewall must allow GameStream communication. Usually, GeForce Experience handles this, but it’s good to check.
- Open Windows Security and go to Firewall & network protection.
- Click “Allow an app through firewall.”
- Find “NVIDIA Network Service Container” and ensure both Private and Public boxes are checked.
If you use a third-party antivirus, you may need to add similar exceptions manually.
Step 3: Optimize Host PC Settings
A few quick tweaks can improve performance.
- Set your host PC to never sleep when plugged in (in Windows Power Options).
- For the best experience, connect your host PC to your router via an Ethernet cable. Wi-Fi can work but may introduce lag.
- Close unnecessary background applications to free up system resources.
Installing And Configuring Moonlight
Now, we move to the device you want to stream to, which we’ll call the client. The following steps focus on a Windows client, but the process is similar on other platforms.
Step 1: Download The Moonlight Client
On your client PC, open a web browser and go to the official Moonlight website. Navigate to the Downloads section and select the version for your client’s operating system (e.g., Windows). Download and run the installer, following the on-screen prompts.
Step 2: Pair Moonlight With Your Host PC
Open the Moonlight application on your client PC. It should automatically scan your network for available host PCs with GameStream enabled. Your gaming PC’s name should appear. Click on it.
A 4-digit PIN will appear on your client screen. You now need to go to your host PC. GeForce Experience should show a notification asking you to enter this PIN. Input the PIN to pair the devices. This is a one-time process.
Step 3: Add Your Games And Applications
After pairing, Moonlight will show a list of games detected by GeForce Experience. You can also add any application on your host PC.
- In Moonlight, click the “+” icon or “Add Game”.
- You will need to manually enter the file path to the application’s .exe file.
- For example, to add your desktop, you can add “C:\Windows\System32\mstsc.exe” which is the Remote Desktop application, providing full access.
Streaming With Sunshine For Non-NVIDIA GPUs
If your host PC has an AMD or Intel GPU, you can still use Moonlight. The solution is an open-source server program called Sunshine. It mimics the GameStream protocol.
Installing Sunshine On Your Host
Download the Sunshine installer from its official GitHub page. Run the installer on your host PC. Once installed, Sunshine will run a web-based configuration page, usually at https://localhost:47990 in your browser.
Configuring Sunshine Basics
- On the Sunshine web page, set a username and password for configuration access.
- Under the “Configuration” tab, you can set up your applications (games) similar to GeForce Experience.
- You will need to set up PIN pairing again from the Moonlight client, using the host PC’s IP address.
Sunshine offers deep customization for encoding and performance, which can be adjusted later for fine-tuning.
Optimizing Your Streaming Experience
Once everything is connected, you can adjust settings for smoother gameplay and better visual quality. These settings are found within the Moonlight client before you start a stream.
Video And Audio Settings
- Resolution: Match your client device’s screen resolution for the sharpest image.
- Bitrate: Higher bitrate means better quality but requires more network bandwidth. Start at 20 Mbps and increase if your network can handle it. A wired connection can often sustain 50-100 Mbps.
- FPS: Set to 60 FPS or 120 FPS if both your host and client support it.
- Audio Configuration: Ensure the correct output device is selected on your client.
Network And Decoding Settings
For the lowest latency, a few advanced settings are key.
- VSync: Setting this to “Off” can reduce latency but may cause screen tearing.
- Frame Pacing: Enabling this helps maintain a consistent framerate.
- Use Hardware Decoding: This should always be enabled on the client if supported, as it uses your client’s GPU to decode the video stream efficiently.
Remember, a wired Ethernet connection for both host and client is the single biggest improvement for stability.
Troubleshooting Common Moonlight Issues
Sometimes things don’t work perfectly on the first try. Here are solutions to frequent problems.
Moonlight Cannot Find My PC
If your host PC doesn’t appear in the Moonlight client’s list, try these fixes.
- Ensure both devices are on the exact same network (same router).
- Disable any VPNs on either the host or client PC.
- Try manually adding the host by its local IP address in Moonlight. You can find your host PC’s IP by opening Command Prompt and typing
ipconfig. - Verify GameStream is enabled in GeForce Experience’s SHIELD settings.
Poor Stream Quality Or High Latency
Lag or a blurry picture is almost always network-related.
- Switch to a wired Ethernet connection if at all possible.
- If you must use Wi-Fi, ensure you are on a 5 GHz band, not the crowded 2.4 GHz band.
- Lower the stream bitrate in Moonlight’s settings. A stable 15 Mbps is better than a choppy 50 Mbps.
- On the host, ensure no other devices are downloading large files or streaming 4K video.
Audio Not Working Or Game Crashes
These issues are often related to the host PC configuration.
- In Windows Sound settings on the host, set the primary audio device to the one you normally use.
- For game crashes, try running the game in Windowed or Borderless Fullscreen mode instead of Exclusive Fullscreen.
- Update your graphics drivers on the host PC to the latest version.
- Some anti-cheat software in games can interfere with streaming; this is a known limitation.
Advanced Configuration And Tips
After mastering the basics, you can explore features that make Moonlight even more powerful.
Wake-On-LAN And Remote Play
You can configure your host PC to wake up from sleep when Moonlight tries to connect.
- Enable Wake-on-LAN in your host PC’s BIOS/UEFI settings.
- In Windows Device Manager, find your network adapter, go to Properties > Power Management, and check “Allow this device to wake the computer.”
- Moonlight has a setting to send the Wake-on-LAN magic packet before connecting.
Using Moonlight On Mobile Devices
The experience on Android or iOS is excellent with a Bluetooth controller. The setup process is identical: download the Moonlight app, pair with your host, and stream. For the best mobile experience, consider a phone clip for your controller.
Creating Multiple Game Profiles
You can create custom streaming settings for individual games. For example, a fast-paced competitive shooter might use a lower resolution and bitrate for maximum speed, while a single-player RPG can use the highest possible quality. Adjust settings per-game in Moonlight after adding them to your list.
Frequently Asked Questions
Can I Use Moonlight Over The Internet?
Yes, but it requires more advanced network setup like port forwarding or using a VPN that supports LAN bridging. Performance is highly dependent on your home internet’s upload speed and your remote location’s download speed.
Does Moonlight Work With AMD Graphics Cards?
Yes, but not with the standard GeForce Experience method. You must use the Sunshine streaming server on your AMD host PC, as detailed earlier in this guide. The Moonlight client on your other devices connects to Sunshine instead.
What Is The Difference Between Moonlight And Steam Link?
Moonlight typically offers lower latency and higher image quality because it uses the NVIDIA GameStream or Sunshine protocol, which is very efficient. Steam Link is more universally compatible and easier to set up for Steam games, but Moonlight often provides a better technical experience and works with non-Steam applications.
Why Is My Stream Stuttering Even With A Good Network?
Stuttering can be caused by the host PC’s encoding performance. Ensure your host PC is not overheating or being maxed out by the game. In GeForce Experience or Sunshine settings, you can try switching between the H.264 and HEVC (H.265) video codecs to see which performs better on your client device.
Is Moonlight Free To Use?
Yes, Moonlight is completely free and open-source software. There are no subscriptions or fees. This applies to the Sunshine server software as well, making it a cost-free alternative to other streaming solutions.