Windows game streaming, written in Rust. Built for Radeon and NVIDIA. Made for Moonlight.
Download Windows x64 installer · Portable ZIP
New in 6.3.2
Rubylight 6.3.2 brings NVENC 8-bit native 4:4:4 (AYUV) to D3D12 compute, drains D3D12 NVENC and idd-push work cleanly on teardown, recovers HDR across exclusive-fullscreen SDR games and mode switches, removes PyroWave's Frame 1 shader/pipeline stall, fixes source_fps and virtual-display warnings above 500 Hz, recovers stopped virtual gamepad driver instances, and gives the virtual mouse and touchpad a fixed USB serial.
- Recover when the virtual gamepad driver stops. When Windows stops the virtual gamepad driver or refuses the host's handle (
0x80070006/0x80070103), Rubylight now closes the dead handle even on controller disconnect, restarts the failedRubylight Virtual Gamepaddevice automatically within a bounded retry budget, reports disabled or restart-required device states clearly in the console and log analysis, and repairs a stopped virtual gamepad device when Rubylight setup is re-run (#138). - 8-bit native 4:4:4 on NVIDIA uses the D3D12 compute path. NVENC 8-bit native 4:4:4 streams (H.264 and HEVC) now convert on the D3D12 compute queue into a packed
AYUVtexture (R8G8B8A8_UINTUAV) and encode on the compute device's D3D12 NVENC session, enabling encoder focus and keeping the existing automatic fallback to the D3D11 graphics queue if a driver or GPU refuses it (#150). 10-bit native 4:4:4 stays on D3D11 + CUDA, as NVENC's D3D12 interface refusesYUV444_10BIT. - Clean stream teardown on D3D12 NVENC and idd-push. Stream teardown now drains the D3D12 compute queue, flushes D3D12 NVENC with end-of-stream and waits for its output fence before unregistering resources and destroying the session, drains shared
idd-pushand handoff fences before releasing them, and keeps streaming GPU scheduling priority active until encoder, capture, and display teardown finish (#148). - HDR recovers after exclusive-fullscreen SDR apps and mode switches. Mid-stream HDR-to-SDR fallback now waits through brief display mode transitions (2 seconds) instead of dropping on a single transient SDR frame, normalizes FP16 surfaces by Windows' SDR content brightness while in SDR, and automatically returns the stream to HDR with updated display metadata once capture reports HDR active again (#145).
- Fresh Desktop Duplication colour readings on open. Desktop Duplication now refreshes DXGI colour space and Windows SDR white level immediately after opening duplication when the DXGI factory went stale or the returned surface format disagrees with the pre-open reading, and reopens into FP16 if an 8-bit duplication session enters HDR without losing access (#145).
- Physical display HDR turns back off after exclusive-fullscreen SDR apps. Stream teardown and startup display recovery now also clear Windows' armed HDR switch when an exclusive-fullscreen SDR app temporarily suppressed the active HDR mode, so HDR does not snap back on after the stream ends (#145).
- Faster, stall-free PyroWave stream starts. PyroWave no longer defers colour-conversion slot creation, D3D12 shader pipeline creation, and Vulkan compute pipeline compilation to the first captured frame inside the active streaming loop (#147). PyroWave encoders now allocate only the shared plane textures and single shared fence each slot uses, skip compiling unused D3D11 and
yuv420_csD3D12 shaders on the compute conversion path, compilepyro_cseagerly, and run a creation-time Vulkan pipeline warmup before streaming begins. This also reports compute conversion status accurately immediately after PyroWave encoder creation. - Accurate
source_fpsand virtual-display warnings on high-refresh captures. Captures faster than 500 Hz (such as 576 Hz and 1000 Hz virtual displays or uncapped Desktop Duplication) no longer collapsesource_fpsby chaining consecutive< 2 msintervals together, andidd-pushstreams no longer blame Rubylight's virtual display for a low frame rate whencapture_fpsitself is keeping up or delivering paired frames at a higher rate (#146). - Virtual mouse and touchpad reuse one Windows USB instance. The virtual mouse and precision touchpad now use a fixed USB serial instead of the host process ID, preventing ghost USB HID device nodes from accumulating across host restarts.
Tested. Automated checks passed on this release's host codebase: formatting, architecture guardrails, code map checks, workspace clippy and tests (including unit tests for Freshness::new_source_picture, virtual_display_limited, virtual gamepad PnP recovery and DriverLost propagation, physical HDR debounce/recovery, PyroWave eager setup, and fake-driver D3D12 NVENC AYUV / teardown checks), NVENC vendor-header checks against nvEncodeAPI.h, release-tooling checks, site link checks, and the full Windows release package build. Hardware confirmation on NVIDIA GPUs (RTX 5090 / 5070 Ti for #148, #150, #145 — NVENC changes are checked against vendor headers and fake-driver tests only, never run on NVIDIA hardware), RX 9060 XT eGPU cold start (#147), and live post-AFK virtual gamepad WUDFHost Code 43 failure/repair (#138) was not run on target hardware and awaits confirmation.
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.
Full release notes · Build and tests · Code signing policy · Host validation