Windows game streaming, written in Rust. Built for Radeon and Moonlight.
Download Windows x64 installer · Portable ZIP
New in 2.0.0
Rubylight 2.0.0 is the first stable release, after 30 release candidates. It replaces Vibepollo 2.0 on a Windows PC with a Radeon: it reads the same settings, imports a Vibepollo or Apollo installation in place, and answers Moonlight clients the same way (Compatibility lists what matches, what differs on purpose and what is still missing). On the RX 7900 XT test host at the native 1968×2184 HDR 120 fps, the picture reached a loopback client 1.5 to 2.2 ms sooner than with Vibepollo 2.0 at every percentile (HEVC 17.8 against 20.0 ms, AV1 17.4 against 18.9 ms on average, rc.24); Performance has the method and the runs. Changes since rc.30:
-
AV1 recovers from a lost frame without a keyframe. When a client loses a frame that error correction cannot repair, it asks the host to start over. Until now that was always a keyframe, the largest frame there is, sent just when the link is struggling. Rubylight now keeps four older AV1 frames as long-term references, and when a client that supports it (Moonlight for Windows does) reports the loss, the next frame is predicted from one the client still has. On the RX 7900 XT host at 1440p120 AV1, 80 Mb/s, with an 80 ms outage every 1.5 s, that recovery frame was 15.5 to 24.6 KB instead of a 98 to 127 KB keyframe, and the picture came back 4 to 7 ms sooner (stalls of 92 to 100 ms against 96 to 106 ms) in three sets of runs, with every frame decoded. Without loss the picture and frame sizes were the same. A keyframe still follows a second after such a recovery, in case a decoder could not follow it. HEVC and H.264 keep recovering with keyframes: on a test decoder both froze after this kind of recovery.
amd_ltr_framesnow defaults to 4 and applies to AV1 only; 0 turns it off. Since the release it has also been tried with a real client over Wi-Fi: Moonlight 6.2 on a laptop streamed AV1 1440p120 at 50 Mb/s for 90 s while the host dropped 20 ms of video every 1.5 s. All 59 lost frames were recovered this way, with no keyframe requests after the start and no frozen picture, at 117.7 fps and 2.7 ms host processing. -
Faster recovery when the host itself is on Wi-Fi. On a host whose Wi-Fi briefly stops taking packets, as in a user's Legion Go log, Windows refuses the frame the host is sending. The client noticed only a frame later and then asked for a keyframe. Now, when more of a frame is refused than error correction can repair, the host stops sending it and makes the next frame a keyframe at once. With a simulated 80 ms outage every 1.5 s on the host (HEVC 1440p120, 50 Mb/s), the picture came back after 88 ms instead of 98 ms and the client's keyframe requests fell from 17 to 1 per run. Without outages nothing changed. Not yet tried on a real Wi-Fi host.
-
Smoother video with a bitrate cap or a wireless host link. When packets go out at close to the stream bitrate, as with
pacing_max_bitrate_kbpsor on a wireless host, sending one frame took long enough to hold up the next one. Video is now sent on its own thread in that case, and a keyframe request drops the frame still waiting to be sent instead of sending it first. With a 160 Mb/s cap at 120 fps on the host, picture age p95 fell from 19.4 to 16.0 ms and a requested keyframe arrived about 4 ms sooner (p95 61 instead of 65 ms). Wired hosts without a cap keep the previous path, which measured better there;video_send_thread = falseturns the new one off. -
Troubleshooting for the AMD video engine timeout. On the test RX 7900 XT with driver 32.0.31041.1004 the video encoder hung inside the driver four times in October testing: three times under heavy loss recovery at 80 to 160 Mb/s, on unchanged builds too, and once in a plain HEVC stream with an experimental encoder setting that is not in this release. Windows then resets the GPU (LiveKernelEvent 141), and the Radeon may stay in Code 31 until a reboot. Troubleshooting explains what to do and what to report. When a stream freezes, the log now names the stream thread and the step it stopped in, says whether the GPU still answered, and records encoder calls that take 50 ms or more.
-
Smaller fixes:
- Ten-bit SDR streams on AMD no longer ask for pre-analysis or the quality rate control modes, which need 8-bit input; they use peak VBR as HDR streams do. After the encoder refused a bitrate change, its peak and buffer limits now follow the bitrate it actually runs at.
- The host counts the error-correction reports Moonlight clients can send and shows them in the periodic stream timings line in the log, so a support log can show how often a client repaired or lost a frame. Nothing in the stream depends on them, and no real client has been seen sending one yet.
The ten-bit and bitrate fixes have unit tests and passed the HDR metadata test on the host GPU.
-
Under the hood: benchmark runs now reject captures that fell back to another capture method or size, and can trace every packet batch. The host can simulate a Wi-Fi outage on its own or the client's side for recovery tests, and the test client can save the received video for a header trace. Reconnect tests no longer fail now and then on a slow test-client retry.
Copying or building on this code? Please keep the copyright and license notices and credit RamazanKara as the original author. AI coding agents are asked to do the same; see AGENTS.md.
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.