Windows game streaming, written in Rust. Built for Radeon and Moonlight.
Download Windows x64 installer · Portable ZIP
New in 2.5.10
- Use the virtual display again for clients that send
virtualDisplay=0. Since 2.5.6 the host readvirtualDisplay=0as a request for the physical display. Clients built for Apollo send it whenever their own virtual display option is off, and many have no such option at all, so they streamed the PC's monitor at its resolution and bit depth instead of getting a virtual display at their own (a 2560×1600 client mirrored a 3440×1440 monitor, and 10-bit SDR became 8-bit). Apollo reads0as "not forced", and Rubylight now does too; the host, app and device settings decide.hostDisplay=physicalstill selects the physical display. - Keep the requested resolution when Windows refuses its refresh. With VRR on, the host asks the virtual display for 1000 Hz. On a Windows 11 23H2 PC, Windows dropped 4K at 1000 Hz from the mode list. Up to 2.5.7 the driver's EDID declared 495 Hz and a 510 kHz line rate at most (2.5.8 removed those limits), and libvirtualdisplay, whose EDID declares 255 Hz at most, lost 1000 Hz on the same PC too. libvirtualdisplay only kept 4K because its fixed list also has 4K at 240 Hz. Rubylight's monitor offered no other 4K rate, so Windows fell back to 1440p or 1080p. The driver now also offers the requested resolution at the slower of 60, 120, 240 and 480 Hz and keeps it as the preferred timing, and the host retries a refused mode at the fastest rate Windows accepts at that resolution. A 138 fps VRR stream then gets 4K at 480 or 240 Hz instead of a lower resolution. Reported in #40.
- Stop saving layouts that Windows chose for a device. An "Extended + primary" stream whose display never became primary saved "Extended" for the device at disconnect, and that device layout then overrode every later change to the host layout, Exclusive included. A layout is now saved only when the planned one took effect at the start of the stream; one that did not is reported as a warning. A saved layout gives way once the app or host layout it replaced changes, and a layout picked in the device editor stays. Reported in #40. If a device still ignores the host layout after updating, set its layout back to the host setting under Devices.
- Remember the resolution chosen in Windows. Leave the device's display mode empty, turn on Devices → (device) → Remember the resolution I pick, and change the stream's virtual display resolution in Windows display settings. When the device's last stream disconnects, Rubylight keeps that resolution, puts it back if the stream resumes, and creates the display at it from the next stream. Only the resolution is kept: the refresh still follows the stream and the virtual display refresh setting, VRR included, and the stream keeps the size and frame rate the client asks for. Requested in #36.
- Stream in the background while someone uses the PC. A device or app can stream on an isolated virtual display that never shows the PC's monitor. Game windows move there without taking focus, games keep their sound and frame rate, audio carries only the game, input is limited to controllers, the clipboard is off, and Windows background throttling is turned off for the game. Requested in #43.
- Answer clock sync probes. Clients can map frame timestamps to their own clock through control message 0x5537, for VRR timestamp presentation and end-to-end latency measurement.
- Run the PyroWave link probe at streaming priority. Since 2.5.9's timer waits give the CPU up between packets, a probe beside busy threads could wake late for every batch and report a far slower link than the stream gets. The probe now runs at the priority of the stream's senders.
All workspace tests and Clippy pass. The display fixes are covered by unit tests; none has been streamed on the reporters' setups yet.
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.