Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| systems:moonlight [2021/08/27 02:46] – Moonlight is fixed with Batocera 32 lbrpdx | systems:moonlight [2026/03/12 15:45] (current) – Reorg paragraphs to get 43 instructions earlier lbrpdx | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== Moonlight ===== | + | <WRAP group> |
| + | <WRAP round box twothirds column> | ||
| + | {{ https:// | ||
| - | [[https:// | + | ====== |
| - | Batocera | + | [[https:// |
| - | <WRAP important> | + | Up to Batocera 42, we used [[https:// |
| - | If you run a current version of NVidia GeForce Experience, you need Batocera | + | |
| + | Starting with Batocera | ||
| + | |||
| + | <WRAP center round important> | ||
| + | The Moonlight protocol changes regularly, and you need to have a client version compatible with the Sushine Streaming Server [[https:// | ||
| </ | </ | ||
| - | <WRAP info> | + | < |
| Moonlight is designed to stream games and applications from your PC accessible via LAN or VPN. It will not work with Cloud-streaming services like [[https:// | Moonlight is designed to stream games and applications from your PC accessible via LAN or VPN. It will not work with Cloud-streaming services like [[https:// | ||
| </ | </ | ||
| + | |||
| + | This system scrapes metadata for the " | ||
| + | </ | ||
| + | |||
| + | <WRAP third column> | ||
| + | {{ https:// | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | ==== Quick reference ==== | ||
| + | |||
| + | * **Emulator: | ||
| + | * **Folder:** ''/ | ||
| + | * **Accepted ROM formats:** '' | ||
| ==== Prerequisites ==== | ==== Prerequisites ==== | ||
| Line 17: | Line 37: | ||
| These are the PC side prerequisites to enable Moonlight to fetch and stream your games: | These are the PC side prerequisites to enable Moonlight to fetch and stream your games: | ||
| - | * NVIDIA GeForce GTX/RTX 600+ series GPU | + | * AMD: VCE 1.0 or higher, see [[https:// |
| - | * NVIDIA GeForce Experience (GFE) 2.1.1 or higher | + | * Intel: VAAPI-compatible, |
| - | * 720p or higher display (or headless display dongle) connected to the GeForce GPU. | + | * Nvidia: NVENC enabled cards, see [[https:// |
| + | * AMD: Ryzen 3 or Intel: Core i3 or higher | ||
| + | * 4GB or more | ||
| + | * See [[https:// | ||
| - | If you are facing any issue, please take a look at the first topics inside | + | It is recommended |
| - | ==== Initial Pairing==== | + | If you are facing any issue, also take a look at the first topics inside [[https:// |
| + | |||
| + | |||
| + | ==== Install Sunshine on the PC side ==== | ||
| + | |||
| + | You need to install the Sunshine server on your gaming PC. This is the PC that will render the game assets and do all the heavy lifting. It will also compress the resulting video of the game played into a low-latency H.264 or HEVC video stream that will be sent to the Batocera Moonlight client. The Batocera Moonlight client only displays this content on the screen, and intercepts the controller actions to send them back to the Sunshine server. | ||
| + | |||
| + | - Download the Sunshine server corresponding to your gaming PC (they have Windows versions, both installer and portable, but also Linux packages for popular desktop Linux distributions, | ||
| + | - Launch Sunshine. Once the server is launched, you will see a message asking you to connect to a local URL to finish the configuration. Typically a URL like https:// | ||
| + | - choose a username (by default '' | ||
| + | |||
| + | ==== Instructions for Batocera v43 and later ==== | ||
| + | === Onto your Batocera machine: enable moonlight-qt and configure from the UI === | ||
| + | |||
| + | Moonlight requires a bit of manual configuration. In order to do that, you need to [[: | ||
| + | |||
| + | First, create a file '' | ||
| + | |||
| + | < | ||
| + | # touch / | ||
| + | </ | ||
| + | |||
| + | Reload your games in ES (from the UI: "Game Settings" | ||
| + | |||
| + | On first launch, the Moonlight client will search for the Sunshine server(s) available on your network and present them. When a new server is found, it will present you with a code to enter in the Sunshine server to pair them together: | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | ==== Instructions for Batocera up to v42: initial pairing ==== | ||
| + | === Onto your Batocera machine: initial pairing | ||
| Moonlight requires a bit of manual configuration. In order to do that, you need to [[: | Moonlight requires a bit of manual configuration. In order to do that, you need to [[: | ||
| - | First, make sure your PC is up and running and on the same local network as your Batocera. | + | First, make sure your PC with Sunshine |
| On Batocera box run: | On Batocera box run: | ||
| Line 39: | Line 91: | ||
| </ | </ | ||
| - | This command correctly discovered my PC running | + | This command correctly discovered my PC running |
| + | If you don't get an IP address, check you're on the same LAN or VLAN as the streaming server or you have inter-VLAN routing enabled. | ||
| + | Although WAN connections are possible, it is not recommended. | ||
| + | |||
| + | Now let' | ||
| < | < | ||
| Line 47: | Line 103: | ||
| </ | </ | ||
| | | ||
| - | The PIN '' | + | The PIN '' |
| | | ||
| Once the PIN is entered on you PC you should see '' | Once the PIN is entered on you PC you should see '' | ||
| You can check that the connection is successful by typing '' | You can check that the connection is successful by typing '' | ||
| - | |||
| - | ==== Moonlight initial configuration | + | === Moonlight initial configuration === |
| We now need to build the list of games we want to reference. In order to do so, enter the command: | We now need to build the list of games we want to reference. In order to do so, enter the command: | ||
| Line 73: | Line 128: | ||
| It also generated a list with all games available in ''/ | It also generated a list with all games available in ''/ | ||
| + | |||
| + | You can also relaunch a new game scraping with the command '' | ||
| ==== Moonlight Configuration ==== | ==== Moonlight Configuration ==== | ||
| - | The configuration directory for Moonlight is ''/ | + | Depending on your hardware configuration, |
| - | If you use an **Odroid Go Advance**, make sure you have a line with '' | + | If you use an **Odroid Go Advance**, make sure you set the Preferred AV Decoder to " |
| - | + | ||
| - | You can also relaunch a new game scraping with the command '' | + | |
| ==== Moonlight Shortcuts ==== | ==== Moonlight Shortcuts ==== | ||
| Line 108: | Line 163: | ||
| it can be safely ignored. It just means that Batocera couldn' | it can be safely ignored. It just means that Batocera couldn' | ||
| + | ==== Further troubleshooting ==== | ||
| + | For further troubleshooting, | ||
- systems/moonlight.1630032365.txt.gz
- Last modified: 5 years ago
- by lbrpdx