Setting up a Raspberry Pi Gaming Machine with MoonLight
We have a simple 5 Step Process to follow for your Raspberry pi Gaming with MoonLight, after the Project will be up and running, let’s go ahead and start off! Assuming you have a RaspberryPi 3 and the necessary equipment up and running as a StandAlone Machine.
Table Of Contents
Make Sure you install GeForce Experience on your PC to have Raspberry Pi Gaming enabled
Step 1 – Dependencies
I recommend Raspbian img, It can be found on the Official Raspberry Site. This eliminates a lot of the top-head installing that may be needed. So with that said Open your terminal and Copy Paste the Following.
sudo apt-get install libopus0 libasound2 libudev0 libavahi-client3 libcurl3 libevdev2
Next, we will be setting up our audio.
Step 2 – Sound
We will be editing our boot configuration file. This is to assure our sound is coming from our HDMI Cord.
sudo nano /boot/config.txt
You will enter this line if it’s not already.
Step 3 – Downloading MoonLight
This is the software that is going to allow us to view our PC on our RaspberryPi. Before we download we need to add it to our Sources List.
sudo nano /etc/apt/sources.list
Now once the file opens up you’ll need to add the following line and exit. Don’t forget to save it!
deb http://archive.itimmer.nl/raspbian/moonlight wheezy main
Run an update check on your Raspberry. I recommend getting in the norm of running this command each time you install a new program. It assures you are downloading the correct software and your current software is up to date. BOTTOM-LINE: It nips problems in the rear-end. To be good on a Linux. You learn to do preventive maintenance. This is like backup’s, Keeping the system up to date and more.
sudo apt-get update sudo apt-get upgrade
Now we can run our command to initialize the installation of Moonlight.
sudo apt-get install moonlight-embedded
Step 4 – Moonlight Setup/Configuration
Find your IP of your Windows PC by running this command in PowerShell or cmd.exe
You should see your ip-address their. It will be differnt but mine is 192.168.0.35. Now on your RaspberryPi, type the following command to pair the two systems.
moonlight pair YOUR-IP
Now once this is complete take the PIN CODE that is given after you enter the command and Paste it into GeForce Experience
Step 5 – Streaming to your Moonlight Setup
Go ahead open Big Picture on Steam, Type the following command and you’re off to the races.
moonlight stream -30fps YOUR-IP
There are a lot of commands These include 1080p streaming, changing bitrates, resolutions ways to set up controllers and more. I will give you the GitHub page to do a little reading and finalize your setup being each will be completely differnt. As always with my post if you have any problems feel free to contact me on social media or by comments and I will do what I can to help you! Download the Package GitHub
Raspberry Pi Gaming at its finest
Setting up a Smart Home with the Raspberry Pi Has never been Easier. Follow along as we transfer your house into the 20th century!
Setting up a Raspberry Pi Gaming Machine with MoonLight We have a simple 5 Step Process to follow for your Raspberry pi Gaming with MoonLight, after the Project will be up and running, let’s go ahead and start off! Assuming you have a RaspberryPi 3 and the necessary equipment up and running as a StandAlone […]