Introduction: Raspberry Pi 3 Gaming With Steam
When I originally purchased my Raspberry Pi 3, Gaming was at the top of my list of things to try. And with that, streaming AAA titles from steam was something I was keen on trying.
Step 1: What You Need to Stream Steam to Raspberry Pi
- Raspberry Pi 3
- 5V 2.5A Power Supply
- 8GB+ Micro SD Card (Recommend Samsung)
- A Windows PC with a GTX650+ Nvidia Graphics Card
- Steam with Steam Games installed
- Xbox 360 Wired Controller
NOTES: The Raspberry Pi 3 requires a 2.5A power supply so make sure you have one that is capable. I highly recommend Samsung Mico SD Cards due to a technology called Wear Leveling which greatly increases the life span of the memory card. A computer with Windows 7, 8, 8.1 or 10 installed is required as well as needing an NVIDIA Graphics card greater than a GTX650. This uses the GameStream technology that Moonlight utilises. to stream your gaming from your PC to your Raspberry Pi.
Step 2: Preparing the Micro SD Card for the Raspberry Pi
Firstly, make sure you download the latest Raspbian image from the Raspbery Pi website. Raspbian is the Operating System that we will use in order to interact with the Raspberry Pi. Once this has downloaded, you will need to extract it from the zip file. You could use a tool like 7zip to achieve this.
Once you've downloaded this, you will need to install Win32DiskImager in order to prepare your Micro SD Card. Once Win32DiskImager is installed, launch the application and click the folder image. Now you must select the Rasbian image that was extracted previously.
Next, we need to choose the drive letter the Micro SD Card was in. Make sure you select the right drive letter as you could loose all your data.
Now click WRITE and wait until the process finishes. Click OK and EJECT the Micro SD Card and put it in your Raspberry Pi 3.
Step 3: Raspberry Pi 3 Raspbian Setup
Boot up your Raspberry Pi 3 and after it's initial setup, you should be greeted with the Raspbian desktop. Depending on your version, the image may look different. Navigate to the menu and look for Command Line. Once that comes up, you will need to type in the first line and wait and then type in the next line and wait.
sudo apt-get update
sudo apt-get dist-upgrade
This will make sure your installation is completely up to date.
Step 4: Installing Moonlight on the Raspberry Pi 3
We will need the COMMAND LINE within Raspbian again. Once that's up, type in the following command.
sudo bash -c 'printf "deb http://archive.itimmer.nl/raspbian/moonlight jessie main\n" >> /etc/apt/sources.list'
This will add the source online for downloading the latest Moonlight.
Next we need to do a quick update (First Line) followed by installing Moonlight (Second Line).
sudo apt-get update sudo apt-get install moonlight-embedded
Now Moonlight is installed and almost ready to go.
Step 5: Discover Your Computers IP Address
You will need to discover the IP Address on the computer that has Steam installed on it. To do this, hit the windows key and start typing CMD and press enter.
This should start up a command prompt. Here you will need to type in:
This will help you identify your computers IP address. Generally, you'll be looking for 192.168.XXX.ZZZ. ZZZ should not be 1 or 001 as this is usually your router or modem.
Once you have this IP address, it's back to the PI to setup Moonlight.
Step 6: Configuring Moonlight
Now we need to pair the Raspberry Pi with the GameStream service within the Geforce Experince. To do that, type in the following code within the Command Line on the Raspberry Pi where 192.168.XXX.ZZZ is your IP address from the previous step.
moonlight pair 192.168.XXX.ZZZ
Take note of the PIN number the Raspberry Pi gives and race back to the computer with Steam.
On your steam computer, GeForce Experience should now pop up asking for the PIN. Type this in and click CONNECT.
The Raspberry Pi should now display PAIRED.
Step 7: Launching Moonlight From Your Raspberry Pi 3
Now everything is paired and running, you just need to plug in your Xbox 360 Controller and start moonlight with the following command into the command line on the Raspberry Pi 3.
moonlight stream -1080 -30fps -app Steam
You can change a few setting here like -720 instead of -1080 and -60fps instead of -30fps for an obvious frame increase.
Congratulations. You are all finished and streaming Steam to your new Raspberry Pi 3 Gaming device!!!!
We have a be nice policy.
Please be positive and constructive.