Windows game streaming, written in Rust. Built for Radeon and NVIDIA. Made for Moonlight.
Download Windows x64 installer · Portable ZIP
New in 6.3.3
Rubylight 6.3.3 cuts GPU, CPU, and allocation overhead across colour conversion, encoding, capture handoff, packetization, crypto, and audio processing while keeping stream formats and client compatibility unchanged.
- Lighter GPU colour conversion and HDR analysis. HDR 4:2:0 colour conversion now filters linear BT.2020 light directly instead of round-tripping through PQ/HLG encode and decode per chroma tap, and the 4:2:0 compute shaders (
yuv420_csandyuv420_focus_cs) share neighbouring chroma samples across each threadgroup instead of re-reading and re-converting adjacent source pixels. Measured in release builds on an AMD Radeon RX 7900 XT at 3840×2160 HDR (linear-light HDR filtering), GPU conversion time dropped from 0.315 ms to 0.192 ms (-39%) on the single-pass compute shader, from 0.485 ms to 0.297 ms (-39%) on the pixel-shader fallback, and from 0.200 ms to 0.133 ms (-33%) on PyroWave 4:2:0 compute. In addition, 10-bit packed 4:4:4 uses a half-width compute dispatch, 10-bit native 4:4:4 converts Y, U, and V in a single compute pass (keeping the pixel-shader fallback), and HDR luminance statistics (hdr_stats_cs) and encoder-focus (focus_map_cs) reductions avoid redundant per-pixel work and global atomics. - Idle repeat reuse, unread capture fence skips, and event-driven encoder wakeups. AMF and NVENC now reuse the last converted GPU texture on unchanged static repeat frames (and PyroWave caches unchanged repeat bitstreams) instead of re-running colour conversion and HDR luminance statistics at the idle frame rate. Unread frames dropped from the display driver's fence ring and keyed-mutex zero-copy capture now release their slots without queueing a D3D12 compute-queue fence
Signal. Encoder output loops wake on completion events rather than polling on short timers where supported, AMF and NVENC coalesce dynamic rate-control updates and reuse frame/re-encode buffers, NVENC 10-bit native 4:4:4 runs its CUDA plane copy on an asynchronous non-blocking stream, and RTX HDR and RTX Video enhancement hand shared textures across D3D11 and D3D12 with shared fences so downstream conversion can stay on the compute queue. - Cached stream encryption and pooled video and PyroWave packetization. Stream encryption and microphone crypto keep pre-expanded AES-CBC and AES-GCM key schedules instead of expanding them per packet, and video, PyroWave, and bitstream-parsing hot paths reuse pooled buffers to cut per-frame allocations and copies.
- More efficient host audio processing and capture. Night Mode dynamics, Binaural headphone surround, PCM conversion and passthrough, and WASAPI audio capture and encoding perform fewer allocations, copies, and redundant calculations per audio packet.
Tested. Automated checks passed on this release's host codebase: formatting (cargo fmt -- --check), architecture guardrails (tools/arch_check.py), code map checks (tools/code_map.py check), release-tooling checks (rust/release 374/374 tests + service_inputs.py), workspace clippy and unit/interop tests (16 host crates + 31/31 cross-crate rubylight-interop tests), and 56/56 isolated live AMD Radeon RX 7900 XT GPU tests covering the merged color.hlsl shaders (yuv420_cs, yuv420_focus_cs, yuv444_planes_cs, packed 4:4:4 v2, PyroWave, HDR/HLG/overlay parity, hdr_stats_cs), amf::repeat_cache, and idd-push fence-ring release. NVIDIA NVENC, CUDA, RTX HDR, and RTX Video changes were audited line-by-line against vendored SDK 13.0 headers (nvEncodeAPI.h and dynlink_cuda.h) and verified with fake-driver tests and MSVC truehdr-runtime checks only — they were not run on NVIDIA GPU hardware and await confirmation on NVIDIA setups.
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.