Features #
Rubylight docs › Reference · Getting started · Configuration · Performance
Everything the current Rubylight release does, by area, with a link to where each feature is set up. Features that need client support, such as PyroWave, Dolby Vision or the clipboard, go only to a client that asks for them; every other Moonlight client streams as it would from Sunshine. Performance has the measurements behind them.
On this page: Video · Network · Capture · Displays · Audio · Input · Library · Co-op · Client control · Sharing · Browsers and TVs · Console · Installation · Clients
Video and encoding #
- AMF on Radeon. H.264, HEVC and AV1 from AMD's hardware encoder, driven directly, with per-codec defaults tuned from VMAF measurements and AV1 configured to avoid driver frame-skipping on tight bitrates. The host encodes a test picture in each codec at startup and offers only what the driver delivers. A bitrate above what the driver accepts runs at the driver's ceiling, and the stream's warnings name both rates. High-refresh AMF sessions also record queue-drain waits and input-surface waits in stall snapshots and release logs.
- NVENC on NVIDIA. H.264, HEVC and, where the GPU's encoder offers it, AV1, with the same stream features as AMF (NVENC). Native D3D12 NVENC caps queued frames in flight to one in Lowest latency and two by default, reuses pre-registered conversion and bitstream ring buffers, drains cleanly before falling back to D3D11 on a fence timeout or device loss, steps two-pass encoding down to single-pass when a frame runs over budget, keeps single-frame VBV intact on dynamic bitrate updates, and tracks retained DPB slots for reference-frame invalidation. The host refuses a codec the driver does not list before the stream starts. With variable bitrate, Peak bitrate sets how far the encoder may go above the stream bitrate on busy scenes, from 1× to 3× (1.5× by default). Force VSync on for virtual display streams (
nvidia_virtual_display_vsync, off by default) sets NVIDIA's global Vertical sync on during virtual-display streams and restores it on exit for games captured below their render rate. - GPU compute. Frame copies, colour conversion, scaling and HDR luminance analysis run on D3D12 compute queues alongside the game's graphics work, so neither waits on the other (Architecture). HDR 4:2:0 conversion filters linear BT.2020 light directly (keeping ClearType text colour accurate instead of turning magenta), and unchanged static repeat frames reuse the last converted GPU texture (and PyroWave repeat bitstream) to skip redundant conversion, HDR stats and RTX passes.
- HDR end to end. 10-bit BT.2020 PQ through HEVC and AV1 with HDR metadata in the keyframes, Desktop Duplication SDR content brightness following Windows (
DISPLAYCONFIG_SDR_WHITE_LEVEL), and clean fallback to 10-bit SDR whenever Windows keeps HDR off on the captured display and RTX HDR is inactive. - Keep HDR highlights in SDR streams (off by default). With
hdr_sdr_tone_mapon, an HDR desktop captured as FP16 or 10-bit HDR10 streams to an SDR client with bright highlights compressed via ITU-R BT.2446-1 Method B scaled to the display's reported peak (400–2000 nits) instead of clipping to flat white (Codecs, full chroma and HDR). - Dolby Vision, HDR10+ and HLG. HDR streams carry per-scene brightness statistics measured on the GPU while the frame encodes, so the display tone-maps each scene rather than one fixed peak. Dolby Vision on HEVC (profiles 8.1 and 8.4) and AV1 (profile 10.1); HLG for displays that only show HLG, PyroWave included; Nightjar can also ask for HDR10 only per device. Other clients receive HDR10 (Configuration).
- Windows HDR Calibration profiles on virtual displays, when enabled.
- Full colour (4:4:4). PyroWave, a wavelet codec, carries 4:4:4 and 10-bit HDR 4:4:4 over a fast local network. For Nightjar, Full chroma packs each 4:4:4 frame into an ordinary HEVC or AV1 picture. On an NVIDIA GPU whose encoder reports 4:4:4, a client's YUV 4:4:4 option gets native 4:4:4 in H.264 (8-bit) and HEVC (8- and 10-bit, with 8-bit
AYUVon D3D12 compute); the host tests each mode at startup and the checks under PC details on Home list the ones it offers. Nightjar for Windows decodes HEVC 4:4:4 in hardware on GPUs whose decoder supports it. - Stream presets. Lowest latency, Balanced and Reference quality fill in the encoder settings you have not set yourself, for the host, one device or one app (Configuration).
- Frames timed to the device's screen. With Nightjar, Phase lock (
phase_lock, on by default and toggleable globally, per device or per game under Picture → Frame pacing) times each frame to arrive just before the device's screen refreshes and re-acquires the phase after the PC was busy. Games capped at the stream's frame rate or 1 fps below panel refresh (such as 59 on 60 Hz, 89 on 90 Hz or 239 on 240 Hz) keep their own pace without being pulled back up, while broadcast fractional rates stay locked (Configuration). - Frame Warp 2. With Frame Warp on in Nightjar, mouse, right-stick and gyro camera turns project through a full 3D rotational homography onto the device's next screen refresh while keeping the HUD stationary and pinning the central reticle crosshair. The host fits each game's camera gain, lag, field of view and joint stick+gyro response (with locked-lag hysteresis and scanout-lead prediction) as turns arrive, adds HDR-safe border fades, and uses camera confidence plus pinned-cursor gating so scene cuts, pause menus and visible cursors fade the warp out without hidden game cursors tripping the check. Frame Warp 2 needs a current Nightjar and host together; an older Nightjar streams without it. All settings › Advanced › Debug switches › Let devices use Frame Warp (
frame_warp, on by default) lets clients use it (Frame Warp). - Frame limits through RTSS. RivaTuner Statistics Server caps games at the stream's frame rate on virtual displays, or on every stream, for the host, one device or one app. RTSS limit mode chooses asynchronous, front edge, back edge or NVIDIA Reflex limiting; a host that streams with an NVIDIA GPU uses Reflex by itself for virtual-display streams and frame-generation games (Displays and RTSS).
- VRR-aware capture. Under variable refresh the host waits for the game's next frame when it is about to arrive, so the picture reaches the encoder fresh (measurements). Explicit 480 Hz (
480hz) and 1000 Hz (vrr) virtual display modes serve high-refresh and VRR clients while pacing sustained idle desktop animation bursts to 2× stream FPS (keeping active games unpaced) to avoid high idle GPU load. With automatic capture the host stamps each frame with the moment the game presented it, which Nightjar's Real VRR follows so the device's screen keeps the game's rhythm (Real VRR). - Encoder focus (off by default). Static regions such as a HUD, text or an editor get a larger share of the bitrate than moving ones; Still areas and centre (
centre) also favors the middle of the screen and centers its hotspot ROI on the mouse cursor (Configuration). - Slice delivery. H.264 and HEVC frames of 4K-size pictures go to the network slice by slice while the encoder finishes the rest, so the picture arrives sooner. Smaller pictures, where it measured no gain, go out whole.
video_slice_deliverysets it (design). - Large frames leave block by block. Each error-correction block of a large frame is sent as soon as it is built, so its first packets leave sooner (
video_send_early_blocks, on by default). - Beam-raced PyroWave. A client that requests it receives each PyroWave frame in display order, so Nightjar on the desktop decodes and presents the top of the picture while the bottom is still arriving (article).
- RTX HDR and RTX Video enhancement (NVIDIA components). Once the NVIDIA components are downloaded on the console (one button on a PC with an NVIDIA graphics card), Rubylight runs NVIDIA's RTX HDR, which turns an SDR game into HDR for an HDR stream while the display stays in SDR, and RTX Video enhancement, which cleans up and sharpens the picture at the stream's own size, on a GeForce RTX card before encoding. Enhancement initializes before encoder creation so streams start without building the encoder twice; live mid-stream toggles that keep the same resolution and pixel format swap textures over GPU fences without tearing down the converter or encoder; and on Rubylight virtual displays the hardware cursor separates before enhancement so the pointer stays sharp and bright. Both are off until the host or an app turns them on; each app has its own values, and Nightjar can turn either on or off for one PC (Configuration, NVENC).
- Neural Rendering. A game's frame generation switch, on its page and on paired Nightjar devices, puts a third-party frame generation mod into games that ship DLSS frame generation, and removes it again. It is offered when any of the PC's GPUs can run it, Radeon RX 5000 and newer (RDNA) or GeForce GTX 16, RTX 20 and newer, not Intel graphics, and needs the Microsoft Visual C++ 2015-2022 Redistributable (x64) on the PC; the switch says why before any try when a game or the PC can't have it. It replaced Rubylight 3.0's neural upscaling, which the game page now only removes (Configuration).
- Hardware color conversion (off by default). On AMD AMF, the driver's video converter can convert and scale YUV 4:2:0 frames in SDR, HDR10 and HLG instead of Rubylight's shaders, handing its output to the encoder without a copy; other frames keep the shaders (Configuration).
- Aspect ratio and scaling. A source of a different shape is letterboxed. Streams below the desktop's resolution are downscaled with an area-averaging filter, which reduces shimmer on thin lines.
- Per-frame timing record. With
BUTTERPOLLO_TIMING_RECORDset, each video stream writes capture, convert, encode, packetize and send times on one clock, ready to join with a client's frame log (Timing record).
Network resilience #
- Scene cuts without freezes. A scene cut too large for its error correction is encoded again as a keyframe that fits. Recovery keyframes keep their full error correction within Moonlight's four FEC blocks.
- Recovery without a keyframe. A short loss on H.264, HEVC or AV1 is repaired with a frame that references an older picture the client still holds, for every client. When the host's own network adapter briefly refuses packets, the host sends a keyframe at once instead of waiting for the client to ask. Long-term references can be turned off for one device whose decoder freezes on them (Devices → Encoder overrides).
- Link-rate adaptation. When a client loses frames that error correction cannot repair, the host steps the bitrate down to what the link delivered, shows this on the stream card, probes back up (remembering lower probe ceilings on repeat congestion) and returns to your rate after ten clean seconds. PyroWave also backs off when frames are lost while sending. A link that carries the stream is unaffected (Configuration).
- Congestion control from packet arrivals (off by default). A client that reports when each video packet arrived, such as Nightjar, lets the host see a queue building on the way (including a standing queue present from stream startup) before packets are lost, ignoring flat route-change RTT jumps: the host lowers the bitrate to just under what arrived, paces video at the bottleneck's rate and climbs back when the delay settles. It works together with link-rate adaptation, the lower bitrate winning (Configuration).
- Adaptive Wi-Fi and wired-loss pacing. Clients that report Wi-Fi or mobile data are paced adaptively from the first frame, bounding initial burst rates when link speed is unknown and stepping down on sustained queue delay or mild loss so fewer frames exceed error correction. Above 120 fps (240 and 480 Hz), send batches scale to the frame period so consecutive frames never bunch together. Wired H.264, HEVC and AV1 streams on
autopacing that hit sustained packet loss hand over to adaptive pacing starting at 2× bitrate and probe back up cleanly without cutting bitrate. Adaptive pacing can also be turned on for every stream (Configuration). - Client-chosen error correction. A client that supports it chooses its own share of recovery packets, or lets the host follow its loss reports, up to 50 % (Nightjar's automatic share keeps at least 10 %), and can test the link before choosing its first bitrate (Configuration). Error correction uses GFNI instructions on processors that have them (AMD Zen 4, Intel Ice Lake and newer), with the same bytes.
- Changes without reconnecting. A Rubylight client can change the stream's resolution, bitrate and frame rate mid-stream, as a foldable phone does when it is opened (Control messages).
- Play over the internet. Automatic port forwarding asks the router through UPnP, PCP or NAT-PMP and opens IPv6 pinholes, and the console shows each port mapped or refused and why. Where no port can be forwarded, such as behind carrier-grade NAT, Nightjar reaches the PC over a direct path both sides punch through their routers, found through public STUN servers and a public peer-to-peer directory that holds only encrypted notes, without any server of ours (Play over the internet).
- Away wake relay (off by default). An always-on paired computer at home running Nightjar's desktop client (via its GUI relay toggle or
nightjar wake-relay) wakes the sleeping PC for Nightjar on a paired desktop or Android device that is away, over the same direct path as Play over the internet; it sends Wake-on-LAN only on the home network and only to the PC's own adapters (Away wake relay). - Roaming. A client whose address changes, such as a phone moving from Wi-Fi to mobile data, keeps its stream (Configuration). Control messages are resent as soon as the client is heard from after an outage.
- Prioritized stream traffic. Video and audio for devices on the local network carry DSCP marks, so Wi-Fi sends them ahead of other traffic; a switch turns the marks off for a router that mishandles them (Configuration).
Capture #
- Frames from Rubylight's display driver. On its virtual displays, the driver hands the host each frame Windows composes with no capture API in between, and on Radeon the frame is converted in place. Automatic capture uses this path; a reconnect to a static desktop receives its picture at once. With hardware cursor separation active on
rubylight-vdisplay, direct push also delivers client-drawn cursor shapes (0x5540/0x5541), live cursor positions (0x5542), HDR cursor white levels and Frame Warp 2 cursor hints. - Windows Graphics Capture on physical displays, and on a virtual display whose driver cannot push frames. Desktop Duplication takes over when WGC cannot open (refreshing live DXGI colour state, accepting 10-bit PQ alongside FP16 for HDR, ignoring pointer-only cadence noise, and returning to WGC automatically once an exclusive-fullscreen app exits), and a lost Desktop Duplication session is reopened without ending the stream.
- Live monitor switching. During a primary desktop or game stream (with keyboard permission, outside the couch menu, background sessions and single-window capture), press
Ctrl+Alt+Shift+F1–F12to switch capture across active displays without disconnecting or dropping held modifiers; joined guest streams follow automatically and disappearing displays fall back to the prepared display (Keyboard, touch, pen and cursor). - One app's window. An app, or one app on one device, can stream only its own window instead of a display. The host finds it among the programs the app started, or by program name and title, keeps its shape with black bars, maps mouse and touch onto it, and follows it through resizing, fullscreen switches and moves between monitors. While it is minimised or after it closes, the stream shows the display and says why, or ends. With The app’s window, the display while it’s in the background (
window_focus), the stream shows the game's window while it is in front and the whole display while you Alt+Tab or click outside it, without restarting; a launcher that takes the focus for a moment at launch doesn't switch it (Configuration). - Constant-rate capture for a game capped below the stream's frame rate: with Windows Graphics Capture selected as Windows Graphics Capture, constant rate (
capture = wgcc), the host sends the last picture again whenever the game has none ready for a stream frame, so a 90 fps game on a 180 fps stream keeps one frame per stream frame, and a new game frame is never held back for its slot. Every repeat is encoded like any frame, so it spends bitrate between the game's frames too, and a still desktop holds the full stream frame rate (Configuration). - AMD Direct Capture. On a display connected to a Radeon, capture can take each picture the driver presents through AMF, up to the display's refresh rate, with Windows Graphics Capture as its fallback (
capture = amd, Configuration). Frame generation's extra frames (AMD Fluid Motion Frames) are not streamed by it or any other capture method. - The lock screen and the sign-in prompt stream too, so the PC can be unlocked from the client; capture returns to WGC when the desktop comes back. A locked virtual machine with no monitor attached streams as well (#6).
- Services, virtual machines and containers. The Windows service captures through a helper in the signed-in user's session, and the same host runs on headless machines, virtual machines and GPU-equipped Kubernetes pods.
Displays #
- A virtual display for each device, one shared by all devices, or none, with exclusive, extended, primary and isolated layouts, HDR (reporting peak, full-frame brightness and 0.05-nit black level), 480 Hz and 1000 Hz modes, and the device's resolution and refresh rate without advertising faster fallback refresh rates from earlier streams (Displays and RTSS).
- Your monitors as you left them. The saved monitor layout, orientation and each monitor's Windows DPI scale are restored after a stream or a crash (re-checking scales for up to 1.5 seconds after teardown), and Advanced → Troubleshoot → Displays and Windows session or a restore hotkey (
dd_snapshot_restore_hotkey) restores them on demand. A monitor that keeps dropping its signal is left on after its third return within five minutes, instead of blanking the stream each time. - Client-side display choice. A Rubylight client can request, per PC, the virtual display alone, a virtual display beside your monitors, or no virtual display, without changing the host's settings (Configuration).
- Rotation. A device's own virtual display takes the stream's portrait or landscape orientation, and a monitor rotates to match and back after the stream; with Match the device, the display follows a device as it turns (Configuration).
- Monitors stay off while a device is away (Keep monitors off while paused, off by default). With an exclusive layout, the monitors stay off while a device is disconnected, even one that wakes over HDMI, until the device returns or its display is no longer kept (Keep a disconnected display for). The restore hotkey still brings them back (#56).
- Concurrent clients, each on its own virtual display. Stream here too shares the display the running game is on, as that display is.
- Dual screen. Nightjar's Dual screen mode streams a second display to the same device under its one pairing: a virtual display of its own beside the game's, or the PC's other monitor when streams use physical monitors. The host puts the two displays back where they were the last time (3.11.0, 3.11.1).
Audio #
- Surround up to 7.1.4 over Opus, with endpoint matching by ID, name, description or adapter, and Steam Streaming Speakers.
- Receiver formats. A client that requests them receives uncompressed PCM up to 7.1.4, or Dolby Digital and Dolby Digital Plus, so a TV, soundbar or AV receiver decodes the sound itself (Configuration).
- Night mode and headphone surround (off by default) compress the dynamic range and render surround for headphones on a stereo device (Configuration).
- Couch Party Audio. Each streaming Nightjar device balances game volume and party voice volume, chooses optional voice ducking (Off, Subtle −6 dB or Clear −12 dB), and sets per-guest mute, volume and stereo pan without hearing its own microphone echoed back (
0x554Cand/api/native/v1/audio/party). Solo streams at default settings bypass the mixer with zero added latency or allocations (Couch Party Audio). - Play audio on this PC too. Keep game audio playing on the PC's physical speakers or AV receiver globally, per device or per game (
play_audio_on_pc, ignoring global virtual speakers when enabled), or toggle couch speaker mirroring live from Nightjar as the session owner. A crash-safe recovery journal (party-audio-recovery.json) restores Windows' default playback device cleanly on disconnect, session end or crash, never leaving a virtual speaker as default (Sound & controls). - Game-only audio. Captures a launched game and its child processes on supported Windows versions; when the game cannot be identified, the stream is silent and the host warns (Configuration).
- Microphone. The client's microphone plays into Steam Streaming Microphone, encrypted in transit, with its recording level held at 0 dB or lower so it does not clip. Nightjar can also be the PC's microphone with no stream running (Microphone).
Input and controllers #
- Keyboard, mouse, touch and pen through Windows' input injection, and controllers through Rubylight's first-party UMDF2 VHF virtual gamepad driver built from source, which the installer sets up automatically (and replaces earlier prebuilt packages with on update). A whole pinch reaches Windows as one touch frame.
- Zero-latency client-side cursor. Hardware cursor separation on Rubylight virtual displays (
idd-push/auto) and Desktop Duplication streams cursor shapes (0x5540/0x5541) and live normalized positions (0x5542) with letterbox-accurate hotspot mapping so Nightjar Desktop (including Captured mouse mode), Nightjar Android and WebRTC browsers draw your pointer locally at native screen refresh (Keyboard, touch, pen and cursor). - Virtual mouse and touchpad. With the optional USB audio and haptics driver, the mouse is a virtual USB mouse polled every millisecond that games and anti-cheat read like a real one, with injection as the fallback (Mouse input method, per game and device too). A tablet's or laptop's physical touchpad in Nightjar reaches Windows as a precision touchpad, so two-finger scroll and three- and four-finger gestures work (Virtual mouse and touchpad).
- A matching virtual pad. Automatic gives PlayStation-type clients a DualSense with adaptive triggers, Nintendo-type clients a Switch Pro controller (a Switch 2 Pro Controller its own) and others an Xbox Series pad; Xbox One, DualShock 4 and Steam Controller can be chosen too, for the host or for one device. Controller identities persist across reconnects (Controllers).
- Steam Controller. The Steam Controller type presents a wired 2026 Steam Controller with both trackpads, back grips, grip and stick touch, 250 Hz accelerometer and gyroscope polling (matching the physical 2026 Steam Controller HID cadence), pre-arrival firmware attributes and a battery. A client with a real Steam Controller also passes Steam's pad haptics and settings through; other clients get rumble made from those haptics, and a motor whose stop message never arrives stops after at most 10 seconds. Nightjar's on-screen controls can add the trackpads, back buttons and grip touch, and their sticks then send stick touch.
- Xbox 360 and DualShock 4 (ViGEmBus). For tools such as reWASD that look only for USB controllers, every client can get an emulated USB Xbox 360 pad or DualShock 4 through ViGEmBus, which you install separately. The DualShock 4 keeps its touchpad, motion, battery and lightbar.
- DualSense and Steam Deck over USB. With usbip-win2 installed, a DualSense gets waveform haptics, speaker and headset audio and microphone input, and a Steam Deck appears as a genuine Steam Deck controller with trackpads, gyro and back grips for Steam Input (setup and limits). Nonary's Moonlight gets a PlayStation controller's speaker sound in its own format, and Nightjar for Windows and Linux plays the speaker and haptics on a DualSense over Bluetooth too; Android plays them over USB only, since it lets an app without root send no Bluetooth audio reports to a controller.
- Switch 2 Pro Controller over USB. With usbip-win2 installed, a Nightjar client's Switch 2 Pro Controller appears as a Switch 2 Pro Controller, with its C button, grip buttons, gyro, rumble and battery, for SDL and Steam; Switch 2 Pro (USB/IP) gives every controller one (Controllers).
- Motion server for emulators (off by default). Cemu, Dolphin, Citra and other emulators read each streamed controller's gyroscope, accelerometer, buttons and touch over the DSU (cemuhook) protocol, port 26760 (Configuration).
- Haptics from game audio (off by default). A DualSense renders the game's bass and impacts when the game sends no vibration, with strength, response and noise-gate settings that apply mid-stream (how it works).
- Back grips. Steam Deck L4, R4, L5 and R5 and Xbox Elite paddles press the buttons you assign.
- On-screen keyboard follows text fields. When a text field on the PC receives focus, Nightjar opens its keyboard, with digits for number fields and no suggestions for passwords. Keyboard layouts from the device, a client-drawn cursor, touch as a mouse or trackpad, and pen barrel roll are covered in Configuration.
- Couch menu. Hold L3+R3, press Ctrl+Alt+Backspace or hold the top-left corner, in any Moonlight client, for Back to game, Disconnect, End session and Close game, drawn into the stream in the console's look and sharp at 720p, 1080p and 4K (Configuration).
Game library #
- Every installed game. Steam, Playnite, Epic Games, Battle.net, EA app, Ubisoft Connect, GOG, Xbox and Microsoft Store games, and games in folders such as
D:\Games, appear in one Games list with their covers, one switch per launcher and one Sync now. Every launcher has Steam's options in a group of its own under All settings › Games (Epic Games options, GOG options and so on): sync automatically, remove uninstalled games and games to leave out, and for Battle.net, which records when a game was played, only the recently played games. Epic Games covers come from the launcher's own catalog. Games you remove stay out until you restore them. - Host Hub Sync. Paired Nightjar devices sync per-game launch profiles, library metadata and ETag-cached cover art directly through the host (
/api/native/v1/hub/...), with per-device isolation and compare-and-swap conflict protection (Host Hub Sync). - Steam. Syncs on demand and every 30 seconds, with covers from Steam's cache or store. An install or removal reaches a client in about a minute with auto sync on; library scans run at background priority. A Steam game's stream ends when the game's processes exit.
- Collections. Each library entry carries its Steam collections and Playnite categories, read from Steam's and Playnite's own files without writing to them, so Nightjar can group Home by them with no setup. Missing or changed files mean no collections and one log line, never a failed library.
- Playnite. Library sync, launches through Playnite with the stream's environment, a Playnite (Fullscreen) entry, the game brought to the foreground, and Wait after a game closes for games that restart through a launcher (Configuration).
- Launch focus. If a game changes the display mode in exclusive fullscreen and ends up minimised or behind the store client that launched it (such as Steam), Rubylight brings the game back to the foreground automatically during the first minute without pulling focus away from apps you opened yourself (Configuration).
- Launch curtain (off by default). Nightjar keeps the game's cover over the stream while the game starts, instead of the desktop, store windows and splash screens, and lifts it once the game's window is in front. Meanwhile the host checks four times a second and brings the game in front of its store's window. A launcher that wants a sign in or an update (Steam, Epic Games, the EA app, Ubisoft Connect, the Xbox app, Battle.net, GOG Galaxy, the Riot Client) or a Windows administrator prompt shows on the device with Show PC screen; the host never clicks them. The curtain always lifts after 45 seconds. Other clients see the start as before (Configuration).
- Apps. Commands with preparation and undo steps, detached commands, URLs and documents, an inferred working folder, start before sign-in, and one exit timeout for every app that sets none.
- Per-game and per-device settings. Stream, display, input and encoder settings, a graphics driver profile, RTSS frame limits and Lossless Scaling profiles, applied at launch and removed at the end (Configuration).
- Game settings files per device. A game's own settings files can be kept per device, so a TV keeps its 4K settings and a handheld its 1080p ones; the PC's own files come back when the game closes (Managed game files).
- Close apps on disconnect. An optional default closes the app when its last device leaves; each app can follow it or override it (Configuration).
- Confirmed game switch. Starting another game closes the running one only after the player confirms.
- Launcher status. When a Steam, Epic Games, EA app, Ubisoft Connect, Xbox app, Battle.net, GOG Galaxy or Riot Client window waits for an update or a sign-in, the session reports it and a client can show it. The host only reads window titles; it never clicks or types into a launcher.
Co-op and background streaming #
- Split-screen co-op. A game that Nucleus Co-op supports gets a "(Co-op)" entry. Each device that starts it joins as the next player, up to four, each in its own instance with its own picture, sound and virtual controller. Home shows who plays in which slot, a player who steps away keeps their slot for two minutes, and Nightjar lists the sessions and joins a free slot (Co-op and background streaming).
- Guests from other devices. A second paired device that joins the running game becomes a guest of the device playing: the same picture and sound with an encoder of its own, its own controller as the next player, and the keyboard and mouse only if granted, one holder at a time. The player lets it in from Nightjar or the console's Home, and can change what each guest may do, kick or block it, and let guests in for a time. Stock Moonlight joins by starting the running app (Guests from other devices).
- Background streaming. A device plays its own instance of a game through Nucleus Co-op while someone else keeps using the PC: the PC's displays, focus, keyboard and mouse stay with the local user, the game's sound leaves the PC's speakers, and only the device's controllers reach it. A Windows notification tells the person at the PC which device started which game. A single-player game needs no handler from the Nucleus hub; a Steam game starts through its Steam app ID and an Epic Games game with the arguments its launcher would add, while other launchers' links and games with anti-cheat are refused (Background streams).
Control from a client #
- Native API. A paired client on the streaming HTTPS port can read the host's capabilities, the game library with covers and the session state. Stock Moonlight and Artemis are unaffected (Native API).
- Nightjar as a remote console. Nightjar opens on a Home with favourites, what is running, the library of every paired PC, and a page for each game with Play or Resume. A session menu closes the game, ends the session or changes Radeon or NVIDIA driver settings without leaving the stream.
- Move or share a running game. Continue here moves the running game's stream to the device you are holding while the game keeps running; Stream here too joins it on a second device (3.7.0).
- Session actions. Disconnect leaves the game running, End session stops the stream and keeps the game, Close game also quits it (Configuration).
- Quick Suspend (off by default). Suspend game in Nightjar or on the console's Home pauses the running game's own processes, and Resume game picks it up later, from the same device or another. Rubylight writes down what it paused before it pauses anything, so the game is resumed if the host stops, crashes or restarts. It refuses, with the reason, while anti-cheat runs on the PC, and for protected or system processes, launchers, co-op and guest sessions (Configuration).
- Instant replay and recording (off by default). The host keeps the last 30 to 120 seconds of the stream's encoded video and sound in memory; Clips in Nightjar or the console's Clips page saves them as an MP4 clip, or starts and stops a recording, without encoding again. The console lists, plays, downloads and deletes clips, and a quota (20 GB by default) removes the oldest replay clips. While it is on, the encoder adds a keyframe every 4 seconds. PyroWave streams and passthrough sound can't be clipped (Stream DVR and clips).
- Stream Doctor. Nightjar can ask which stage of the PC (capture, conversion, encoding, packetizing or sending) lost its stream's time in the last 30 seconds, and lower that stream's bitrate by a fifth for this stream only, with an undo. The host reads the stutter report the console already keeps, only while the device asks (Native API).
- Host control. A per-device permission to close games, change graphics driver settings and install a pending host update, off until you enable it (Configuration).
- Driver settings with restore. A device with host control changes Radeon settings such as Anti-Lag and Radeon Chill during a stream, or on an NVIDIA GPU the driver's Low Latency Mode, Max frame rate, Vertical sync, Power management mode, texture and anisotropic filtering and Smooth Motion (driver 571.86 or newer). The host records the PC's own values first and puts them back when the session ends, after a crash too; a value it can't put back exactly is shown and left alone (Configuration).
- A driver profile per game. On a game's Graphics driver panel: Competitive (Anti-Lag on Radeon, Low Latency Mode at Ultra on NVIDIA), Smoothness (the game capped at the stream's frame rate), Quality (on Radeon anisotropic filtering and the driver's anti-aliasing enhancement, on NVIDIA 16x anisotropic filtering with high-quality texture filtering) or a custom list, written when the game starts and restored when the session ends, including after a crash (Configuration).
- Sleep, wake, restart and shut down. A device you authorise puts the PC to sleep while nothing is streaming, on a PC with S1, S2 or S3 sleep, and with its own permission restarts or shuts down an idle PC after a confirmation. The console shows whether devices can wake the PC and each network adapter's wake settings, and can put the PC to sleep after a period of inactivity. The wake address sent to clients includes physical adapters behind a Hyper-V external switch, and Nightjar can keep other wake addresses for a PC, for adapters that wake it when the streaming one cannot (Configuration).
- PC commands in the Control Center. A device with the PC commands permission runs commands you set on the PC from its Control Center or the host menu. Each app can add its own, listed only while it runs, with an undo that runs when the app closes, and can hide the ones from Settings (Configuration).
- Commands when a device connects. Each device can run its own commands on the PC when it starts streaming and when its stream ends, as administrator if you choose; a game can turn them off (Configuration).
- Lock when you leave. Rubylight can lock Windows when the last device leaves, never during a stream, and the next stream unlocks it from the lock screen (Configuration).
- Live hardware readings. On request, a streaming client can show the PC's CPU load, per-GPU usage, VRAM and video encoder load (
gpu_encoder_percent) on AMD, NVIDIA and Intel GPUs, plus full temperatures, power, clocks and fan speeds on AMD Radeon (Hardware metrics).
Clipboard, files and USB #
Each of these needs its permission on the device. The clipboard comes with Everything, which the first paired device gets; file transfer, shared folders and USB devices are always granted on their own (Privacy).
- Clipboard. Text copied on either side is sent to the other as you copy it, and images can be copied in both directions (Configuration).
- Shared folders. Folders you share with a device can be browsed and downloaded from, and with a write grant uploaded to (Configuration).
- File transfer (off by default). Devices send files to the PC and fetch them back, into the signed-in user's
Downloads\Rubylightor a folder you choose, paced while a stream runs (Configuration). - USB forwarding (off by default). A USB device plugged into the client is attached to the PC during a stream, over USB/IP inside the stream's TLS connection (USB forwarding).
Browsers and TVs #
- WebRTC server (off by default). Pair a Samsung Tizen TV or a browser with a PIN and stream H.264, HEVC or AV1 with HDR, surround sound, gamepads, keyboard, mouse, zero-latency client-side cursor,
transport-ccadaptive bitrate, frame-period-scaled high-refresh pacing and 12-second network-handover recovery with trickle ICE (WebRTC). - A play page for TVs and consoles. A TV, console or car browser opens
https://<PC address>:47991/play, pairs once with a PIN and picks a game with the remote, the arrow keys or a controller (Play in a TV browser). - Stream in the console. The console's Stream in the browser page plays a game in the browser tab, authenticated by the console session instead of pairing: AV1, HEVC or H.264 at the resolution and frame rate you pick, stereo, keyboard, mouse (with clean release on
Ctrl+Alt+Shift+Zor clicking outside the picture) and client-drawn cursor (WebRTC). - Guests in the browser. An invite link, on a guest port of its own, lets up to four friends watch the console's stream in their browsers, view only or with controller, keyboard and mouse, with an expiry, kick, revoke, 2-frame per-guest send queues shielding the owner, and initial cursor sync for late-joining guests. One encode for everyone, no relay servers, and UPnP can forward the guest ports (Guests in the browser).
Console and pairing #
- Pairing with a PIN, a one-time PIN or a QR code that Nightjar scans, with per-device permissions and an enable switch. Pairing from the console offers Play games (the default), Watch only or Everything; the first device gets Everything. WebRTC devices, and pairings made through the API without a choice, start view-only (Configuration).
- Pairing from the couch. A paired device with Approve new devices enters the PIN a new device shows, so a TV or console pairs without a walk to the PC. The tray's Pair a device opens the QR code, Enter PIN takes a device's PIN, and Open in Nightjar pairs a phone that shows the console.
- Home leads through pairing and playing, then shows the current stream, running co-op games, the host's own warnings and your games. While a device streams, its live stage shows what plays on which device, the stream's health over the last 30 seconds in one word and one sentence, frame rate, bitrate and host frame time over the last two minutes, and where a new picture's time goes on this PC, with Stream details, Copy diagnostics and Quit game below. The console has a light and a dark theme that follow Windows or your choice. Games, Devices and Settings cover the library, pairing and stream options; Settings shows the few settings most people change, and All settings keeps non-essential and automatic-by-default groups folded in place across six tabs while keeping customized groups expanded, with search. Ctrl+K finds any page, game, device, setting or common action from anywhere in the console, such as pairing a device, syncing games, disconnecting every stream, switching the theme or restarting Rubylight.
- Who decides a setting. On a game's page under Per device, and on a device's page under Stream settings, each stream setting is a card that shows which layer decides it (this game on this device, the game, the device, then the host), every layer's value, and Reset to inherited (Settings for one app or device).
- A map of your displays. Troubleshoot and each device's display overrides draw the connected displays as Windows arranges them, with resolution, refresh rate, scale, HDR, the primary and virtual displays, and the display a device streams. The map only shows; arranging stays in Windows.
- The stream card shows frame rate, bitrate and encoder timing together, the frame rate at each stage of the pipeline, and what the host changed and why.
- Sessions. Advanced → Sessions shows what streams now, refreshed every 2 seconds, and up to the last 200 streams that ended: device, game, codec, resolution, average and p95 frame rate, bitrate, the loss the device reported, how long it ran and why it ended, with a failure in the host's words. The page reloads the history as a stream ends. The history is saved in the host's data directory, keeps 90 days and is searchable; the host drops the oldest sessions by itself, and the caps are fixed rather than settings (
GET /api/sessions/history). - Costly settings named. An AMD encoder setting changed to a value that adds delay or weakens recovery says what it costs, and Settings lists every such setting you changed.
- Help has connection help, the support bundle and Log analysis, which reads the host log and explains the failures it recognises, such as AMD encoder hangs, lost capture, ports in use, network loss and an outdated display driver, with the corrective action (Troubleshooting). Advanced → Troubleshoot restarts Rubylight and holds display recovery, the Windows session, Nucleus Co-op's status and crash reports.
- Client build warnings. The device list shows the build each device last reported and warns when that build has a known problem with this host.
- Webhooks. Signed events to your own URLs when devices pair, apps start and stop, streams begin and end, and the PC restarts, shuts down or updates (Webhooks).
- Tray icon with a status dot (green while a device streams, amber while a game waits for its device, coral when a game closed right after it started), a menu whose first line says what is happening, and notifications for pairing requests, new versions and apps starting, pausing and stopping. A pairing request from outside your network says so, in the tray notice and in the console, and asks you to enter the device's PIN only if you expect it.
- Logs and support. Rotating logs, a live log view, crash dumps and a one-click support bundle.
- Connection route. An authenticated client can check whether its Tailscale route to the host is direct, relayed or unknown, without seeing other peers (Remote connection route).
Installation and updates #
- One installer sets up the service, drivers, firewall rule and shortcuts, and upgrades in place. It offers usbip-win2 for Steam Deck controllers, DualSense USB audio and haptics, and USB forwarding, and can turn on Wake-on-LAN. It imports an existing Vibepollo or Apollo profile with its settings, paired devices, apps and covers, or installs alongside the other host with its own service and ports (Getting started).
- Updates. New versions are offered, not forced; automatic installation is opt-in, at an interval or a time of day you choose. The host downloads the installer from the official release, verifies its size and SHA-256 digest, waits for an idle minute and upgrades through the service. A failed copy or start restores the previous files (Updates).
- Crash recovery and repair. The service restarts the host after a crash, and sets the virtual display or gamepad driver up again when one has been missing for a minute (at most once a day each, never during a stream).
--repairon the installer starts a stopped service again, sets both drivers up again and puts back the firewall rule and the Start menu shortcut (A driver is missing). - Separate instances with their own profile folders and base ports (Multiple instances).
- Settings backup and restore. One file with the settings, apps, covers, device settings, game settings files and webhooks, from the console or the tray. Pairing identity and sign-in go in only when you choose. A restore shows what changes, saves the current settings first and restarts (Configuration).
Clients #
Rubylight implements the Moonlight protocol, so Moonlight and other Sunshine-compatible clients work with it on Windows, macOS, Linux, Android, iOS, Apple TV, Android TV, consoles and handhelds. H.264, HEVC and AV1 stream in SDR and HDR wherever the device decodes them. PyroWave needs a PyroWave-capable client such as Nightjar, which also uses the native API and runs on Android, Android TV, Fire TV, Windows, Linux and macOS (releases). The hardware matrix lists the clients that have been tested.
To choose a stream format, see Getting started.