Rubylight Download 7.0.3
On this page
  1. Before you start
  2. Install or run portable
  3. Open the console
  4. Pair a device and start Desktop
  5. Choose your stream format
  6. Virtual displays and updates
  7. Bring an existing profile
  8. Upgrading

Getting started #

Rubylight docs › Get started · Configuration · Troubleshooting

Rubylight runs on the Windows PC that has the games; a Moonlight-compatible client runs on the device you play from. This guide installs the host, pairs one device and starts a desktop stream. Get a 1080p60 SDR stream working first, then add HDR, higher frame rates or other devices.

On this page: Before you start · Install · Coming from another host · Open the console · Pair a device · Stream formats · Displays and updates · Import a profile · Upgrading

Before you start #

Requirement Details
Host PC Windows 10 or 11 x64 with an AMD Radeon GPU that has a working AMF video encoder, and AMD Software, or an NVIDIA GPU with NVENC and the NVIDIA driver. The stream formats on offer depend on the GPU's encoder: AV1 needs a VCN 4.0 or 5.0 engine on Radeon (RX 7000 and RX 9000 series, Radeon 780M and 890M), and the RX 6300, 6400 and 6500 have no video encoder. The hardware matrix lists each generation. Rubylight 3 and later do not run on Intel graphics, and setup stops and says so; those PCs use Rubylight 2.6.x.
Client Nightjar, Moonlight or another Sunshine-compatible client on the device you play from.
Network Both devices on the same local network for the first pairing and stream. Close any other streaming host that uses the default ports, or install alongside it.
A display to stream An active monitor, or the virtual display the installer sets up (Windows 11 23H2 or later). The portable package streams a monitor unless the drivers are installed separately.

Upgrading an existing host: see Upgrading. Moving a portable Apollo or Vibepollo profile: read Bring an existing profile before the first launch.

Install or run portable #

Download a package from the release:

Package How to start Use
rubylight-setup-7.0.3.exe Run the installer, then open Rubylight from the Start menu. Normal use: the Windows service, start with Windows, virtual displays and virtual controllers.
rubylight-7.0.3-windows-x64.zip Extract the whole archive and open Start Rubylight.exe. Trying the host on a physical display without installing anything.

The installer sets up the host, the Windows service, Rubylight's virtual display driver and, unless you clear its box, the virtual gamepad driver for controllers. Two optional pages follow: Install USB audio and haptics support adds DualSense and Steam Deck USB audio and haptics through usbip-win2 (it can reconnect USB devices and may need a restart; see DualSense USB audio and haptics), and Turn on Wake-on-LAN sets up the wired network adapters so a client can wake the PC. Both are off by default and keep their choice for updates. If setup finds Vibepollo, Apollo or Sunshine, it asks: replace it, which imports its settings and paired devices and uninstalls it (the default), or keep it and install alongside.

The virtual display driver. Rubylight's driver replaces libvirtualdisplay (SudoVDA), which setup removes once Rubylight's driver is running, unless you install alongside another host. Releases after 4.7.1 carry the driver signed with the maintainer's certificate (Code signing policy). For an unsigned driver (releases up to 4.7.1, or a build of your own), setup signs it on this PC with a key it deletes immediately afterwards; Windows needs neither test mode nor a restart. Smart App Control, Windows in S mode and App Control policies refuse such a locally signed driver. Setup and the console then say so, nothing is left half-installed, and streams use a physical display.

Command-line options. rubylight-setup-<version>.exe --help lists them all:

Option Effect
--quiet Installs without the setup window. A quiet install refuses to stop a stream unless you add --end-streams, and replaces another host unless you add --side-by-side.
--install-dir <folder> The folder for a new installation.
--no-gamepad-driver, --no-display-driver Skips that driver.
--usbip-driver, --no-usbip-driver Installs or skips usbip-win2 for USB audio and haptics.
--wake-on-lan, --no-wake-on-lan Turns on the wired adapters' wake settings, or leaves them as they are.
--uninstall [--factory-reset] [--remove-drivers] Uninstalls; see Upgrading.
--repair-drivers --now Sets the virtual display and gamepad drivers up again from this installation (--driver display or --driver gamepad for one).
--repair Repairs this installation once: starts the service again if it is stopped or does not answer, sets both drivers up again (never one you left out) and puts back the firewall rule and the Start menu shortcut.

The portable package installs no service. Virtual displays and virtual controllers need their Windows drivers, and the bundled virtual display driver is reached through the installed service. Keep the extracted libraries and the assets folder next to the executables. If Sunshine, Apollo or Vibepollo is serving the default ports, close it first or run Rubylight with its own profile and ports.

Coming from another host #

