Windows game streaming, written in Rust. Built for Radeon and NVIDIA. Made for Moonlight.
Download Windows x64 installer · Portable ZIP
New in 7.4.0
Rubylight 7.4.0 brings built-in virtual keyboard, mouse, and Precision Touchpad input, automatic image and file clipboard sync, stronger transport encryption and recovery, RTX Video processing scale with live toggling, calibrated client HDR profiles, a physical monitor privacy curtain, interactive display arrangement in the web console, and lower idle CPU, RAM, and VRAM usage.
What's new
- Built-in virtual input, live image and file clipboard sync, and Guide hotkey: Rubylight's bundled virtual input driver now provides hardware-origin keyboard, mouse, and Windows Precision Touchpad devices without requiring
usbip-win2(falling back automatically if unavailable or disabled). Copying images (including screenshots and combined text+image copies) or files withCtrl+C/Ctrl+Vnow syncs automatically both ways when permitted by device settings, and Keyboard shortcut for Guide button under Settings → Input → Controllers lets keyboard and HTPC players open Steam Overlay or Big Picture without a controller. - Stronger pairing, mobile encryption, Hi-Res audio, and recovery: Rubylight 7.4+ adds certificate-bound password-authenticated pairing (with five-attempt lockout), ChaCha20-Poly1305 encryption for devices without hardware AES, authenticated audio and microphone streams, larger video error-correction blocks, acknowledged long-term reference frame repairs without forcing full keyframes, Hi-Res 24-bit PCM audio up to 176.4 kHz with loss-gated packet repeats, sharper PyroWave detail allocation, live capture-to-display latency telemetry, OS-aware shortcut hints, and client-controlled Dolby audio quality. Stock Moonlight clients stay on the existing protocol unchanged.
- RTX Video processing scale, live toggling, and calibrated client HDR profiles: RTX Video enhancement now offers a configurable 50–100% processing scale (globally or per app and device) for SDR and HDR streams and applies toggle, strength, and scale changes mid-stream without restarting the encoder when the capture format stays the same. Per-display black floor, peak brightness, and full-frame luminance calibrated in Nightjar now apply directly to virtual display HDR output and tone mapping from the first frame.
- Physical monitor privacy curtain and stream-scoped Steam Big Picture: An opt-in privacy curtain under Settings → This PC → Privacy (overridable per device, per game, or live) covers physical monitors with a black screen or custom local image hidden from stream capture, with instant local dismissal via
Ctrl+Alt+Escor your display restore hotkey. Stream-scoped Steam Big Picture under Settings → Games → App behavior opens Big Picture for Steam games and exits it cleanly when the game closes. - Web console display arrangement, stylized covers, USB/IP doctor, pairing prompt, and tray bitrate: Drag or arrow-key physical and virtual displays directly in the web console (with magnetic edge snapping and saved per-device virtual layouts), get deterministic vector covers for apps without custom artwork, inspect and repair
usbip-win2driver issues in one click under Troubleshoot → USB and controllers, opt into a couch-readable full-screen local pairing PIN prompt under Network → Pairing, and adjust live stream bitrate from the Windows system tray. - Lower idle CPU, RAM, and VRAM usage: Idle network, audio, invite, artwork, and settings workers sleep until activity arrives; hardware sensor polling stops when no client or console tab requests telemetry; and streaming FEC/PyroWave pools, capture caches, and static HDR desktops use less memory and drain promptly on disconnect.
Fixes
- Missing HDR10 static metadata on D3D12 NVENC (nightjar#7): PQ HDR keyframes now always include SMPTE ST 2086 mastering display metadata (and Content Light Level when non-zero) even when D3D12 NVENC omits it, preventing HDR decoder restarts on receivers such as NVIDIA Shield TV.
- Games losing audio after a brief disconnect and reconnect (nightjar#7): Virtual speakers now stay active by default while a paused game is still running, avoiding Windows default audio device switches mid-session while still restoring your original speakers when the game closes or the session ends.
- Wired 1 MiB receive buffer throttling (#144): Clients advertising a 1024 KiB UDP receive buffer (such as wired Shield TV Pro) now keep full wired burst pacing instead of being capped near 393 Mbps, while smaller Android TV buffers keep burst shaping.
- Stale web console after host upgrades (#144): Web console HTML pages now disable stale browser caching so open tabs pick up upgraded builds without a hard refresh.
- Xbox Moonlight on-screen function keys: Zero-duration taps (such as F1–F12 and modifier shortcuts from Xbox Moonlight) now hold briefly before releasing so games and overlays register them reliably on both virtual HID and Windows injection paths, and generic modifier releases clear latched monitor-switch state cleanly.
Under the hood
- Protocol, FEC, crypto, and PyroWave: Capability-gated
GF(2^16)Reed-Solomon video FEC blocks up to 8,192 data shards; certificate-bound SPAKE2 (/access/v1/pake/*) with per-peer pending-PIN caps and 5-attempt lockout; ChaCha20-Poly1305 control/video AEAD and replay-protected audio/microphone AEAD; acknowledged LTR repair control messages (0x0350) with sliced AMFltr_markedpropagation; Hi-Res PCM 48 kHz DSP bypass and side-tap; PyroWave incremental distortion rate allocation (0006patch) with wire-budget-bounded critical-block parity; and per-frame capture timestamp plus clock-sync telemetry replies. - Virtual input, clipboard, and privacy:
rubylight-vgamepadUMDF2 driver adds VHF keyboard, relative/absolute mouse, and Precision Touchpad collections withERROR_DEVICE_REMOVEDrecovery and per-key VHF/SendInputroute tracking; clipboard staging uses randomized per-session directories, reparse-point checks, bounded blob/file reads, and SYSTEM interactive-userTEMPresolution;PrivacyCurtainavoids lock-order inversions and dropsWDA_EXCLUDEFROMCAPTUREwindows outside the lock;pairing_popupopens in the active console session/input desktop for LAN peers only. - GPU and idle efficiency: RTX Video and
truehdr-runtimedrain D3D11 event queries before NGXReleaseFeature/Shutdown1, evictGpuPool::shared_rtvon signal reset, and clear 1:1 SDR proxy state; NVENC < 13.0 snapshots static HDR metadata per pending frame; idle workers park on demand; cursor-only static HDR frames skip luminance histogram passes; anddisplays.rsjournals positions under the launch transition lock.
Tested. Automated checks passed on this release's code: cargo fmt, host and client workspace clippy -D warnings, host, interop, and Windows service (61/61) test suites, web console type-checking, unit tests, and production builds, tools (62/62) and release (94/94) Python suites, WDK 10.0.26100.0 builds with InfVerif and Inf2Cat for both rubylight-vdisplay and rubylight-vgamepad, MSVC truehdr-runtime build and tests (6/6) against RTX Video SDK 1.1.0, NVIDIA SDK header and fake-driver/unit checks, and Radeon 780M hardware e2e.py (H.264, HEVC, AV1, VRR, keyframe recovery, behind-window, 1080p60 record, and PyroWave SDR/HDR 4:4:4 with zero AMD encoder hangs), protocol.py (4/4), and test_usbip.ps1 runs.
Install or upgrade
Disconnect your stream and close host-launched games, then run the installer. Your settings, paired devices and game library are preserved. Open the console at https://localhost:47990.