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.
- Install folder. New installations go to
C:\Program Files\Rubylight; Change folder… picks another folder on a local drive. A folder that already holds other files gets aRubylightfolder inside it. A folder outside Program Files receives the same permissions as Program Files, so only administrators can change the programs the service runs. Updates install in place. To move an installation, uninstall it (settings and paired devices stay in%PROGRAMDATA%\Butterpollo) and install again. An installation in a folder that non-administrators own, such asD:\Games\Rubylight, cannot be updated in place; the installer moves it toC:\Program Files\Rubylight(Troubleshooting). - Installing during a stream. Setup reports a running stream; Install ends it, closes games started from a client, installs and starts Rubylight again. Reconnect when setup has finished; the setup window shows the result on the host's desktop. Install now under Settings → Updates does the same from the console.
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.
- Its own service and ports. Rubylight runs as the
RubylightServiceservice with base port 48589, or the next of 48689, 48789, 48889, 48989 and 49089 whose whole range is free when setup runs. Its console is one port up, by defaulthttps://localhost:48590, and clients find it as <PC name> (Rubylight). Setup refuses, and changes nothing, if aRubylightServiceservice runs another program or the install folder is inside the other host's. - New settings. Nothing is imported, so pair your devices again. An identity shared by two hosts would confuse clients. Rubylight settings left by an earlier uninstall move to a
config.previous-…folder next to the profile, unless an earlier side-by-side installation made them. - Add the PC with its port. The result window shows the address, such as
192.168.1.20:48589. In Moonlight or Nightjar, add that address: without the port, a client reaches whatever host uses the default one. - Drivers. Setup installs Rubylight's own virtual display driver as usual. If a virtual gamepad driver is already present, Rubylight uses it as it is, since Vibepollo's family shares this driver; otherwise setup installs the bundled one, and
--no-gamepad-driverskips it as usual. - It stays that way. Updates, repairs and re-running setup keep the mode. An update never removes the other host, and uninstalling removes only Rubylight's things;
--remove-driversthen leaves the gamepad driver and libvirtualdisplay alone. - On a PC without another host,
--side-by-sideinstalls the same way, so another host can follow. Over an installed Rubylight that runs asApolloServiceit is refused and nothing changes: uninstall it first. - To replace the other host later, setup refuses from a side-by-side installation and says how: uninstall Rubylight with its settings (Also delete settings, paired devices and logs), then run setup again and choose Replace. That imports the other host's settings.
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 #
-
Open the client on a device on the same network.
-
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.
-
Set the client to 1920×1080 at 60 FPS with HDR off. Use H.264, or HEVC if the device decodes it in hardware.
-
Launch Desktop. Check that windows move smoothly, sound plays and input reaches the PC.

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.
- Streams end. Installing ends streams and closes host-launched apps. The setup window warns first when Rubylight reports a stream; a quiet install refuses without
--end-streams. Vibepollo, Apollo and Sunshine cannot report streams, so setup stops them without asking when it replaces them. - Back up the profile. Copy the whole profile folder from the table above, or the previous host's
configfolder:sunshine.conf,apps.json, covers, both identity files incredentials,sunshine_state.json,sunshine_credentials.jsonif present,vibeshine_state.json, and any files named by custom paths in the configuration. Keep the backup private: it holds credentials and device certificates. - Install. Run the new installer, or use Install when idle or Install now under Settings → Updates. Settings, unknown configuration keys, paired devices, credentials, apps, device and display settings and saved session data stay in the profile; active streams do not survive the restart. Installed drivers stay available; to update the virtual gamepad driver, run setup with it selected.
- Settings from other hosts. The AMD encoder name
amdvce_experimentalselects AMF. The controller typesx360andds4from Sunshine, Apollo and Vibepollo load as the virtual Xbox One and DualShock 4 pads; ViGEmBus is used only when you choose Xbox 360 (ViGEmBus). - NVIDIA cards after Rubylight 3.0 to 3.2.1. If one of those releases changed your encoder setting from NVENC to AMD AMF, set Encoder back to Automatic to stream from the NVIDIA card, and set the NVENC settings again.
- Portable. Close the portable host and extract the new archive into a separate folder. The launcher reuses
%LOCALAPPDATA%\ButterpolloRust\configby default; copy an adjacentconfigfolder next to the new executable, or keep passing the same--config-dir. Keep the old archive and the backup until the new version works, and do not open an older version against a newer profile. - From Butterpollo. Rubylight was called Butterpollo up to 2.0.0-rc.29, and releases up to 2.0.1 also carried a
butterpollo-setup-<version>.exe. Upgrading renames what Windows shows (the Start menu, Apps, the service's display name and the firewall rule) and keeps everything else: the install folder, theApolloServiceservice (RubylightServiceonly alongside another host), the profile folders and file names such asbutterpollo.exe. The launcher is Start Rubylight.exe, which replaces Start Butterpollo.exe. - Another host's profile. If setup cannot tell which profile to import, or Rubylight already has settings next to another host's profile, settle that before removing either host. Imports keep recognised files and unknown fields; old logs and oversized or linked optional files can be skipped, so keep the original backup.
- Check the result. The console opens, existing clients connect, apps and covers appear, and display and controller settings still apply. Restart Playnite if its plugin was updated. If an update fails, keep the
.stagingfolder in the Rubylight folder (it holds the update's backup) and the profile'supdate-result.json. Installer downgrades are refused. - Uninstalling. A normal uninstall keeps the profile and the drivers. A factory reset (
--factory-resetin a quiet uninstall) deletes the profile, and--remove-driversremoves the virtual display and gamepad drivers. usbip-win2 stays installed; remove it in Windows Settings if nothing else uses it.
Features lists everything Rubylight does, and Performance how it is measured.