The installer brings an existing Apollo, Vibepollo or Sunshine installation's settings, paired devices, host identity, console sign-in, apps and covers along, so your devices see the same PC and stay paired. Or install alongside it, with Rubylight's own service, ports and settings. A portable Apollo or Vibepollo profile is imported on the first portable launch instead (Bring an existing profile).

Keep another host and install alongside #

Choose Keep … and install alongside in setup, or run rubylight-setup-<version>.exe --quiet --side-by-side, to try Rubylight while another host stays installed. Setup does not stop, change or uninstall that host: its services, packages, firewall rules, Start menu entries, HDR layers, profile and libvirtualdisplay (SudoVDA) stay as they are.

Open the console #

The launcher opens https://localhost:47990 on the host PC; a custom base port moves the console with it. The console's certificate covers localhost, 127.0.0.1 and ::1, and setup adds its issuer, Rubylight local console, to Windows' trusted roots, so browsers on the host PC open it without a warning. That root can vouch only for the loopback names, and its private key is deleted once it has signed the certificate. From another device, by the host's network address, the browser shows a certificate warning; check that the address is your own host's before you continue.

Create the administrator account when asked; the first account must be created on the host PC. After an import from Apollo, Vibepollo or Sunshine, sign in with that host's console name and password. To set a new sign-in, run the host program with --creds from an administrator PowerShell on the host PC (the sign-in page shows the full path):

& "C:\Program Files\Rubylight\butterpollo.exe" --creds NAME PASSWORD

Use a password of at least 8 characters. Browsers that are signed in must sign in again. A host upgraded from Butterpollo keeps its original install folder.

Home starts with pairing: until a device is paired it shows the QR code and the PIN entry side by side, with Connection help. After that it shows whether the PC is ready to play, where to start a game (open Nightjar or Moonlight on the device and choose this PC), the current stream and your games. PC details opens the checks of the video encoder, virtual display, audio, screen capture and wake from a device; a check that fails shows without it. An encoder and an active monitor are enough for a first desktop stream; a virtual display showing Off is normal when you stream a monitor.

A new installation gives each device its own virtual display on Windows 11 23H2 and later; Settings → Picture says which one this PC does. To stream a monitor instead, set Settings → Picture → Virtual display to Off, stream a monitor. With a virtual display, While streaming, your monitors decides whether the other monitors turn off (the default) or stay on. Stream resolution matches the device; Keep the current resolution applies to a streamed monitor only, and a virtual display follows the device unless a fixed resolution is set. A fixed resolution or refresh rate is under All settings → Picture → Resolution and refresh rate.

Leave All settings → Picture → Capture method on Automatic. It uses direct driver push on Rubylight's virtual displays and Windows Graphics Capture on other displays, and falls back to Desktop Duplication where needed. A capture method imported from another host is kept as it was.

Pair a device and start Desktop #

  1. Open the client on a device on the same network.

  2. Pair it:

    • Nightjar: tap Add PC, then Scan QR code, and scan the code on the console's Home (until the first device is paired) or Devices page. Nightjar on Windows, Linux and macOS pastes the pairing link instead (Copy pairing link), and a phone that shows the console can use Open in Nightjar.
    • Moonlight lists the host; select it, or add it by the PC's local IP address if it is not listed. Moonlight shows a four-digit PIN. On the console's Devices page, enter it for the waiting device, choose what the device may do and select Pair.

    The QR code and the pairing link work once, for three minutes. When pairing finishes, the device appears under Paired devices. A device you already paired can also approve a new one, if it has Approve new devices: it enters the PIN the new device shows.

  3. Set the client to 1920×1080 at 60 FPS with HDR off. Use H.264, or HEVC if the device decodes it in hardware.

  4. Launch Desktop. Check that windows move smoothly, sound plays and input reaches the PC.

The Devices page: what a new device may do (Play games, Watch only or Everything) above the list of paired devices, each with its access level.

Once that works, raise the resolution and frame rate in the client, then turn on HDR if both the client and the streamed display support it. The stream card on Home shows what was negotiated. With Nightjar, turn on Frame Warp under its Video settings to see camera turns on the device's next screen refresh (Frame Warp).

If the client does not find the host, see discovery and pairing. If Desktop shows a black picture, see capture and displays. If pairing works but launching is refused, check that the device is enabled and has List apps, View streams and Launch apps under Devices.

What a device may do. The first device you pair gets Everything; later devices get the choice made at pairing: Play games (the default: games, co-op and every kind of input), Watch only or Everything (also the clipboard and host commands). File transfer, shared folders, USB devices, Host control (close games, change Radeon settings, install updates), Sleep PC and Restart and shut down PC are granted on their own, on the device's page under Devices (Host control, Clipboard, files and USB, Privacy).

