Rubylight documentation #
Rubylight · Download · Release notes · Nightjar docs
Rubylight streams games from a Windows 10 or 11 PC to Moonlight-compatible devices: phones, tablets, TVs, handhelds, other PCs and browsers. It is built for AMD Radeon GPUs with a working AMF encoder and NVIDIA GPUs with NVENC. PCs with only Intel graphics use Rubylight 2.6.x.
Find your task below. Each guide starts with what to do and links to the configuration reference for every setting it names.
Get started #
First stream: install the host, open the console, pair a device, then start Desktop at 1080p60 in SDR. Already running another host? Read Coming from another host first.
| I want to | Read |
|---|---|
| Install Rubylight, or run it without installing | Install or run portable |
| Move from another Moonlight host, or keep it and try Rubylight beside it | Coming from another host · Install alongside · Import a profile |
| Pair my first device | Pair a device and start Desktop |
| Pick a client for my device | Clients · Nightjar |
| Update Rubylight | Upgrading · Updates |
Everyday use #
The console, the game library, your devices and the PC's power. Start with the everyday use guide.
| I want to | Read |
|---|---|
| Find my way around the console | The console · How configuration works |
| Add games from Steam, Playnite or other launchers, or my own apps | Games and apps · Game library |
| Sync per-game profiles, library metadata and covers across Nightjar devices | Games and apps · Host Hub Sync |
| Leave a game running, end a stream or close the game | Start, leave and end a game · Session actions |
| Pause a game and pick it up later, from any device | Quick Suspend |
| Save the last moments of a stream as a clip, or record it | Stream DVR and clips |
| See the game's cover instead of the desktop while a game starts | Launch curtain |
| Open a menu inside the stream from any client | Couch menu |
| Decide what each device may do | Devices and permissions · Host control |
| Keep each device's own in-game settings, or add frame generation to a game | Managed game files · Neural Rendering |
| Wake or sleep the PC from a device | Sleep and wake |
| Share the clipboard, files, folders or USB devices | Sharing with a device · USB forwarding |
| Back up or move my settings | Settings backup and restore |
| Let Nightjar or a script control the PC | Host control, session actions and Radeon settings · Webhooks |
Play anywhere #
Streaming from outside your home. Start with the play anywhere guide.
| I want to | Read |
|---|---|
| Play away from home with the least setup | Tailscale or another VPN |
| Reach the PC without a VPN | Automatic port forwarding · Play over the internet |
| Understand how a device finds the PC over the internet | Play over the internet: how it works |
| Wake the sleeping PC while I am away | Wake the PC from away · Away wake relay |
| Keep a phone's stream when it leaves Wi-Fi | Roaming |
| Fix a device that cannot connect from outside | Clients outside your network cannot connect |
Play together #
Friends on their own devices or in a browser, split-screen co-op, and playing while someone else uses the PC. Start with the play together guide.
| I want to | Read |
|---|---|
| Let a friend's paired device join the game I am playing | Guests from other devices |
| Invite a friend who has no app, through a link | Guests in the browser |
| Give every player their own picture in a split-screen game | Co-op with Nucleus Co-op |
| Play while someone else uses the PC | Background streams · Background streaming |
| Stream to a browser or a Samsung TV, or play from a TV browser | WebRTC server · Play in a TV browser |
| Mix game and party voice volume, duck game sound or mirror sound to PC speakers | Couch Party Audio · Couch Party Audio API |
| Move my game to another of my devices, or stream a second screen | Your own devices · Displays |
Picture and smoothness #
Codecs, HDR, displays, frame pacing and an unsteady network. Start with the picture and smoothness guide.
| I want to | Read |
|---|---|
| Choose a codec, turn on HDR or use PyroWave | Choose your stream format · Capture and video |
| Stream Dolby Vision, HDR10+ or HLG to a TV | Codecs, full chroma and HDR |
| Keep HDR highlights when streaming an HDR desktop to an SDR device | Codec, HDR and sharp text · Codecs, full chroma and HDR |
| Pick a latency or quality preset | Stream presets |
| Stream only a game's window, or its window while it is in front | The app's window in place of a display |
| Give each device its own display, or keep my monitors on | Displays · Displays and RTSS |
Switch active monitors during a stream (Ctrl+Alt+Shift+F1–F12) |
Displays · Keyboard, touch, pen and cursor |
| Keep a VRR screen on the game's rhythm | Real VRR |
| See camera turns sooner with Nightjar | Frame Warp |
| Cap a game's frame rate | Displays and RTSS · Settings for one app or device |
| Keep the stream steady on a slow or lossy link | An unsteady network · Link-rate adaptation |
| Send PCM or Dolby Digital to a receiver, use 7.1.4, stream game-only sound or play on PC speakers too | PCM and Dolby Digital audio · Surround, night mode and headphone surround · Game-only audio · Sound & controls |
| Stream from an NVIDIA GPU, or use RTX HDR | NVENC · RTX HDR and RTX Video enhancement |
| Change Radeon or NVIDIA driver settings for a game | Radeon settings per game · Radeon settings with restore |
Controllers #
Controllers, haptics, keyboard, mouse, touch and the microphone. Start with the controllers guide.
| I want to | Read |
|---|---|
| Choose the controller games see | Controller types · Controllers |
| Get DualSense haptics, speaker and microphone, or Steam Deck trackpads and back grips | DualSense USB audio and haptics |
| Use a mouse games read like a real one, or a touchpad's gestures | Virtual mouse and touchpad |
| Draw the mouse cursor locally at your screen's refresh rate | Keyboard, mouse, touch and pen · Keyboard, touch, pen and cursor |
| Use a controller's motion in an emulator | Motion server for emulators |
| Launch Steam games from a Steam Deck with MoonDeck | MoonDeck |
| Talk through the device's microphone | Microphone |
| Use a USB device plugged into my device | USB forwarding |
Troubleshooting #
Troubleshooting lists symptoms with their cause and fix. The console's Help page reads the host log for you (Log analysis) and builds a support bundle.
| Problem | Read |
|---|---|
| A device cannot find or pair with the PC | Moonlight cannot find or pair with the PC |
| Black picture or no display | Black picture, no display, or WGC fails |
| The stream stutters, freezes or drops | The stream breaks up, drops or times out on the network · Low latency is reported, but motion still stutters |
| HDR looks wrong | HDR troubleshooting |
| A controller does nothing | A controller or other input does nothing |
| The service is stopped or a driver is missing | A driver is missing or out of date |
| Monitors stay off after a stream | Monitors stay on, or the display layout does not return |
| Report a problem | Logs and a useful report |
Reference #
| Page | Contents |
|---|---|
| Configuration | Every feature's settings by topic, then every setting in the console with its configuration key and default. |
| Features | Everything Rubylight does, by area, with a link to where each is set up. |
| NVENC | The NVIDIA encoder, feature by feature next to AMF. |
| Privacy | Every connection the host makes, what it sends, and how to turn it off. |
| Performance | Measured results with their conditions, what each metric means, and how to measure your own setup. |
| Hardware matrix | What has been tested on each GPU generation, Windows version, feature and client, with the evidence. |
| Measurement record | Dated fixtures, raw results, reverted experiments and reproduction steps. |
| Release notes | Every release, with what was tested. |
For developers #
Integrations and clients
| Reference | Contents |
|---|---|
| HTTP API | The console API: authentication, CSRF, permissions and endpoints. |
| Native API v1 | The paired-client API Nightjar uses: capabilities, library, session actions, driver settings, files and USB. |
| Control messages | Rubylight's client-to-host control messages and how a client discovers them. |
| Hardware metrics | CPU and GPU readings for client overlays. |
| Remote connection route | The endpoint that tells a client whether its Tailscale route is direct or relayed. |
| Webhooks | Signed event notifications to your own services. |
| Timing record | The per-frame CSV record of capture, encode, send and client times. |
| WebRTC, microphone and Frame Warp protocols | WebRTC for client authors · Microphone for client developers · Frame Warp wire formats |
Building and internals
| Document | Contents |
|---|---|
| Architecture | The crates, the frame path from capture to packet, compute queues, HDR and PyroWave. |
| Code map | Where each part lives, the files one kind of change touches, and the narrowest test for it. |
| Build guide | Toolchain, pinned dependencies, packaging, the web console and the website. |
| Developer guide | Workspace layout, isolated profiles, running the host from source and validation tools. |
| Release signing | How the maintainer signs each release and what it signs. |
| Third-party components | Codec SDKs, drivers and their licences. |
Articles
- Racing the beam with PyroWave: how Rubylight and Nightjar draw a frame before all of it has arrived.
Engineering notes #
Working documents from the project's development: plans, designs, investigations and audits. Each records the state on the date it was written and is not maintained as user documentation; where a note and a guide disagree, the guide is current.
- Status: the status table, the living record of each feature. History: Rubylight 3.0 plan.
- Designs: couch menu, encoder focus, Wake-on-LAN, sleep and couch audio, WebRTC server, slice delivery.
- Audits: streaming stability, October 18, PyroWave and D3D12, October 18, bug hunt, October 28.
- Work log: Windows performance work, October 2.
Project #
| Document | Contents |
|---|---|
| Privacy | Every connection the host makes, what it sends, and how to turn it off. |
| Code signing policy | Who signs releases and what is signed. |
| Project history | The C++ fork that preceded the Rust host, and the archived C++ references. |
| Contributors | Everyone who helped, with their GitHub names. |
| License and credits | GPL-3.0-only, and the projects Rubylight builds on. |