未加星标

Stream Steam Games to Your Raspberry Pi With a DIY Link Box

字体大小 | |
[系统(linux) 所属分类 系统(linux) | 发布者 店小二03 | 时间 2017 | 作者 红领巾 ] 0人收藏点击收藏

Gamers herald PCs as the elite gaming platform. Truthfully, desktops especially offer a phenomenal value. With the ease of upgrades and potential price savings by building rather than buying, it’s tough to argue against computer gaming. However consoles provide the comfort and relaxation of living room gaming. Link boxes make it possible to stream games from a PC to a TV.

Yet devices such as the Steam Link are pricey.

Steam’s in-home streaming Steam In-Home Streaming Now Available To Everyone Steam In-Home Streaming Now Available To Everyone Steam In-Home Streaming, a feature that allows users to broadcast their games from one computer in their home to another, is now available for all Steam users to use. Read More was revolutionary. No longer were gamers required to lug their bulky desktops and laptops to the living room for a spot of couch gaming. Retro gaming on the Raspberry Pi Retro Gaming on the Raspberry Pi: Everything You Need to Know Retro Gaming on the Raspberry Pi: Everything You Need to Know Indeed, who in their right mind would have guessed that the little Raspberry Pi could prove so vital as a platform for so-called retro gaming, offering support for a vast array of emulators and different... Read More stands as one of the most popular uses for the Pi board. There’s RetroPie, as well as RecalBox, one of the best new linux distros The Newest Linux Operating Systems and Who Should Try Them The Newest Linux Operating Systems and Who Should Try Them Linux operating systems are constantly updated, with some are more substantial than others. Not sure whether to upgrade? Check out these new Linux operating systems and to see if you should try them. Read More . But a Raspberry Pi can serve as a perfectly functional do-it-yourself (DIY) link box, not merely retro gaming. With just a Raspberry Pi, compatible video card, and open source software, you can stream Steam games to your TV.

Here’s how to set up a DIY Steam link box with a Raspberry Pi!

DIY Raspberry Pi Link Box Prerequisites
Stream Steam Games to Your Raspberry Pi With a DIY Link Box

In order to set up a Raspberry Pi as a link box for streaming Steam games, you’ll need a few items. First, the Raspberry Pi. Although you technically can use a Raspberry Pi B+, a Raspberry Pi 2 or 3 will yield the best performance. The Pi 2 and 3 both feature quad-core processors which vastly improve the streaming experience. You’ll also need a compatible graphics card. Only Nvidia GTX series cards function for this (sorry AMD fans). Any Nvidia GTX series from the GTX 650 and up should work. Additionally, you’ll need the GeForce Experience software. This runs on the PC where your games are installed. Likewise, you’ll need Steam and compatible games.

On the Raspberry Pi, you’ll need the latest version ofRaspbian Jessie 5 Ways New Raspbian Jessie Makes Raspberry Pi Even Easier to Use 5 Ways New Raspbian Jessie Makes Raspberry Pi Even Easier to Use Following the release of Debian Jessie in July, the Raspberry Pi community has been blessed with a new release of the Raspbian variant, based on the "parent" distro. Read More and Moonlight. Formerly Limelight, Moonlight is an open-source version of the same Nvidia software that’s used to stream to devices like the Nvidia SHIELD.

GTX 650 or higher Nvidia graphics card. Raspberry Pi 2 or 3. 8 GB or larger microSD card. Raspbian or alternate Debian-based Raspberry Pi-compatible distro. GeForce Experience software. Moonlight. Installing GeForce Experience
Stream Steam Games to Your Raspberry Pi With a DIY Link Box

Before you can begin streaming games, you’ll need to download and install GeForce Experience on your PC. This proprietary Nvidia software features game-ready drivers, game optimization, and streaming capabilities. This is what will ultimately cast the video games installed on your PC to the Raspberry Pi running Moonlight. If you don’t already have GeForce Experience installed, you can download GeForce Experience from Nvidia . My machine, an HP Omen laptop sporting a GTX 965m and i7-6700HQ processor, came with GeForce Experience pre-installed.

Once that’s downloaded, navigate to your downloads folder and install it. After the brief installation, open GeForce Experience. It should populate the main screen with any compatible games. Click the Settings cog in the top right hand corner of the screen.


Stream Steam Games to Your Raspberry Pi With a DIY Link Box

Navigate to the SHIELD tab and toggle Gamestream on. You can view a list of compatible games on the Nvidia website . Note that games feature a range of controller and keyboard and mouse functionality.


Stream Steam Games to Your Raspberry Pi With a DIY Link Box
Setting Up Moonlight

Once GeForce Experience and GameStream are configured, it’s time to set up Moonlight . Formerly Limelight, Moonlight is an open-source version of Nvidia’s GameStream client, and allows you to stream your game library across multiple devices. There are clients for Android, iOS, windows, macOS, and Linux.

Dependencies and Audio Configuraiton

This installation assumes that you’re starting with a Raspberry Pi running Raspbian. You can easily install Raspbian along with several other imagesusing NOOBS How To Install An Operating System To Your Raspberry Pi How To Install An Operating System To Your Raspberry Pi Here's how to get a new OS installed and running on your Pi and how to clone your perfect setup for quick disaster recovery. Read More . Once you’ve booted into Raspbian on your Raspberry Pi, open a terminal. We’ll start by ensuring that all dependencies are installed:

sudo apt-get install libopus0 libasound2 libudev0 libavahi-client3 libcurl3 libevdev2
Stream Steam Games to Your Raspberry Pi With a DIY Link Box

Next, you want to configure your audio. This step forces sound to come out of the HDMI port. To accomplish this you’ll need to edit the boot configuration. Run