Choose your stream format #

Format Use it when
H.264 You want an SDR baseline, or the client has no newer hardware decoder.
HEVC The client decodes HEVC. Its 10-bit profile carries HDR.
AV1 The host's encoder and the client's decoder both support AV1. Its 10-bit profile carries HDR.
PyroWave You want full-resolution colour, including 10-bit HDR 4:4:4, on a fast local network, with Nightjar or another PyroWave-capable client. Connect a PC client by cable.

H.264, HEVC and AV1 use the standard Moonlight stream; which of them you get depends on the host's encoder and the client's decoder. PyroWave is a separate wavelet codec that needs far more bandwidth, and its client can test the connection before streaming.

PyroWave's recommended rates, from desktop and game test scenes on AMD, are 277 Mbps at 720p60, 399 Mbps at 1080p60 and 1593 Mbps at 4K60. The stream card warns below those rates, and more strongly below 139, 187 and 747 Mbps, where loss becomes severe. Leave headroom for packet overhead and recovery data: 4K60 needs more than gigabit Ethernet. Use HEVC or AV1 when the client or network cannot carry the rate (Capture and video).

Full-resolution colour (YUV 4:4:4). Moonlight's YUV 4:4:4 option needs an encoder that produces 4:4:4. On an NVIDIA GPU whose encoder reports it, the host streams 4:4:4 in H.264 and HEVC (not AV1); the checks under PC details on Home list the modes it offers. AMD's hardware encoders produce 4:2:0 only, so on a Radeon Moonlight streams 4:2:0 and warns that the host does not support YUV 4:4:4. There, use PyroWave, or Nightjar, which receives 4:4:4 packed into an ordinary HEVC or AV1 picture (Full chroma in the console, Sharper colored text in Nightjar, which picks the sharpest way the PC and the device both support). Nightjar for Windows decodes HEVC 4:4:4 in hardware on GPUs whose decoder supports it.

HDR. Turn on HDR in the client and make sure the streamed display supports HDR in Windows. Under All settings → Picture → HDR, the default Display HDR: Match the stream is the right starting point. Forcing display HDR does not turn an SDR stream into HDR. Turn on the game's own HDR mode where it has one. Devices that ask for them also get Dolby Vision (HEVC and AV1), HDR10+ scene data or HLG on the same stream; other devices get HDR10. The stream card shows the codec and an HDR badge; check the picture on the client's own screen as well (HDR troubleshooting).

Virtual displays and updates #

Settings → Picture → Virtual display chooses One for each device, One shared by all devices, or Off, stream a monitor. All settings → Picture → Streamed display → Virtual display layout can also make the virtual display primary or isolate it from the other monitors. Settings for one app or one device can override the choice (Displays and RTSS).

Updates are offered, never forced. Settings → Updates has Check now and, for the installed service, Install when idle and Install now; the tray menu has Check for updates. Install updates automatically is off by default. Under All settings → This PC → Updates, Check for updates: Daily at a set time checks once a day at a time you choose, and Include pre-releases also offers release candidates (Updates).

Install when idle and automatic updates wait until no stream, pending connection, remote monitor or host-launched app is running, then for one further minute of idle time. A disconnected Desktop session can still hold an app open; close it from the client or the console if an update stays queued. Install now installs immediately: the stream ends, games started from a client close while Rubylight restarts, and you reconnect once it is back. A device with Host control can install a pending update from Nightjar. Portable users download the new archive from the release page.

Bring an existing profile #

On the first portable launch, Yes in the import prompt copies an existing Vibepollo or Apollo profile. Select the folder that contains sunshine.conf, or the installation folder that contains config\sunshine.conf. No starts a new profile.

The import brings settings, paired devices, the host identity, the console sign-in, the app library and covers. The original profile is left in place. The destination must be empty: Rubylight never overwrites a populated profile, and the prompt appears only before the portable profile exists.

How it runs Profile folder
Installed Windows service %PROGRAMDATA%\Butterpollo\config
Portable launcher A config folder next to the executable if there is one, otherwise %LOCALAPPDATA%\ButterpolloRust\config

Opening the launcher again returns to the running profile's console; the installed launcher uses the service's profile. --config-dir selects another profile (Multiple instances).

Upgrading #

If you play on the host PC itself, install between gaming sessions. Install when idle sees Rubylight's streams and the apps it launched, not every game started outside Rubylight. Elevation prompts can take focus, and driver installation can briefly reconnect displays or devices even when nothing is streaming.

Features lists everything Rubylight does, and Performance how it is measured.

View this page on GitHub