github RamazanKara/Rubylight v2.5.6
Rubylight 2.5.6

latest releases: v7.1.3-rc.29, v7.1.2, v7.1.2-rc.10...
one month ago

Windows game streaming, written in Rust. Built for Radeon and Moonlight.

Download Windows x64 installer · Portable ZIP

New in 2.5.6

This release comes out of a dedicated bug hunt, and updating is advised. We went looking for the causes of the recent resets, frozen streams, display mix-ups and input glitches, and fixed everything we could confirm, from display restoration and Windows input through GPU synchronization, PyroWave recovery, pacing and scheduling. If you have run into any of these, this is the build to install. We hope it is now the stable Rubylight you have been waiting for.

  • Size AMD recovery frames to the current packet pace. Automatic frame caps allow 2–8 nominal frame budgets, with about two frame periods of wire time after parity/header allowance. Caps follow pace, bitrate and FPS before input submission. Explicit numeric caps, including driver default 0, retain their meaning. Recovery logs report the cap associated with each picture and its packetized wire budget.

  • Remember devices that lost video frames. Eligible reconnects at the same authenticated device/address start at the previously selected Wi-Fi pace for up to 24 hours, with a fast-rate probe every fifth eligible session. Devices includes a reset control. Manual pacing and either adaptive controller keep their own policies.

  • Retain error correction longer after loss. Adaptive FEC holds for 30 seconds and then decays one percentage point every five seconds. Recovery frames still receive the configured ceiling. HEVC long-term references, AV1 confirmation keyframes and the isolated-loss threshold are unchanged.

  • Restore local displays after disconnect. Display restoration now defaults on with a three-second delay. Exclusive layouts always release after the configured delay, including older profiles that disabled restoration. The final stream restores monitors its layout disabled even after Win+P changes; failed restoration keeps its original recovery baseline. Explicit virtualDisplay=0 selects a physical display and cannot reuse a retained virtual stream.

  • Keep the virtual-display adapter through sleep. Power transitions preserve the IddCx adapter and monitor identities while capture resources are stopped before sleep and recreated after wake. A confirmed failed Rubylight driver can be restarted by a session operation with bounded retries; healthy and manually disabled devices are left alone.

  • Use high GPU priority on Radeon and reject retired compute queues. The host no longer requests process-wide realtime GPU priority on non-NVIDIA adapters. Converters, cursor preparation and capture handoff reject retired queues before submitting further work. The cause of the reported long-session AMD reset remains unconfirmed.

  • Reduce streaming CPU contention. Packet and frame waits use high-resolution timers throughout, with frame waits remaining interruptible. The host and capture helper no longer raise their entire processes to high CPU priority. Notification-capable capture sources wait longer after the desktop becomes static, while active capture and pending GPU transfers retain short polls. Control-session and gamepad batches reuse their allocated buffers.

  • Keep paused layout changes and failed input out of later sessions. Device layout preferences are captured when the last stream disconnects, so later local Win+P changes are not saved as streaming defaults. Touch state advances only after Windows accepts it, unknown-contact moves are ignored, and failed cancellation gets bounded cleanup before the synthetic device is retired. Final mouse/key releases are retried once without releasing another client's held controls.

  • Reject unsupported encoder resource states. Compute conversion checks AMF's recorded texture state before recording a barrier. Video-only, graphics-only and invalid combined states return an explicit error rather than reaching the compute queue; no such state was observed in the reported reset.

  • Respect PyroWave path limits and loss feedback. Unmeasured paths start near their wire budget; calibrated client limits and explicit pacing caps are never raised to fit an oversized stream. PyroWave now participates in the loss guard, opt-in pacing/bitrate adaptation and adaptive FEC. Legacy clients gain standard parity within their packet limits, with warnings if protection is reduced. Calibration uses the same batched sender as streaming, and legacy clients no longer accumulate larger frames after pauses.

  • Stop failed PyroWave GPU work before exposing output. Vulkan completion is checked before reading a frame. Failed submissions no longer leave an unsignalled wait on capture's D3D11 context, and resources still potentially used by the GPU remain owned. An unresolved failure disables further PyroWave initialization on that adapter until the host restarts.

  • Correct SDR BT.2020 and standard-video chroma placement. GPU and CPU conversion apply the SDR gamut and transfer conversion. Standard 4:2:0 conversion samples chroma at its signalled left position; PyroWave retains its specified centred position.

  • Keep D3D12 recovery ownership tied to the correct fence. Retired queues cannot lend their fence values to replacements. Unfinished teardown retains GPU resources, and an unresolved retained queue prevents repeated allocations on the same adapter. Converter setup checks planar write support, released targets receive bounded completion waits, and AMF capacity waits avoid continuous CPU spinning.

  • Reuse recurring cursor shapes. Bounded caches retain immutable D3D11 and D3D12 cursor textures across animation frames; queued work keeps its resources even after cache eviction.

  • Keep shared textures owned after failed GPU ordering. A failed signal or wait now retires the compute queue before a keyed-mutex texture can be returned to its producer. Capture must reopen before that queue can lend or return more textures.

  • Track recovery keyframes by their matching AMF submission. If the driver omits its output-type property, buffered startup and recovery outputs use their effective keyframe request. IDRs forced by rejected long-term-reference properties now reach submission tracking and acknowledgements too.

  • Transition uploaded cursor textures before compute sampling. New shapes now enter the shader-read state after upload. The native regression failed for both shapes before correction and passed afterward; HEVC/AV1 SDR/HDR checks with cursor changes produced zero Direct3D errors and independently decoded all 128 frames.

See the audit, verification.

The PyroWave and D3D12 follow-up records the later corrections, compatibility tradeoffs and verification limits.

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

Don't miss a new Rubylight release

NewReleases is sending notifications on new releases.