sudo nano /boot/config.txt

This loads the Raspberry Pi’s nano text editor. At the end of the file, type

hdmi_drive=2
Stream Steam Games to Your Raspberry Pi With a DIY Link Box
Press CTRL+Z to exit, then Y to confirm. The Raspberry Pi should now be properly set up to deliver audio over HDMI. Installing Moonlight

After installing dependencies and configuring the Raspberry Pi audio, install Moonlight. To download Moonlight, we need to add Moonlight to the sources list. Open a terminal, and enter:

sudo nano /etc/apt/sources.list

After this loads the text editor, add the following line. If you’re on Debian Wheezy, enter:

deb http://archive.itimmer.nl/raspbian/moonlight wheezy main

Debian Jessie users should enter:

deb http://archive.itimmer.nl/raspbian/moonlight jessie main
Stream Steam Games to Your Raspberry Pi With a DIY Link Box
After adding Moonlight to your sources list, check for updates: sudo apt-get update
Stream Steam Games to Your Raspberry Pi With a DIY Link Box
When you are finished updating, install Moonlight via the command line: sudo apt-get install moonlight-embedded
Stream Steam Games to Your Raspberry Pi With a DIY Link Box
Configuring Moonlight

Once Moonlight is installed it must be paired with GeForce Experience. This allows GameStream to broadcast select video games from the host PC where the games are installed to the Raspberry Pi running Raspbian. You’ll need to know the IP address of your host PC. If you don’t know this, you can pull up a command prompt and enter:

ipconfig

With your PC IP address enter the following command in a terminal on the Raspberry Pi:

moonlight pair [ip address]
Stream Steam Games to Your Raspberry Pi With a DIY Link Box
This should yield a message that a certificate has been generated. You should also see a four digit PIN. On your host PC, GeForce Experience pops up a dialog box. Enter the PINand click Connect .
Stream Steam Games to Your Raspberry Pi With a DIY Link Box

In the command line you’ll see a message that reads “successfully paired.”

Running Games
Stream Steam Games to Your Raspberry Pi With a DIY Link Box

After the above installation, Moonlight is properly installed. To run games, open a terminal and type:

moonlight stream [options] -app [app name]

For instance, when I launched Steam I typed:

moonlight stream -1080 -30fps -app Steam

When launching games, you’ll need to specify the resolution and frame rate. While the Raspberry Pi handles 1080p pretty well, 60 frames per second (fps) 1080p performance was awful. This remains consistent with both Raspberry Pi 2 and Pi 3 boards. Therefore I’d recommend sticking with 30 fps.

Other Moonlight Options

Unlike software with a graphical user inferface, you’ll need to specify your options in the command line. Below you can find the full list of options.

Set resolution to 720p:

-720

Set resolution as 1080p:

-1080

Set horizontal resolution as x:

-width x

Set vertical resolution as x:

-height x

Set frames per second to 30:

-30fps

Set frames per second to 60:

-60fps

Set bitrate as x Kbps:

-bitrate x

Set maximum packet to x bytes:

-packetsize x

Stream a program (i.e. Steam):

-app x

Disallow GeForce Experience modifying game settings:

-nosops

Specify an input:

-input x

Specify a gamepad mapping configuration:

-mapping x

Use the Advanced Linux Sound Architecture (ALSA):

-audio x

Play audio locally:

-localaudio Streaming Steam Games to Your Raspberry Pi

Overall, the Raspberry Pi makes a fantastic Steam Box. If you simply want the PC gaming experience on your television, a Raspberry Pi will serve the same purpose as a Steam Link at a fraction of the cost. Since Moonlight is a Debian-based install, theoretically it should function properly on any Debian system. That means Moonlight should function on distros like Ubuntu and OSMC. Additionally, you can probably use similar means to run Moonlight on distros such as old school gaming platform RetroPie and the RetroPie alternative Recalbox .

Ultimately, if you’re in the market for a Steam Link, you can build your own for a fraction of the price. My Raspberry Pi 2 handles 1080p, 30 fps streaming perfectly. Even over Wi-Filag remained fairly low. However, a Raspberry Pi 3 and Ethernet connection offer the best performance.

The Linux gaming space has truly blossomed. There’s Steam for Linux and SteamOS Gaming on Linux is Here: Install SteamOS Beta Today Gaming on Linux is Here: Install SteamOS Beta Today If you've become interested in gaming on Linux, using SteamOS as your Linux distribution of choice is a good idea. This guide covers every step and possible question you may have during installation. Read More , thePlayOnLinux frontend PlayOnLinux Brings Windows Games & Programs To Linux PlayOnLinux Brings Windows Games & Programs To Linux Read More for Wine, and even methods for creating a game server on Linux

本文系统(linux)相关术语:linux系统 鸟哥的linux私房菜 linux命令大全 linux操作系统

主题: Raspberry PiLinuxDebianWindowsAndroidAMDiOSUbuntuFila
分页:12
转载请注明
本文标题:Stream Steam Games to Your Raspberry Pi With a DIY Link Box
本站链接:http://www.codesec.net/view/532919.html
分享请点击:


1.凡CodeSecTeam转载的文章,均出自其它媒体或其他官网介绍,目的在于传递更多的信息,并不代表本站赞同其观点和其真实性负责;
2.转载的文章仅代表原创作者观点,与本站无关。其原创性以及文中陈述文字和内容未经本站证实,本站对该文以及其中全部或者部分内容、文字的真实性、完整性、及时性,不作出任何保证或承若;
3.如本站转载稿涉及版权等问题,请作者及时联系本站,我们会及时处理。
登录后可拥有收藏文章、关注作者等权限...
技术大类 技术大类 | 系统(linux) | 评论(0) | 阅读(26)