Skip to content

marcchabot/moonlight-embedded

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Moonlight Embedded

Moonlight is an open source implementation of NVIDIA's GameStream, as used by the NVIDIA Shield, but built for Linux/OSX/Windows.

Moonlight Embedded allows you to stream your full collection of Steam games from your powerful Windows desktop to your embedded system, like Raspberry Pi, CuBox-i and Hummingboard.

For a demo see this video.

##Features

  • Streams Steam and all of your games from your PC to your embedded system.
  • Use mDNS to scan for compatible GeForce Experience (GFE) machines on the network.
  • Qwerty Keyboard, Mouse and Gamepad support
  • Support Raspberry Pi and i.MX 6 devices

##Requirements

  • GFE compatible computer with GTX 600/700/900 series GPU (for the PC you're streaming from)
  • High-end wireless router (802.11n dual-band recommended) or wired network
  • Geforce Experience 2.1.1 or higher

##Quick Start

  • Ensure your machine and embedded system are on the same network
  • Turn on Shield Streaming in the GFE settings
  • Start Moonlight Embedded with pair
  • Accept the pairing confirmation on your PC
  • Start Moonlight Embedded with stream
  • Play games!

##Usage

Usage: moonlight [options] host

Actions:

map Create mapping file for gamepad
pair Pair device with computer
stream Stream computer to device
list List available games and applications
quit Quit the application or game being streamed
help Show this help

Streaming options:

-720 Use 1280x720 resolution (default)
-1080 Use 1920x1080 resolution
-width <width> Horizontal resolution (default 1280)
-height <height> Vertical resolution (default 720)
-30fps Use 30fps
-60fps Use 60fps (default)
-bitrate <bitrate> Specify the bitrate in Kbps
-packetsize <size> Specify the maximum packetsize in bytes
-app <app> Name of app to stream
-nosops Don't allow GFE to modify game settings
-input <device> Use <device> as input. Can be used multiple times
-mapping <file> Use <file> as gamepad mapping configuration file (use before -input)
-audio <device> Use <device> as ALSA audio output device (default sysdefault)
-localaudio Play audio locally

Use Ctrl+Alt+Shift+Q to exit streaming session

Packages

Prebuilt binary packages for Raspbian Wheezy are available, add this line to your /etc/apt/sources.list

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

Install package using the following commands

apt-get update
apt-get install moonlight-embedded

Source package for ArchLinux is available in AUR

Prebuilt binary packages for ArchLinux ARM are available, add those lines to you /etc/pacman.conf

[moonlight]
Server = http://archive.itimmer.nl/archlinux/$repo/os/$arch
SigLevel = Optional

Install package using the following command

pacman -Sy moonlight-embedded

##Compile and install

  • Download and extract Moonlight Embedded from release or git clone
  • Install development dependencies (see Dependencies)
  • Initialize the git submodules git submodule update --init
  • Build and install using the following commands
mkdir build
cd build/
cmake ../
make
make install

Dependencies

ArchLinux

Install with

pacman -S (package list)
  • opus
  • expat
  • openssl
  • alsa-lib
  • avahi
  • libevdev

For compilation and development you also need:

  • cmake

Debian (Raspbian)

Install with

apt-get install (package list)
  • libopus0
  • libexpat1
  • libasound2
  • libudev0
  • libavahi-client3
  • libcurl3
  • libevdev2

For compilation and development you also need:

  • libssl-dev
  • libopus-dev
  • libasound2-dev
  • libudev-dev
  • libavahi-client-dev
  • libcurl4-openssl-dev
  • libevdev-dev
  • cmake

See also

Moonlight-common-c is the shared codebase between different C implementations of Moonlight

Moonlight-common-c is the used fork used by Moonlight Embedded

Moonlight-common is the shared codebase between different Java implementations of Moonlight

Moonlight also has an Android implementation.

Moonlight-pc also has an Linux/OSX/Windows implementation.

Moonlight iOS also has an iOS implementation.

Moonlight Windows also has an Windows and Windows Phone implementation.

Discussion

XDA
Raspberry Pi Forum
SolidRun Community

##Contribute

  1. Fork us
  2. Write code
  3. Send Pull Requests

About

Gamestream client for embedded systems

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 91.7%
  • CMake 6.9%
  • C++ 1.4%