github RamazanKara/Rubylight 2.0.0-rc.27
Butterpollo 2.0.0-rc.27

latest releases: v6.3.2-rc.9, v6.3.2-rc.5, v6.3.2-rc.4...
pre-releaseone month ago

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

Download Windows x64 installer · Portable ZIP

New in rc.27

  • Moonlight on LG TVs can connect. Moonlight TV for webOS and its fork Aurora found the host but said it seemed to be offline, and adding it by address failed with "cURL Error: Failure while receiving data from the peer". These apps make an older kind of client certificate (X.509 version 2) that Butterpollo's encrypted connection refused, so they never got as far as pairing; Sunshine and Vibepollo accept it. Butterpollo now accepts it too and still checks that the app holds the certificate's key. Checked with a certificate made by Moonlight TV's own code, over TLS 1.2 and 1.3, in a unit test and with curl; not yet tried on a TV.

  • PyroWave with VRR stays at the stream's frame rate. A user streaming PyroWave with VRR at 100 fps saw up to 136 fps go out. When no new frame has arrived for a while, Butterpollo sends the last picture again, and for PyroWave it did so after a single frame's time, 10 ms at 100 fps: the console shows 20 as the minimum frame rate, but until a value was saved, PyroWave used the full stream rate. Under VRR, a game frame that came a little late then went out right after such a repeat, and the repeat didn't count toward the cap. That game frame was also given only the 1 to 3 ms of data since the repeat, so it came out blurred. Now an unsaved minimum frame rate is 20 for PyroWave too, as the console shows and as in Vibepollo; every picture sent counts toward the stream's frame rate, repeats included; and a new PyroWave picture right after a repeat gets at least a whole frame's worth of data. Saving a minimum frame rate of 30, which fixed it for that user, is no longer needed. A saved 0 still makes PyroWave resend at the full stream rate; those resends now count too, so a late game frame waits for room instead. Checked with unit tests, a simulation of the frame pacing, and on the RX 7900 XT host over loopback: a 90 fps test game on a 100 fps PyroWave VRR stream went out at 144 to 151 fps before and at exactly 90 fps now, every frame new and at full size (median 494 KB instead of 130 to 217 KB), with picture age the same or up to 0.7 ms lower. A still PyroWave desktop now sends 20 repeats a second instead of 97. Not yet tried with a real game or over Wi-Fi.

  • RTSS caps the game at the stream's frame rate with RTSS 7.3.7. rc.25's fix was not enough: a user streaming at 100 fps still saw the game run at 115 to 145 fps. Butterpollo wrote the limit into RTSS's settings file and asked RTSS to reload it, but RTSS 7.3.7 keeps running the settings it already has open and ignores an edited file; Vibepollo ran into the same. With RTSS 7.3.7 or later, Butterpollo now hands the limit to RTSS through RTSS's own profile interface, as Vibepollo does, and gives your own limit back the same way when the stream ends, on disconnect and after a host crash. Older RTSS versions still get the file update, which they do reload. When Butterpollo has to start RTSS itself, it now waits until RTSS is ready before handing it the limit, since RTSS doesn't answer while it starts up, and when the stream ends it closes that RTSS again after putting your settings back in its file. If RTSS ever stops answering, the log now names the RTSS call it hung in. The log line "RTSS frame limit applied and verified" now names the RTSS version. On the RX 7900 XT host with RTSS 7.3.7 (RTSS.exe reports 7.3.5.28314), a renderer held at RTSS's own 120 fps limit dropped to 59–60 fps for the 20 s of a 59.94 fps stream limit and went back to 120 fps a second after the stream ended, with the same RTSS still running and no warnings. With RTSS closed beforehand, Butterpollo started it, the renderer went from 240 to 59–60 fps, and at the end RTSS was closed again, the renderer was back at 240 fps and RTSS's settings file held the original limit.

  • Remote Monitor streams follow the virtual display layout. With the layout set to exclusive, a Remote Monitor stream left your physical display on and primary next to the remote monitor, because only regular streams applied the layout. A Remote Monitor stream now applies it too, per device or host-wide: exclusive turns the other displays off and makes the remote monitor primary, the primary layouts make it primary, and extended or isolated leave it where the remote monitor layout placed it. Your displays come back when the stream ends, and a layout Windows refuses shows as a warning on the stream card instead of failing the launch. Checked with a unit test of the layout choice; not yet tried on a host.

  • Streams leave at exactly their frame rate. When the source runs faster than the stream, as the default virtual display at twice the stream rate or a 165 Hz game does, a 120 fps stream sent 121 frames a second and a 60 fps stream 60.3 to 60.6, which a client showing 120 Hz has to drop or queue. Pacing kept a 1% margin that only a source at exactly the stream rate needs; a faster source no longer gets it. On the RX 7900 XT host over loopback, 120 fps HDR and 1080p60 streams now leave at 120.0 and 60.0 fps, with picture age unchanged within run-to-run noise. Not yet checked on a real Moonlight client.

  • A frozen picture recovers on its own. The picture could freeze for good while the stream and its audio carried on: when the captured display left the desktop even briefly, for example during a layout change that switched it off and on, Windows stopped delivering frames without reporting an error, and the host kept sending the last picture. Butterpollo now notices within a second that the display is gone and reopens capture on the display that is there now, including a virtual display recreated in the meantime, without waiting for that display's HDR and mode to be restored first. Checked with a build and lint check only; not yet tried on a host.

  • The virtual display driver no longer goes missing. Artemis says the "SudoVDA" driver is not running or not installed whenever Butterpollo's virtual display driver is missing, and several paths left it missing. Updates from the console's update button never set the drivers up, only the installer did; they now install the display and gamepad drivers as the installer does. When the driver is still missing a minute after the Butterpollo service starts, for example because another program's uninstaller removed it or Windows needed a restart to finish installing it, the service now runs setup to install it again: at most once a day per version, never during a stream, and not if you installed with --no-display-driver. That attempt is logged in logs\driver-repair.log in the settings folder. When a driver step fails, setup now gives the driver script's own reason instead of only pointing at the setup log, and the console's virtual display check says whether the driver is missing or the host runs outside the Butterpollo service. Checked with unit tests and a Windows build check; not yet tried on a host.

  • A stream starts even when the virtual display driver is missing. When Artemis asked for a virtual display and the driver wasn't installed or wasn't working, Artemis warned that the driver was not running, and after you chose to proceed the stream still failed to start. It now streams your physical display instead, as Apollo and Vibepollo do, and the stream card says why. Run the installer again to set up the driver. Checked with a unit test of that choice; not yet tried with Artemis on a host.

  • Smaller fixes:

    • When a frame is too large for the client's packet limit and has to be dropped, Moonlight now sees the gap and recovers as from any lost frame. Before, it decoded the next frames against the picture it never got, so the image was corrupted until the next keyframe.
    • Error correction on very small frames no longer corrupts the packet header when a client asks for 3 or more recovery packets per frame.
    • UPnP port mappings are now added on routers that refuse to list their existing mappings. Those routers got no mapping before, and the log said "could not be renewed" every minute.
    • With address_family = both, IPv4 clients were paced as if every packet carried a 20-byte larger IPv6 header. Pacing and PyroWave's error-correction budget now use the real packet size.
    • Setup now removes Sunshine, Apollo or another old host installed under a path with spaces, such as C:\Program Files\Sunshine. Its uninstaller never started before, and setup only noted that the old host could not be removed. Setup also waits for that uninstaller to finish now: Apollo's returns at once and keeps working in the background, and on a test machine it deleted its service 2 seconds later, which is the service Butterpollo runs as. If an uninstaller just deleted that service, setup waits until Windows lets it create it again. Uninstalling Butterpollo also removes uninstall.exe and its folder again, which it used to leave behind.
    • Uninstalling one Butterpollo copy no longer removes the HDR Vulkan layer of another copy in a folder whose name starts the same, such as Butterpollo and Butterpollo2. An update now deletes files that were still in use at the next restart, as a full installation does, instead of leaving them.
    • Setup restricts access to its temporary folder before unpacking into it, because the unpacked host runs elevated from there while importing settings.
    • The log line for the virtual display mode shows the refresh rate Windows actually applied, for example 119.88 Hz rather than 120.

    The packet, UPnP and setup command-line fixes have unit tests; none of these was tried on a host 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.

Full release notes · Build and tests · Host validation

Don't miss a new Rubylight release

NewReleases is sending notifications on new releases.