Rubylight 7.0.3 for Windows #
Documentation · Install and migrate · Configuration · Features
Release history: 7.0.3 · 7.0.2 · 7.0.1 · 7.0.0 · 6.5.3 · 6.5.2 · 6.5.1 · 6.5.0 · 6.4.5 · 6.4.4 · 6.4.3 · 6.4.1 · 6.4.0 · 6.3.3 · 6.3.2 · 6.3.1 · 6.3.0 · 6.2.0 · 6.1.0 · 6.0.1 · 6.0.0 · 4.8.0 · 4.7.1 · 4.7.0 · 4.6.0 · 4.5.0 · 4.4.0 · 4.3.3 · 4.3.2 · 4.3.1 · 4.3.0 · 4.2.0 · 4.1.0 · 4.0.2 · 4.0.1 · 4.0.0 · 3.11.10 · 3.11.9 · 3.11.8 · 3.11.7 · 3.11.6 · 3.11.5 · 3.11.4 · 3.11.3 · 3.11.2 · 3.11.1 · 3.11.0 · 3.10.0 · 3.9.0 · 3.8.0 · 3.7.0 · 3.6.2 · 3.6.1 · 3.6.0 · 3.5.0 · 3.4.0 · 3.3.0 · 3.2.2 · 3.2.1 · 3.2.0 · 3.1.1 · 3.1.0 · 3.0.1 · 3.0.0 · 3.0.0-rc.5 · 3.0.0-rc.4 · 3.0.0-rc.3 · 3.0.0-rc.2 · 3.0.0-rc.1 · 3.0.0-beta.1 · 3.0.0-alpha.3 · 3.0.0-alpha.2 · 3.0.0-alpha.1 · 2.6.0 · 2.5.13 · 2.5.12 · 2.5.11 · 2.5.10 · 2.5.9 · 2.5.8 · 2.5.7 · 2.5.6 · 2.5.5 · 2.5.4 · 2.5.3 · 2.5.2 · 2.5.1 · 2.5.0 · 2.4.8 · 2.4.7 · 2.4.6 · 2.4.5 · 2.4.4 · 2.4.3 · 2.4.2 · 2.4.1 · 2.4.0 · 2.3.1 · 2.3.0 · 2.2.2 – 2.2.21 · 2.2.1 · 2.2.0 · 2.1.0 · 2.0.x · release candidates
Rubylight, called Butterpollo until rc.29, is written in Rust: host, native helpers, service and setup, with a Svelte web console. The 7.0.3 installer is named rubylight-setup-7.0.3.exe and upgrades an existing Vibepollo or Butterpollo installation in place, keeping settings, paired devices, the app library and covers. Codec SDKs and Windows drivers remain external components; the setup installs the drivers.
New in 7.0.3 #
This maintenance release fixes NVIDIA NVENC HEVC 10-bit 4:4:4 CUDA registration, automatic audio restore when HDMI TVs/receivers are powered off at stream end, mapped network drive app launches, MoonDeck --no-quit-after game exits, guest join notifications and monitor handling for console-launched games, idle desktop GPU usage, and Steam Deck controller passthrough over usbip-win2.
Fixes #
- NVIDIA NVENC HEVC 10-bit 4:4:4 CUDA registration (#202, #203): Register D3D11 textures with
CU_GRAPHICS_REGISTER_FLAGS_NONEinstead ofREAD_ONLYso 10-bit 4:4:4 NVENC streams start cleanly instead of failing withcuGraphicsD3D11RegisterResource failed (1). Thanks to morka842 (@morka842, #203). - Automatic audio default restore when HDMI TVs or receivers return (#200): Verify Windows audio and microphone defaults after stream teardown so silent no-op switches on powered-off HDMI endpoints stay pending, and watch Windows endpoint events to restore your previous speaker or microphone automatically as soon as it comes back online (while clearing the pending restore if you manually switch to another device).
- Apps on mapped network drives (#198): Impersonate the signed-in user's token when checking or creating working directories and launching user apps from the Windows service, fixing
The directory name is invalid (0x8007010B)failures and missing inferred working directories on mapped network drives. - External games left running on launcher exit (#197): When a launcher command (such as MoonDeck with
--no-quit-after) exits on its own, Rubylight now leaves externally launched games running instead of closing them, while explicit Quit and terminate-on-pause stops still close them. - Guest join alerts and host display handling for console-launched games (nightjar#246): Waiting guest join requests now raise a Windows tray notification and a global approval banner across every Console page (not only Home), display
Playing on this PCfor console-launched games, and stream the host's physical monitor as-is instead of creating a virtual display that blanks the host monitor. - Lower idle desktop GPU usage (#180): When
minimum_fps_targetis left at its default, a completely still desktop now backs off from 20 fps to 2 fps keepalives after 2 seconds (resuming at full rate with zero added latency on the next real frame), and NVENC now reuses its cached converted frame on cursor-only desktop updates instead of re-running 4K conversion and HDR metadata passes during idle pointer movement. - Steam Deck controller passthrough over
usbip-win2: Setting Steam Deck controller to Steam Deck now attaches the virtual Steam Deck pad even when a client announces an Xbox controller (paired with Nightjar 7.0.6 announcing the Steam Deck as a Steam controller for Auto mode).
Tested. Automated checks passed on this release's code: Rubylight's Windows CI (rust/build.ps1: formatting, clippy, host, service, and web console test suites, release build, and Certum signing), local host, interop, tools, and release suites, Nightjar Android/Desktop test suites, and pre-release Radeon hardware validation. NVIDIA NVENC/CUDA paths were checked against the vendor's headers and fake-driver tests and were not run on physical NVIDIA hardware.
New in 7.0.2 #
This maintenance release fixes NVIDIA D3D12 H.264 initialization, mid-session capture recovery crashes, orphaned per-device game settings after a host crash, inverted device-drawn cursors, 20:9 virtual display refresh rates, and slow stream startup on PCs with disabled Steam Streaming Speakers.
Fixes #
- NVIDIA D3D12 H.264 encoding (#190): H.264 sessions now open on the D3D12 compute-queue encoder instead of failing with
Encode Width / Height is greater than MaxWidth / MaxHeightand falling back to D3D11. - Mid-session capture recovery & multi-client crash (#186): A lost capture (and its WGC helper) now stays alive until every active stream releases its frames, including on failed recovery, instead of freeing itself under live sessions.
- Orphaned games with per-device settings (#187): After a host crash leaves a game running with swapped settings files, restarting the host now adopts that running game so clients can list and quit it and restore its files cleanly when it exits.
- Device-drawn inverted cursors (#192): Windows inverted cursors now keep their white outline around the black glyph instead of drawing as a solid black silhouette, and clients requesting larger cursors can receive shapes up to 127 px whole.
- 20:9 virtual display refresh rates (nightjar#197): Phones with 20:9 panels (such as 2400×1080 at 120 fps) now receive their native resolution at the stream's refresh rate instead of falling back to 16:9 or 60 Hz.
- Headless extended-layout warning (#193): Extended-layout streams on hosts without a physical monitor no longer log false
"Windows did not apply the extended display layout"warnings. - Faster startup with disabled Steam Streaming Speakers (#144): The host no longer reinstalls Steam Streaming Speakers and waits up to 5 seconds on every launch and reconnect; it warms the driver once at startup, restores any moved Windows audio default, and never repeats a futile install while the endpoint stays absent.
Under the hood
- Launch preparation timing: Host logs now time each preparation stage separately (app configuration, audio route, app environment, game settings and files, each preparation command, and app start) so slow launches identify the exact step.
- Virtual display mode list & EDID: The client's requested resolution is offered at the faster of the host's applied mode and the stream's rate, non-standard configured rates below the advertised rate are explicitly offered, and the EDID's preferred timing follows it.
- Cursor protocol v2 (
0x5541): Addedcursor_shape_largecapability negotiation so v2 clients receive shapes up to 127 px (and original extents for shrunk cursors) while v1 hosts and WebRTC stay at 96 px. - Orphan adoption safety: Process adoption verifies PID creation times before taking ownership and serializes with console "Put back now" and stop paths.
Tested. Automated checks passed on this release's code: Rubylight's Windows CI (rust/build.ps1: formatting, clippy, host, service, and web console test suites, release build, and Certum signing), local host, interop, tools, and release suites, Nightjar Android/Desktop test suites, and pre-release Radeon hardware validation. NVIDIA NVENC, NVAPI, and D3D12 H.264 paths were checked against the vendor's headers and fake-driver tests and were not run on physical NVIDIA hardware.
New in 7.0.1 #
Zero-latency client-side cursors arrive across Nightjar and browsers, Frame Warp 2 moves to full 3D rotational projection with crosshair lock, and high-refresh pacing, VRR idle load, and per-game PC speaker routing all get sharper.
What's new #
- Zero-latency client-side cursor across Nightjar and browsers. Your mouse pointer now draws locally at your screen's native refresh rate in Nightjar Desktop (including Captured mouse mode), Nightjar Android, and WebRTC browsers (
/play, Stream, and Guest) instead of waiting on a video round trip. When RTX HDR or RTX Video runs on a virtual display, the cursor separates before enhancement so it stays sharp and bright instead of being blurred or dimmed. - Frame Warp 2 upgraded to 3D rotational projection & crosshair lock. Camera turns now project through a full 3D perspective turn instead of a flat 2D shift, with joint stick+gyro learning when you aim with both together, central reticle protection so your crosshair stays pinned at center, and HDR-safe border fades.
- Per-game and per-device "Play audio on this PC too" (nightjar#215). Keep audio playing on your PC's speakers or AV receiver per game (under Sound & couch menu), per device, or globally without being overridden by virtual speakers.
- Phase lock toggle (
phase_lock, #176). Turn host Phase Lock on or off under Picture → Frame pacing, or override it per device and per game.
Fixes #
- High-refresh Phase Lock & FPS caps (#176): Stopped Phase Lock from running streams ~1% too fast on 90 Hz+ panels (which caused periodic frame drops), and stopped it from pulling 1-fps-below-refresh caps (like 59 on 60 Hz, 89 on 90 Hz, or 239 on 240 Hz) back up to panel refresh while keeping broadcast fractional rates locked.
- Lower idle virtual-display GPU load on VRR streams (#180): Sustained desktop motion on 480/1000 Hz virtual displays now caps cleanly to 2x stream FPS instead of spinning at 230–480 fps while active games remain unpaced.
- Browser mouse release: Pressing
Ctrl+Alt+Shift+Zor clicking outside the stream picture in WebRTC Stream, Guest, and/playpages now keeps the mouse released instead of snapping back on hover. - Safe upgrades from 7.0.0: Trimmed redundant host settings while keeping existing NVENC minimum-QP values and library auto-sync choices intact on upgrade.
Under the hood
- Cursor pipeline (
0x5542& WebRTC): Added live host cursor position sync (0x5542) alongside0x5540/0x5541with letterbox-accurate hotspot mapping, monotonic sequence tracking across reconnects/toggles, Encoder Focus ROI centered on the cursor hotspot, static-desktop repeat-cache reuse (skipping redundant RTX neural passes on cursor-only moves), a 1 MiB WebRTC SCTP send buffer, a bounded 32-entry LRU cursor image cache, and reliable initial cursor sync for late-joining guests. - Frame Warp 2 internals: Added exact 3x3 rotational homography, scanout-lead prediction, joint stick+gyro RLS with locked-lag hysteresis, per-axis pitch-clamp gating and decay, and pinned-cursor gating so hidden game cursors do not trip the menu check.
- Input & congestion tuning: Cut virtual gamepad IOCTL heap allocations, worker lock contention, and control-channel ACK delay. Added startup standing-queue detection (tuned to ignore flat EWMA route-change RTT jumps), learned lower probe ceilings, IDR storm rate-limiting, and log-storm coalescing.
- Audio routing:
play_audio_on_pcnow ignores globalvirtual_sinkwhen enabled and re-acquires the audio route when resuming an app from a device with a different preference.
Tested. Automated checks passed on this release's code: Rubylight's Windows CI (rust/build.ps1: formatting, clippy, host, service, and web console test suites, release build, and Certum signing), local host, interop, tools, and release suites, Svelte svelte-check and 669 web console tests, and Nightjar Android/Desktop test suites. NVIDIA NVENC, NVAPI, and RTX HDR/Video hardware-cursor paths were checked against the vendor's headers and fake-driver tests and were not run on physical NVIDIA hardware.
New in 7.0.0 #
- Cleaner physical-display HDR across exclusive-fullscreen transitions. Desktop Duplication now refreshes live display colour state before choosing HDR capture formats, accepts 10-bit PQ (
R10G10B10A2_UNORM) alongside FP16 when active, ignores uninitialized initial empty frames, and automatically returns to Windows Graphics Capture once an exclusive-fullscreen application leaves the display. - Smoother desktop and browser arrival pacing. Windows Graphics Capture recovers smooth scanout intervals from future DWM timestamps, Desktop Duplication pointer-only updates no longer fragment active picture cadence or trigger spurious phase locks, 1:1 display streams keep phase lock standing aside through brief compositor jitter, and arrival prediction caps waits short of
latesend gaps when a 240 Hz display skips occasional refreshes. - Host-synced Nightjar library and profiles. Paired Nightjar devices can now sync per-game launch profiles, library metadata, and cached box art directly through the host with per-device isolation and safe concurrent updates.
- Bounded NVIDIA D3D12 submission depth and safer fallback. Native D3D12 NVENC sessions now cap queued frames in flight to one in the Lowest latency preset and two by default, reuse pre-registered conversion and bitstream ring buffers across frames, and drain safely before switching to the D3D11 graphics queue if a D3D12 fence times out or the device is lost.
- Tighter NVIDIA rate control and recovery. When the frame budget guard hits P1 over budget, two-pass encoding now steps down to single-pass to keep frame times predictable; in-place dynamic bitrate updates preserve single-frame VBV and low-latency settings without draining the pipeline; temporal AQ is strictly gated on zero lookahead and zero B-frames; and reference-frame invalidation tracks retained DPB slots so loss recovery avoids unnecessary full keyframe resets.
- Smoother RTX HDR and RTX Video transitions. Toggling pre-encode filters that keep the same resolution, pixel format, and shared texture path now swaps textures over GPU fences without tearing down the converter or encoder session, while format changes such as SDR to FP16 RTX HDR drain and rebuild cleanly.
- AMD AMF queue-drain diagnostics. High-refresh AMD AMF streams now record queue-drain waits, input-surface ownership waits, and full-queue retries in stall snapshots, slow-drain warnings, and session release logs to help diagnose backpressure at high frame rates.
- Smoother high-frame-rate WebRTC pacing. Browser play's video send queue now scales its UDP pacing batch ceiling to the stream's frame period so high-refresh streams spread packets evenly across each frame.
- More resilient browser play (WebRTC). Browser sessions now negotiate transport-wide congestion feedback (
transport-cc) to adapt video bitrate smoothly under loss, NACKs, or pacer backlog, extend the brief-network-handover grace window to 12 seconds while accepting client trickle ICE candidates, and shield the host encoder from slow/guestviewers with tighter 2-frame per-guest send queues. - Couch Party Audio routing and spatial mix. Every streaming device can now balance game volume, party voice volume, optional voice ducking (Off, Subtle -6 dB, Clear -12 dB), per-guest mute, volume, and stereo pan (
0x554Cand/api/native/v1/audio/party) without hearing its own microphone echoed back. Solo streams with default settings bypass the mixer with zero added latency or allocations. - Play on PC speakers (host couch mirror). The session owner can mirror game audio to the PC's pre-stream physical speakers during a stream; a crash-safe recovery journal (
party-audio-recovery.json) restores host speaker state cleanly on disconnect, session end, or crash, and virtual endpoints are never restored as the Windows default speaker. - Higher gyro polling for virtual Steam Controllers. Virtual Steam Controller slots now request client accelerometer and gyroscope updates at 250 Hz (up from 200 Hz) to match the physical Steam Controller (2026) HID cadence, accept pre-arrival firmware attributes from clients, and log a single per-slot feedback summary when a controller disconnects instead of logging during gameplay.
- Quieter All settings tabs. Non-essential and automatic-by-default setting groups (such as Updates, Sleep and wake, Resolution and refresh rate, Codecs, Encoder, RTX HDR, RTX Video enhancement, Audio devices, Virtual speakers, Controllers, Couch menu, Library sync, Streams, WebRTC, and Compatibility) now start folded in place while keeping every customized group automatically expanded, leaving at most 9 open settings on any topic tab.
New in 6.5.3 #
- Lower idle GPU load and smoother minute boundaries on virtual displays. The virtual display driver no longer issues an extra full-frame GPU snapshot copy on every published frame, and paces sustained over-rate desktop animation bursts relative to the active stream frame rate while keeping active games at up to 2x stream FPS unpaced with zero added latency.
- Respect explicit 480 Hz virtual displays and cap fallback refresh rates. Setting
virtual_display_refresh = 480hzis no longer overridden back to 1000 Hz when a VRR client connects, and lower fallback resolutions (such as 1440p during a 4K stream) no longer advertise refresh rates above the requested stream mode. - Faster RTX Video and RTX HDR stream startup. Initial NVIDIA enhancement now runs before creating the video encoder instead of building the encoder twice and stalling the first frame, and live mid-stream enhancement toggles no longer trigger false picture-wait stall warnings.
- Switch monitors live during a stream. Primary desktop and game streams (with keyboard permission, outside the couch menu and background sessions) now switch capture cleanly across active displays on
Ctrl + Alt + Shift + F1–F12without disconnecting or dropping held modifier keys. Joined guest streams follow the owner's selected display automatically, and disappearing overridden monitors fall back to the stream's prepared display. - Device-drawn cursor and Frame Warp 2 cursor hints on Rubylight virtual displays. Rubylight's virtual display driver (
rubylight-vdisplay) now supports opt-in hardware cursor separation (IddCxMonitorSetupHardwareCursorandIddCxMonitorQueryHardwareCursor3with fallback to*2). Direct driver push (idd-push, includingcapture = autoon virtual displays) now supplies cursor shapes (0x5540/0x5541), HDR cursor SDR white levels, and cursor-visibility hints for Frame Warp 2 alongside Desktop Duplication. Older virtual display drivers and setups where hardware cursor activation fails fall back cleanly to keeping the OS cursor composited in the video.
New in 6.5.2 #
- Virtual gamepad driver responds again. Fixed a 6.5.1 regression where the virtual gamepad driver's parallel WDF request queue left its presented-request limit at zero, causing virtual controllers to stall on first input.
- Starting a second stream no longer hangs the host. Released the controller policy lock before opening the virtual gamepad driver and dropped the controller-session pool lock before updating a reused controller thread, so a slow or stalled gamepad driver open can never block the host's control channel on reconnect.
Tested. Targeted local checks passed on this hotfix: rubylight-vgamepad driver clippy, fmt, and build-package.ps1 (InfVerif + Inf2Cat), butterpollo-win-io (input::gamepad_thread::tests 39/39 and clippy), butterpollo-stream (controller_sessions::tests 8/8), butterpollo-setup (vdisplay_and_vgamepad_driver_contracts_stay_enforced), cargo fmt, arch_check, code_map, and rust/release/test_release.py, with full host CI build, test suite, and signing running on v6.5.2.
New in 6.5.1 #
- Cleaner Windows driver, install, and display recovery. Gates the virtual display driver on Windows 11 23H2 (build 22631) and newer, renames locked files during upgrades and repairs without queueing the running uninstaller for reboot deletion, backs off display recovery until offline displays settle, and handles concurrent virtual controller requests without blocking submits.
- Host streaming, web console, and network fixes. Resolves session lifecycle, graphics capture and encoder cleanup, console session and backup, and protocol/network edge cases found during the 6.5.1 audit.
- Wired streams with sustained packet loss now probe back up (#168). When a wired H.264, HEVC, or AV1 stream with Packet pacing on
autoand a client reporting FEC status hits sustained frame loss (or starts from a remembered lossy route), the host hands pacing over to adaptive packet pacing starting at twice the bitrate instead of staying locked at the Wi-Fi pacing rate for the rest of the stream, probing back up as the link stays clean (capped below the rate that failed on mid-stream handoff, locking at the last clean rate on probe loss, and holding the safe rate when FEC is below 10%) without reducing bitrate. Clean wired streams, temporary start-up or send-buffer latches, PyroWave, fixed or disabled pacing, and clients without FEC status keep their existing behavior.
Tested. Automated checks passed on this release's code: local host lint (rust/build.ps1 -Stage Lint: workspace and butterpollo-service 1.0.8 clippy -D warnings), host tests (cargo nextest, excluding elevated-only DACL and desktop-window tests verified on Windows CI), Svelte web console (svelte-check and console/guest/play production builds), cargo fmt, i18n, arch_check, code_map, generated_docs, service_inputs, 226 tools and rust/release unit tests, plus Nightjar client Rust workspace tests/clippy and Android Gradle unit tests and lint (testNonRootDebugUnitTest, lintNonRootDebug). NVIDIA NVENC and NVAPI paths were checked against the vendor's headers and fake-driver tests and were not run on physical NVIDIA hardware.
New in 6.5.0 #
- AV1 on AMD no longer skips frames to stay on budget. AMD's rate control could drop a frame when the bitrate got tight, which a VRR client shows as a held picture. H.264 and HEVC already kept every frame; AV1 now asks the driver for the same, and a driver without the setting keeps its default and says so in the log.
- What to stream follows the PC's focus. A new choice, The app’s window, the display while it’s in the background (
capture_window = window_focus), streams the game's window while it is in front and the whole display while you Alt+Tab or click outside it, then the game's window again when it is back in front, without restarting the stream. A launcher that takes the focus for a moment at launch doesn't switch it. The app’s window works as before. - Sound comes back sooner when the playback device changes. The host now hears from Windows the moment the default playback device changes or the captured device disappears (for example when a virtual display drops its audio), instead of noticing at its next once-a-second check, which stays as a backstop.
- Wake your PC from away. A sleeping PC can't answer from the internet, so with Away wake relay on (All settings → Network, off by default, needs Play over the internet) a paired, always-on device on your home network, such as Nightjar's desktop client on a mini PC, wakes it for Nightjar on your Android phone or tablet when it is away. Nightjar asks that device over the same direct, encrypted path as Play over the internet; it sends the Wake-on-LAN packets on your home network only, only to your PC's own adapters, and only for devices paired with your PC that may start games. No port forwarding, and no server of ours in between.
- Safe by design. Every request is signed with a key only your PC hands out, carries a timestamp and a one-time number, and gets at most one short burst of magic packets: a replayed request is answered again but never wakes twice, and a relay sends at most one burst every ten seconds per PC. A relay must have Host control and be on your PC's own network to enroll. Unpairing a device, removing a relay or Rotate keys reaches each relay at its next check-in, within five minutes while the PC is awake.
- Your relays at a glance. Settings → Network → Away wake relay lists each relay with when it last checked in, marks one that stopped refreshing, removes one, rotates the keys, and shows the three steps to add a relay.
- A new look for the console. The web console is redrawn for 6.5 in a dark and a light theme that follow Windows or your choice: a navigation rail, a command bar with search and a live badge while a device streams, and calmer panels, forms and tables. Every page and setting is where it was.
- Live stage on Home and Sessions. While a device streams, the top of Home shows what plays and on which device, the stream's health in one word and one sentence, frame rate, bitrate and host frame time over the last two minutes, and where a new picture's time goes on this PC (capture, convert, encode, pace and send). Stream details, Copy diagnostics, Quit game and each device's Disconnect sit right below. The figures are the ones the host measures; nothing is estimated.
- Guided pairing. Pairing shows three steps and what to do now: the QR code on its own paper with its time running out, the access choice as cards (Play games, Watch only, Everything), the PIN field as soon as a device asks, and the device's card once it is paired.
- Command palette.
Ctrl+K(⌘Kon a Mac) now also lists host actions (pair a device, sync games, disconnect every stream, switch the theme, restart Rubylight) and diagnostics (Troubleshoot, Sessions, Logs, support bundle), next to pages, games with their covers, devices with their state, and settings. - A studio header on each game's page. The game's cover, lit from behind by its own art, with its launcher, whether it runs, the stream profile it carries, Launch and Edit cover.
- Who decides a stream setting, at a glance. On a game's page under Per device, and on a device's page under Stream settings, each setting is a card that shows which layer decides it (this game on this device, the game, the device, then the host), every layer's value, and a Reset to inherited button. Resolution, refresh rate, display HDR, virtual display, bitrate limit, error correction, HEVC and AV1 support, full chroma, the frame limiter, audio capture, virtual speakers, microphone, 7.1.4 surround, mouse mode and controller support can now be set per device, and per game on one device, from the console (#140).
- Play in a TV browser, redrawn. The
/playpage has a new pairing screen with the PIN one digit to a cell, a games view that names the game in focus above its covers, and a stream menu as a dock at the bottom of the picture: Back to game, Full screen, Sound, Stats, Disconnect and Quit game. Hold Back, Escape or the controller's View button for a second to open it, or click the handle at the top edge. Stats shows the frame rate, bitrate and round trip your browser measures. The hints at the bottom show the buttons of the controller, keyboard or remote you are using. - A calmer guest page. Guests join on a dark stage with one card: their name, then Joining or Waiting for the host. While they watch, a bar with their name, what the link allows, Full screen, Mute and Leave floats at the top and hides after four seconds.
- A map of your displays. Troubleshoot and each device's Display overrides draw the connected displays where Windows arranges them, with resolution, refresh rate, scale, HDR, the primary one, virtual displays and the display a device streams. The map only shows; arranging displays stays in Windows.
- The console calls it the co-op helper. The console now says "the co-op helper", as the host's messages and Nightjar do, wherever it names the program that runs co-op and background streams: the Play together panel on a game's page, Troubleshoot, Devices and Settings. The setting is now called Co-op helper folder and keeps its key,
nucleus_path, so nothing has to be set again. - The console without scripts matches the redesigned look. Its pages use the same Light and Dark themes and the same Rubylight mark as the main console, and System follows Windows. Buttons, fields and links are easier to hit on a phone (at least 44 pixels), and the menu wraps onto several lines instead of scrolling sideways. Every page, form and action works as before.
- Running streams at a glance. While a device streams, the Overview page shows a dark strip with its resolution, frame rate, codec, bitrate and encoder. A figure the host has not measured yet is left out rather than shown as zero.
- Co-op messages in plain words. The reasons, errors and log lines of co-op and background streaming now speak of "the co-op helper" and of co-op sessions; their codes and the settings' keys stay as they were, so devices and scripts read them as before.
- The Couch Menu in the new look. The host menu you open from the controller now matches the redesigned console: dark rounded row cards, a ruby card for the focused row, pill switches for on/off settings, inline sliders for values, arrows around a choice you can change, and a Rubylight badge in the header. Every page, row, confirmation and touch target works as before, and text stays pixel-sharp at 720p, 1080p and 4K.
- Your monitors keep their Windows scale after a virtual display stream. The host records each monitor's scale before the virtual display joins the desktop and, once the last one has left, puts back any scale Windows moved, also after a crash, then checks it for up to 1.5 seconds, because Windows can move a scale again just after a display leaves (#129). A monitor that was scaled for a stream is checked the same way when the stream ends.
- Frame Warp 2. The host fits a game's camera response as each move comes in, alongside the four-second fit, and sends the model as soon as it explains 80% of the motion; a saved game is confirmed by the first turn. It learns the pad's gyro as a third camera input, and tags every frame with how sure it is that the camera moves the picture, so a scene cut, a move the model doesn't explain or, with Desktop Duplication capture, a pointer on screen stops the warp instead of pushing a menu the wrong way.
frame_warp.jsonkeeps the gyro's gain and moves to a new format by itself; a damaged file is set aside asframe_warp.json.corruptand the game is learned afresh. Frame Warp 2 replaces the first Frame Warp and needs the current Nightjar and host together: an older Nightjar streams normally without Frame Warp, and a current Nightjar tells the player when the host is too old. Theframe_warpsetting keeps its value. - Video encoder load in the stream overlay. Hardware metrics gain
gpu_encoder_percent, the load of the GPU's video encoder, read per GPU from Windows' GPU performance counters. NVIDIA and Intel GPUs now report GPU usage, encoder load and VRAM too; AMD GPUs keep their full set of readings. Intel GPUs that report their media engines as video decode have no encoder reading. - HDR highlights kept from HDR10 captures too. With Keep HDR highlights in SDR streams on, an HDR desktop captured as 10-bit HDR10 now streams to an SDR client with its highlights compressed, as an FP16 capture already did; before, the stream refused such a capture. With the option off, an HDR10 capture on an SDR stream still fails with a message that names the option.
- Highlights compressed for your display's peak. Keep HDR highlights in SDR streams now takes the peak brightness the display reports (400 to 2000 nits; 1000 when it reports none, as before) instead of always assuming 1000 nits, so a display's brightest light is white in the stream and nothing below it clips. On a brighter display SDR white streams a little lower: 203 nits is about 86% signal at 1000 nits and about 76% at 2000 nits.
- The virtual display reports a full HDR luminance range. Besides its peak (HDR peak brightness), Rubylight's virtual display now tells Windows and games a full-frame brightness of two fifths of the peak and a black level of 0.05 nits, instead of leaving both unknown.
- Pacing that follows the frame rate above 120 fps (#144). At 240 and 480 Hz the PC now sizes its video send batches, and the packet groups of Adaptive bitrate's On, and react to network delay, to the stream's frame period, so it no longer treats two or more frames as one burst. A batch holds at most a quarter of a frame (unchanged at 144 and 240 Hz, about half a millisecond at 480 Hz), and a packet group at most half a frame. Streams at 120 fps and below send exactly as before.
- Send gaps in the log. Every five seconds the host log adds a
video send gapsline beside the stream timings: how many frames left the PC on time, bunched together, late or after a skipped frame period, with the mean deviation and the longest gap. It shows whether a stutter starts on the PC or on the network. - Reconnecting controllers. Virtual controllers stay attached across reconnects when non-hardware input settings or Steam launch state change, a guest connecting while the game's owner reconnects no longer evicts player 1, and changing controller profiles finishes unplugging the previous virtual pad before plugging its replacement (#164).
- Quick Suspend and Couch Menu. Pausing a game with Quick Suspend immediately stops active controller rumble and releases held keys, and opening the Couch Menu with a keyboard chord releases preceding modifiers in the same packet so
CtrlandAltnever stay stuck. - Window follow-focus and guest permissions. Window capture updates absolute pointer and touch coordinates immediately when the captured window switches, hot-unplugging USB/IP controllers detaches in the background without stalling other pads, and view-only guests can no longer request text-input focus notices, report keyboard layouts, or route controller audio.
- Launch curtain. With Settings → Games → Launch curtain on (off by default), Nightjar keeps the game's cover over the stream while the game starts, instead of the Windows desktop, store windows and splash screens, and lifts it once the game's window is in front. While it is up the PC looks four times a second and brings the game to the front when its store covers it, and a launcher that wants a sign in or an update, or a Windows administrator prompt, shows on the device with Show PC screen; the PC never clicks them. The curtain always lifts after 45 seconds and says so. Moonlight and other clients see the stream as before.
- More launchers recognised. Launcher prompts and the game's window behind a launcher are now also found for the Xbox app, Battle.net, GOG Galaxy and the Riot Client.
- The device hears about a setup fallback. When a stream starts but the PC had to fall back (no virtual display driver, so the stream shows a physical display; a lowered display scale; a layout Windows would not apply), the launch reply now tells the device, which shows the notice once the stream runs. Devices that do not know the notice ignore it. Commands an app runs also get
SUNSHINE_CLIENT_PSMAP, the device's controller slots that hold PlayStation controllers. - One game, one card, across PCs. A game Playnite lists on one PC and a store lists on another (Steam, Epic Games, EA app, Ubisoft Connect, GOG, Battle.net or Xbox) now shows once in Nightjar's library instead of twice: the host gives the Playnite game the store's id of the installed game with the same title.
- Xbox games stay put at the sign-in screen. While no one is signed in on the PC, the Microsoft Store cannot list its games; the library now says so and no longer marks them as not installed: they keep the state the host's last scan found since it started, or show as unknown. The EA app's games are found when it and Windows spell their folder differently (case, slashes, quotes), and they start through the EA app's own
link2ealink on a PC without Origin. - A stream starts on a locked PC whose display is off. Starting a stream on a locked PC, or one whose display Windows had switched off, could end with "capture produced no GPU frame" after 10 seconds. Rubylight now keeps the PC's display on for as long as a stream runs (Windows otherwise switches it off a minute into the lock screen), and when a launch gets no picture within a second it wakes the display, physical or virtual, with the same tiny mouse move a device's first input makes, on the lock screen when the PC is locked, and tries again while the display powers up. A launch that shows a picture right away wakes nothing, and the display may switch off again once the stream ends.
- A PC with an iGPU beside a graphics card of the same make streams on the card. With Graphics card on Automatic, a Ryzen desktop whose integrated GPU is enabled next to a Radeon card, or a laptop with a Radeon iGPU and a Radeon card, used to render the virtual display and test its encoders on whichever GPU Windows listed first, often the iGPU, which reports fewer codecs (no AV1 on a Ryzen desktop's iGPU) and encodes slower. Rubylight now takes the GPU Windows ranks first for performance (external, then discrete, then integrated), then the one with the most video memory, and a console warning names it whenever that is not the GPU Windows lists first, with where to choose another. A display connected to an AMD or NVIDIA GPU still streams from that GPU, a PC with one GPU is unchanged, and a GPU chosen under Graphics card always wins.
- Zero-copy capture of the virtual display stays on the GPU that renders it. Capture now opens on the GPU the Rubylight display renders on, found the same way as the display's own GPU, so a hybrid laptop no longer drops from direct driver push to WGC over a GPU mismatch. After a display driver restart or a GPU reset the display asks for its GPU again under the GPU's current identity. A GPU chosen under Graphics card that is unplugged, disabled or not taken by the display driver now shows a console warning that names it and says what to do, and Rubylight never moves the stream to another GPU on its own.
- Errors say what went wrong and what to do. When the PC refuses a request from Nightjar (the graphics driver rejects a setting, nobody is signed in, the PC is in use, a pairing PIN came too soon), the answer now carries a short headline and, where the message doesn't already say it, the next step. Driver codes and error chains go in a separate technical detail, with user folders and addresses removed, so the words stay readable. Moonlight and older Nightjar versions show the same message as before.
- PlayStation controller speakers for more Moonlight clients. Moonlight clients that can play a DualSense's controller speaker now hear the game's controller speaker sound from Rubylight too, over the same USB DualSense the host already uses for waveform haptics. Each controller gets either this or Rubylight's own controller audio, never both, and touchpad and Steam Controller input is unchanged.
- PyroWave keeps its colours at low bitrates. The pinned PyroWave SDK fixes rate-control bugs that caused colour loss on busy scenes at low bitrates: a truncated prefix scan in the rate-control finalize pass and a distortion scale mismatch in the quantizer. The bitstream, the C API (1.0.0) and the
186f0393stream the host advertises are unchanged, so Vibepollo 2.0 and older Nightjar clients still decode it. - PyroWave decodes correctly on GPUs with narrow subgroups. The SDK now places dequantization plane offsets correctly where Vulkan subgroups are smaller than 16 threads, instead of reading the following blocks' data.
- Quick Suspend. Pause the running game from the Power page of Nightjar's Control Center or the console's Home page and resume it later from the same device, a device with Host control, or the console. Turn it on with the new Quick Suspend setting (App behavior, off by default). Rubylight writes down what it paused before it pauses anything, so the game is resumed if Rubylight stops, crashes, restarts or the PC reboots while it is paused, and ending the session, closing the game or starting a stream of it resumes it first. It refuses with the reason, and pauses nothing, for a game with anti-cheat, a protected or system process, a launcher, a co-op or guest session, or anything outside the game's own processes; if any part of a pause fails, what was paused is resumed.
- No sign-ins to other computers from the file picker or covers. The console's file picker and the app covers no longer open network paths (
\\server\share) or device paths (\\.\,\\?\,NUL,COM1), which would make the PC sign in to the named computer with its own account. The file picker says why it refused one. An app whose cover is on a network path shows the default cover, and the console names it with a warning until you copy the image to the PC and choose it again. Covers on a drive letter, mapped to a share or not, work as before. - Pairing limits hold across an IPv6 network prefix. Moonlight pairing requests are now counted per IPv4 address or per IPv6 /64, as sign-ins and WebRTC pairing already were, so a device can't get around the limit of two waiting requests by rotating its privacy address. The tray's pairing notice shows at most three times in 30 seconds for one IPv4 address or IPv6 network, enough for a second try or a second device; the console still lists every request.
- The PyroWave bandwidth probe waits its turn.
/pyrowave-bandwidth-probe(32 MiB) is now refused while a stream runs or starts, and each device may fetch it once every 15 seconds and twice a minute, like the other bandwidth probe. - First-run setup only from the PC itself. The console's first password can no longer be set through a reverse proxy or tunnel on the PC (nginx, cloudflared,
tailscale serve): requests carryingForwardedorX-Forwarded-*headers, or aHostorOriginother than the PC's, count as coming from elsewhere. If you reach the console only through such a proxy, set the first sign-in on the PC withbutterpollo.exe --creds NAME PASSWORDfrom an administrator PowerShell, then sign in through the proxy as usual. - Tighter console sessions and API tokens. Renewing a console session from its cookie now needs the page's CSRF token, which the console sends. API tokens can no longer be granted the password change or the file picker (
/api/password,/api/browse), and existing tokens that held them lose those two routes; everything else they were granted keeps working. - WebRTC server: no hijacking from websites. The WebRTC server's signalling port now refuses pages from the internet, which a browser on your network could otherwise point at the PC to ask for pairing or read its replies. TV apps, programs, pages on the PC or the local network, and the WebRTC browser client keep working; a client you host under your own domain needs its address in Trusted origins. Web pages learn the PC's Wake-on-LAN address only after they sign in. The TV app and the browser client still pair over unencrypted
ws://, as their protocol defines: the host log now notes each device paired that way, and the WebRTC server guide says what that exposes. Nightjar does not use this port, and Moonlight is not affected. - Support bundles leave out who you are. The support bundle's logs and diagnostics now replace IP and MAC addresses, user names and folders, the PC's, devices' and games' names and secrets with marks such as
[lan-ip],[user]and[device-1], and keep error codes, GPU, driver, codec and timings. The crash memory dump, which can't be redacted, is left out unless you turn on Include the crash memory dump on Help or Troubleshoot. - An update that stopped early no longer hangs in the console. If Windows restarted or setup was closed after an update began but before it changed any file, the console kept showing the update as installing and an automatic update's failure was never reported. The service now marks such an update as failed when it starts, with a note that the installed version still runs and that you can start the update again from Updates.
- The virtual gamepad driver repairs itself too. The service already set the virtual display driver up again when it went missing; it now watches the virtual gamepad driver the same way, and each driver keeps its own once-a-day limit, so one that keeps failing never holds the other back. A driver you left out at install (
--no-display-driver,--no-gamepad-driver) is left out. --repair. One command,rubylight-setup-<version>.exe --repairorbutterpollo-setup.exe --repairin the Rubylight folder, repairs an installed Rubylight: it starts the service again if it is stopped or not answering, sets both drivers up again from the installation and puts back the Windows Firewall rule and the Start menu shortcut, then lists what it did.--repair-drivers --nownow sets up both drivers; add--driver displayor--driver gamepadfor one.- Setup in the redesigned look. Setup's dialogs show the Rubylight mark instead of the security shield, get a dark title bar when Windows uses dark mode for apps, and render sharp on high-DPI monitors. The buttons say what they do: Install Rubylight, Remove Rubylight, Open Rubylight Console and Done. Errors keep Windows' error icon, and every choice and default works as before.
- A calmer finish screen. After an install, setup waits up to 3 seconds for Rubylight to start before it shows Open Rubylight Console. If Rubylight is still starting, setup says so instead of opening a console that doesn't answer yet. Quiet and unattended installs are unchanged.
- Stream Doctor 2.0 for Nightjar. A paired device may ask which stage of the PC lost its stream's time in the last 30 seconds (capture, conversion, encoding, packetizing or sending), with the late pictures and lost milliseconds behind it, and lower its stream's bitrate by a fifth for this stream only, with an undo that never overrides a change made since. As with a manual bitrate change, the device keeps control of the bitrate until the stream ends, undo included. The PC computes nothing new for it: it reads the stutter report the console already keeps, and only while the device asks. Moonlight and other clients see no change.
- The live stage names the last 30 seconds. The console's health banner now judges the last 30 seconds, as Nightjar's Stream Doctor does, and says how many new pictures left the PC late and how much of their time each stage lost.
- Instant replay and recording. Turn on Instant replay (Settings → Picture → Stream DVR and clips, off by default) and the host keeps the last 30 to 120 seconds of the stream in memory: save them as a clip from Clips in Nightjar's Control Center or the console's Clips page, or start and stop a recording, without encoding again. Clips are standard MP4 files (H.264, HEVC or AV1 video with Opus sound, keeping the stream's colour and HDR signalling); the console lists, plays, downloads and deletes them, and a quota (20 GB by default) removes the oldest replay clips when full. While it runs the encoder adds a keyframe every 4 seconds; with it off nothing changes. PyroWave streams and passthrough sound cannot be clipped, and the device says so.
- The tray says what Rubylight is doing. The icon carries a colour status dot: green while a client streams, amber while the game waits for its client to come back, coral when a game closed right after it started. The plain ruby icon still means Rubylight is ready. A dark and a white ring keep the dot readable on light and dark taskbars, and the dot is redrawn at the right size when Explorer restarts.
- A status-first tray menu. Its first line says what is happening ("Streaming Portal 2", "Ready", "Needs attention: ..."), followed by Open Rubylight, Pair a device, a new Enter PIN entry, Stop streams and restore displays, Quit the running app, and Restart Rubylight. A game that fails to start now says so in plain words: "Portal 2 closed right after it started (exit code 1). Click to end the stream."
- Browser streams survive a short Wi-Fi drop. When the PC sees the connection of a browser stream or guest drop, it now waits 10 seconds instead of 3 for it to come back, and the stream resumes with a fresh picture when it does.
- A guest on a poor connection no longer floods your stream with keyframes. A guest that keeps losing its picture waits longer for each new one (2, then 4, then 8 seconds) while its losses go on, and starts at 2 seconds again once its connection settles. Every keyframe a guest asks for also lands in your own stream, so this keeps the PC owner's picture steadier. A guest that joins or comes back after a drop is not held back by this.
- Adaptive pacing, bitrate takeover, and NVENC keyframe caps. Preserves RFI recovery keyframes cleanly, gates
0x5538link-bitrate offers and latches client bitrate takeover, keeps automatic quality synchronized with host link bitrate, and applies consistent VBV keyframe cap scaling on NVIDIA NVENC reconfigurations. - Security, setup, and reliability hardening. Validates install and driver folders against reparse points during driver repair and
--repair, moves away wake-relay secrets intocredentials/with automatic migration and backup secret gating, blocks tunnelled WAN wake-relay enrollment and guest0x3000server commands, guards Quick Suspend against exited or protected process roots andterminate_on_pausedisconnects, protectsdvr_directoryfrom network and device paths, createsclips/before checking disk space on first Instant Replay save, and preserves declined driver choices across standalone upgrades.
Tested. Automated checks passed on this release's code: Rubylight's Windows CI (rust/build.ps1: formatting, clippy, the host, service and web console test suites, release build and packaging) and local validation (cargo fmt, clippy, i18n, arch_check, code_map, generated_docs, service_inputs for butterpollo-service.exe 1.0.7, tools and rust/release unit suites, host/setup/service tests, and web console svelte-check and tests). NVIDIA NVENC and NVAPI paths were checked against the vendor's headers and fake-driver tests and were not run on physical NVIDIA hardware.
New in 6.4.5 #
- Discovery across hotspot reconnects. Restart Moonlight mDNS discovery cleanly when the PC's network addresses change, so clients find the host again on a new mobile hotspot or Wi-Fi subnet without restarting Rubylight.
- Clean handling when a client's route drops. Treat unreachable-network send errors separately from a full send buffer, stopping misleading "CPU or network adapter fell behind" warnings, false bitrate/pacing penalties, and keyframe storms while a hotspot or Wi-Fi link is down, then requesting one recovery keyframe when the connection returns.
- Steadier Wi-Fi burst pacing through transient RTT spikes. On wireless clients without a reported link speed, automatic burst pacing no longer steps down to 2x bitrate on quiet scenes, ordinary Wi-Fi jitter, or the multi-second ENet smoothed-RTT decay after a single brief spike (#162). Queue-delay backoff now uses a 30-second rolling RTT floor, requires active traffic with RTT more than 15 ms above that floor for 2 seconds without draining, keeps the RTT baseline across bitrate changes on the same route, and recovers automatically after a lasting shift in route latency. The host's ENet control link also rounds up smoothed RTT updates so reported RTT converges back to actual latency after a spike instead of stalling up to 7 ms high.
Tested. Automated checks passed on this release's code: Rubylight's Windows CI (rust/build.ps1: formatting, clippy, the host, service and web console test suites, release build and packaging) and local validation (cargo fmt, i18n, arch_check, code_map, generated_docs, service_inputs, 218 tools and 380 rust/release unit tests, and butterpollo-media-policy, butterpollo-session and butterpollo-stream tests and clippy).
New in 6.4.4 #
- Keep HDR highlights in SDR streams. A new option for an HDR desktop streamed as SDR: bright areas above Windows' SDR white are compressed (ITU-R BT.2446-1 Method B) instead of turning flat white, and the SDR content brightness slider no longer changes how the same light is coded. SDR white (windows, the desktop and the mouse pointer) then streams below full white: about 86% at 203 nits, and about 65% at the slider's minimum; the couch menu stays at full white. It is off by default because it costs GPU time on every frame: on the RX 7900 XT about 0.05 ms per 4K frame of grey content and about 0.5 ms of saturated content with the compute conversion, about 0.9 ms without it. Numbers.
- HDR10 only per device. Nightjar can ask for a stream without HDR10+ and HDR Vivid metadata, whatever the PC's HDR dynamic metadata setting is for other devices.
- Force VSync on for virtual display streams (NVIDIA). An option to try for games captured below their frame rate on a virtual display, as some with DLSS frame generation are. Rubylight sets NVIDIA's global Vertical sync on before the game starts and puts it back when the session ends. Off by default; a game that is already running needs a restart.
Tested. Automated checks passed on this release's code: Rubylight's Windows CI (rust/build.ps1: formatting, clippy, the host, service and web console test suites, release build and packaging) and local host validation (cargo fmt, i18n, arch_check, code_map, generated_docs, rust/release unit tests, and butterpollo-win-graphics and butterpollo-stream tests). NVIDIA NVAPI and NVENC paths were checked against the vendor's headers and fake-driver tests and were not run on physical NVIDIA hardware.
New in 6.4.3 #
- Dolby Vision with full color range (Nightjar #193). Since 6.4.1 the PC left the Dolby Vision metadata out when the device asked for full color range, but the device still opened its Dolby Vision decoder, which could restart an NVIDIA Shield TV. Such a stream now keeps Dolby Vision: a profile 8.1 (HEVC) stream stays full range, with metadata that says so, for a client that supports it, and other Dolby Vision streams are limited range, as their metadata describes (update Nightjar to 6.4.3 so both sides match).
- Rotated portrait monitors keep a correct cursor after a stream (#129). When the PC restores a rotated monitor after a stream, it now also commits the monitor's orientation, so the mouse cursor and input bounds match the rotated screen again.
- Sturdier display recovery. A corrupt display recovery journal is set aside instead of blocking the restore, and display topology, monitor and HDR profile handling tolerate monitors that change or disconnect during a restore.
- Safer virtual display, encoder and GPU paths. Virtual display frame rings keep their newest frame when cleared or replaced and no longer wait without limit for a clear; PyroWave checks its D3D11 texture and fence sharing before streaming and runs at high frame rates again; NVIDIA NVENC teardown, rate control and capability probes are more careful; Radeon settings match their display adapter more reliably.
- Virtual gamepad and driver setup. The virtual gamepad no longer loses input or battery reports when the driver is briefly busy, and the virtual display and gamepad driver installers handle leftover or partial installations more reliably.
- Session and input reliability. Control-stream sequence numbers are kept per launch, so input in a new launch is never mistaken for a replay; a client that negotiated session pings must keep using them, and launch and teardown no longer race each other.
- Hardened network services. RTSP, TLS, WebRTC, USB/IP, port forwarding (PCP, NAT-PMP and UPnP), webhooks, the microphone and clipboard channels, and multiple clients bound their queues, time out stalled writes and shut down cleanly.
- Pairing and console security. Pairing checks the signature of each self-signed certificate, console logins are throttled and their passwords stored with PBKDF2, the webhook secret store is saved together with the settings, and settings backups are checked before they are restored.
- Setup and Windows integration. Setup checks elevated paths, uninstaller entries, folder permissions and update rollback more strictly, and the host validates trusted and launcher paths before running them.
- Cleaner audio from high-rate and wide surround devices. Audio from a PC output running at 96 or 192 kHz is filtered before it is resampled to 48 kHz, so it no longer aliases, and speakers outside the client's surround layout are mixed into their nearest neighbors at a level that does not clip.
- Surround fallback warning. The console now says when the PC's audio device took a smaller surround layout than the client asked for.
Tested. Automated checks passed on this release's code: rust/build.ps1 (the full build, packaging and 6,470 Rust tests, none failed) and tools/dev.ps1 check (the host crates, the web console's check, tests and build, generated docs and the architecture check). NVIDIA NVENC paths were checked against the vendor's nvEncodeAPI.h and fake-driver tests and were not run on physical NVIDIA hardware.
New in 6.4.1 #
- Synchronous
idd-pushring teardown and GPU drain (#148). Virtual display ring clears now skip unsynchronized copies on fence rings, flush and wait on a per-worker D3D11 GPU query before dropping shared ring handles, and synchronizeIOCTL_CLEAR_FRAME_RINGcompletion with host D3D12 fence drains so mode switches and stream teardowns do not race against freed shared textures. - Hardened RTSS, setup, and game-folder security. RTSS integration now pins administrator-owned directories and binaries by handle, rejects non-local UNC and device paths before opening handles, and loads DLLs with
LOAD_LIBRARY_SEARCH_SYSTEM32. Setup fallback task directories fail closed on untrusted roots and avoid sibling OS junctions, game-folder helpers reject traversal and verbatim prefixes and guard pending removals against concurrent installs, and--credsupdates immediately revoke existing web console sessions. - Direct 480 Hz virtual display, mixed-DPI monitor persistence, HDR recovery, and fractional FPS (#144, #129, #145, #146, #119). Adds a direct 480 Hz (
480hz) virtual display refresh option, persists and prefers each physical monitor's desktop source ID on restore while filtering disconnected cached paths out ofwake_watch, bypasses the 2-second HDR grace on mid-stream recovery into SDR with distinct startup and mid-stream warning messages, stops blaming high-refresh virtual displays for game-capped frame rates, and preserves custom fractional launch FPS across RTSP ANNOUNCE. - Faster virtual gamepad recovery, per-device audio overrides, and per-game pen/touch (#138, #140, #157, #137, #150). Handles
0x80070103(ERROR_NO_MORE_ITEMS) on the virtual gamepad driver with a bounded recovery probe, graduated retry backoff (2s -> 5s -> 15s -> 60s), and immediate reset on controller reconnect; exposes per-devicestream_audio,audio_passthrough, andaudio_sinkoverrides in the console Devices editor with per-device/serverinfoaudio codec advertisement; exposes per-game Native pen & touch overrides in the Games editor; addsWoWF(World of Warcraft: Forever) to Battle.net library discovery; and verifies zero-pressure Steam Controller touch handling. - Capture, audio, WebRTC, and reliability fixes. Adds non-fatal surround fallback (
12 -> 8 -> 6) and format-switch rollback, 5 ms audio-haptics tapping for 32 ms Dolby passthrough streams, Frame Warp GPU state resets on capture/format transitions, liveGuestNetDeadlinesexpiry wakeups, non-blockingiphlpapiport probing without Windows Defender Firewall prompts, and automatic idle target-pool disk pruning in build tooling.
Tested. Automated checks passed on this release: rust/build.ps1 (cargo fmt, cargo clippy, 6,352 workspace/service/FFmpeg tests and USB/IP checks, release build, rubylight-vdisplay WDK clippy and 24/24 unit tests, console svelte-check / 565/565 web tests / production build, driver package stamping, and byte-unchanged butterpollo-service.exe 1.0.2 reuse), tools (193/193) and rust/release (374/374) unit suites, i18n, arch_check, code_map, generated_docs, isolated packaged-host protocol.py (4/4), and Rubylight CI workflows.
New in 6.4.0 #
- Display session recovery preserves active stream counts. Recovering or resuming a display session while streams are active or paused now keeps the true active stream count across recovery transitions instead of resetting it to one, keeping multi-stream display teardown and restoration accurate.
- Unified settings catalog and modular host architecture. Host settings metadata, defaults, restart flags, and console schemas are now generated from a single source catalog, and large host, display, graphics, I/O, session, WebRTC, setup, and console modules have been split into focused submodules with pure state machines while preserving existing profiles, stream formats, and Moonlight compatibility.
Tested. Automated checks passed locally and in CI on this release: rust/build.ps1 (cargo fmt, cargo clippy, 6,253 workspace/service/FFmpeg tests locally plus the full suite in CI, release build, console web build, driver package stamping, and byte-unchanged butterpollo-service.exe 1.0.2 reuse), tools/dev.ps1 check (i18n, arch_check, code_map, generated_docs, tools and rust/release unit suites), isolated packaged-host protocol.py (4/4) and AMF/WGC HEVC 1080p60 stream transport (e2e.py, 522/522 decoded frames and continuous audio on the Radeon workstation; full interactive desktop motion-strip check.ps1 and laptop smoke.ps1 await interactive-session runs), and Rubylight main CI (rust-windows.yml, developer-tools.yml). NVIDIA NVENC paths were checked against the vendor's headers and CI nvidia build job and were not run on physical NVIDIA hardware.
New in 6.3.3 #
Rubylight 6.3.3 cuts GPU, CPU, and allocation overhead across colour conversion, encoding, capture handoff, packetization, crypto, and audio processing while keeping stream formats and client compatibility unchanged.
- Lighter GPU colour conversion and HDR analysis. HDR 4:2:0 colour conversion now filters linear BT.2020 light directly instead of round-tripping through PQ/HLG encode and decode per chroma tap, and the 4:2:0 compute shaders (
yuv420_csandyuv420_focus_cs) share neighbouring chroma samples across each threadgroup instead of re-reading and re-converting adjacent source pixels. Measured in release builds on an AMD Radeon RX 7900 XT at 3840×2160 HDR (linear-light HDR filtering), GPU conversion time dropped from 0.315 ms to 0.192 ms (-39%) on the single-pass compute shader, from 0.485 ms to 0.297 ms (-39%) on the pixel-shader fallback, and from 0.200 ms to 0.133 ms (-33%) on PyroWave 4:2:0 compute. In addition, 10-bit packed 4:4:4 uses a half-width compute dispatch, 10-bit native 4:4:4 converts Y, U, and V in a single compute pass (keeping the pixel-shader fallback), and HDR luminance statistics (hdr_stats_cs) and encoder-focus (focus_map_cs) reductions avoid redundant per-pixel work and global atomics. - Idle repeat reuse, unread capture fence skips, and event-driven encoder wakeups. AMF and NVENC now reuse the last converted GPU texture on unchanged static repeat frames (and PyroWave caches unchanged repeat bitstreams) instead of re-running colour conversion and HDR luminance statistics at the idle frame rate. Unread frames dropped from the display driver's fence ring and keyed-mutex zero-copy capture now release their slots without queueing a D3D12 compute-queue fence
Signal. Encoder output loops wake on completion events rather than polling on short timers where supported, AMF and NVENC coalesce dynamic rate-control updates and reuse frame/re-encode buffers, NVENC 10-bit native 4:4:4 runs its CUDA plane copy on an asynchronous non-blocking stream, and RTX HDR and RTX Video enhancement hand shared textures across D3D11 and D3D12 with shared fences so downstream conversion can stay on the compute queue. - Cached stream encryption and pooled video and PyroWave packetization. Stream encryption and microphone crypto keep pre-expanded AES-CBC and AES-GCM key schedules instead of expanding them per packet, and video, PyroWave, and bitstream-parsing hot paths reuse pooled buffers to cut per-frame allocations and copies.
- More efficient host audio processing and capture. Night Mode dynamics, Binaural headphone surround, PCM conversion and passthrough, and WASAPI audio capture and encoding perform fewer allocations, copies, and redundant calculations per audio packet.
Tested. Automated checks passed on this release's host codebase: formatting (cargo fmt -- --check), architecture guardrails (tools/arch_check.py), code map checks (tools/code_map.py check), release-tooling checks (rust/release 374/374 tests + service_inputs.py), workspace clippy and unit/interop tests (16 host crates + 31/31 cross-crate rubylight-interop tests), and 56/56 isolated live AMD Radeon RX 7900 XT GPU tests covering the merged color.hlsl shaders (yuv420_cs, yuv420_focus_cs, yuv444_planes_cs, packed 4:4:4 v2, PyroWave, HDR/HLG/overlay parity, hdr_stats_cs), amf::repeat_cache, and idd-push fence-ring release. NVIDIA NVENC, CUDA, RTX HDR, and RTX Video changes were audited line-by-line against vendored SDK 13.0 headers (nvEncodeAPI.h and dynlink_cuda.h) and verified with fake-driver tests and MSVC truehdr-runtime checks only — they were not run on NVIDIA GPU hardware and await confirmation on NVIDIA setups.
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.
New in 6.3.1 #
Rubylight 6.3.1 is a host hotfix for a wireless burst pacing regression introduced in 6.3.0 on Wi-Fi clients that do not report a link speed (#124).
- Wireless burst pacing holds steady through quiet scenes and brief RTT spikes. For Wi-Fi clients without a reported link speed, Rubylight 6.3.0 stepped automatic burst pacing back down to 2x bitrate during low-bitrate or still scenes and stepped down every 500 ms after a single brief RTT spike instead of waiting between steps, leaving high-refresh streams paced too tightly and causing repeated frame send delays when action resumed (#124). Quiet scenes with healthy control pings and normal RTT now hold the current pacing rate without probing higher or stepping down, and sustained queue-delay or stale-control step-downs re-arm their hold window after each 12.5% step.
Tested. Automated checks passed on this release's host codebase: formatting, architecture guardrails, code map checks, workspace clippy and tests (including unit tests for quiet-scene hold, brief RTT spikes, sustained queue delay, stale control pings, minor send loss, and wired/known-link invariance), cross-crate interop tests, release-tooling checks, and GitHub Actions Windows CI builds and test suites. Hardware confirmation on real Wi-Fi clients without a reported link speed (#124) was not run in this build and awaits confirmation on affected setups.
New in 6.3.0 #
Rubylight 6.3.0 focuses on predictable frame pacing, cleaner stream starts on wireless and HDR setups, and first-party driver ownership. It introduces Rubylight's own UMDF 2 virtual gamepad driver built and installed from source, adds play time to the native game library, recovers games hidden behind a launcher after an exclusive-fullscreen mode switch, enforces virtual display refresh caps across mode transitions, fixes Desktop Duplication SDR-in-HDR white levels and HDR fallback/recovery across lock screens, bounds unknown-rate Wi-Fi burst pacing while mitigating initial WSAENOBUFS packet drops, and cuts idle log noise while recording exit and panic reasons directly in the host log.
- First-party virtual gamepad driver. Rubylight now builds, packages, and installs its own user-mode (UMDF 2 VHF) virtual gamepad driver from source with Xbox One, Xbox Series, DualShock 4, DualSense, Switch Pro, and Steam Controller support, replacing the earlier third-party virtual gamepad package automatically during updates and uninstalls.
- Virtual display refresh holds against a game. The virtual display no longer offers a faster refresh at the stream's resolution or left over from an earlier stream than Virtual display refresh asks for, so a game in exclusive fullscreen keeps the stream's rate instead of switching the display to a higher fallback or a 1000 Hz mode from an earlier stream. 1000 Hz still offers every rate it did.
- No frame limit without RTSS. A virtual display's automatic frame limit is applied only when RivaTuner Statistics Server (RTSS) is installed. Before, a virtual display at 2x, 4x or 1000 Hz reported a limit that nothing applied, and the log said so on every launch. Now the display's own refresh paces the game, and the host says once per host run that RTSS is needed for the cap. A limit you set yourself still says on the stream that it was not applied.
- A launched game comes back to the front. A game that switches the streamed display to another exclusive-fullscreen resolution could be left minimised, or behind the Steam window that started with it, showing a quarter of the game until it was clicked in the taskbar. For the minute after the game's window appears, Rubylight now brings it back to the front itself, at most three times, three seconds apart, and never over a program you opened on the PC.
- Play time in the library. The native library now tells clients how long each game has been played, from Steam and Playnite, so Nightjar can sort Home by it. A game a store never played says 0; manual apps and stores that keep no such time say nothing. Thanks to Justin Delano (@justin-delano, #136).
- HDR falls back cleanly to 10-bit SDR when a display stays in SDR. Streams requested in HDR now fall back to 10-bit SDR instead of tagging SDR frames as HDR whenever Windows keeps HDR off on the captured display and RTX HDR is not generating HDR, signalling the client and the stream status card consistently.
- Repeated display heartbeat warnings and startup display recovery are reliable across lock transitions. Repeated identical display lease heartbeat failures warn once and back off instead of flooding the log every 100 ms, and interrupted-stream HDR/mode recovery runs on the active input desktop and retries automatically after a sign-in or unlock so Windows does not stay stuck with HDR left on.
- Desktop Duplication SDR-in-HDR brightness matches Windows settings. When capturing an SDR (
BGRA8) surface during an HDR stream, AMF, NVENC, and PyroWave now scale SDR white by the display's Windows HDR SDR content brightness (DISPLAYCONFIG_SDR_WHITE_LEVEL) rather than a fixed 100-nit default. - Capture open logs show surface format and HDR state. Desktop Duplication and Windows Graphics Capture openings now record the returned DXGI/DirectX pixel format and whether the captured display is in HDR.
- Cleaner stream starts on busy Wi-Fi and cold adapters. Video and audio sockets now allocate a 4 MiB send buffer, start qWAVE initialization ahead of frame 1, bound initial keyframe UDP segmentation batches, retry transient adapter buffer exhaustion (
WSAENOBUFS) cleanly within a bounded per-frame or per-pass window, and fall back to individual datagrams when a segmented batch hits transient buffer exhaustion rather than dropping the whole batch at once. - Bounded Wi-Fi burst pacing and cleaner logs. For wireless clients without a reported link speed, automatic burst pacing now caps at four times the encoder bitrate instead of climbing to the host's wired port speed, steps back down toward the conservative starting rate when queue delay, mild loss, or idle traffic ends the headroom window, and logs the reason once per transition instead of repeating at info level on every step.
- Faster stream startup and cleaner reconnects. Stream launches no longer wait on the packed 4:4:4 probe before starting, P2P traversal reconnects replace a restarted device's stale path immediately without polling idle connected paths, and ENet control timing uses a monotonic clock so system time jumps cannot stall a session.
- Tighter automatic frame-rate tracking and display safety. The automatic frame limiter follows in-game mode changes within 250 ms instead of waiting for the next 5-second window, a session-thread panic still runs full teardown and restores display and HDR leases safely, and NVENC encoder cleanup retries bounded failed slots and fails visibly if cleanup cannot recover.
- Host and service hardening. Hardened networking, input handling, AMF submission, multiclient/guest teardown, settings backup, USB/IP framing, and the Windows supervisor service (service 1.0.2).
- Quieter, clearer source frame-rate warnings. The warning that the source is slower than the stream no longer fires on menus and still scenes under 10 fps, re-words at most once a minute, reports the stream's exact frame rate (such as 144 fps rather than 145), and points to the virtual display capture rather than blaming the game alone when streaming a virtual display.
- Fewer tray icon warnings at startup. Temporary Windows refusals while waiting for the taskbar or Explorer to settle are logged at debug level instead of warning, 3-second retries stop after a minute if the taskbar still refuses, and a duplicate taskbar notification after the icon is already shown no longer triggers a retry warning.
- Quieter gamepad timing logs. The 5-second
gamepad timingsline now logs atINFOonly when controller input batches or feedback events occurred, moving idle zero-activity windows toDEBUG. - Exit and panic reasons in the host log. When the host stops, restarts, fails to start or panics, it now writes the stop reason, exit code and panic location directly to
butterpollo.logbefore exiting.
Tested. Automated checks passed on this release's host codebase: formatting, workspace clippy and lint, workspace and service unit tests, USB/IP PowerShell harness scenarios, FFmpeg codec tests, release-tooling and site link checks, and the full release workspace and service build, alongside GitHub Actions Windows and NVIDIA CI builds and test suites. Hardware-dependent capture, display-mode, launch-focus, wireless pacing, NVIDIA encoder, and virtual gamepad driver install/reboot fixes (#119, #131, #142, #143) were not exercised on physical hardware in this build and await confirmation on target setups.
New in 6.2.0 #
Rubylight 6.2.0 puts every setting in its own topic tab and turns clusters of related switches into single choices. The console's Expert section is gone, and adaptive bitrate, packet pacing, error correction, what happens when a device disconnects, removing a remote monitor and updates are each one setting that carries your earlier choices over. The host also does less work per frame, a refused gamepad driver connection is recovered, Battle.net games installed by current launchers are recognized again, and a display left in a half-applied mode by a crash is put back.
Highlights #
- One topic tab for every setting. The Expert section is gone; groups most people leave alone start collapsed, and search still finds every setting.
- Related switches became single choices. Adaptive bitrate, Packet pacing, Error correction, Library sync, Updates, Remove remote monitor and When a device disconnects each replace two or three settings, and your saved choices carry over.
- A lighter host. Fewer copies, allocations and lock round-trips per frame, and audio and control loops that sleep to their deadlines.
- The virtual gamepad driver's refusals are recovered by reconnecting to it, with a clear message in the console when it keeps refusing.
- A TV left at the wrong resolution or refresh rate by a crash is put back, and ending the Windows session during a stream now ends it at once on the client.
- Couch menu, Night mode and Headphone surround have settings in the console, and Battle.net games installed by current launchers are recognized again.
Settings #
- All settings has no Expert section any more. Every setting is in its own topic tab, with the others in its group; groups most people leave alone start collapsed and open once one of their settings is changed. Search still finds every setting, and links to the former Expert groups lead to the topic tab.
- One Graphics card choice. Two identical graphics cards are now listed one by one in the Graphics card list, so the separate device ID row is gone from the console. Your saved card, and a saved device ID, still apply.
- Send batch size and Overlap PyroWave frames moved to Advanced, Debug switches. They are only for troubleshooting.
- The NVIDIA minimum quantizer switch is gone. Each codec has its own minimum QP, and 0 (the default) is off. A minimum quantizer you had on keeps its values; one that was off stays off.
- Three driver switches are gone. The compute queue that copies and converts captured frames, and PyroWave's encode queue, always run at high priority; the real-time option that could hang the graphics driver is removed. The AMD encoder always uses the driver's own input queue size and low-latency mode.
- Updates is one choice. Off, Tell me (the default) or Install automatically. Tell me checks for a new release and lets you know; Install automatically also installs it when nothing is streaming. Your saved choices carry over: automatic installation on becomes Install automatically, and checks turned off become Off. How often it checks, and the daily check time, show when Updates is not Off.
Streaming and performance #
- Adaptive bitrate is one setting. The console's two bitrate switches, Lower the bitrate when the link cannot carry it and Adapt to network congestion, are now one Adaptive bitrate setting with three choices: Off, On, and On, and react to network delay. Your earlier choice carries over, also in each app's and device's own settings: if you had the bitrate adaptation off, it stays off.
- One Error correction percentage for every codec. PyroWave now follows Error correction like H.264, HEVC and AV1, so a stream that used PyroWave's own 20% now uses your Error correction percentage; a PyroWave value you had set to something different stays and keeps showing. The settings Adapt error correction (which saved no picture bitrate) and Most error correction a device may ask for (fixed at 50%) are gone; Nightjar's Automatic still works.
- One Packet pacing setting replaces three. Pacing rate, Adaptive packet pacing and Adaptive packet pacing for Wi-Fi clients are now Packet pacing: Automatic (the default, as before), Always adaptive, Off, or a fixed rate in Kbps. Your saved choices carry over.
- On AMD, a new picture no longer waits for the host's check on the encoder before it is encoded. The encoder's output is now collected on a thread of its own. Beside a 60 fps GPU load at 1440p120, up to 2 % of pictures had waited about 1 ms there; at 4K120 with the GPU saturated, 7 % waited up to 2.2 ms. Now at most 0.3 % wait, for at most 0.06 ms, and the slowest encodes finish sooner. End to end latency did not improve. It costs about 1 to 1.5 % of one CPU core. Moonlight's host processing figure on AMD now reads about 0 ms, because it no longer includes the wait for the encoder.
amd_output_thread = falsebrings back the old path. - Capped games' frames are sent as they arrive. The phase lock no longer holds a game running at the stream rate or slower for the device's refresh, whatever Hold capped games for the device's refresh said: on a Shield TV the hold added 8 to 11 ms of latency, and it halved only its rare display gaps.
- The still-picture resend keeps to its schedule with the default frame pacing. When nothing on screen moves, the still-picture resend no longer falls further behind with every frame under arrival pacing (6.0.0 fixed this only for Fixed grid pacing and constant-rate capture), and a resend never delays the next new picture.
- The host does less work for each frame, and its loops sleep until their next deadline. The send path, the error-correction plan, the encoder wrappers, input handling and the control loop make fewer copies, allocations and lock round-trips per frame, and the audio and control loops and the idle maintenance loop sleep to their own deadlines instead of polling. The 30-second library check skips work whose inputs did not change, and Moonlight discovery reads the network interfaces again only when Windows reports a change.
- Shutting down Windows during a stream now ends it at once on the client. Windows ended the host with the session before the Rubylight service heard of the shutdown, so clients waited for their connection to time out, and a USB device forwarded from the client ended with an error. The host now notices the end of the session itself: it tells its clients that the stream ends and detaches forwarded USB devices, as when the service stops, and lets Windows go on within a few seconds.
Controllers and input #
- When the virtual gamepad driver stops accepting the host's connection, Rubylight reconnects to it instead of failing every request. After a reboot on some PCs, the driver refused every controller request with 0x80070006 about half a second after a controller connected; the host kept asking about 118 times a second until it restarted, and the console blamed the gamepad profile (issue #138). Rubylight now closes the refused connection and opens the driver again a second later, without waiting for input, and connects each controller again as the same controller type, in the same order. From the third refusal without a minute of working controllers in between, it waits at least 10 seconds before each new attempt, and the console names the driver and suggests restarting the Vibeshine Virtual Gamepad device or running setup again. After the fifth, until the next stream or game launch starts, it tries again only when a controller is used and at most once a minute, and the console says so. A driver whose device has gone missing is not counted as refusing and is still tried every 10 seconds. Whether a new connection keeps working on an affected PC has not been reported yet.
- The controller type Automatic picks the Steam Controller for Nightjar's on-screen Steam Controller controls in apps started through Steam. It does so when the stream's app starts through Steam (Steam Big Picture, a
steam://link, asteam.execommand or a game from the Steam library), Steam was running as the controller connected and the gamepad driver has the Steam Controller. Every other app, the Desktop included, keeps the Xbox-type controller; so does a Steam app without Steam running or with an older gamepad driver, and the stream then says what to do. - Nightjar's on-screen Steam Controller controls no longer turn player 1 into a DualSense. With the controller type on Automatic, their trackpads made the PC pick one, which has none of their back buttons or grips and which games that read only Xbox controllers cannot see.
- Touch and pen click delay per app and device. Set it for one app (under Video and input) or one device (under Touch and pen), for a game that misses taps or reads them as a drag.
Displays #
- A TV stuck at the wrong resolution or refresh after a crash is now put back. When the host died between asking a display for a new mode and recording the mode it actually took, the TV could keep a half-applied mode (the new resolution at the old refresh) until it was changed by hand. Recovery now recognises that the stream never finished and restores the mode it had before, while a mode you changed yourself after a stream is still left alone.
- A game or video behind the window in front is no longer held when that window repaints in short bursts. A terminal app printing in front of a 60 fps picture made the host hold that picture 50 ms at a time: 56.0 fps with 21 such holds in 12 s on an RX 7900 XT, now 60.0 fps with none. The window in front now counts as moving only once it has kept changing for half a second, as a game or video does.
- A fixed resolution, refresh rate or rotation is set in the same row. Choosing the fixed option under Resolution, Refresh rate or Rotate the display now shows its value right under the choice, instead of a separate row. Your saved values are unchanged.
- With no display attached, the host reports the codecs of the graphics card that encodes the stream. On a PC with an AMD integrated GPU and an NVIDIA card, the check ran on the integrated GPU, so clients were offered its codecs (for example no 4:4:4) while the NVIDIA card encoded.
- Removing a remote monitor is one setting. The console's two switches, Remove when its stream ends and Remove when the device disconnects, are now one Remove remote monitor setting with three choices: Never, When its stream ends, and As soon as the device disconnects. Your earlier choice carries over.
- One choice for what happens when a device disconnects. The console's Restore displays on disconnect is now When a device disconnects: Restore after the delay (the default) or Keep while paused. If you had restoring turned off, it carries over as Keep while paused, also in each app's and device's own settings. Keep monitors off while paused stays its own setting, and exclusive layouts still bring your monitors back after the delay unless you turn it on.
Library #
- Battle.net games installed by current versions of the launcher are recognized again. Diablo IV and other products that Battle.net records under a long id such as
fenrisshowed up under that id in Add games, marked as not recognized and with no way to add them. Rubylight now looks each product up by its product code and gets its name and launch command from that. A product it still doesn't know is named after its install folder. - One Library sync group for every launcher. The Games page had the same five options for each launcher (Sync automatically, Remove uninstalled games, Every installed game, Recent games, Played within). They are now one Library sync group, and each launcher keeps only its on/off switch and Games to leave out. Your saved choices carry over: the value all your launchers agreed on becomes the shared one, and a launcher you had set differently keeps its own value.
Console and sound #
- The couch menu has its own settings under Sound & controls. Turn the menu off, choose which ways open it (controller chord, keyboard chord, top-left corner hold), and change the chord and hold times. Before, this took editing the configuration file.
- Night mode and Headphone surround are now settings under Sound. Each device can also set its own in its editor, in place of the host's choice. Before, they could be switched only from the couch menu during a stream or in the configuration file.
Tested. Before the tag, a release candidate built from this release's code ran the hardware check on a PC with a Radeon RX 7900 XT: H.264, HEVC, AV1, HEVC with variable refresh rate, PyroWave and PyroWave HDR 4:4:4 streamed at about 60 fps with no long frame interval, two HEVC runs at 1440p and 120 fps held 120.0 fps, and the protocol checks passed. With a laptop with Radeon 780M graphics as the host and desktop Nightjar's 6.2.0 candidate on that PC as the client, HEVC at 30 Mbps and PyroWave at 150 Mbps at 1080p and 120 fps showed 74.6 and 77.1 fps, against 77.9 and 75.7 fps from 6.1.0 on the same pair; no encoder hang was logged and encoder focus was applied with every codec.
New in 6.1.0 #
Rubylight 6.1.0 makes the settings easier to read and a stream's bitrate easier to predict. The console's All settings shows the everyday choices and keeps tuning and compatibility settings one step away, a bitrate a device sets during a stream now means the same as the one in its settings, and a virtual display runs at twice the stream's frame rate unless you choose otherwise. The rest comes from a read of the whole code before this release: logs that could keep the host or its service from starting, port forwarding that did not survive a network change, helper programs that closed with the command that started them, and a list of smaller faults.
Highlights #
- Settings you can take in. All settings shows the choices; tuning and compatibility settings are under Advanced, Expert settings, and search still finds every one.
- A bitrate set during a stream means what it says. The picture gets what a stream started with that bitrate would have, whether the device's stream menu, its automatic bitrate or Keep my bitrate asked for it.
- A virtual display at twice the stream's frame rate. That is the new default; 1000 Hz is one setting away.
- Programs your preparation commands start keep running, and so do programs an undo command brings back.
- Port forwarding recovers when the network changes: another router, another address for this PC, or a router that stopped answering.
- The host and its service start, and keep a log, when the log file is in trouble.
Settings #
- All settings shows the choices, not every knob. The topic tabs keep the everyday settings; the tuning and compatibility ones (encoder tuning, error correction, controller details and the like) are under Advanced, Expert settings, in collapsed groups, and each tab ends with a link to its own. Settings that are on for everyone are under Debug switches. A setting you changed stays in its tab, marked Expert, and its group opens by itself.
- Search still finds every setting. Search, Ctrl+K and old links open the place where a setting now is, and the Ctrl+K result says where it is.
- A virtual display runs at twice the stream's frame rate by default. To keep 1000 Hz, set Virtual display refresh to 1000 Hz in the console; another choice made there earlier is kept. 1000 Hz spaces a capped game's frames most evenly: on an RX 7900 XT with a test picture capped at 60 fps, 0.04 % of frame intervals were more than 4 ms off at 1000 Hz, 0.23 % at twice and 2.22 % at four times the stream rate. A device that asks for variable refresh rate still gets 1000 Hz unless the setting is Off, and Off runs the display at the stream's own frame rate.
Bitrate and error correction #
- A bitrate set during a stream means the same as the one in the app's settings. Of the bitrate set in Nightjar the picture gets what is left after error correction, audio and overhead: 14.99 of 20 Mbps. A bitrate Nightjar asked for during the stream, from its stream menu, its automatic bitrate or Keep my bitrate, was taken as the picture's own instead. So choosing the stream's own 20 Mbps raised the picture's bitrate by a third, and a step down of a tenth by Nightjar's automatic bitrate raised it too. The picture now gets what a stream started with that bitrate would have, and the answer to the app names the bitrate it asked for.
- Nightjar's own error correction no longer costs picture bitrate twice. With error correction set to automatic or to a fixed share in Nightjar, the PC took its own share off the bitrate set in the app and then the device's share again: at a share of 20 % the picture got a sixth less bitrate than with the PC's own error correction. The device's share now takes the place of the PC's, so the picture gets what it gets with the PC's own error correction unless the device asks for a larger share than the PC's own leaves room for (more than a quarter at the PC's default of 20 %). A bitrate the PC lowered for a weak connection is no longer reduced by the device's share a second time either.
- The host's bitrate adjustment counts loss right after a keyframe the device asked for, with Slow down after video loss off. Such a keyframe was taken for one the host made itself, so loss and keyframe requests in the second after it were not counted.
Apps, commands and the network #
- A program a preparation command starts keeps running. A preparation command that starts a helper and ends by itself now leaves that helper running for the app, instead of the helper closing the moment the command returns. Close it in the command's undo if it should end with the stream. A command that fails, is stopped or runs past its time limit still closes everything it started.
- A program an undo command starts keeps running. An undo command such as
start "" app.exebrings a program back after the stream and leaves it open, for a preparation command's undo and a stream menu command's undo alike. - An app's window streams with AMD Direct Capture set. A stream of the app's window now captures it with Windows Graphics Capture and says so, as it already did with Desktop Duplication, instead of failing to open.
- Port forwarding recovers when the network changes. UPnP port forwarding kept the router it found when the host started: after another router took over, this PC got another address, or the router's UPnP stopped answering, the ports stayed closed until the host was restarted. A router that misses one renewal now keeps its mappings untouched; one that stays silent for two renewals in a row, by when their two-minute lease has run out, is looked for again, and the router found then maps the ports for the address this PC has now. The search for the router goes out first on the Ethernet and Wi-Fi connections in the order Windows itself prefers them, Ethernet on a Hyper-V external switch included, and a VPN that connects no longer draws it away while such a connection is there; only when none of them finds a router does it search the way it did before.
Logs and the Windows service #
- The host starts even when its log cannot be rotated. A host log that had reached its size limit and could not be moved aside (another program holding it open) used to stop the host from starting; it now keeps writing to the same file.
- The host's log comes back after a rotation that could not reopen it. When the log had been moved aside but the new file could not be opened, writing went on in the moved file and the log itself stayed missing; the next line now opens it again. No line is lost.
- A host log deleted or moved away while the host runs comes back. Writing used to go on into the deleted file until the host restarted; the log now opens again with the next line written once ten seconds have passed. Lines written in between went into the deleted file and are lost.
- A host log that cannot be opened again stays within its size limit. While its file cannot be opened, logging goes on in the older files, which roll over as the log does instead of one of them growing without bound.
- The host's log copes with its folder being deleted and never grows past twice its size limit. When the log's folder is deleted while the host runs, the folder and the log are made again in the same way. A log that cannot be rotated at all (another program holding it, a folder in the way) is cut back at twice its size limit instead of growing, which drops the lines in that file; the log then says so in a line of its own, with how much was removed.
- The service starts even when its log cannot be rotated. A service log that had reached its size limit and could not be moved aside (another program holding it open) used to stop the service from starting; it now keeps writing to the same file, and the older service logs stay as they were instead of being dropped one by one. A log that cannot be rotated at all is cut back at twice its size limit instead of growing, which drops the lines in that file; the log then says so in a line of its own, with how much was removed.
- The service's log comes back after a rotation that could not reopen it. When the log had been moved aside but the new file could not be opened, later writes pushed the file being written through the older logs until it was deleted; the next line now opens the log again, and no line is lost.
- The service starts and runs without a log file when its log cannot be opened at all. A read-only
service.log, a folder in its place, a program holding it without letting others write, or a file in place of thelogsfolder used to stop the service from starting, and with it the host. The service now starts without its log and tries it again every minute. - A service log deleted or moved away while the service runs comes back, also when its folder was deleted with it. The folder and the log are made again with the next line the service writes once ten seconds have passed; lines written in between went into the deleted file and are lost. While the log cannot be opened again, the service goes on in
service.log.0, which rolls over with the older logs and stays within their size limit.
Fixes #
- The console answers without a stutter during game-only audio. The host looked through the PC's programs once a second to find the game's sound while it held the running game's record, so console and launch requests waited each time; they no longer do.
- Back during a "leave this page?" question keeps the page and the address together. Pressing the browser's Back button while the console asks about unsaved changes used to leave the address bar on a different page than the one shown; staying now puts the address back, leaving follows it, and the question is asked once.
- A capture that missed its turn no longer costs two seconds and a restart of the conversion. When the GPU colour conversion could not wait for a capture from another graphics adapter, its next picture in that slot waited two seconds and then rebuilt the conversion; it now carries on with the next capture.
- The
compute_queue_realtimesetting now reaches the Windows Graphics Capture helper. With capture through its helper process the setting did nothing; the helper is now told and asks for the same real-time GPU priority. Nothing changes while it is off. The setting's description in the console now says first that it can hang the GPU driver. - On NVIDIA, slice delivery is no longer turned off for HEVC streams that never split a frame across encoders. On a GPU with several NVENC engines and a driver with API 12.2 or later, slices were turned off whenever split encoding was not set to Off, even where it never engages, such as below 2112 rows with split encoding on Automatic.
- The stream menu no longer fails on a long value. A row whose value was 32 characters or more (28 on the focused row) made the menu on the stream fail instead of drawing. The value is now cut with "..." and its label stays readable; rows that fit are drawn as before.
- Sleep PC, Restart and Shut down go ahead once the device was told they were accepted. A device that read the answer and closed its connection at once could leave the PC awake now and then, with no word why. The PC still stays on when the answer never left it.
Tested. Before the tag, a build of this release's code (without its last fix, the one for Sleep PC) and 6.0.1 were streamed in turns, three one-minute runs each, with default settings on both sides: to a laptop over Wi-Fi at 2880x1800 and 120 fps (6,575 to 6,581 frames shown per run against 6,565 to 6,578 on 6.0.1, none late or dropped in either), to a mini PC with Nightjar on Linux at 1280x800 and 60 fps (3,278 to 3,279 against 3,272 to 3,279, none late or dropped, decode time at the 95th percentile 11.9 to 12.1 ms against 11.8 to 11.9 ms), and to an Android handheld over Wi-Fi at 1080p and 120 fps with a debug build of the app (6,420 to 6,429 frames and no lost packet against 6,382 to 6,407 with up to 18 lost packets and one or two frames that could not be repaired; decode time at the 95th percentile 2.5 to 3.0 ms against 2.5 to 2.7 ms). No run changed the bitrate, and the PC's network card discarded no packet in any of them. A preparation command's helper program was still running during and after a stream on the new build and gone ten seconds in on 6.0.1. The virtual display's default and the Sleep PC fix were not part of these runs.
New in 6.0.1 #
Rubylight 6.0.1 is a release for steadier streams: a game that sets its own display mode no longer stutters under the automatic frame limit, lost packets in a menu no longer halve the bitrate, and error correction keeps its percentage unless you ask it to adapt. It comes with Nightjar 6.0.1.
- A game that sets its own display mode no longer stutters every few seconds. A game in exclusive fullscreen can switch the stream's virtual display from the fast mode Rubylight gives it to its own, often the stream's rate. Rubylight's automatic frame limit then ran at the same rate as the display, and each time the two drifted across each other every other frame was shown twice for a second or two. The automatic limit now switches off whenever the stream's display refreshes at less than one and a half times the limit, so the display's own refresh paces the game, and comes back when the display is fast again. A limit you asked for with "Limit every stream" stays. The host log says when the display changes its refresh rate.
- Lost packets in a menu no longer halve the bitrate. Rubylight lowers the bitrate when frames are lost that error correction cannot repair. A menu or a calm scene sends a fraction of the stream's bitrate, so loss there is not the bitrate's doing, yet the bitrate was halved, met the game when the picture moved again and climbed back in steps. Such a cut is now held back while it would not lower what is sent. Loss that goes on, and loss around a large frame, still lower the bitrate.
- Congestion control no longer collapses the bitrate on a clean link. With "Congestion control" on, a still picture, a menu or a light scene sends far less than the stream's bitrate. A moment of Wi-Fi jitter was then read as a full link, the bitrate was cut to what that light picture needed, and it could take up to 30 seconds to return when the picture got busy. A stream that sends far below its rate is now cut only when a queue stands on the link. The setting stays off by default.
- Error correction stays at its percentage. "Adapt error correction" is now off unless you turn it on. It lowered error correction to 5 % on a link that reported no loss, which sent less data but never raised the picture's bitrate, and the first packets lost after a quiet stretch then cost a frame more easily. Its description now says so.
- A send-buffer entry at stream start is explained. Help & diagnostics now says that a single "The network adapter dropped packets" entry from the moment a stream starts costs only the first picture, and that entries which keep coming during play are the ones to fix.
- The host log says why the tray icon is missing, and when a display comes back at another scale. A host with no signed-in user, or whose tray icon Windows refused, now logs the reason once and logs the icon going in. After a stream that switched monitors off, each monitor's scale is read as it comes back and logged when it differs from the saved one.
Tested. On the RX 7900 XT at 1080p60 with RTSS as the frame limit, the stream's display was set to 60 Hz mid-stream, as a game in exclusive fullscreen does: 14.8 % of the frame intervals were more than 4 ms off on 6.0.0 and 0.3 % in each of two runs of a test build of this change, and RTSS had its own settings back after every stream. The switch-off has not yet run on a GeForce card, where RTSS limits in its NVIDIA Reflex mode, nor with a game setting the mode itself; the next reports in #133 settle that. The two bitrate rules are checked in the controllers' own models and have not run on a device: for a 33 Mbps stream whose picture needs a tenth of that, three lost frames cut the bitrate to 16 Mbps before and change nothing now. Rubylight's builds, tests, clippy and the console's checks pass in CI on the tagged commit.
New in 6.0.0 #
Rubylight 6.0.0 is a major release, and a lot happened on the way: it covers everything since 4.0.0, from 4.0.1 to 4.8.0, and a full round of new work. Since 4.0 your PC learned to reach your Nightjar devices over the internet without port forwarding, and now a friend joins your game from one link. Games that ship DLSS frame generation get frame generation from one switch, on Radeon and GeForce. RTX HDR and RTX Video enhancement moved into the regular, signed host. A stream keeps its frame rate under a capped game and an exclusive-fullscreen one, video packets grow to jumbo size on a 9000-byte wired network, and the console shows what every stream did and which stage took the time. Version 5 is skipped so the host and its client share one number: Rubylight 6.0.0 comes with Nightjar 6.0.0.
Highlights since 4.0 #
- Invite a friend over the internet. One link from the console's Home or Nightjar's stream menu: the friend's Nightjar pairs as a guest without a PIN, finds your PC with no port forwarding and joins the game you play once you let them in. New in 6.0.0.
- Play over the internet without port forwarding. Nightjar devices reach the PC from outside your network over a direct path through both routers, also behind carrier-grade NAT, found through a public peer-to-peer directory that holds only encrypted notes. No server of ours is involved.
- Frame generation. A game's switch adds frame generation to games that ship DLSS frame generation, on Radeon RX 5000 and newer or GeForce GTX 16, RTX 20 and newer. The game page says why a game can't have it before anything is downloaded, and a paired Nightjar device turns it on and off from the couch.
- Play together from your own devices. A second paired device joins the game another one plays as its guest, with its own stream and controller, and you decide who joins and what a guest may do.
- RTX HDR and RTX Video enhancement in the signed host. On a PC with an NVIDIA graphics card, one download from the console adds them, per game and from Nightjar. The installer and the host's programs carry a code signing certificate.
- A stream that holds its frame rate. New virtual displays run at 1000 Hz, a game capped below the stream's rate keeps the stream at its full rate, an exclusive-fullscreen game no longer freezes the picture on Automatic, and a still desktop now keeps the full rate too.
- See what every stream did. The Sessions page lists each stream, what it got against what it asked for, and the new stutter report names the stage that took the time: capture, conversion, encoding, packetizing or sending.
The sections below list what is new since 4.8.0; the earlier releases each have their own section.
Play over the internet #
- Invite a friend to play over the internet. Invite a friend on the console's Home, or in Nightjar's stream menu under Guests, makes a link to send to one person. Their Nightjar opens it, pairs as a guest without a PIN and finds your PC over the internet, with no port forwarding and no visit to your network; then they join the game you play once you let them in. The link works once and ends after a day by default; the friend's device gets guest rights only, is always asked about before it joins, and is unpaired when the invite ends. With Play over the internet off, the PC looks for invited devices only while an invite needs it.
- Invite a browser guest from the internet in one step. A guest who watches or plays in a browser, without Nightjar, needs the guest ports forwarded. In the Stream page's Guests → Invite, pick On the internet: Rubylight asks your router to forward the guest ports (TCP 47991 and UDP 8002-8005) through UPnP, PCP or NAT-PMP, also with automatic port forwarding off, and puts your public address in the link, so there is nothing to type. Before you send it, the dialog shows each port the router forwarded or refused, your public address, and whether guests on the internet can reach the PC; behind carrier-grade NAT or a router that forwards nothing, it says so and what works instead (Tailscale, IPv6 or forwarding by hand). The ports stay forwarded only while such a link works or a guest watches, and nothing else is forwarded. Guests still click through the browser's certificate warning.
- With automatic port forwarding on, the browser guests' ports are now forwarded only while an invite link works or a guest watches, instead of all the time.
- The router notes tell carrier-grade NAT apart from a second router or modem. A private address such as 192.168.x.x or 172.16-31.x.x on the router's internet side now reads as another router or modem in front of it, with the advice to forward the ports there too or put it in bridge mode; only a 100.64.x.x address is the provider's shared address. The console's internet card and the invite dialog use the same words.
Streaming and bitrate #
- No more climb and collapse at a fixed limit. When the bitrate fails twice near the same rate, the host now holds at the rate it came down to and tries a small step above it only after a wait that doubles with each failure there, from 10 seconds up to five minutes. Before, it climbed back toward the requested rate and broke down again every 10 to 50 seconds on such a path (a device wired to a mesh node with a wireless backhaul, for example).
- PyroWave under its own floor comes down too. A PyroWave stream whose requested bitrate is already under PyroWave's quality floor (4K120 at 800 Mbps, 1080p120 at 200 Mbps) is now lowered when the device loses video, to half its bitrate at most. Before, only the PC's own send failures could lower it, so a path that carried less held it in a full queue.
- Deep buffers. Behind a router or mesh node that queues a lot, a step up now waits long enough for the queue to show it was too much, and a queue that stays after the bitrate came down is answered with a further cut.
- When the PC cannot send fast enough. The sender waits about one frame for room in a full socket and then drops the rest of that one picture, instead of leaving holes in the next ones. The warning now says the PC could not send fast enough (its CPU or network adapter) instead of blaming the network, and such refusals alone no longer lower the rate the host learns for the network.
- A connection that never fills up is unchanged.
- A PyroWave stream below the level where the project's test scenes kept detail now warns in the player's stream. The host's stream card, the log and Nightjar's own notice say that text and textures may lose detail, with the floor, the mode and the rate the picture gets; the stream still starts at the rate the client asked for. Raise the bitrate with network headroom, lower the resolution or frame rate, or use HEVC or AV1.
- A still desktop keeps the full frame rate. With constant-rate capture, or the still-picture resend, a desktop where nothing moves now holds the stream frame rate (180 instead of about 170 on a 180 fps stream).
- NVENC streams above 800 Mbps keep changing their bitrate. The change limit is now the stream's own 2 Gbit/s negotiation limit, not a lower ceiling that failed a raise; a request above it uses the maximum and says so.
- An older NVENC driver API shows a session warning naming the HDR10 metadata or split-frame encoding it cannot provide, instead of leaving that to the log.
- A stock Moonlight client keeps its video while a jumbo-packet client streams. The shared video socket no longer has its don't-fragment setting turned on by a jumbo stream, so a stock client behind a WireGuard or Tailscale tunnel is never refused for the size of its packets; the jumbo path is still checked by the route's MTU offer and by the PyroWave probe on its own socket. If this PC's interface MTU on the route to a jumbo stream shrinks while it runs, the two-second route check now shows the network MTU warning on that stream instead of letting its packets fragment unnoticed.
Displays, HDR and capture #
- No magenta tint on small text in HDR. With HDR on, Windows' ClearType text (File Explorer's file lists, for example) could look magenta on the device: the stream shares one colour between neighbouring pixels, and the host mixed ClearType's red and blue glyph edges by their HDR signal values instead of by their light, which HDR's steep brightness curves turn into a visible cast. The host now mixes them by their light in HDR10 and HLG streams, PyroWave's included, so text keeps its colour with ClearType on. SDR streams and full-chroma (4:4:4) streams are unchanged. AMD's video converter (the
amd_vpesetting, off by default) does this mixing in hardware and still shows the tint. - RTX HDR streams describe the HDR picture they generate. The stream's mastering peak is the peak RTX HDR was set to produce, not the SDR monitor's reported peak, and its content light levels stay unknown instead of claiming the panel's; HDR tone mapping on the client now follows what it receives.
- Two streams share a display's capture only when their Capture method agrees. An explicit Windows Graphics Capture stream is no longer moved to Desktop Duplication because an Automatic stream opened the shared capture, so choosing a method keeps it.
- The virtual display stays the main screen with "Extend — make virtual display primary". When a game or Windows moved the main screen back to your monitor, every later stream from that device started that way and the setting looked ignored. When Windows changes the displays by itself, such as a monitor arriving or leaving or coming back from the lock screen, the stream now puts the virtual display back as the main screen within about a second, and its card says so if Windows refuses or keeps taking it back. A main screen you pick yourself in Windows stays yours. Devices that kept the wrong layout follow your setting again.
- Older device layouts are updated once. When the host asks for the virtual display as the main screen, an older device layout is dropped and the device follows the host's display layout again; otherwise the device keeps Extend, now marked as learned, and an app's own layout or a later change of the host's layout replaces it. Pick it again under Devices to keep it everywhere.
- The device page says when a stream set its layout. Next to Virtual display layout, a learned layout reads "Learned from your last stream: …", and Clear makes the device follow the host setting again.
Console and sessions #
- See which stage took the time. The console's Stream details & performance now says where a stream's new pictures lost time against the stream's own usual path, naming capture, conversion, encoding, packetizing or sending, and each stream's end writes a
stream stutter reportline to the log with the same figures. It measures the host's part only: the network, the decoder and the display come after the last packet, and a game slower than the stream shows as repeated pictures instead. - The Sessions page shows what the stream got against what was asked. A stream the network held below its request reads "X of Y Mbps" instead of the lower rate alone.
- A game that waits for sign-in can be cancelled from its device. A launch started after sign-in is now owned by the device that asked for it, so End session or Quit on that device cancels it while it prepares.
- Turning automatic updates off removes a half-finished download from the install folder at the next housekeeping pass, instead of leaving it there until the host restarts.
- A settings save that fails no longer changes the SteamGridDB key. The key is stored only after the settings file has been written, and when the key itself cannot be stored or removed the other settings still apply and the console says what happened to the key.
Controllers and input #
- The motion server for emulators now serves this PC only. It listens on
127.0.0.1unless Motion server on the local network (dsu_server_lan) is turned on, so an emulator on this PC works as before while a cafe, hotel or public network no longer reaches the streamed controllers. The server also serves at most 16 emulators and four controller addresses each, so a flood of requests can no longer hold up controller input; turn the new setting on only on a network you trust. - The console has the local-network switch beside the motion server. It appears under Controllers when the DSU server is on, says what it exposes, and warns that the server has no password; like the server, it applies after a host restart.
- A controller the client turns back on is no longer dropped as removed, and one controller's failed report no longer skips the other controllers' back-button update.
- A virtual controller is unplugged before its replacement is plugged, so two pads never exist for a moment in the same slot.
Fixes #
- A console launch is cancelled when the host service stops, as a device's launch already was, so no game outlives the host and its preparation commands are undone.
- A game that ignores close no longer keeps the stream's display and audio route at shutdown. The display layout goes back before the game is asked to close, and the audio route follows once the game's processes have stopped, before its undo commands, or before the shutdown's stop wait runs out for a game that never closes.
- Exiting Playnite Fullscreen after playing a game ends the stream again, once the Wait after a game closes time has passed, instead of leaving the stream on the PC's desktop.
New in 4.8.0 #
Rubylight 4.8.0 is about a stream that never lets go of its frame rate, and a console that tells you why. A game capped below the stream's rate now keeps the stream at its full rate, an exclusive-fullscreen game can no longer freeze the picture on Automatic, and the console names the game or the desktop when it is what holds the stream back. A new Sessions page lists what each stream did, SteamGridDB fills in missing covers, a resolution cap and a DualSense haptics strength join the settings, and controllers play again after the PC wakes. It comes with Nightjar 5.10.0.
Highlights #
- Full rate under a capped game.
capture = wgccsends the last picture again whenever the game has none ready, so a 90 fps game on a 180 fps stream keeps one frame per stream frame. - No frozen picture from an exclusive-fullscreen game. On Automatic, a display that sends nothing for 2 seconds is captured with Desktop Duplication instead.
- The source's frame rate in the console. A game or desktop that renders below the stream's rate is named after 15 seconds, with what to change.
- Sessions page. Advanced, Sessions lists the streams running now and the last 200 that ended, kept for 90 days.
- Covers from SteamGridDB. Apps without a cover get one, in Moonlight, Nightjar and the console.
- Smaller picture for a slower network. A host-wide stream resolution cap, while the PC's display keeps the size the device asked for.
- Controllers after sleep. A controller connected when the PC slept plays again when it wakes.
- Signed releases. The installer and the host's programs carry a code signing certificate.
Streaming and capture #
- An exclusive-fullscreen game or emulator no longer freezes the picture on Automatic. Windows Graphics Capture reads what Windows composes, and an app in exclusive fullscreen presents past that, so its picture stops with no error while the app keeps running. On Automatic, a streamed display that sends no picture for 2 seconds while Windows reports an exclusive-fullscreen app in front is captured with Desktop Duplication instead, which reads what the display shows, and the stream card says why. A named Capture method is never changed automatically; timing and HDR under Desktop Duplication can differ.
- A game capped below the stream's frame rate keeps the stream at its full rate. Capture method → Windows Graphics Capture, constant rate (
capture = wgcc) sends the last picture again whenever the game has no new frame ready for a stream frame, so a 90 fps game on a 180 fps stream keeps one frame per stream frame instead of the encoder repeating a still picture between the game's frames, and a new game frame is never held back for its slot. Every repeat is encoded like any frame, so the stream spends its bitrate between the game's frames too, and a still picture keeps the full rate; leave it off on a mostly still screen. It applies to the launched app's window as well; on a display, Desktop Duplication keeps the rate when Windows Graphics Capture is unavailable. Off by default. - A configuration that already says
capture = wgccnow turns this on. Earlier builds read that Vibepollo spelling as plain Windows Graphics Capture; usecapture = wgcfor variable-rate capture. Configurations that never set it keep Automatic, so nothing changes for them. - Maximum stream resolution. A host-wide cap keeps a 4K device from streaming 4K to a network that cannot carry it: the picture is encoded no larger than the cap while the PC's display still runs at the size the device asked for, and the device scales the smaller picture up, so fine detail softens (
max_stream_resolution, native by default). The console's stream card and the host log name the coded and display sizes; a Nightjar device that changes size mid-stream can keep the smaller picture as its next request until its resolution is chosen again. - The console says when the game or desktop holds the stream back. When the source stays below 97% of what the stream can show for 15 seconds it shows about how many frames per second it is rendering: on a game stream it suggests lowering the game's settings or the stream's frame rate to match, and on a desktop stream it only says how often the screen is updating. What the stream can show is its own frame rate, or the display's refresh rate when that is lower, so a 60 Hz monitor streamed at 120 fps is not reported. A short dip, a level change or a still picture does not trigger it, a still screen clears a standing warning after 30 seconds, and the host log says when the source keeps up again.
Controllers and input #
- Controllers keep working after sleep. A controller connected when the PC went to sleep plays again after it wakes, instead of only after reconnecting it. This covers the built-in gamepad driver's controller types, the default; the optional ViGEmBus and USB/IP controller types are not changed.
- DualSense haptics strength. A game's own waveform haptics on a DualSense with waveform haptics (USB/IP) can be scaled from 0 to 4 times what the game sent, under Sound & controls → Controllers (
dualsense_haptics_gain, 1 by default); ordinary vibration, the lightbar, adaptive triggers and controller speaker sound keep the game's strength. A device or an app can set its own. - The Steam Controller's left grip works. With the Steam Controller controller type selected, the left grip touch now registers on the PC instead of being dropped along with a Switch 2 Pro Controller's C button.
Console and setup #
- What each stream did, and what runs now. Advanced → Sessions in the console shows the streams running now and up to the last 200 that ended, with the device, game, codec, resolution, average and p95 frame rate, bitrate, the loss the device reported, how long each ran and why it ended, in the host's words. The history is kept in the host's data directory for 90 days and drops the oldest sessions by itself (the caps are fixed, not settings), the list reloads when a stream ends, and the live half refreshes every 2 seconds without the stream card's polling.
GET /api/sessions/historylists it for scripts and a Home dashboard. - Covers for apps without one. Paste your SteamGridDB API key under Settings → Games → Covers and every app without a cover gets SteamGridDB's best-voted 600x900 grid, found by its Steam app ID or else by its name, in Moonlight, Nightjar and the console alike. Covers you chose and launcher covers are never replaced, a launcher's cover found later takes over, and a cover you clear stays cleared. The lookups run in the background, a few apps at a time, and wait whenever SteamGridDB asks for fewer requests. The key is kept where only administrators can read it, is sent only to SteamGridDB, is never shown again or logged, and a settings backup holds it only with secrets.
- The console says where to start. Once a device is paired, Home says where a game starts and names the device, Stream resolution is on the Settings home (Match the device, or keep the current resolution), the stream preset reads as delay against picture quality, and the launcher, capture and Steam Deck options open in place under All settings.
- Signed releases. The setup program and the host's own programs are signed with a Certum code signing certificate for open-source developers, issued to Open Source Developer Ramazan Kara, by the release workflow.
Fixes #
- A stream returns to Windows Graphics Capture after a UAC prompt or the lock screen. Windows Graphics Capture falls back to Desktop Duplication on the secure desktop, and a reopen now uses the capture method the stream is set to again, instead of staying on Desktop Duplication for the rest of the stream. Only a game picture moved to Desktop Duplication by the fullscreen fallback stays there for the session. A display push or AMD Direct Capture that was unavailable once is tried again on a reopen too.
- The NVIDIA components install and remove on PCs where another account may change the drive or
C:\ProgramData. Before Download or Remove, Rubylight checked every folder above its own, up to the drive, and refused when Windows lets any other account change one; the installer never needed that, so the console showed "can be changed by another account" even when Rubylight ran as administrator (issue #115). It now checks only its own folder,%ProgramData%\Butterpollo, and what is inside it: a link on the way, or one of its own folders another account may change, is still refused. From that check until the components are loaded, Rubylight holds its own folder open and every folder down to the components, and Windows then refuses to rename or delete any of them, so the folder named a moment later still holds the files that were checked, even on a PC where another account may move folders inC:\ProgramDataitself. Neural Rendering's download is still checked up to the same folder.
Tested. No stream was run on this release's changes: constant-rate capture, the fullscreen fallback, the resolution cap, the haptics gain, the source frame-rate warning, session history and SteamGridDB covers are covered by unit tests (the SteamGridDB lookups with a fake HTTP layer), and none has run on a GPU, a DualSense or against SteamGridDB itself; the next reports settle that. Rubylight's builds, tests, clippy and the console's checks pass in CI on the tagged commit.
New in 4.7.1 #
Rubylight 4.7.1 tells connected clients when the host shuts down, so Moonlight and Nightjar end the stream instead of waiting for the connection to time out, and forwarded USB devices are detached first. It comes with Nightjar 5.9.0.
- A host shutdown tells connected clients. When the host stops, each live stream's client is told the host closed the stream, with its forwarded USB devices detached first, and the host ends USB forwarding before it shuts down.
- A skipped HDR restore names the display's state. When the host leaves a display's HDR or colour profile alone at the end of a stream because something else changed it, the host log now records the display's current state beside the previous and applied ones.
New in 4.7.0 #
Rubylight 4.7.0 adds jumbo video packets on a 9000-byte wired network with Nightjar 5.8.0, streams only a windowed game's content, runs new virtual displays at 1000 Hz, and wakes a monitor that Windows switched off before a cold launch. NVENC uses both engines when one is not enough, and the controller settings and the host log explain more. The rest are fixes from the new issue reports.
Highlights #
- Jumbo video packets. Nightjar 5.8.0 can stream up to 8192-byte video packets on an on-link path that carries 9000-byte frames; stock Moonlight clients and 1500-byte paths are unchanged.
- Only the game's content. A windowed game can be streamed without its title bar and borders, with input mapped to the content.
- 1000 Hz virtual displays. New virtual displays run at 1000 Hz, so a capped game waits at most 1 ms for a refresh.
- A cold launch wakes the display. A stream to a PC whose monitor Windows switched off while idle wakes it before the first frame, and the first-frame state is in the log.
- Both NVENC engines when one is not enough. Split encoding now follows the frame budget, and the Lowest latency preset asks for it.
- The DualSense note. The controller settings and docs explain a game that drifts with the VHF pad and the USB/IP alternative.
- HDR changes are logged. Every set, restore and skip names the display and the previous and applied state.
Details #
- A cold launch wakes the console display. When a stream starts while the PC's monitor is off and nobody has used the PC for a minute, the host sends a net-zero mouse move on the input desktop and, if the driver still reports no swap chain after a second, does it once more. The host log now records the first-frame wait's swap-chain and ring flags, display path, secure desktop and idle time. Nothing changes when the display is on or the user is active.
- Controller settings explain a game that drifts with the DualSense. Some games read the controller's name and can treat the VHF DualSense as an unknown controller, so the camera or cursor can drift with no input; the controller settings and docs now say that the VHF pad reports the virtual gamepad driver's name and has no USB parent, and that such a game can use DualSense with waveform haptics (USB/IP) (usbip-win2, Sony's USB identity, any client) or Xbox Series. Automatic selection is unchanged.
- HDR changes are in the host log. The host log now records every HDR set, restore and skip with the display and the previous and applied state, on the normal teardown as well as startup recovery. The settings and the behaviour are unchanged.
- Larger video packets for clients that ask. On a path whose interface MTU is above 1500 bytes and whose peer is on-link, the host lists
MaxVideoPacketin serverinfo and the stream'sx-rl-max-packet-sizein DESCRIBE. Nightjar can then ask for up to 8192-byte video packets, so the stream sends far fewer packets at the same bitrate. The host refuses fragmentation on a jumbo video socket and reports a datagram the path refuses as anetwork_mtuwarning without ending the stream. Stock Moonlight clients ignore the fields and keep 1400-byte packets; a 1500-byte path (Wi-Fi, a tunnel or an unknown route) offers nothing. - Both NVENC engines when one is not enough.
nvenc_split_encode = autonow keeps the driver's implicit split and also splits HEVC or AV1 frames when one engine's estimated frame time misses the frame budget.driver_decideskeeps only the driver's implicit split, and the Lowest latency stream preset asks for split at every preset. Splitting is faster and can cost some picture quality. - The frame time guard no longer counts engines that cannot split. It accounts for H.264, drivers before NVENC API 12.2, one-engine GPUs and HEVC weighted prediction, and reports the split decision in the host log.
- 1000 Hz by default. New virtual displays run at 1000 Hz, so a game capped at the stream's frame rate waits at most 1 ms for a refresh. With a test picture capped at 60 fps, 0.04 % of frame intervals were more than 4 ms off at 1000 Hz, against 0.23 % at twice and 2.22 % at four times the stream rate, where frames can land in alternate refresh slots as the cap's timer drifts onto the display's refresh. An earlier run measured 1000 Hz about 1 ms slower than twice the stream rate at 60 fps. Twice and four times the stream rate stay selectable, and Off still ends the automatic FPS cap.
- A refused refresh no longer leaves the display slow. When Windows refuses the refresh a virtual display asks for and keeps a slower one at the right resolution, the display now asks for the fastest refresh it offers below the refused one, without a warning.
- Stream only what a windowed game draws. With What to stream set to the app's window, the new Window's frame setting (
capture_window_frame,fullby default) can keep only the game's content, cropping the title bar and the borders before encoding. Input maps to the cropped content, and a game that draws its own title bar keeps it. Set it for every app, one app, or one app on one device, as for What to stream; the default stays the whole window.
New in 4.6.0 #
Rubylight 4.6.0 turns Neural Rendering into frame generation: a game's switch adds ANR (Apex Neural Rendering) frame generation to games that ship DLSS frame generation, on Radeon and GeForce graphics, and paired Nightjar devices can turn it on and off. The rest is a round of fixes from a code review, across Play over the internet, launches, updates, the console and display changes, and a shorter, clearer settings list. Nightjar 5.7.0, released alongside, brings the frame generation switch to devices and adds Fractional V-Sync.
Highlights #
- ANR frame generation for games with DLSS frame generation. A game's switch adds Apex Neural Rendering's frame generation on Radeon RX 5000 and newer or GeForce GTX 16, RTX 20 and newer, and takes it out again.
- Says why before you try. The game page and paired devices say why a game can't have frame generation, such as an anti-cheat or a runtime to install, before anything is downloaded.
- Turn it on from the couch. A paired Nightjar device with Host control turns a game's frame generation on and off.
- Even motion at half the refresh. With Nightjar 5.7.0's Fractional V-Sync, a 60 fps stream on a 120 Hz screen shows every frame for two refreshes.
- Play over the internet connects more reliably. A device keeps trying until the PC has found it.
- Quit works while a game is still launching. Quit and End session stop a launch instead of waiting behind it.
- Updates resume. A broken-off download goes on where it stopped and is tried again at the next check.
- Fewer, clearer settings. One row each for HDR, the update schedule and an app's virtual display, and a setting that does nothing says why.
Frame generation #
- Neural Rendering is now frame generation. A game's Frame generation switch, on its page in Games, puts ANR (Apex Neural Rendering) frame generation by Apex Compute into a game that ships DLSS frame generation: turn on DLSS frame generation in the game, and ANR takes its place. Rubylight downloads ANR's pinned release from its GitHub page when you turn it on and copies it unchanged into the game's folder. It is offered when any of the PC's GPUs can run it: Radeon RX 5000 and newer, the Radeon 780M among them, or GeForce GTX 16, RTX 20 and newer. When that GPU is not the one Rubylight streams with, such as a laptop's dedicated card beside the integrated graphics that drive its display, the switch names it and says frame generation runs when the game renders on it. Intel graphics are not offered. It needs the Microsoft Visual C++ 2015-2022 Redistributable (x64) on the PC, downloads about 14 MB once, and is off for every game. Leave it off for online games: one may treat a mod as cheating.
- The game page says why before any try. A game with a known anti-cheat, without DLSS frame generation, whose program has to be chosen first, or on a PC that lacks the Visual C++ runtime shows the reason with the switch greyed out. The switch turns on and off only while nothing is streaming.
- Your own upscaler mod stays yours. A game that already has an upscaler mod you installed gets only ANR's add-on, and the settings it changes there are put back exactly when it is turned off.
- Turning it off cleans up after it. It removes the files Rubylight put there and what frame generation writes into its own folder while a game runs, and names anything someone else left in the folders it made. While the game runs, turning it off changes nothing and says to close the game.
- The first launch can take longer. Final Fantasy XVI's first launch after turning it on once spent about 10 minutes compiling its shaders on the RX 7900 XT, right after a driver update; a later one took 16 seconds. How much of a long wait comes from frame generation is not measured.
- The earlier neural upscaling is only removed now. A game that still has it shows it on its page with Remove, which takes out only the earlier upscaling and leaves frame generation as it is. Turning frame generation on removes it first, once the game has passed every check, so a game that is refused keeps it, as does one where its removal would leave a changed file behind. Its 1 GB download is deleted.
- Paired devices. Nightjar devices with Host control turn a game's frame generation on and off and say why in their own words before any try (Nightjar 5.7.0).
Streaming quality #
- Adapt bitrate on this PC is gone. It cut the bitrate too far after one burst of losses and never climbed back, and turning it on switched off the other bitrate controls. Lower the bitrate when the link cannot carry it, and Adapt to network congestion where it is on, now always look after the bitrate, along with adaptive packet pacing and Slow down after video loss. Saved settings, per-app and per-device settings and imported profiles carry over without it.
- Play over the internet connects more reliably. A device keeps trying until the PC has had time to find it, where the attempt could end first. The PC looks for each paired device on a thread of its own, asks less often for devices that are not connecting, and an idle connection no longer keeps a thread awake.
- Port forwarding keeps its PCP mappings across a restart. A PCP router refused to renew or remove a mapping after a host restart or a missed renewal until its two-hour lease ran out; the host now asks under the same identity each time.
- Resuming at another frame rate keeps the game on its display. The virtual display is retimed, not replaced, the resume takes the frame limiter and HDR profile set since the launch, and a display layout Windows refuses after the PC sat idle is tried again as on a fresh launch.
- Compute conversion steps aside only after two encoder failures within a minute and is tried again after 5 quiet minutes, where one bad moment used to cost the rest of the session.
- With two streams running, one ending no longer makes the other set up its frame buffers again. An idle PyroWave stream wakes its sender four times a second, and the bitrate controller for H.264, HEVC and AV1 counts only the packets that reached the network.
Console and setup #
- One row each for HDR, the update schedule and an app's virtual display. Display HDR has four choices, Match the stream, Always on, Always off and Don't change HDR, in place of a separate HDR request. Check for updates offers Daily at a set time beside its intervals. An app's Virtual display mode includes Always, which replaces the separate Use a virtual display switch. Saved settings, apps, per-device settings, restored backups and imported profiles carry over.
- Settings say when they do nothing. A setting with no effect in the current setup shows as inactive with the reason: adaptive pacing while a Pacing rate is set, the frame limit while Limiter is None, or the virtual display's scale, HDR calibration and Vulkan HDR layer on Windows before 11 23H2. In the app editor, Make the virtual display primary, Keep a separate identity for each device and Legacy frame generation capture fix say when another choice takes their place.
- A shorter Picture page. HDR, Frame pacing, Frame limiter and After a stream start folded, and open by themselves when one of their settings is customized. The settings home offers the monitors choice only where streams can use a virtual display. The capture timing diagnostics (Capture poll interval, Predictive polling, Align capture with encoding) moved to Advanced → Debug switches, and the app editor's Frame generation limiter fix is gone: the host never read it, and saved copies are cleared.
- A save asks for a restart only when a setting needs one. The rows marked "Applies after a restart" are exactly the settings Rubylight reads when it starts; saving any other shows "Settings saved." alone.
- The console says when it has lost the PC. "Cannot connect to Rubylight" covers the page until Rubylight answers again, and unsaved settings are still there afterwards.
- Troubleshooting names the right graphics card and the right tab. An NVIDIA encoder failure is no longer explained with AMD's driver, fixes name the tabs the console has, and a fix that is a setting links to its row.
- Update downloads resume. A paused or broken-off download goes on where it stopped, one that receives nothing for 60 seconds ends, an automatic update whose download broke off is tried again at the next check instead of waiting for the next release, and an automatic installation that fails shows a warning in the console.
- Virtual display refresh and Full chroma are stored as
virtual_display_refreshandpacked_444. Configurations, scripts and API calls that use the earlier names keep working.
Devices and input #
- Quit and End session work while a game is still launching. They stop the launch instead of waiting behind it, for minutes if a preparation command hangs. That command is ended, and the undo commands of the ones that had finished still run.
- A failed launch says which app's preparation command failed and what to do next.
- A device is told why its stream was refused. A codec this PC cannot encode, or a stream that had to be encrypted and was not, leaves its reason for the device as a failed launch does; Nightjar 5.7.0 shows it.
- Pairing again after backing out works at once. A device that left the PIN dialog and asked again was refused as "another device is pairing" for up to five minutes. Only a different device is refused now.
- Keyboard and mouse keep working while the controllers reconnect.
- Remote monitors no longer hold up other devices. Adding one no longer holds up the app list and other devices while its display is made, and with Remove remote monitor on device disconnect on, ending one no longer pauses other devices' keyboard, mouse and controller until Windows finishes the display change.
- After Continue here, a game's per-device settings file follows the device now playing.
Fixes #
- Stopping the Rubylight service puts Radeon settings and game files back before it closes the game, so they are restored within the time Windows gives a service to stop. A launch still preparing, or one that starts while the host stops, is stopped too.
- Sound returns faster after a capture error: the capture reopens on the next pass, not up to a second later.
Tested. Frame generation ran in Final Fantasy XVI (Direct3D 12) on the RX 7900 XT through an isolated test host: the console's route installed it, the game loaded it and, with DLSS frame generation set in the game's menu, generated frames by the provider's own log. On the release build, turning it off while the game ran changed nothing and said to close the game; once the game had closed, turning it off left the game's 161 files and folders byte-identical to before, the provider's logs removed too. The provider's copy of the Vulkan loader, which it writes once frame generation runs in gameplay, goes with the same sweep; that part is covered by unit tests. On the Radeon 780M the pinned release was installed into and removed from test game folders byte for byte, full and as the add-on, and desktop Nightjar turned it on and off there. It has not yet run on a GeForce card, and its effect on frame rate and delay is not measured. Nightjar 5.7.0's Fractional V-Sync was measured with the Radeon 780M laptop (120 Hz panel) streaming from the RX 7900 XT PC over Wi-Fi, V-Sync on, VRR off, phase lock on, in 230 to 270 s runs: frames not shown for exactly their refreshes fell from 8.4% to 3.4% at 60 fps and from 17.9% to 1.7% at 40 fps, while receive-to-display latency rose from 11.9 to 13.6 ms and from 12.8 to 14.0 ms at the median and from 16.2 to 18.8 ms and from 17.9 to 21.9 ms at the 95th percentile, which is why it stays off by default. The release check on the RX 7900 XT PC passed: nine 12 s streams through the packaged host (H.264, HEVC, HEVC with VRR, AV1, HEVC with keyframe requests, HEVC at 2560x1440 and 120 fps, the same with Warp-style pacing, and PyroWave in SDR and HDR 4:4:4), the pairing and launch protocol checks and the install over a running host. The real-client smoke test from the Radeon 780M laptop passed at 1968x2184, HDR, 120 fps and 80 Mbps: 117.6 fps received with AV1 and 116.6 with HEVC, host processing 0.7 and 0.4 ms on average; two earlier HEVC runs fell short (114.2 and 109.6 fps) while a game ran on the PC and slowed the test picture itself, AV1 passing beside them. Unit tests cover the review's fixes, among them the launch stop, the resumed downloads, the PCP identity, the refused stream's reason and the retired bitrate setting carried over from saved settings and profiles.
New in 4.5.0 #
RTX HDR and RTX Video enhancement are now part of the regular, signed Rubylight: a PC with an NVIDIA graphics card downloads NVIDIA's files once from the console, and the separate NVIDIA build is gone. Where an NVIDIA PC still cannot run them, the console and the stream say why.
- RTX HDR and RTX Video enhancement come to the signed host. On a PC with an NVIDIA graphics card, Settings → Picture → Integrations → NVIDIA components → Download fetches the NVIDIA files they need, about 17 MB from this release, and checks every file; Remove deletes them. There is no separate NVIDIA build any more: the RTX settings, the app editor and Nightjar offer the enhancements once the NVIDIA components are installed and the graphics card and driver support them. Settings found by search say what they need: an NVIDIA graphics card or the NVIDIA components.
- Hosts of the NVIDIA build move to the signed host. Their next update installs the signed host and removes the NVIDIA build's files; RTX settings and per-app values stay. Download the NVIDIA components once on the console to use RTX HDR or RTX Video enhancement again.
- A too-old NVIDIA driver is named. Where RTX HDR or RTX Video enhancement needs a newer NVIDIA driver, the console says which version.
- RTX HDR shapes highlights up to 2000 nits itself. NVIDIA's model now gets the display's peak brightness up to 2000 nits, where it used to get at most 1000 and the host scaled the picture up from there. A peak set above 2000 nits is held at 2000.
- RTX settings say why they are missing. With the NVIDIA components installed and RTX HDR or RTX Video enhancement still not offered, a setting found by search now gives the reason NVIDIA's check reported, such as a driver too old or a crash in the check, instead of only "Not available on this PC" (issues #103, #111).
- A stream on another GPU says so. On a PC with an NVIDIA card beside another GPU, such as a mini PC's Radeon with an NVIDIA card on OCuLink, a stream whose display hangs off the other GPU captures and encodes there, and RTX HDR and RTX Video enhancement can run only on the NVIDIA card. The stream's warning now names the GPU it uses and points to Settings → Picture → Encoders → Graphics card, where choosing the NVIDIA card moves capture (with the Automatic capture method) and encoding to it, or says that Desktop Duplication and AMD Direct Capture capture only on the display's GPU, instead of asking to update the NVIDIA driver; the host no longer tries to start them on that GPU (issue #103).
- The check of RTX HDR and RTX Video enhancement no longer crashes. On GeForce RTX cards the app page said "NVIDIA's check crashed (0xc0000005)" and both stayed off (issue #103): the call that starts NVIDIA's library left out one argument, so the library read the version number as an address. The call now matches NVIDIA's library.
Tested. The NVIDIA build fails when any declaration of NVIDIA's library differs from the SDK's headers in its number of parameters, which rejects the call that crashed in #103. The release workflow builds the NVIDIA components archive with the installer, under the name and checksum the host downloads, and its NVIDIA files match the pinned versions. Unit tests cover the graphics card NVIDIA's check uses and the reasons the console shows. Rubylight's builds, tests and clippy pass in CI. RTX HDR and RTX Video enhancement have not yet run from the NVIDIA components on a GeForce card; the next reports in #103 and #111 settle that.
New in 4.4.0 #
- HDR streams from a monitor that reports no full-frame brightness keep their brightness hints. Rubylight 4.3.3 sent such streams a MaxFALL of 1 nit, and the Dolby Vision and HDR10+ metadata sent before the first measured frame took the picture as nearly black. MaxFALL stays "unknown" again, so they use the 203-nit reference white; MaxCLL still follows the monitor's peak.
Tested. A new unit test checks that Dolby Vision's static fallback uses the reference white for a monitor without a full-frame level, and the butterpollo-core suite (2164 tests) and the host's checks pass. Nightjar 5.5.0, released alongside, adds a profile switch to each game's menu and fixes tearing with Variable refresh rate On on Windows.
New in 4.3.3 #
- HDR streams send the display's light levels instead of zeros. Windows reports a monitor's peak and full-frame brightness, not content light levels (
MaxCLLandMaxFALL). Sending0for both left some HDR TVs to treat the picture as unknown brightness and wash it out; the monitor's peak and full-frame levels now stand in when the content reports none. - NVIDIA encoding and RTX enhancement fixes. NVENC waits for the next picture when the driver reports
NV_ENC_ERR_NEED_MORE_INPUTwhile locking a bitstream, instead of ending the stream. RTX Video and RTX HDR flush their Direct3D 11 work before handing the shared picture to the colour-conversion queue, RTX Video reuses its HDR input views across frames from the capture pool, and changing RTX HDR's contrast, saturation, middle gray or peak re-enhances a still picture at once. A failed shared-texture return no longer advances its fence counter.
Tested. Unit tests in butterpollo-core cover the HDR metadata light levels across panels with and without EDID luminance blocks, and the Windows and NVIDIA packages built and passed their checks in CI. The NVIDIA encoder and RTX enhancement paths were not run on a GeForce RTX card here.
New in 4.3.2 #
- DualShock 4 (ViGEmBus) controller type, for reWASD and other tools that look for USB controllers. With ViGEmBus installed, every controller becomes a USB DualShock 4 that such tools detect and remap, and unlike Xbox 360 (ViGEmBus) it keeps the touchpad, gyro, battery, rumble and lightbar. A lightbar colour set by a game or tool reaches the controller in your hand where the client can light it, and Back also clicks the touchpad unless you turn off Back clicks the touchpad. Without ViGEmBus the stream says what to install; no other controller stands in. (#108)
Tested. Unit tests cover the DualShock 4's buttons, sticks and D-pad, two-finger touch, motion with ViGEmBus's calibration, battery, the lightbar sent once per colour, Back as a touchpad click, and that the type is chosen by name only and never replaced. It has not yet run with reWASD.
New in 4.3.1 #
- The NVIDIA build starts even when NVIDIA's check fails. At start the NVIDIA build asks the graphics driver whether it offers RTX HDR and RTX Video enhancement. In issue #103 its host did not start on a GeForce RTX card. The check now runs in a process of its own and is given 30 seconds: if it crashes or hangs, the host starts without the two enhancements, the app page says why, and the profile's
crashesfolder keeps a report. The NVIDIA build also no longer needs the Visual C++ Redistributable on the PC. - RTX HDR and RTX Video settings have no switch where this PC cannot run them. The settings search listed them with working controls on a PC without Rubylight's NVIDIA build, or without a graphics card whose driver offers them, and turning one on there changed nothing (issue #103). They now show as not available on this PC, with what they need, and a value saved there can still be reset.
Tested. Unit tests cover NVIDIA's check crashing, hanging, failing and giving no answer. The NVIDIA package CI built for this release started as an isolated host on the RX 7900 XT and answered in 2.3 s; its check ran in its own process, exited normally and left no process behind, and its NGX adapter loads only Windows system libraries. The settings rows without a switch were checked in a browser against fixture data. The check has not yet run on a GeForce RTX card.
New in 4.3.0 #
- Apps another program adds appear without a restart. Rubylight read
apps.jsononce, when it started. An app that another program or a hand edit added to the file afterwards was missing from the list, and starting it by name failed, until the host restarted (issue #106). Rubylight now reads the file again whenever it has changed, before it lists or starts an app. An entry withnullfor its command, working directory, or prepare and undo commands no longer makes the whole file unreadable, and a file that cannot be read keeps the apps already loaded. - Show only the settings you changed. Settings has a new Customized only switch that lists the settings that differ from their defaults (issue #107).
- RTX HDR and RTX Video for one app. An app's NVIDIA image enhancement panel did not appear when the console was opened directly on the Games page, so the two looked as if they could only be set for all apps (issue #103). The panel now appears there too, on a PC that offers them.
- Console fixes. A switch whose change could not be saved goes back to its old position. The settings search follows Back, Forward and the quick switcher's search. A device's editor with unsaved changes stays open when the device list refreshes, and closes when that device is unpaired. Home no longer shows an older session state after a newer one.
- Play over the internet takes video packets that arrive far out of order. The tunnel dropped a packet more than 64 behind the newest one it had seen, which the packets of a large frame can be when audio or control packets overtake them. It now takes a packet up to 512 behind.
- Streaming fixes.
video_send_mmcss_onlynow also applies to the threads that send a PyroWave stream. Frame Warp starts measuring afresh when the controller it follows changes during a stream, instead of mixing in the previous controller's samples. A device's request for a fresh picture no longer waits while the video loop waits for the next frame's time.
Tested. Unit tests cover an apps file changed by another program, its null fields and a file that cannot be read, Frame Warp's reset when the controller changes, and the tunnel's window up to its 512th packet. The packaged host streamed HEVC to the independent receiver at a steady 60 fps with no long frame interval. Customized only was checked in a browser against fixture data. The reports behind issues #103 and #106 were not reproduced here.
New in 4.2.0 #
- Hardware color conversion. A new AMD AMF setting, Hardware color conversion (
amd_vpe, off by default), has the graphics driver's video converter convert and scale YUV 4:2:0 pictures in SDR, HDR10 and HLG instead of Rubylight's shaders. On the RX 7900 XT and the Radeon 780M it gave lower picture quality than the default conversion in every case we measured, and more latency at 1440p 120 fps and in HDR, so it stays off; it remains a setting to compare on your own PC. Full-chroma streams, the pointer drawn by Rubylight, the couch menu and adjusted HDR brightness always use the shaders. A converter failure returns the stream to the shaders with a console warning, and a converter that keeps refusing pictures is left off for the rest of the stream. - AMD Direct Capture. A new capture method, AMD Direct Capture (
capture = amd), takes each picture the Radeon driver presents on a display connected to the Radeon card, up to the display's refresh rate (at most 200 frames per second). Choose it under Capture; Automatic never picks it. Without a supported Radeon driver the stream falls back to Windows Graphics Capture and the console says why. Frame generation's extra frames are not streamed, with this or any other capture method. - Commands for one game in the stream menu. A game's new Stream menu commands panel adds commands that devices with the PC commands permission can run while that game runs, from Nightjar's PC commands, Artemis and the host menu. Each can have an undo, which runs once when the game closes if its command ran. A game can also hide the PC commands from Settings while it runs. The host menu now lists the PC commands too, with a second press to confirm.
- Stream one app's window instead of a display. Set What to stream to The app's window for an app in Games, for one device in its Per device panel, or for every app under Picture → Capture. The host finds the window among the programs the app started, or by a program name and title you set, and keeps its shape with black bars. Resizing, switching between windowed, borderless and fullscreen, DPI changes and moving the window to another monitor are followed.
- Input lands on the window. Mouse, touch and pen positions map onto the streamed window, wherever it is on the PC's screen.
- Minimise and restore. While the window is minimised the stream shows the display and the device says why; restore it on the PC and the stream goes back to the window. A window that is still opening when the stream starts gets a moment to appear, so the stream starts on it. Before the window appears and for 5 seconds after it closes the stream shows the display; When the window closes can end the stream instead.
- Adapt to network congestion (All settings → Picture → Bitrate and network, off by default). With a client that reports when each video packet arrived, such as Nightjar 5.2.0, the host watches for a queue building on the network: it lowers the bitrate to just under what arrived, paces video at the network's rate and raises the bitrate again when the delay settles. It works together with Lower the bitrate when the link cannot carry it; the lower bitrate wins. The host log shows each change, and the
stream timingsline and the end of the stream report the queueing delay and the cuts. - A device's connect and disconnect commands (Devices, a device, Commands) that the host could not run are now refused when you save them, with the reason, instead of being skipped at every stream. The configuration guide now explains when each kind of command runs: preparation, pause and resume, device connect and disconnect, PC commands, detached commands and webhooks.
- A switch for stream traffic priority. Network, Streams, Prioritize stream traffic (DSCP), on by default, marks video and audio for devices on the local network as before. Turn it off if sound crackles or the picture stutters with one router: some consumer routers drop or delay marked packets.
- Compute conversion comes back after a graphics driver reset. After the graphics card reset during a stream, the stream went on converting colour on the graphics queue for the rest of the session, where a busy game can delay frames. The host now waits briefly for a working compute device and goes back to compute conversion, and a reset no longer counts towards turning compute conversion off for the session.
- On AMD, an encoder that is shut down (at the end of a stream, or when it is rebuilt) first finishes the frames it still had, as AMF expects, for at most 100 ms.
- Play over the internet without port forwarding. New setting Play over the internet (Settings → Network, off by default): Nightjar devices reach this PC from outside your network over a direct path both sides punch through their routers, also behind carrier-grade NAT. The PC and each paired device find each other on the public BitTorrent DHT with records encrypted with keys only they hold; no server of ours is involved. A device learns the way once while it is on the PC's network. Play over the internet
- Automatic port forwarding with more routers. The
upnpsetting, now Automatic port forwarding (off by default), also asks routers through PCP and NAT-PMP, opens the streaming ports in the router's IPv6 firewall through UPnP or PCP, renews the mappings and removes them when the host stops. Stock Moonlight reaches a forwarded port at the PC's public address, which serverinfo now reports asExternalIP. - Internet status in Settings → Network shows what the router mapped, each port it refused and why, the public address, the router type, and a note when the internet provider shares one address among customers (carrier-grade NAT).
- A warning for unencrypted internet streams. With Internet encryption on its default, When the device supports it, a device outside your network that cannot encrypt still streams, and the console now warns that its stream crosses the internet unencrypted. Required turns such devices away, and its refusal now says how to fix it. Tailscale counts as your local network.
- Pairing requests from the internet say so. The tray notice and the console's pairing request say when a device asks from outside your network, and ask you to enter its PIN only if you expect it.
- Lock Windows when the last device leaves. A new setting under This PC, Privacy, off by default, locks the PC 10 seconds after the last device stops streaming, so it is not left signed in. It never locks during a stream, waits for a device that moves the stream or reconnects, and the next stream unlocks the PC from the lock screen.
- Play together from your own devices. Turn it on with When another device joins the running game (Settings → Games → Play together, off by default): with Ask the player or Let in without asking, a second paired device that joins the game another device plays becomes its guest, with the same picture and sound on its own stream. Nightjar's Join and a Moonlight client starting the running app both work. While it is off, your own devices join or resume the running game without asking, as before.
- You decide who joins. With Ask the player the player lets each guest in, from Nightjar or the console's Home, within 45 seconds. What a guest may do sets View only, Controller (the default: its own controller as the next player) or Controller, keyboard and mouse. A view-only guest gets no controller, keyboard, mouse or clipboard on the PC. The player can change a guest's permission during the game, kick it, block it for the rest of the game, or let it in for an hour or a day.
- One keyboard and mouse at a time. A guest with keyboard and mouse takes them when nobody else used them for two seconds; the player, or someone at the PC using its own mouse or keyboard, takes them back at once.
- The player's own stream is unchanged: each guest gets its own encoder on the same capture, at its own size, codec and bitrate.
- RTX HDR and RTX Video enhancement on GeForce RTX. Where a release lists it, a separate NVIDIA download,
rubylight-nvidia-setup-<version>.exe, adds two image enhancements that run on the PC's graphics card before encoding; the regular installer does not include them. RTX HDR turns an SDR game into HDR for a device that streams in HDR, while the PC's display stays in SDR. RTX Video enhancement cleans up and sharpens the picture at the stream's own size, with a strength from 0 to 100. Both are off until an app or the host turns them on; each app has its own switches and values on its page in Games, and Nightjar can turn either on or off for one PC. The NVIDIA download is not code-signed, and it updates only to the next NVIDIA build. - Full chroma for Nightjar is on by default. Nightjar's Sharper colored text now works without a second switch on the PC. The host only offers full chroma; a stream uses it only when its device asks, so other devices and stock Moonlight are unaffected. A PC where you turned it off keeps it off.
- Hardware metrics are on by default. A paired device's overlay can show the PC's CPU and GPU readings during its stream. The host reads them only while a device asks for them. A PC where you turned it off keeps it off.
- Back up and restore settings. Advanced, Troubleshoot, Settings backup saves the settings, apps, covers, each device's own settings, game settings files and webhooks as one file, and restores such a file on this PC or another one. The tray's Back up settings saves one to Documents\Rubylight, and Restore settings opens the panel.
- Secrets only when you choose. Include pairing identity and sign-in adds this PC's pairing certificate, the paired devices, the console sign-in, API tokens and webhook secrets, with a warning that anyone with the file can use them. Without it, a restore keeps this PC's own.
- A restore you can check. The host checks the file first and lists what changes, saves the current settings as a backup of its own, then restarts and applies it. A failed restore keeps the previous settings and says why in the console.
- Switch 2 Pro Controller. With usbip-win2 installed, a Nightjar client's Switch 2 Pro Controller appears on the PC as a Switch 2 Pro Controller, the same USB device a real one is: the C button, both grip buttons, both sticks, gyro and accelerometer, battery and rumble. Other controllers keep their pad. Switch 2 Pro (USB/IP) under Controller type gives every controller one. Without usbip-win2 the controller arrives as a Switch Pro and the console says why.
- Motion server for emulators (off by default). Turn on Motion server for emulators (DSU) under Controllers, and Cemu, Dolphin, Citra and other emulators read each streamed controller's gyroscope, accelerometer, buttons and touch from UDP port 26760. It listens on every network interface without a password; the Windows Firewall keeps other devices out unless you allow the port.
- A mouse games read like a real one. With the optional USB audio and haptics driver installed, the PC's mouse is a virtual USB mouse polled every millisecond, with fine wheel steps and horizontal scroll, instead of Windows input injection, which some games and anti-cheat ignore. All settings › Sound & controls › Mouse input method (
mouse_mode): Automatic (the default: the virtual mouse when the driver is installed), Virtual mouse or Injection, also per game and per device. Without the driver, mouse input is injected as before, and the stream says why when Virtual mouse was chosen. Measured on the RX 7900 XT from a move reaching the host to the game's input: about 0.25 ms at the median for the virtual mouse against 0.19 ms for injection, and about the same at p95. - Touchpad gestures from devices. A tablet's keyboard-cover touchpad or a laptop's touchpad in Nightjar reaches Windows as a precision touchpad, so two-finger scroll, three- and four-finger gestures and Windows' touchpad settings work (
native_touchpad, on by default, with the same driver). input_latency_probeshows whether a game sees the mouse as injected and how long a move takes to reach it (Virtual mouse and touchpad).- Settings say what they cost. The console's settings, app options and device options now say what a change gives you, what it costs (delay, picture quality, network use or load on the PC) and when to change it, so a setting you don't know tells you whether to leave it alone. Technical terms such as VRR, HDR and bitrate stay, lesser-known ones are explained in a few words, and the full technical detail remains under "More". No setting, value or default changed.
- Several texts that described a setting wrongly are corrected, among them the Playnite sync, USB forwarding, play over the internet, the encryption modes and the AMD low-latency mode.
Tested. On the RX 7900 XT, window capture started on the app's window in 40 of 40 streams (30 resumed, 10 on a fresh host) with one encoder each, and 200 minimise and restore actions over 5 streams switched between the window and the display in place, with no frame gap over 35 ms and no graphics driver reset. Play together ran with a Retroid Pocket 6 as the player and a Windows laptop, a Linux PC and stock Moonlight as guests: ask, let in, deny, no answer, view only, controller, kick, block and the console's approve; with a guest on the same Wi-Fi the player's end-to-end latency rose by 0.3 ms at p95. A Windows laptop streamed alone at 1080p60 in HEVC (59.8 fps) and AV1 (60.0 fps). The virtual mouse was checked with a scripted Nightjar client: fine horizontal scroll, the top left corner, two-finger scroll on the touchpad, and its first moves after it is plugged in reaching raw input 4.6 to 4.8 ms after they arrive; from a move reaching the host to raw input, 0.25 ms at the median against 0.19 ms with injection, and level at p95. A Switch 2 Pro Controller reached the PC with all 21 buttons, both sticks, motion and rumble, and the motion server sent 202 packets a second to a DSU client. Adapt to network congestion was compared on the Retroid over three pairs of 40-second runs with 930 Mb/s of other traffic on the same access point: no worse on any figure, with gains inside the run-to-run spread, so it stays off. Play over the internet found the PC's public address through this router, published its record and was found by a device-side client; automatic port forwarding created its router mappings and removed them when the host stopped. AMD Direct Capture started on the RX 7900 XT, and Hardware color conversion was compared with the default conversion on the RX 7900 XT and the Radeon 780M. RTX HDR and RTX Video enhancement were built and unit-tested. The host's 5,392 tests, Nightjar's protocol and desktop tests on Windows (3,258) and Linux (2,746), the console's 462 checks and the release tools' tests pass.
New in 4.1.0 #
- Frame Warp follows a turn all over the picture. In a 3D game a camera turn moves the edges of the picture further than its middle. The host now learns the game's field of view from your turns and Nightjar turns the picture the way the camera does. Measured on the RX 7900 XT with a test game at 90 degrees: Frame Warp removes 96.0% of a turn's displacement at the centre (4.0.0: 84.2%), 91.8% over the whole picture (73.6%) and 90.8% at its edge (65.4%); at 70 degrees 93.0% at the edge, at 110 degrees 86.3%. From about 7 seconds of turning on, the learned field of view stayed within 3.5 degrees of the game's (86.6 to 88.9 for 90, 67.8 to 69.3 for 70, 107.6 for 110). Needs Nightjar 5.1.0.
- The motion measurement leaves out everything that stays put on the screen while the picture moves (minimaps, bars, a HUD's rim), not only the HUD the client holds still. Such pieces held the learned turn back near the picture's corners.
- Nightjar 5.0 keeps sliding the picture and now gets the turn of the picture's centre: 96.2% removed at the centre in the same test (4.0.0: 84.2%), 58.5% at the edge (65.4%).
- A turn left or right while the camera looks far up or down also rolls the picture, which Frame Warp does not follow: at about 7 degrees of pitch that is most of what is left at the picture's edge.
- Games that move alike everywhere (maps, side-scrollers) get no lens and behave as before: 96.4% removed in the same test.
- Setup's refusal no longer names Rubylight 3.0. On a PC it cannot run on, setup says "This PC cannot run Rubylight"; the troubleshooting heading and Log analysis's link to it dropped the version too.
- Keep virtual speakers while paused. A new setting under Audio, Virtual speakers, off by default: when a device disconnects and its game keeps running, the virtual speakers stay the Windows default device, so the PC's own speakers stay silent. Your own device comes back when the game stops or with End session, and a device that reconnects takes the held route up again (issue #93).
- PyroWave no longer drops out after some host starts. On some PCs, the check that decides whether PyroWave is offered failed on about half of the host starts, and PyroWave then stayed off until the next restart. The check now ends without closing the encoders it tested, so a fault while closing them can no longer fail it, and a failed check runs up to two more times. When it still fails, the log shows how the check ended (issue #94).
- The Games page's Steam switch stays off. Turning Steam off under Where your games come from on the Games page now stays off after a reload or a save, matching the Steam library setting, and Add games no longer lists Steam games while it is off.
- Port forwarding removes all its router mappings even when the router refuses one.
- The host log no longer loses its older files when a program holds butterpollo.log open.
- Searching the log no longer freezes the page. A short search marked every match in all 5000 lines at once, tens of thousands of them, on every typed character. The console now marks the matches around the lines in view; the count and Next/Previous still cover the whole log. Measured in Chrome with 5000 lines: one typed character held the page for 1.5 s before and 0.2 s now.
Tested. Frame Warp was measured in loopback on the RX 7900 XT at 2560x1440, H.264 at 60 fps, 60 seconds a run, with a test game drawn through a camera of 70, 90 and 110 degrees and nightjar-cli logging the shift of every picture; Performance has the runs. The host's motion measurement takes 1.6 ms for each compared picture on its own thread (0.5 ms in 4.0.2), off the frame's path. The lens has not been run on a real game or judged on a client's screen, and Nightjar's lens shaders for Android, macOS and Linux were compiled and unit-tested, not watched on a device. Keep virtual speakers while paused is covered by unit tests of how long the host holds the audio route (the setting off and on, the game stopped, End session, a stream sharing the route); it was not run with real audio devices. The PyroWave check's retries, the Games page's Steam switch and the log rotation are covered by unit tests. The log search was timed in Chrome with 5000 lines.
New in 4.0.2 #
- Game settings per device go back as soon as the game closes. A game that had exited could still count as running while another program, such as Steam or Playnite, held on to it. Its settings files then stayed in place, the console warned that they were not back yet, and starting the game again was refused until they were (issue #82).
- Keep monitors off while paused now lasts as long as the display is kept. With an exclusive layout, the monitors came back on a few seconds after a device disconnected, whatever Keep a disconnected display for said (issue #92). With Keep monitors off while paused on and Restore displays on disconnect off, they now stay off for that time, or until the app closes. The restore hotkey still brings them back at any time.
- Steam no longer offers a firmware update for the emulated Steam Controller. With the Steam Controller pad type on a device that has no real Steam Controller, Steam saw older firmware than it ships, offered an update that cannot reach a virtual controller, and kept the notice after it failed (issue #90). The virtual controller now reports firmware Steam does not offer to update. A device with a real Steam Controller still reports that controller's own firmware.
Tested. A unit test ends a process while its handle stays open and checks that the host no longer counts it as running. The restore delays are covered for each combination of the paused-display settings. The Steam Controller's firmware request is checked byte for byte against the driver's layout. Steam's firmware prompt and the reporters' monitors were not reproduced here.
New in 4.0.1 #
- A stream Windows refused the display layout to now tries again by itself. The first stream after the PC sat idle could fail with "cannot activate the saved displays … Access is denied" while the next one started (issue #89). The host now waits two seconds and prepares the display once more, and the log names the desktop that had input at that moment.
- Firefox: page changes in the console no longer shrink and jump back. Switching pages fades the window behind the sidebar, which Firefox draws at full size; before, it drew the page as a cut-off slice that shrank and then snapped back.
- Settings that run on NVIDIA no longer say AMD. Copy and convert on a compute queue and GPU fence transport describe what they do on Radeon and NVIDIA graphics cards, and the PyroWave and couch-menu messages no longer name AMD or Radeon.
Tested. In Firefox 160 the page change's before and after pictures are now both the window's size (1440x814, the sidebar 247x814) where they were 915 and 836 px slices of a 1328 px page; Chrome still crossfades with the sidebar in place. The retry is covered by a unit test of the refusal it recognises; the idle state that made Windows refuse the layout on the reporter's PC was not reproduced here.
New in 4.0.0 #
Rubylight 4.0.0 is a major release for Radeon and NVIDIA graphics. It covers everything since 3.0.0, from 3.0.1 to 3.11.10 and the changes since. It brings Frame Warp, which shows a camera turn on the next refresh of a Nightjar device, a console built around one settings layout, NVIDIA graphics cards with native YUV 4:4:4 and their driver settings, and new ways to play together: guests in the browser, a second screen on one device, and a running game that moves between devices. Moonlight clients keep working, and features that need the client's support go to clients that ask for them. Nightjar 5.0 is the matching client.
Highlights #
- Frame Warp: camera turns on the next refresh. With Frame Warp on in Nightjar, a mouse or right-stick turn shows on the device's next screen refresh, and the game's HUD stays in place. Rubylight learns each game while you play. In our test it removed 96% of the picture's distance from where the mouse said it should be.
- A console that leads with what matters. Home opens on pairing for a new PC, lists what needs attention with a button that fixes it, and shows the game you play. All settings sits in six tabs, and Ctrl+K finds any game, device, setting or action.
- Built for Radeon and NVIDIA. NVIDIA graphics cards stream with NVENC again: H.264, HEVC and AV1, HDR, native YUV 4:4:4, and NVIDIA's driver settings from the console and Nightjar.
- Play together in more ways. Friends watch or play along in their browser, a device with two screens shows a second PC screen, and a running game moves to another device in one press or plays on both.
- Play from a browser. A TV, console or car browser pairs once and plays with no app, and Firefox streams too.
- Every launcher works like Steam. Epic Games, Battle.net, Microsoft Store and Xbox, EA app, Ubisoft Connect, GOG and your game folders each sync on their own terms, and each device can keep its own game settings.
- The PC from the couch. A paired device approves a new one, restarts, shuts down or updates the PC, and serves as the PC's microphone with no stream.
- Frames leave sooner. 4K frames go out slice by slice, large frames start leaving before the whole frame is ready, and streams stay timed to the device's refresh after the PC was busy.
Picture and encoding #
- Frame Warp: camera turns on the next refresh. For a Nightjar client that turns Frame Warp on, Rubylight learns each game while you play (how far the picture moves per mouse count and per second of right stick, how long the game takes to show an input, and where its HUD is) and tags every frame with the input it shows, so Nightjar shifts each picture by the turn the game has not drawn yet and leaves the HUD in place. What a game taught it is kept for its next session. All settings › Picture › Frame pacing › Let devices use Frame Warp (
frame_warp, on by default) lets clients use it; nothing runs until a client asks. In our test it removed 96% of the picture's distance from where the mouse said it should be, and its GPU passes take 0.14 to 0.16 ms a frame (median) from 1080p to 4K. - 4K streams arrive sooner. H.264 and HEVC streams with 4K-size pictures (3840x2160, 4096x2160, 5120x1440) send each frame slice by slice while the encoder finishes the rest, with no client change. Smaller pictures still go out whole, because there it measured no gain.
video_slice_delivery = offturns it off, and2or4turn it on for every size. - Large frames start leaving sooner. An idle sender gets each error-correction block of an H.264, HEVC or AV1 frame as soon as it is built instead of waiting for the whole frame, and PyroWave frames go out that way too. Frames that fit one block don't change.
video_send_early_blocks(on by default) turns it off. - Keyframes leave sooner. H.264 keyframes no longer have the whole picture scanned one byte at a time to adjust their header, and HEVC pictures whose header Rubylight rewrites reuse the host's pooled frame buffers.
- Streams stay timed to your screen after the PC was busy. With Nightjar, the host times frames to arrive just before the device's screen refreshes (phase lock). After a build or a loading game, the phase lock could lose that refresh until the stream restarted. The host now notices and finds it again within a few seconds.
- Games running faster than the stream reach the screen in time. A game at 120 fps streamed at 60 fps no longer ends up with most frames just missing the refresh and waiting a whole extra one.
- Games capped at the stream's frame rate no longer wait on the host. A game held to the stream rate by RTSS or its own limiter now has its frames go out as they arrive; the log says "phase lock stands aside" when this happens. All settings › Picture › Frame pacing › Hold capped games for the device's refresh brings the hold back.
- Steadier fixed-rate streams beside other windows. When a game runs at two to four times the stream rate, the host follows the game's own frame timing, so another window's updates no longer take the place of the game's frames.
- Fixed-rate pacing no longer claims a frame up to 1 ms late. With
frame_pacing = gridthe host stopped waiting in an encoder output query close to its tick. - Frame timing keeps working after a refresh change. On Windows Graphics Capture, a game or Windows changing the display's refresh during a stream no longer leaves the host timing frames against the old refresh.
- The Radeon encoder runs at the driver's bitrate ceiling. A device that asks for more than the AMD driver's encoder accepts at that size and frame rate no longer gets "AMF error AMF_OUT_OF_RANGE". The encoder runs at the driver's own ceiling, and the stream's warnings and the host log say which rate it runs at. This applies to H.264, HEVC and AV1, and to bitrate changes during a stream.
- Full chroma on HEVC at 2560x1600 and other large sizes. The check before a full-chroma stream counted each of a large frame's four slices as a frame and refused the stream with "packed encoder failed to return frame 2". It now counts whole frames.
- Full chroma survives a start with Windows. When the host started before anyone signed in, its 4:4:4 check failed until the host restarted. The check now waits for the sign-in.
- Long-term references per device. Devices › Encoder overrides lets one device turn long-term reference frames off, for a decoder that freezes on them, while the others keep the host's setting.
- Steadier HDR metadata when a picture keeps jumping. HDR10+, HDR Vivid and Dolby Vision metadata still snaps to a new scene at once, but further jumps within a second glide over about 15 samples, so the display's tone mapping no longer moves several times a second.
- PyroWave does less work per frame. Large frames reuse their buffers instead of allocating megabytes per frame, pictures go from the encoder's output straight into network packets, and D3D11 full-chroma streams can convert 8- and 10-bit pictures on the GPU's compute queue.
- Overlap PyroWave frames. All settings › Picture › Codecs › Overlap PyroWave frames prepares the next PyroWave frame while the GPU still encodes the current one. It is off by default: at 4K and 120 fps it measured no lower latency.
- AMF output options, both off.
amd_output_predictionskips output queries the oldest frame can't answer yet, andamd_output_threadcollects AMF output on a thread of its own. Under GPU load prediction gave no consistent gain; the thread cut picture age p99 by 2.5 to 9 ms but made the typical frame 0.8 to 1.7 ms later at 1440p120 and used more CPU. - Less work per frame and per packet. The host keeps colour conversion views between frames, waits instead of spinning while the Radeon encoder's input is full, reuses buffers for HDR metadata and packets, watches the presents of the processes it streams, and looks a frame's present time up directly. The network and display checks run on their own threads instead of in the frame path.
- AMD encoding builds against AMF 1.5.3, which corrects how the host queries the driver's bitrate and long-term reference limits.
Network and bitrate #
- Automatic error correction keeps a floor. Nightjar's Automatic error correction keeps at least 10 % recovery data. Before, it dropped to none after one clean second, and on real Wi-Fi any lost packet then cost a frame and a keyframe. The PC's setting stays the default.
- PyroWave on constrained links. The host lowers the video bitrate when frames are lost while sending, alongside the losses the client reports. It also bounds bursts on routes without client bandwidth hints and paces recovery after congestion.
- Faster error correction on newer processors. On CPUs with GFNI (AMD Zen 4 and newer, Intel Ice Lake and newer) the host computes error correction with it, with the same bytes.
fec_gfni(on by default). - Error correction finishes each packet in larger steps. The last bytes of each packet go 16 and 8 bytes at a time instead of one by one.
- Room for very high bitrates. Above about 840 Mbps of pacing, the host's video socket buffer grows with the pace to hold 10 ms of traffic, up to 8 MB, instead of a fixed 1 MB. Lower bitrates keep the 1 MB buffer.
pacing_follow_client_link(off by default) lifts the 800 Mbps ceiling of H.264, HEVC and AV1 on a wired route when the device reports its own link: the ceiling becomes 80 % of the slower of the two links.- WebRTC streams hand each frame to the network 2.2-2.7x faster, with 5-12% less host CPU. Rubylight writes each run of equal-sized packets to Windows in one call instead of one call per packet. This covers browsers and Samsung TVs.
- IPv4 clients with
address_family = bothnow count IPv4 headers in every send budget and batch size.
Audio #
- The streamed microphone sounds like itself. Steam Streaming Microphone passes what the host plays straight to its recording side, and with its default formats a voice reached games and chat apps pitched down to less than half and chopped up. The host now gives the playing side the recording side's format before it plays. If the format can't be set, the session shows a warning.
- The streamed microphone no longer clips into noise. While a client's microphone plays, Rubylight keeps Windows' recording slider for Steam Streaming Microphone at 0 dB or lower, so the level set in Nightjar is the level apps hear. A lower level stays as you set it.
- A late microphone packet no longer breaks the voice off. When packets arrive in bursts, the gap is filled with the Opus decoder's concealment, faded out past 40 ms and crossfaded back into the voice. The delay stays the same.
- Microphones that send in bursts no longer drop in chunks. The host learns how far apart packets keep arriving and holds up to twice that (at most 150 ms). A steady device keeps the delay it had.
- The PC's microphone, with no stream. A Nightjar device can be the PC's microphone with no stream. It needs Launch apps, takes no input, starts no app and leaves the PC's sound on the PC.
- Sound comes back after a late audio ping. A stream whose client's audio ping missed the opening 10 seconds stayed silent until you reconnected. The host now keeps waiting, shows a warning while the ping is missing, and sends sound as soon as it arrives.
- AC3 and E-AC3 audio passthrough uses FFmpeg 8.1.3.
- The host log names Steam Streaming Microphone's playback and recording formats each time a client's microphone starts, and
microphone stoppedcounts underruns and concealment.
Play together #
- Share your browser stream with friends. While you stream on the console's Stream page, Guests → Invite makes a link for up to four guests: view, controller, or controller with keyboard and mouse, lasting 1 hour, 24 hours or a time you pick (5 minutes to 7 days). Guests open it in their browser, type a name and see and hear your stream; no app, account or pairing. The list shows who watches, with Kick, and every link, with Revoke.
- One encode for every guest. The PC encodes once and each guest gets the same frames over its own connection, so a guest on a slow link drops frames alone. With UPnP and the WebRTC server on, the PC asks the router to forward the guest page and one media port per guest, and removes them when the host stops.
- Guests are safe by default. The link's token travels after
#and the host keeps just its hash, wrong links are rate-limited per address, a guest's page reaches nothing of the console, and the host checks every guest input against the invite's permission. Guests see a certificate warning, so keep keyboard-and-mouse links for your own network or VPN. - Dual screen. Nightjar's Dual screen mode streams a second display to the same device next to the stream it already has, under the pairing it already has. Each screen keeps its own resolution, scale, bitrate changes, clipboard and statistics, and the host puts the two virtual displays back where you left them the last time. With a game running, the second screen gets a virtual display of its own beside the game's; on a PC that streams its own monitors, it streams the PC's other monitor.
- Continue here. A paired device with View and Launch takes the running game's stream from another device in one press: the other device's stream ends, the game keeps running and that device is told where its stream went. A press that fails gives the game back to the device it came from, still running.
- Stream here too. A second device shares the display the game is on, scaled to the device, while the game's resolution, refresh, HDR and scale stay as they were.
- Background streams start the game, once. Rubylight's Nucleus Co-op profile now says "any processor", closes the box that a click made too early brings up, and presses Play itself, once, after the profile is loaded. Games get pads by slot, so no stream stalls on "Press a button on Player1's gamepad". A start that times out says where Nucleus Co-op stopped.
- Your controller reaches the background game. A background or co-op stream unplugs the controllers earlier sessions left plugged in, so the game reads yours. A game that refuses Nucleus Co-op's input hooks gets them in another way, takes the controller from the start, and gets its hooks back after false refusals.
- The game stays off your monitors, keyboard and mouse. Unreal Engine games start in a window at the stream's resolution, a game window loses its title bar, a game that keeps coming back to a monitor is put back for the whole stream, and the PC's keyboard and mouse stay out of the game, DirectInput games included. One click elsewhere on the PC frees the mouse from a game that refused the hooks.
- The game's sound stays off the PC. In background mode, with the stream carrying the game's sound alone, the game plays on a virtual playback device nobody hears while the client still gets it, moved once the game opens its sound, and goes back to its own device when the game closes. A device's "play audio on the PC" no longer brings a background stream's game sound to the PC.
- The PC says when a device starts a background or co-op stream. A Windows notification names the device and the game, once per stream.
- A game that replaces its window as the stream starts keeps the stream. The capture gives up on a closed or hidden window at once and opens the new one, and a capture that waited the whole five seconds gets another try when the game has opened a new window.
- Epic games in background streams. A game the Epic Games Launcher installed starts with the arguments that say which game it is, without its sign-in, so it shouldn't restart through the launcher on the PC's monitor.
- Quitting a background game ends it, also after the stream itself already ended, and a background stream whose game window doesn't come back ends with the reason after 90 seconds.
- One stuck file no longer blocks every background stream. Rubylight checks your copy of Nucleus Co-op before each start and makes a fresh one when a file is stuck. Game and Nucleus Co-op settings an earlier session changed always come back.
- A Nucleus Co-op stream of a game that waits on a "Mandatory ASLR" box ends with the reason and says how to turn the Windows setting off for that game.
- A Moonlight stream that joins another device's game from the Resume or Running Game tile no longer ends that game.
Games and library #
- Every launcher works like Steam. Epic Games, Battle.net, Microsoft Store and Xbox, EA app, Ubisoft Connect, GOG and your game folders each have their own options under All settings › Games: sync automatically, remove games you uninstall, and games to leave out. Battle.net can also keep just the games you played recently, as Steam can. Your earlier shared choices carry over to every launcher.
- Sync now always works. Turning off a launcher's automatic sync stops the background check alone; Sync now still adds its games, as with Steam.
- Epic box art. Epic games get their box art from the Epic Games launcher's own files. A cover you chose is never replaced.
- Clearer game pages. A synced game's page says which launcher starts it, saving it confirms with a short message instead of a banner, and a launcher that isn't installed shows a switch you can't turn on.
- Remove several games at once, and bring them back. Select on the Games page puts a checkbox on every cover; removed games stay out of your library, and Restore removed games brings back the ones still installed.
- Game settings per device. List a game's own settings files in its app, and each device keeps its own copy: the TV its 4K settings, the handheld its 1080p ones. The PC's own files come back when the game closes, and the last three are kept as backups.
- Collections without setup. Each library entry names its Steam collections and Playnite categories, so Nightjar can group Home by them. Steam's files are read, never written.
- Steam installs show up sooner. With auto sync on, an install or removal reaches Nightjar in about a minute instead of up to 5 minutes. Library scans run at background priority, Steam's app list is read again after Steam changed it, and a game the store has no cover for is asked about less often.
- One exit timeout for every app. All settings › Games › App behavior › Exit timeout sets how long the host waits for an app to close before ending it, 10 seconds unless changed. An app's own exit timeout still wins.
- Wait after a game closes. All settings › Games › Playnite › Wait after a game closes sets how long a Playnite game must stay closed before its stream ends, 15 seconds unless changed. A game started through Playnite no longer ends with a false "game not detected" warning.
- The library tells clients when each game was last played, from Steam and Playnite, and a game without a cover of its own has none, so Nightjar shows its title.
- Xbox PC games that start through
GameLaunchHelper.exe, and configs saved as UTF-16, show up in Add games. - Pause and resume commands start without waiting, so a script that keeps running while the game is paused no longer holds back the resume.
- Listing the running programs takes a third of the time: the host reads the process list in one call and opens a program once.
Displays #
- An extended stream no longer changes your monitor after an exclusive one. The end of an exclusive stream no longer saves a Windows layout that puts your monitor at 60 Hz with the virtual display as main. A stale entry is put back when it shows up.
- A stream going on keeps its layout when another display leaves. Monitors that were off stay off, and a game the leaving display minimised comes back.
- Monitors no longer stay dark after a shared session. A layout is saved while a virtual display it was made for is still there, and never under your own monitors' entry.
- A sleeping monitor no longer leaves a TV on alone when an exclusive stream ends. The virtual display stays in the background until the monitor is back, then your layout is put back. Nothing waits for that, and a new stream starts right away.
- A monitor that keeps reconnecting no longer blanks the stream. After the same monitor comes back three times within five minutes, the host leaves it on for the rest of the stream and says so on the stream card.
- A browser on the PC itself keeps its monitors on. The
exclusivelayout, andensure_only_displayon a physical display, run asextended_primaryfor such a stream. - A resolution switch the encoder refuses puts the display, the co-op window and the bitrate back to the mode the stream keeps, and a second stream that joins a device's display leaves that display with the device it belongs to.
- The permanent virtual display count (
dd_virtual_display_permanent_count), which nothing has read since permanent virtual displays were removed, is dropped from saved settings.
Devices and input #
- Play from a TV, console or car browser, with no app. With the WebRTC server on, open
https://<PC address>:47991/playon the local network or Tailscale, pair once with the PIN the page shows, then pick a game with the remote, the arrow keys or a controller and play full screen. Hold Back or Select for a second for Disconnect and Quit game. - Stream in the browser picks the codec, resolution and frame rate. The Stream page offers AV1, HEVC and H.264 at every resolution and frame rate the host's encoder takes, limited to what the browser can receive, and remembers your choice.
- Firefox streams in the browser, also on the PC itself at
127.0.0.1orlocalhost, and opens invite links and consoles from another Rubylight PC. - Browser streams say why they can't connect. The page says whether the browser never tried, the PC didn't answer at this address and UDP port, or the encrypted connection failed, each with its fix.
- No green rows under AV1 in the browser. The Play, Stream and guest pages leave out the rows the AMD encoder pads 1080p AV1 with, and the pointer maps to the picture without them.
- Approve a new device from a paired one. A device with the new Approve new devices permission sees who waits to pair and enters the PIN the new device shows. The new device gets Play, never more than the approver holds, and every approval raises a toast, a log line and the
pairing.pairedwebhook. - Restart and shut down the PC from Nightjar. A new per-device permission, "Restart and shut down PC", off by default, lets a device restart or shut down the PC while nothing runs on it. Each request needs a fresh confirmation, and apps with unsaved work are never forced closed.
- Update the host from a client. A device with Host control can install the host's pending update. It is refused while another device streams, naming it, and never ends a stream another device starts afterwards.
- Steam Controller as a controller type. Games and Steam see a wired 2026 Steam Controller with both trackpads, back grips, grip and stick touch, motion and a battery. A client with a real Steam Controller that announces it also gets Steam's pad haptics and settings.
- Xbox 360 (ViGEmBus) controller type (
gamepad = vigem_x360), for remapping tools that look for USB controllers. It needs ViGEmBus installed separately; without it the stream says to install it. - A controller type per device. Devices → device → Controller sets the virtual controller for that device alone.
- Updated virtual gamepad driver (0.1.0.92). A virtual DualSense no longer shows up twice in Steam, the Switch Pro's gyro turns at the right speed with rumble and battery levels, DualShock 4 and DualSense motion timing follows the driver's clock, two fingers no longer merge into one touch, and pads survive sleep and resume more reliably.
- DualSense vibration stops when Steam stops it, with waveform haptics (usbip-win2 installed).
- Xbox 360 (ViGEmBus) rumble arrives at once and stops when the game stops it.
- Rumble no longer piles up. Each poll takes every report a virtual pad has waiting and forwards the newest. A DualSense or DualShock 4 keeps its lightbar and trigger effects.
- A pinch is one touch frame. All moving fingers of a pass reach Windows together, in one injection.
- Input comes before housekeeping. USB DualSense, Steam Deck and browser input threads run at input priority, and the control thread no longer waits on display lookups.
gamepad_feedback_fast_poll(off by default) polls the pads every 2 ms for 250 ms after a change, at about twice the gamepad thread's CPU.gamepad_driver_host_priority(off by default) runs the process that hosts the gamepad driver at high priority while a VHF pad is plugged in.absolute_left_release_delay(milliseconds, 10 by default) sets how long a left release waits after absolute mouse, touch or pen input, so a long press can right-click.- Wake-on-LAN with Hyper-V external switches. Physical network adapters whose IP bindings belong to a virtual switch now count when the host chooses the wake address it sends to Moonlight and Nightjar.
- Known issue: with the DualSense from the virtual gamepad driver (without usbip-win2), Steam's rumble stop can still be lost. Install usbip-win2 or choose DualShock 4 emulation.
Console and setup #
- Home leads with what matters. On a new PC it opens on a QR code and a PIN to pair a device. Once a device is paired it shows the game that is running or was played last, and while you stream, the stream's live frame rate and bitrate.
- Problems come with their fix. Home lists what needs attention, most important at the top, and its button does the fix: turn on waking this PC from a device, switch between a virtual display and a monitor, or allow pairing. Everything that is fine folds into one line.
- Pairing in one step. The QR code and the PIN sit side by side, the choice of what a device may do waits until a device is paired, and with pairing off the QR code stays in place behind one Allow pairing button. When a device pairs, Home greets it by name.
- Settings you can find. All settings has six tabs (This PC, Picture, Sound & controls, Games, Network, Advanced), and a section bar follows you down long pages. The Settings home keeps the few things most people change, with waking this PC as one switch. Intervals, timeouts, sizes and resolutions are menus with a Custom option instead of raw seconds and milliseconds. Every setting keeps its key, and old links still open the right place.
- Help that helps. Help holds connection help, what the log says and the support bundle. Restarting Rubylight, display recovery, the Windows session, Nucleus Co-op's status and crash reports moved to Advanced › Troubleshoot.
- Search everything with Ctrl+K. Games, devices, settings and actions such as Pair a device, Sync games now or Restart Rubylight, from any page.
- Calmer and smoother. One style for every fold, an (i) beside a setting for its finer points, and pages that fade into each other while a game's cover grows into its page, unless the system asks for reduced motion.
- The console says when an encoder setting slows the stream. An AMD setting changed to a value that adds delay or weakens recovery says what it costs under its menu, and Settings lists every such setting you changed. The numbers are our RX 7900 XT measurements.
- Pairing from the tray and the phone. The pairing toast opens the Devices page with the PIN field focused, the tray has a Pair a device item, and Open in Nightjar next to Copy pairing link pairs a console opened on a phone in one click.
- Clients learn why a stream failed. A stream that ends on an encoder error tells Moonlight it was the encoder, and Nightjar shows the host's own words. A stream larger than the encoder takes, or an encoder setting that doesn't fit the PC, ends with the limit or the fix.
- The host's warnings on Home. Settings replaced after a move from another host, missing codecs and a Windows Firewall rule that blocks Rubylight show on Home with Dismiss.
- The Wake-on-LAN check reads the adapter again, and offers the fix when the adapter's wake settings are off.
- Turning on browser streaming is one button on the Stream page.
NVIDIA #
- NVIDIA graphics cards stream again. Rubylight encodes with NVENC on NVIDIA graphics cards: H.264, HEVC, and AV1 where the card's encoder offers it, with HDR, HDR10+, HDR Vivid and Dolby Vision. With the encoder set to Automatic, the host picks NVENC or AMF from the graphics card that captures. Intel graphics stay on Rubylight 2.6.x.
- Native YUV 4:4:4 on NVIDIA GPUs. A device with its YUV 4:4:4 option on gets full color detail in H.264 (8-bit) and HEVC (8-bit and 10-bit, SDR and HDR) from an NVIDIA GPU whose video encoder reports 4:4:4 support. At startup the host encodes a test picture in each 4:4:4 mode and offers the ones that work, and the console's host readiness lists them. AV1 4:4:4 is not available on NVIDIA; choose HEVC for 4:4:4. A device that asks for a mode the host did not offer gets an error naming the reason. AMD GPUs keep 4:4:4 through PyroWave or Full chroma.
- NVIDIA driver settings from the console and Nightjar. On a host that streams with an NVIDIA GPU, the graphics settings panel (Nightjar's stream menu and the game page in the console) controls NVIDIA's Low Latency Mode, Max frame rate, Vertical sync, Power management mode, Texture filtering quality, Anisotropic filtering and Smooth Motion (driver 571.86 or newer). As with Radeon settings, the host records the PC's own values before it changes them and puts them back when the session ends, after a crash too. A value the panel can't put back exactly, such as one set with a profile editor, is shown and left alone.
- Game presets work on NVIDIA. Competitive sets Low Latency Mode to Ultra, Smoothness caps the frame rate at the stream's, and Quality sets 16x anisotropic filtering with high-quality texture filtering. On Radeon the presets set what they did before.
- NVENC peak bitrate. All settings › Picture › NVIDIA NVENC › Peak bitrate sets how far variable bitrate may go above the stream bitrate, from 1× to 3×. 1.5× stays the default.
- NVIDIA Reflex is back as an RTSS limit mode. All settings › Picture › RTSS › RTSS limit mode offers NVIDIA Reflex again, and a host that streams with an NVIDIA GPU uses it on its own for virtual-display streams and frame-generation games. On other GPUs a chosen Reflex mode limits with front edge sync and says so in the log. A setting saved as Reflex is no longer changed to Asynchronous at startup.
- Full GPU clocks while streaming. The host sets NVIDIA's power management to "Prefer maximum performance" for itself, in a driver profile named Rubylight that covers the host alone. An idle host uses no GPU. All settings › Picture › NVIDIA NVENC › Full GPU clocks while streaming (
nvenc_latency_over_power) keeps the driver's own power management. - Loading screens no longer restart the encoder. NVENC waits as AMF does: the stream restarts a silent encoder after 250 ms, and waits up to 2 s if it stays silent.
- Bitrate changes apply in place. On drivers that change the bitrate in place, a higher bitrate from adaptive bitrate or error correction applies at once instead of waiting for the frames in flight and sending a keyframe.
- A clear message when the encoder sessions are taken. When another app holds the GPU's encoder sessions, the stream says so, and the startup check no longer opens a second session.
- Realtime GPU priority. On NVIDIA the host runs at realtime GPU priority with hardware-accelerated GPU scheduling on, unless you turn off Realtime GPU priority with hardware scheduling (
nvenc_realtime_hags). - NVENC encodes from the compute-queue colour conversion on a D3D12 session (driver 522.25 or newer), keeps frames within the same frame cap as AMF, encodes an oversize scene cut again as a keyframe, and with slice delivery on sends a large picture's slices as they finish. AV1 starts on drivers from 522.25.
- NVIDIA streams wake as NVENC finishes a frame (
nvenc_output_event, on by default), and a recovery frame after packet loss waits on the encoder's completion signal. - Texts on the console, in Help and in warnings fit both kinds of GPU, so an NVIDIA PC no longer reads about AMD drivers.
For client authors #
- Frame Warp control messages. Control messages
0x5543(request, client to host),0x5544(model),0x5545(tags) and0x5546(HUD mask), offered asFrameWarpVersionin serverinfo whileframe_warpis on. Control messages, Frame Warp. - Moving and sharing a game.
POST /session/continue-heretakes the running game's stream from another device;GET /sessionnames the device playing the running game;/resumelets a device join beside the owner and answers 409 when that would end another stream or names another game. - Power and updates.
GET /power,POST /power/restart,POST /power/shutdown,GET /updateandPOST /update/install, with the webhookspower.restart,power.shutdownandupdate.started. Native API. - Microphone sessions without a stream are listed as
session.mic_onlyin the native API. - Library data. Each library entry names its Steam collections and Playnite categories and when the game was last played.
- Input timings in the host log. The 5 s
stream timingsline addsinput_receive_to_injected_msandinput_passes, and agamepad timingsline every 5 s shows queue times, queue depth and feedback polls.
Install, updates and service #
- Choose the time of day Rubylight looks for updates. All settings › This PC › Updates › Update check time, for example 03:00. With Install updates automatically on, a new release installs after that check once nothing is streaming.
- Updates say whose stream they wait for. Updates names the device whose stream an Install now waits for and still offers to install without waiting.
- Try Rubylight beside the host you have. When setup finds another streaming host, it asks: replace it, which imports its settings and uninstalls it, or keep it and install alongside (
--side-by-sidefor a quiet install). Alongside, Rubylight gets its own service (RubylightService), its own ports (base 48589, or the next free range) and new settings, so devices pair again. - Setup no longer unpacks programs into ProgramData. Setup, updates and in-app downloads use a
.stagingfolder inside the Rubylight folder, which administrators alone can change, and remove it when they finish. - The service file stays the same while the service version is unchanged, so antivirus programs see a file they already know after an update. Every Rubylight executable names its company, copyright and original file name in its file properties.
- Fewer hidden PowerShell runs. The Wake-on-LAN check and fix, setup's network adapter list and driver removal ask Windows directly instead of starting PowerShell in the background.
- Rubylight no longer downloads Nucleus Co-op or reserves memory inside it. The game page and Help link to the Nucleus Co-op 2.4.2 release, and Rubylight checks the folder you choose before it keeps it. To find Nucleus Co-op's Play button, Rubylight asks Windows' accessibility interface instead.
- Controllers work again where the virtual gamepad device was removed. Setup and updates set the device up again when its driver is left in Windows without it.
- USB audio and haptics installs when Windows' PATH variable has a malformed entry. A launch whose controllers did not appear names the missing driver.
- Each host's certificate root has a name of its own, so Firefox on a PC with Rubylight shows the usual warning for another host's pages instead of refusing them.
- Setup finishes an interrupted permission repair, moves a leftover
C:\ProgramData\Butterpollothat your own account owns aside instead of stopping, and leaves your own copy of Nucleus Co-op alone on a reinstall. - If Rubylight 3.0 to 3.2.1 changed your encoder setting from NVENC to AMD AMF, set Encoder back to Automatic to stream from an NVIDIA card, and set the NVENC settings again.
- Setup elevating with a folder that ends in a backslash keeps the arguments after it, and removal deletes Rubylight's service when the registered path differs in case.
Fixes #
- A stream above 250 fps, a sound device with rear height speakers alone, a Playnite date with unusual characters, a deeply nested Steam file or a hand-written Lossless Scaling start delay no longer stop the host.
- Ending a game's leftover processes can no longer end an unrelated program that took over one of their process ids.
- A device that may view streams and nothing more can no longer start a Remote Monitor or Remote Input session.
- The text a host text field sends to the client's keyboard keeps its last character whole.
- A virtual controller the driver refuses to unplug keeps its slot until the session ends.
- The frame limiter no longer stays stuck after a stream when RTSS reports the restored cap in another form.
- A stream to a virtual display no longer logs a frame limiter warning when the limiter is off on purpose.
- A game's "Let Lossless Scaling start by itself" can follow the host setting, and an untouched game no longer turns it off.
- The library marks the game that runs, not every game with its name.
- Neural Rendering names what failed (install, removal or the check at launch) and keeps refreshing after it is switched.
- The console keeps the covers and icons it already loaded and asks the host whether they changed.
- The Games page no longer breaks when a launcher scan answers without a game list.
- The missing Windows HDR Calibration warning shows once per host start instead of at every stream.
- Full chroma's description no longer says "on AMD".
- With no stream, launch or game running, the host's housekeeping wakes when there is something to do instead of checking constantly.
Tested. On the RX 7900 XT PC with Windows 11 (build 26200) unless named:
- Frame Warp: with a test game that takes 50 ms to show a turn, streamed at 2560x1440 and 60 fps, the model locked 0.6 s after the stream's opening picture, and over two runs Frame Warp took the picture's distance from where the mouse said it should be from a median of 64.9 px to 1.4 and 2.2 px (p95 184.2 to 10.6 and 13.4 px), 96% of it removed. Its GPU passes take 0.14 to 0.16 ms a frame (median) from 1080p to 4K, and the time from present to send did not change. In Assassin's Creed Black Flag Resynced, streamed to a Retroid Pocket 6 and a Radeon 780M laptop, it learned the camera while turning and kept the HUD in place.
- Sending: at 4K60 HEVC, slice delivery got the picture to the client 1.2 to 1.3 ms sooner over loopback and 0.5 to 1.0 ms sooner paced as for a Wi-Fi client. At 4K60 with large frames, with early error-correction blocks a frame started leaving about 0.55 ms sooner on HEVC and AV1, and HEVC's end-to-end time fell 0.5 ms; PyroWave frames started leaving 0.13 ms sooner at 4K. At 2560x1440 and 120 fps with 16 recovery keyframes per run, an H.264 keyframe started leaving 0.04 ms sooner at the median and 0.06 ms sooner at p95 (0.45 to 0.41 ms, 0.51 to 0.45 ms).
- PyroWave: a 4K60 stream at 600 Mbps used 3.4 % of a core less than 3.9.0, and packetizing took 0.09 ms instead of 0.32 ms. At 3840x2160, 120 fps and 1.4 Gbps to a Radeon 780M laptop, two frames in flight measured no lower latency (median end to end 15.4 ms either way, host processing 2.5 ms).
- Error correction: GFNI made packetizing large frames 2 to 4 % faster on a Ryzen 7 8845HS, with the same bytes; finishing each packet 16 and 8 bytes at a time is 10-16 % faster at Moonlight's default packet size on the Ryzen 7 5800X3D.
- Pacing: on a Retroid Pocket 6 (59.8 Hz) streaming a 120 fps window at 60 fps, frames from the PC to the screen took 31.0 to 31.9 ms (median) and 36.2 to 36.7 ms (95th percentile) against 31.6 to 32.2 and 38.7 to 38.8 ms before the phase lock fix. Fixed-rate streams at 1080p60 with a 120 Hz game had a lower end to end p95 in every pairing: 10.66 to 10.02 ms beside a window animating at 30 fps, 12.31 to 11.44 ms on a quiet desktop, and 10.30 to 10.08 ms at 1080p120. Grid pacing at HEVC 1440p120: end-to-end p99 16.47 to 15.71 ms, picture age p99 21.0 to 19.5 ms.
- Radeon bitrate ceiling: AV1 at 1920x1080 and 60 fps with 1.5 Gbps asked for: the encoder ran at 1000 Mbps, the driver's AV1 ceiling at that size and rate, warned with both rates, and delivered 683 of 683 frames at 60 fps with a 2.4 ms average encode.
- Microphone: through the real Steam Streaming Microphone devices, speech went from PESQ-WB 1.09 to 4.64, and tones from 440 Hz to 10 kHz kept their pitch and level (THD+N -66 to -74 dB). With the slider at 100: 43% of speech samples over full scale before, none after. With packets held back 40 to 80 ms at random, silent holes in speech went from 73 (2.1 s) to 26 (0.18 s) and median PESQ-WB from 2.60 to 2.84.
- Automatic error correction: on a Retroid Pocket 6 over real Wi-Fi at 150 Mbps, it lost 14 frames over six runs without the floor and none over four runs with it.
- Browsers and guests: the play page in Chrome and Edge (1080p60 over loopback) ran H.264 and AV1 at 60 fps with no frames dropped and 9.2 to 9.9 ms from a frame's arrival to its display. Browser streams on the PC itself connected in 535 ms in Firefox and 522 ms in Chrome at
127.0.0.1. Guests had picture within 0.9 to 2.4 s and sound within about 0.25 s; with three guests watching, the owner's AV1 1080p60 stream kept host processing at 0.37 ms mean and 1.17 ms p95 (0.44 and 1.11 ms with none). A WebRTC frame's last packet reached the client over loopback after 185 µs instead of 402 (P frame) and 1,047 µs instead of 2,825 (key frame), with 8-12% less host CPU on the PC and 4.6% less on the 780M laptop. - Controllers and touch: at 500 rumble changes a second, all 3000 got through a ViGEmBus pad in a median 0.065 ms, where about a quarter had got through at 6.6 ms. A two-finger pinch took 28 to 34 µs per pass instead of 49 to 145 µs.
gamepad_feedback_fast_polltook a VHF pad's rumble median from about 4.6 to 1.6 ms. - Background streams: Assassin's Creed Black Flag Resynced through Nucleus Co-op 2.4.2 started in 4 of 6 starts before and 15 of 15 after, each launching once with the hooks loaded.
- Displays and moves: at the end of an exclusive stream, a TV that was off stayed off in every run, and a new stream right behind that end showed video 2.8 to 3.5 s after the quit, against 4.4 s. Continue here moved a stream from a mini PC to a Retroid Pocket 6 in about 1.9 s with the app still running.
- Library: listing the running programs took 1.7 ms instead of 5.6 ms with 370 programs running.
- The NVIDIA paths are covered by unit tests; no NVIDIA GPU was available to stream from.
Each release's own measurements are in its notes below and in PERFORMANCE.md.
New in 3.11.10 #
- Controllers work again where Vibepollo was uninstalled. Uninstalling Vibepollo removes the virtual gamepad device but leaves its driver in Windows, and setup then kept that driver without setting the device up again: every stream with a controller failed with "Virtual gamepad driver unavailable". Setup and updates now set the device up again when it is missing, so installing this version fixes it.
Tested. On a laptop with the gamepad device removed and its driver left in Windows, the driver's own script skipped it as in the report; the device tool setup now runs set the device up again, and the controller interface answered.
New in 3.11.9 #
- Leftover setting removed. The permanent virtual display count (
dd_virtual_display_permanent_count, earlierdd_vdd_static_monitor_count), which nothing has read since permanent virtual displays were removed, is dropped from saved settings and can no longer be set per app or device. - Keyframes leave sooner. H.264 keyframes no longer have the whole picture scanned one byte at a time to adjust their header: on the RX 7900 XT at 2560x1440 and 120 fps with 16 recovery keyframes per run, a keyframe's first packet left 0.04 ms sooner at the median and 0.06 ms sooner at p95 (0.45 to 0.41 ms, 0.51 to 0.45 ms).
- HEVC pictures whose header Rubylight rewrites, and H.264 keyframes, now reuse the host's pooled frame buffers instead of a fresh one each, and the video sender reuses its packet buffers block by block instead of freeing hundreds of them when a large frame follows a small one. HEVC at 3840x2160 and 60 fps, 500 Mbps: the first packet left 0.01-0.02 ms sooner, the rest unchanged.
- Error correction finishes the last bytes of each packet 16 and 8 bytes at a time instead of one by one: 10-16 % faster at Moonlight's default packet size on the Ryzen 7 5800X3D.
- On NVIDIA, a recovery frame after packet loss no longer waits in 1 ms steps for the frames already in the encoder: it waits on the encoder's own completion signal.
New in 3.11.8 #
- Native YUV 4:4:4 on NVIDIA GPUs. A device with its YUV 4:4:4 option on (Moonlight's, or Nightjar's Sharper colored text (YUV 4:4:4)) now gets full color detail in H.264 (8-bit) and HEVC (8-bit and 10-bit, SDR and HDR) from an NVIDIA GPU whose video encoder reports 4:4:4 support. Colored text and thin lines keep their color at full resolution. The stream uses the bitrate the device asks for.
- At startup the host encodes a test picture in each 4:4:4 mode and offers only the ones that work. The console's host readiness lists them, for example "YUV 4:4:4 in H.264, HEVC, and HEVC 10-bit."
- AV1 4:4:4 is not available on NVIDIA: the NVIDIA encoder interface Rubylight uses encodes AV1 in 4:2:0 only. Choose HEVC for 4:4:4.
- A device that asks for a 4:4:4 mode the host did not offer gets an error naming the reason, instead of a 4:2:0 stream it did not ask for. Dolby Vision streams in 4:4:4 carry HDR10, since Dolby Vision profile 8 is 4:2:0 only.
- AMD GPUs are unchanged: their encoders make 4:2:0 only, so 4:4:4 from an AMD host still comes through PyroWave or Full chroma.
- No false "game not detected" warning after a Playnite game. With per-device settings files, every stream of a game started through Playnite ended with the warning that no process of the game was seen, although the files were swapped and saved correctly. Rubylight now finds the game's programs in its folder.
- Wait after a game closes is a new setting under Games & automation → Playnite: how long a Playnite game must stay closed before its stream ends. It stays at 15 seconds unless you change it, because a game that starts through a launcher or restarts itself is briefly reported closed. Until now the wait was fixed, and the exit timeout, which is how long a game gets to close when Rubylight ends it, did not shorten it; its description now says so.
- Choose the time of day Rubylight looks for updates. Set Update check time under All settings → General → Updates, for example 03:00. With Install updates automatically on, a new release installs after that check once nothing is streaming. A time that passes while the PC is off, asleep or streaming is caught up at the next opportunity; leave the field empty to keep the interval.
- USB audio and haptics installs when Windows' PATH variable has a malformed entry. Setup stopped at that driver with "Illegal characters in path" when one PATH entry held a stray quotation mark or another character no folder name has. The driver was then never installed, and every launch with the controller type "DualSense with waveform haptics (USB/IP)" failed. A launch whose controllers did not appear now names the missing driver instead of suggesting a reconnect.
- Above about 840 Mbps of pacing, the host's video socket buffer grows with the pace to hold 10 ms of traffic, up to 8 MB, instead of a fixed 1 MB. Lower bitrates keep the 1 MB buffer.
- New setting Settings → Video → Codecs → Overlap PyroWave frames prepares the next PyroWave frame while the GPU still encodes the current one, with two frames on the GPU at once. It is off by default: at 4K and 120 fps it measured no lower latency.
- PyroWave pictures go from the encoder's output straight into network packets, one full-frame copy fewer per frame.
- Listing the running programs takes a third of the time. The host reads the process list in one call and opens a program only once: 1.7 ms instead of 5.6 ms per list on our RX 7900 XT PC with 370 programs running. The host lists them while it tracks a game.
- The 30-second library check looks up where Steam is installed once instead of twice.
- Full chroma's description no longer says "on AMD": the setting was never limited to one GPU vendor.
- With no stream, launch or game running, the host's housekeeping wakes when there is something to do instead of checking constantly, and streams, control messages, UPnP port forwarding, the library sync and the PC's name lookups each do less repeated work.
Tested. The host, core and Windows unit suites passed on Windows 11, with formatting checked and Clippy run with warnings denied, and the web console's checks and tests passed. The NVIDIA 4:4:4 conversion, capability check and refusals are covered by unit tests; no NVIDIA GPU was available to stream from. PyroWave at 3840x2160, 120 fps and 1.4 Gbps from an RX 7900 XT to a Radeon 780M laptop: two frames in flight measured no lower latency (median end to end 15.4 ms either way, host processing 2.5 ms), so that setting starts off; neither this host nor 3.11.7 lost a frame on that link.
New in 3.11.7 #
- A Moonlight stream that joins another device's game from the Resume or Running Game tile no longer ends that game.
- A device that may only view streams can no longer start a Remote Monitor or Remote Input session.
- A resolution switch the encoder refuses puts the display, the co-op window and the bitrate back to the mode the stream keeps.
- Ending a game's leftover processes can no longer end an unrelated program that took over one of their process ids.
- A stream above 250 fps, a sound device with only rear height speakers, a Playnite date with unusual characters, a deeply nested Steam file or a hand-written Lossless Scaling start delay could stop the host. They no longer do.
- A second stream that joins a device's display leaves that display with the device it belongs to.
- The text a host text field sends to the client's keyboard keeps its last character whole.
- A virtual controller the driver refuses to unplug keeps its slot until the session ends.
- Console: a game's "Let Lossless Scaling start by itself" can follow the host setting, and an untouched game no longer turns it off.
- Console: Updates says whose stream an Install now waits for and still offers to install without waiting.
- Console: the library marks the game that runs, not every game with its name.
- Console: Neural Rendering names what failed (install, removal or the check at launch) and keeps refreshing after it is switched.
- Setup: elevating with a folder that ends in a backslash keeps the arguments after it, and removal deletes Rubylight's service when the registered path differs only in case.
- The host reads Steam's app list again only after Steam changed it, instead of every five minutes.
- A Steam game the store has no cover for is asked about less often: after ten minutes, then an hour, then once a day.
- The console keeps the covers and icons it already loaded and only asks the host whether they changed.
Tested. The host, core and Windows unit suites passed on Windows 11, with formatting checked and Clippy run with warnings denied. New tests cover reading Steam's app list only after it changed, the longer waits for a cover the store does not have, and the console's unchanged-cover answer.
New in 3.11.6 #
-
Wake-on-LAN with Hyper-V external switches. The host now includes physical network adapters whose IP bindings belong to a virtual switch when choosing the MAC address sent to Moonlight and Nightjar. Previously these adapters could be missing, leaving clients with a zero or unrelated wake address.
-
PyroWave on constrained links. The host now lowers the video bitrate when frames are lost while sending, alongside losses reported by the client. It also bounds bursts on routes without client bandwidth hints and paces recovery after congestion.
-
PyroWave conversion and packet submission. D3D11 full-chroma streams can use compute conversion for 8- and 10-bit pictures. Conversion views are reused between frames, and short UDP frame tails can share a segmented send.
-
Known issue: Steam's rumble stop can still be lost on a virtual DualSense without usbip-win2. Use usbip-win2 or DualShock 4 emulation until the virtual gamepad driver is fixed.
Tested. The Windows host and Windows unit suites passed, as did the core Wake-on-LAN policy tests, formatting and Clippy with warnings denied. The Wake-on-LAN inventory check reads the real Windows interface table. A real sleep/wake cycle on the reporter's PC has not been verified.
New in 3.11.5 #
- DualSense vibration stops when Steam stops it. With the DualSense controller that has waveform haptics (usbip-win2 installed), Steam Input's Identify Controller and other Steam rumble no longer keeps the device vibrating until the stream loses focus.
- Known issue: with the DualSense from the virtual gamepad driver (without usbip-win2), Steam's rumble stop can still be lost, because the driver reports it as the previous rumble. Until the driver is fixed, install usbip-win2 or choose DualShock 4 emulation.
- Full chroma on HEVC is no longer refused at 2560x1600 and other large sizes. Full chroma doubles the coded height, so 2560x1600 is coded as 2560x3200. From about 6.2 million coded pixels (2560x1210, 1920x1618 and up), the host sends each HEVC frame as four slices. The check the host runs before a full-chroma stream counted each slice as a frame and refused the stream with "packed encoder failed to return frame 2". The check now counts whole frames. AV1 wasn't affected. Fixed from the reporter's log and the code; we haven't streamed it on an RX 9070.
- Steam Controller as a controller type. Controller type, for the host and for each device, now offers Steam Controller: games and Steam see a wired 2026 Steam Controller with both trackpads, back grips, grip and stick touch, motion and a battery. A client with one touchpad has it split into the left and right pads. A client that has a real Steam Controller and announces it also gets Steam's pad haptics and settings, and its firmware details, so Steam doesn't offer a firmware update for the virtual one; any other client gets rumble made from those haptics. Nothing changes unless you pick it. Don't start a controller firmware update from Steam while streaming: it would go to the virtual controller.
- Updated virtual gamepad driver. Setup installs libvirtualgamepad 0.1.0-beta.10 (driver 0.1.0.92, signed as in Vibepollo 2.0.6) over 0.1.0-beta.6. For existing pads: a virtual DualSense no longer shows up twice in Steam, as DualSense, DualShock 4 and Switch Pro now carry their real hardware IDs; the Switch Pro's gyro turns at the right speed (it ran about 5.5 times too fast), on SDL's axes, with rumble and battery levels read as on the real pad; DualShock 4 and DualSense motion timing follows the driver's clock, battery levels no longer read up to 10% high, and two fingers no longer merge into one touch; and pads survive sleep and resume more reliably. Xbox pads are unchanged. Run setup with the gamepad driver selected to update it.
- AMD encoding builds against AMF 1.5.3, which corrects how the host queries the driver's bitrate and long-term reference limits.
- AC3 and E-AC3 audio passthrough uses FFmpeg 8.1.3.
- Less work per frame. The host keeps colour conversion views of captured pictures between frames, waits instead of spinning while the Radeon encoder's input is full, reuses buffers for HDR metadata, and only watches the presents of the processes it streams.
Tested. The host and client test suites passed on Windows 11. On an RX 7900 XT, the AMF encoder tests passed with AMF 1.5.3, including the full-chroma HEVC check at 2560x1600, and AC3 and E-AC3 round-tripped through the packaged FFmpeg 8.1.3.
New in 3.11.4 #
- Windows Graphics Capture streams match each frame to its present time faster. The host now keeps the present timestamps it receives from Windows' graphics capture in order and looks a frame's time up directly in the capture window, instead of scanning the full 2-second event log three times per frame.
- Less work per frame and per packet. Colour conversion, D3D11 HDR statistics readback, encrypted control messages, 48 kHz audio resampling and input and control handling each do less for every frame or packet, leaving more of the CPU for the game and the encoder.
Tested. The host and client test suites passed on Windows 11, including new unit tests for out-of-order DXGI present timestamps, 48 kHz zero-phase audio resampling and reordered RTP video blocks.
New in 3.11.3 #
- Rubylight no longer reserves memory inside Nucleus Co-op. To find Nucleus Co-op's Play button, Rubylight used to reserve a little memory inside Nucleus Co-op's process and read the button's name back from it. It now asks Windows' accessibility interface (UI Automation) for the name instead. Reserving memory in another program is something antivirus software looks for, so this removes one reason a scanner might flag Rubylight. Launching through Nucleus Co-op works as before.
New in 3.11.2 #
Rubylight 3.11.2 runs the Radeon encoder at the driver's bitrate ceiling instead of refusing a stream that asks for more.
- A bitrate above what the Radeon encoder takes no longer refuses the stream. A device that asked for more than the AMD driver's encoder accepts at that size and frame rate (Nightjar can ask for up to 2 Gbps, left over from PyroWave) got "AMF error AMF_OUT_OF_RANGE" at the start, for Full chroma AV1 already when connecting. The encoder now runs at the driver's own ceiling, reads it from the driver, and the stream's warnings and the host log say which rate it runs at. A peak bitrate ratio set in the config is held to the driver's range the same way. This applies to H.264, HEVC and AV1, and to bitrate changes during a stream (nightjar#80).
Tested. On the RX 7900 XT PC with Windows 11 (build 26200), an isolated host streamed AV1 at 1920x1080 and 60 fps with 1.5 Gbps asked for (1199 Mbps of video after error correction) to the independent moonlight-common-c receiver for 12 seconds. 3.11.1 ended the stream at the start with AMF_OUT_OF_RANGE and no frames. 3.11.2 ran the encoder at 1000 Mbps, the driver's AV1 ceiling at that size and rate, warned with both rates, and delivered 683 of 683 frames at 60 fps with a 2.4 ms average encode. The full test suite passed.
New in 3.11.1 #
Rubylight 3.11.1 gives Dual screen mode's second screen a display of its own when a game is running, lets games capped at the stream rate go out without waiting on the phase lock, and makes NVIDIA encoding steadier under light and loading games.
Dual screen #
- The second screen shows a second display, not a copy of the first. Nightjar's Dual screen mode with a game running put the second screen on the game's own virtual display, so both screens showed the same picture. It now gets a virtual display of its own beside the game's. On a PC that streams its own monitors instead of a virtual display, the second screen streams the PC's other monitor; with a single monitor it shows the same one, and the stream's card says so.
Frame pacing #
- Games capped at the stream's frame rate no longer wait on the host. A game held to the stream rate by RTSS or its own limiter gives the host no earlier picture to take, so the phase lock could only hold each frame for the client's refresh, up to a whole frame as the two clocks drifted apart. A user's Shield TV timings showed 8 to 11 ms more latency from the hold. These frames now go out as they arrive; the log says "phase lock stands aside" when this happens. Hold capped games for the device's refresh (Frame pacing, advanced) brings the hold back: on that Shield it halved the rare display gaps.
NVIDIA #
- Experimental: NVIDIA encodes at full GPU clocks. NVIDIA's power management lowers the clocks of a GPU that a capped or light game barely loads, and NVENC slows down with them. A user's RTX 5070 took about 6 ms per 4K60 frame with the game capped at 60 fps. The host now sets NVIDIA's power management for itself to "Prefer maximum performance", in a driver profile named Rubylight that covers only the host, as Sunshine-based hosts do. An idle host uses no GPU, so the clocks rise only while it streams. Turn off Full GPU clocks while streaming (
nvenc_latency_over_power) in the NVIDIA NVENC settings to keep the driver's own power management. - NVIDIA: loading screens no longer restart the encoder. NVENC gave up on a frame after 100 ms. A game holding the GPU that long while loading restarted the encoder, froze the picture for about 0.2 s and sent a keyframe. After two of these, the rest of the session converted frames on the slower graphics queue. NVENC now waits as AMF does: the stream restarts a silent encoder after 250 ms, and waits up to 2 s if it stays silent. A user's RTX 5070 log showed two restarts in 12 s during game loading. Their next sessions will show whether it holds; we have no NVIDIA hardware to test it.
- Warnings about compute copies and conversion no longer tell NVIDIA users to update the AMD driver. Slice delivery on NVENC's D3D12 path now names the D3D12 path as the reason frames leave whole, instead of asking for a driver update.
Tested. On the RX 7900 XT PC with Windows 11 (build 26200) and a Retroid Pocket 6 with a simulated second display: with a game running, 3.11.0 put both screens on one virtual display; 3.11.1 gave the second screen its own, an empty extended desktop beside the game. With the virtual display off and one monitor, both screens showed that monitor and the stream's card said why. On the 780M laptop, host present-to-sent stayed at 4.3 ms (median) with and without the frame pacing change. The NVIDIA changes are untested here (no NVIDIA hardware). The full test suite passed.
New in 3.11.0 #
Rubylight 3.11.0 streams a second screen to one device. With Nightjar's new Dual screen mode, a phone, handheld or PC with two displays shows a second PC screen on its other display, under the pairing it already has. Thanks to Umberto Marotta for the feature.
Dual screen #
- A device's second screen streams under one pairing (#75). Nightjar's Dual screen mode streams a second display to the same device next to its first stream: the host keeps it as a stream of its own, so it neither replaces the first screen's stream nor shares its display, and puts the two virtual displays back where the user left them the last time they streamed together. Both screens follow the device's permissions and settings, each keeps the resolution and scale picked on it, each screen's bitrate changes, clipboard and statistics reach its own stream, and unpairing or turning the device off ends both. Moonlight and a launch without Dual screen mode behave as before.
Tested. On the RX 7900 XT PC with Windows 11 (build 26200), with a Retroid Pocket 6 and a simulated second display: both screens streamed side by side on virtual displays of their own, the second at 1080p and at 720p while the first kept its size; a bitrate change on the second screen reached only its stream; the clipboard reached both; leaving the second screen kept the first and the game running, leaving the first ended the second; a 5 s Wi-Fi drop reconnected both; turning the device off in the console ended both streams within a second. The full test suite passed (4991 tests). Not run on hardware: a desktop client on two monitors, and the kept arrangement of the two displays (covered by tests).
New in 3.10.0 #
Rubylight 3.10.0 gets frames onto the network sooner and with less CPU, forwards controller rumble the moment a game changes it, and puts a whole pinch into one touch frame. The console now says when an encoder setting costs the stream.
Sending and encoding #
- The first packets of a large frame leave sooner. An idle sender now gets each error-correction block of an H.264, HEVC or AV1 frame as soon as it is built instead of waiting for the whole frame, and PyroWave frames go out that way again. At 4K60 with large frames the first packet left about 0.55 ms sooner on HEVC and AV1, and HEVC's end-to-end time fell 0.5 ms; PyroWave's first packet left 0.13 ms sooner at 4K. Frames that fit one block don't change.
video_send_early_blocks(default on) turns it off. - Less CPU for PyroWave at 4K. Large AMF, NVENC and PyroWave frames reuse their buffers instead of allocating megabytes per frame. A PyroWave 4K60 stream at 600 Mbps used 3.4 % of a core less than 3.9.0, and packetizing took 0.09 ms instead of 0.32 ms.
- Faster error correction on newer processors. On CPUs with GFNI (AMD Zen 4 and newer, Intel Ice Lake and newer) the host computes error correction with it, with the same bytes: packetizing large frames was 2 to 4 % faster on a Ryzen 7 8845HS.
fec_gfni(default on). - Fixed-rate pacing no longer claims a frame up to 1 ms late. With
frame_pacing = gridthe host stopped waiting in an encoder output query close to its tick. HEVC 1440p120: end-to-end p99 16.47 to 15.71 ms, picture age p99 21.0 to 19.5 ms. - IPv4 clients with
address_family = bothnow count IPv4 headers in every send budget and batch size; some counted IPv6 headers before. - AMF output options, both off.
amd_output_predictionskips output queries the oldest frame can't answer yet, andamd_output_threadcollects AMF output on a thread of its own. Under GPU load prediction gave no consistent gain; the thread cut picture age p99 by 2.5 to 9 ms but made the typical frame 0.8 to 1.7 ms later at 1440p120 and used more CPU. - Experimental: NVIDIA streams wake as NVENC finishes a frame. On a D3D12 NVENC session the stream waits on the encoder's output fence instead of its 100 µs poll.
nvenc_output_event(default on) goes back to the poll. - Experimental:
pacing_follow_client_link(default off) lifts the 800 Mbps ceiling of H.264, HEVC and AV1 on a wired route when the device reports its own link: the ceiling becomes 80 % of the slower of the two links.
Controllers and input #
- Xbox 360 (ViGEmBus) rumble arrives at once and stops when the game stops it. Each rumble change is forwarded as soon as ViGEmBus reports it instead of at the next 8 ms poll. At 500 changes a second all 3000 got through in a median 0.065 ms; before, about a quarter got through at 6.6 ms, and the final stop could go missing and leave the motors running.
- Rumble no longer piles up. Each poll takes every report a virtual pad has waiting and forwards the newest, so a game that changes rumble faster than 125 times a second doesn't build a backlog. A DualSense or DualShock 4 keeps its lightbar and trigger effects when a rumble-only report follows in the same poll.
- A pinch is one touch frame. All moving fingers of a pass reach Windows together: a two-finger pinch took 28 to 34 µs per pass instead of 49 to 145 µs, in one injection instead of 2 to 4.
- USB DualSense, Steam Deck and browser input threads run at input priority, like the stream's own input thread.
- The control thread no longer waits on display lookups. Input is applied before other housekeeping, the device-drawn cursor's display scale is looked up on a thread of its own, and control packets no longer copy the settings each time.
- Input timings in the host log. The 5 s
stream timingsline addsinput_receive_to_injected_ms(p50/p99/max from reading a pass's first packet to its input reaching Windows) andinput_passes, and agamepad timingsline every 5 s while pads are plugged shows queue times, queue depth and feedback polls. Mouse input over a loopback stream read a median 0.14 to 0.15 ms. gamepad_feedback_fast_poll(default off) polls the pads every 2 ms for 250 ms after a change: a VHF pad's rumble median fell from about 4.6 to 1.6 ms, at about twice the gamepad thread's CPU.absolute_left_release_delay(milliseconds, default 10) sets how long a left release waits after absolute mouse, touch or pen input, so a long press can right-click; 0 releases at once.- Experimental:
gamepad_driver_host_priority(default off) runs the Windows process that hosts the gamepad driver at high priority while a VHF pad is plugged in, so a busy PC delays controller input less. Other drivers in the same process run raised too; the host log names them.
Console #
- The console says when an encoder setting slows the stream. An AMD setting changed to a value that adds delay or weakens recovery now says what it costs under its menu, and the Settings page lists every such setting you changed, with a link to each. This covers the usages that queue frames at 4K (Driver default means AMD's transcoding profile), the Quality preset (about 1 ms more per 4K frame on HEVC and 12 ms on AV1 than Speed), pre-analysis (about 20 ms per 4K frame on 8-bit SDR streams), the low-latency modes turned off, and Maximum frame size on Driver default, where a large keyframe can outgrow error correction. The numbers are our RX 7900 XT measurements. Dismiss the list once and it stays hidden until another costly value appears.
Tested. On the RX 7900 XT PC with Windows 11 (build 26200), against 3.9.0: 28 paired streams of HEVC, AV1 and PyroWave at 1440p120 and 4K60, idle and under GPU load, with no encoder hang and no regression; the numbers above come from those runs. GFNI error correction produced the same bytes as before and ran on the Ryzen 7 8845HS laptop. Pads (ViGEmBus, VHF, DualSense) and touch were timed from outside the host, idle and under CPU load. Keyboard and mouse were equal under load and 4 to 8 µs slower at idle, within the drift of a fixed run order. The VHF pad's rumble can stall under the heaviest CPU load on 3.9.0 too. The full test suite passed (4969 tests). Not run here: NVIDIA (no hardware), pacing_follow_client_link, gamepad_driver_host_priority, the cursor across a display change and browser input.
New in 3.9.0 #
Rubylight 3.9.0 brings back a ViGEmBus controller for tools that only see USB pads, and keeps background streams off the PC: no game sound on its speakers, and Epic games start the way their launcher starts them.
Controllers #
- Xbox 360 (ViGEmBus) controller type. For tools such as reWASD that look for USB controllers and may not see the standard virtual pads. Choose Xbox 360 (ViGEmBus) as the controller type (
gamepad = vigem_x360) and every client gets an emulated USB Xbox 360 pad with rumble, in co-op and background streams and for a Steam Deck too. It needs ViGEmBus installed separately, which is retired upstream; without it controllers stop working and the stream says to install it, with no other pad in its place. A pad that fails to plug or unplug frees its slot, so the next client still gets one.
Background streams #
- Background streams keep the game off the PC's speakers. A device's "play audio on the PC" no longer brings a background stream's game sound to the PC; it still applies to that device's normal streams. Without a virtual playback device the game stays audible on the PC and the stream warns.
- Experimental: Epic games in background streams. A game the Epic Games Launcher installed now starts with the arguments that say which game it is, without its sign-in, so it shouldn't restart through the launcher on the PC's monitor. If its instance still exits at once, the stream says that may be why. Every user on the PC can write the launcher's manifests, so only the game's name and namespace are taken from them, from a restricted set of characters; the manifest's own launch command is ignored, oversized manifests and links are refused, and the game must be an
.exeinside its install folder. The app's arguments can still add the launcher's options.
Tested. On the RX 7900 XT PC with Windows 11 (build 26200) and ViGEmBus 1.21.442: a chosen ViGEmBus pad reached XInput, its buttons and rumble went through, Windows listed it as a USB Xbox 360 controller (USB\VID_045E&PID_028E), and it unplugged cleanly. We have no reWASD to try it with. New tests cover the pad's wire format against ViGEmBus's headers, a missing driver, failed plugs and unplugs, and a Steam Deck client that still gets the chosen pad; a background launch request that keeps the game's sound off the PC, end to end; and Epic manifests with links, oversized files and unexpected characters. The Epic launch has not run on an Epic game here, and the sound fix has not run in a real background stream.
New in 3.8.0 #
Rubylight 3.8.0 lets you try it without giving up the host you have: setup can keep Vibepollo, Apollo or Sunshine and install beside it.
- Experimental: try Rubylight while Vibepollo, Apollo or Sunshine stays installed. Setup now asks when it finds another host: replace it, which still imports its settings and uninstalls it and stays the default, or keep it and install alongside (
--side-by-sidefor a quiet install). Alongside, setup leaves that host, its drivers and its profile alone, and installs Rubylight's virtual display driver as usual. Rubylight gets its own service (RubylightService), its own ports (base 48589, or the next free range) and new settings, so devices pair again; add the PC to Moonlight or Nightjar with the address setup shows, such as192.168.1.20:48589. Updates, repairs and uninstalling keep to that.
Tested. On an AMD laptop, the packaged setup ran beside a stand-in service holding ApolloService and the default port: 275 checks passed across a quiet install, re-runs, an update, driver repair by command and by the service, a lost service record, a refused RubylightService that isn't Rubylight's and uninstalling. The stand-in was never stopped and the display driver's device reported OK. It has not run beside a real Vibepollo, Apollo or Sunshine. Not tested: two hosts streaming at once, sharing a controller driver with another host, the setup window's new choice on screen, and pairing a client through the new ports.
New in 3.7.0 #
Rubylight 3.7.0 makes the couch easier: a paired device approves a new one, a running game moves to another device in one press or plays on both, and Nightjar can group Home by your Steam collections and Playnite categories. Browser streams and guest links now say why they can't connect, and Firefox streams on the PC itself. A monitor no longer ends up at 60 Hz or dark after an exclusive or shared stream, and a TV no longer lights up alone when a sleeping monitor wakes as an exclusive stream ends.
Move or share a running game #
- Continue here. A paired device with View and Launch can take the running game's stream from another device:
POST /session/continue-hereends the other device's stream, keeps the game running and tells that device where its stream went for two minutes. Co-op, background, Input-only and Remote Monitor sessions and WebRTC guests are left alone. GET /sessionnames the device playing the running game for callers with List or View.- A press that fails changes nothing for good: the game goes back to the first device, still running, and survives close on disconnect for a minute, so that device can come back.
- A device that does not own the game may join it with
/resumebeside the owner. That/resumeanswers 409 when another device holds a plain WebRTC stream, which a Moonlight stream would end, or when itsappuuidnames another game than the running one; a request withoutappuuid, and the owner's own, resolve to the running game. It never starts a game. - Stream here too shows the game. The second device now shares the display the game is on, whatever resolution it asked for: the picture is scaled to the device, and the game's resolution, refresh, HDR and scale stay as they were. If that display is slower than the device asked for or has other HDR, the stream still runs; apps that read the stream's warnings say so, and the host logs a different HDR. A plain second stream and Desktop still get a display of their own for each device. A game started from the console or opened on a physical monitor is not on a display to share, so the second device sees an empty desktop there.
Browser streams and guest links #
- The console's Stream page now works in Firefox on the PC itself. With the console opened at
127.0.0.1orlocalhost, the host offered only that address, and Firefox doesn't send anything to a loopback address, so every stream failed after 5 seconds with "The connection to the host failed." - A browser on the PC itself keeps its monitors on: the
exclusivedisplay layout, andensure_only_displayon a physical display, run asextended_primaryfor such a stream, since the browser showing it is on one of them. - When a browser stream or a guest link can't connect, the page now says what it saw, in plain words: the browser never tried or the PC didn't answer at this address and UDP port (within 8 seconds), or the encrypted connection failed (within 30 seconds), each with its fix. The host's log records the same.
Your monitors stay as you set them #
- An extended stream no longer changes your monitor after an exclusive one. The end of an exclusive stream saved a Windows layout for that device with its virtual display as main and your monitor at the refresh Windows picks (60 Hz on a 120 Hz monitor). Every later extended stream from that device was handed it: the monitor ran slower for the whole stream, a game losing focus could put windows on the virtual display, and the layout could be learned as the device's own. Now the entry keeps your displays as you have them, and a stale one is put back when it shows up, also for a second stream's display, for a Remote Monitor's and when another stream's display leaves. A device that already learned the main-display layout this way keeps it until you change its setting.
- A stream going on keeps its layout when another display leaves. Monitors that were off stay off, and a game the leaving display minimised comes back. A layout you changed yourself in the meantime, a window you minimised yourself and a game running in the background are left alone, and a Remote Monitor stream or a paused one never pulls the game forward.
- Monitors no longer stay dark after a shared session. A layout is saved only while a virtual display it was made for is still there, also when another display arrives, and never under your own monitors' entry, so Windows has nothing with your monitor off to recall once the last stream ends.
- A sleeping monitor no longer leaves a TV on alone when an exclusive stream ends. A monitor that went to sleep during the stream can drop off the list for 3 to 6 s as it wakes, and with the virtual display already gone Windows switched on the only display left, such as a TV that was off. On a PC with such a display the virtual display now stays in the background until the monitor has stayed for 3 s or come back (up to about 13 s), then your layout is put back. Nothing waits for that: closing a game, ending a session or shutting down answer as before, and a new stream starts right away, ending the wait early. That stream takes the wait over: the TV goes off again, and on a layout that keeps your monitor the monitor is back at its mode once it returns. If the launch fails, your layout is still put back. Saving or restoring the display baseline and resetting display memory ask you to try again in those few seconds.
Pairing from the couch #
- Approve a new device from a paired one. A device with the new Approve new devices permission sees who waits to pair and enters the PIN the new device shows, so a TV or console no longer means a walk to the PC. The new device gets Play, never more than the approver holds. Three wrong PINs end an address's requests for five minutes, a wrong PIN holds that address for 30 seconds, and every approval raises a toast, a log line and the
pairing.pairedwebhook, naming both devices. The first device with a certificate paired on a host from now on has the permission unless paired as Watch only (a browser paired earlier doesn't count), later devices get it under Devices, Other, and devices already paired are unchanged by the upgrade. It allows nothing else, and an approved device doesn't inherit it. Host control approves too. - The pairing toast now opens the Devices page with the PIN field focused, also after signing in, and the tray has a new Pair a device item that opens the page at the QR code.
- Open in Nightjar. The Devices page has an Open in Nightjar link next to Copy pairing link, so a console opened on the phone, or on a PC with Nightjar, pairs in one click. Nightjar asks before it pairs.
Library #
- Collections without setup. Each library entry now names its Steam collections and Playnite categories, so Nightjar can group Home by them. Steam's files are only read; missing or changed files mean no collections and a log line, never a failed library. A file that can't be read keeps the last collections for two more scans at most.
- Steam installs show up sooner. With auto sync on, an install or removal reaches Nightjar in about a minute instead of up to 5 minutes. Library scans now run at background priority.
Tested. On the RX 7900 XT PC with Windows 11 (build 26200) and a test host. Browser streams on the PC itself connected in 535 ms in Firefox and 522 ms in Chrome at 127.0.0.1, 527 ms in Chrome at localhost and 784 ms in Firefox at the PC's network address; before the fix Firefox failed after 5 seconds. With Nightjar on a mini PC as the devices, on the extended and exclusive layouts: a stale Windows layout was put back at a first stream, a second stream and a Remote Monitor, leaving the monitor primary at 120 Hz; Stream here too left the display's resolution, refresh and scale as they were; an exclusive second stream kept the physical displays off to the end apart from the moments Windows recalled a layout; and a layout chosen with Windows' own display switch during a stream was still remembered for that device, while /extend taught it nothing. At the end of an exclusive stream, on a monitor that dropped off the list as it woke, a TV that was off stayed off in every run, where it had lit alone for about 2 s; a new stream right behind that end showed video 2.8 to 3.5 s after the quit, against 4.4 s before. The monitor stopped dropping in the last test rounds, so those runs are from the builds before the final changes, and a next stream taking over while the monitor is away ran in unit tests only. On a Retroid Pocket 6, Stream here too joined a running stream, and Continue here moved it from a mini PC in about 1.9 s with the app still running. The full test suite passed on this code.
New in 3.6.2 #
Rubylight 3.6.2 makes background streams sturdier: a game now starts once through Nucleus Co-op and keeps its controller, and a game that swaps its window as the stream starts no longer ends the stream. It also steadies HDR metadata on a picture that keeps jumping.
- A game that replaces its window as the stream starts no longer ends the stream. When a game swapped its splash window for its main window just as the capture opened, the capture waited five seconds for a frame the old window would never send, and the stream ended with "WGC helper did not produce a first frame". It now gives up on a closed or hidden window at once and opens the new one, and a capture that did wait the whole five seconds gets another try when the game has opened a new window. A game that hangs on its own window still fails after those five seconds, with the capture's own reason. With a test game whose window is hidden at that exact moment, the stream started about 2 s after the client connected, and about 5.5 s with only the extra try.
- Steadier HDR metadata when a game's picture keeps jumping. HDR10+, HDR Vivid and Dolby Vision metadata snaps to a new scene at once, so a picture that jumps several times a second moved the display's tone mapping just as often. After a cut, further jumps within a second now glide over about 15 samples. Normal play hardly changes: in a Black Flag Resynced session on the RX 7900 XT, 4 of 5 jumps in about 17,000 samples still snapped. One player reports bright UI flashing in that game with several jumps a second. We could not reproduce the flashing here, in nine setups, so whether this ends it is theirs to confirm.
- A background game starts once and keeps its controller. Nucleus Co-op's auto-play could start a game a second time while the first start was still running, which killed the first one. That looked like the game refusing Rubylight's input hooks, so after a few launches the game ran without them and the controller only worked while its window had the focus. Rubylight now presses Play itself, once, after the profile is loaded, and forgets what it learned from those false refusals, so those games get their hooks back. A game that really refuses the hooks learns that again, with one failed launch per way of injecting. Handlers with setup steps of their own keep Nucleus Co-op's auto-play, because Nucleus Co-op shows no Play for them. Measured with Assassin's Creed Black Flag Resynced on the RX 7900 XT: 4 of 6 starts ran before, 15 of 15 now, each launching once with the hooks loaded. With another window in front, the client's D-pad moved the game's menu.
- An NVIDIA PC no longer reads about AMD in the wrong places. The encoder text on the console's fallback page, Help's explanation when a GPU can't encode a codec, and the notice about NVIDIA settings left by Rubylight 2.6 now fit both kinds of GPU.
Tested. On the RX 7900 XT PC with Windows 11 (build 26200) and a test host, a Retroid Pocket 6 played Assassin's Creed Black Flag Resynced as a background stream through Nucleus Co-op 2.4.2 in AV1 with HDR10+, for the numbers above. Nine setups, the game's own AMD FSR frame generation among them, did not show the flashing a player reports. A test game whose first window is hidden right as the capture starts streamed in 4 of 4 starts, and in 3 of 3 with only the extra try; with no new window, the stream ended after 5 s with the capture's error. The gate passed: 4604 host tests, clippy and the release build. Not run: a two-player start through Nucleus Co-op, a handler with setup steps of its own, the laptop's real-client run, and NVIDIA hardware.
New in 3.6.1 #
Rubylight 3.6.1 fixes two problems reported on 3.6.0: a device whose decoder freezes on long-term references can now turn them off for itself, and the PC's mouse no longer stays stuck to a game that refused Nucleus Co-op's input hooks.
- Long-term reference frames per device. Devices has a new Encoder overrides section, so one device can turn long-term references off (for a decoder that freezes on them, such as the Fire TV Cube on Moonlight) while the others keep the host's setting.
- The PC's mouse stays free once you click away from a game that refused Nucleus Co-op's input hooks. Nucleus Co-op told such a game every second that it was the active window, so a game like Assassin's Creed IV: Black Flag Resynced kept pulling the cursor towards its window beside the desktop. It no longer gets those messages. While the game is really in front it may still hold the mouse, since it reads the stream's controller only then: one click elsewhere on the PC, or Alt+Tab, frees the mouse and stops the controller until you click the game's taskbar icon. A game that pauses when it is not in front now stops its picture on the stream too.
Tested. On the RX 7900 XT PC with Windows 11 (build 26200) and a test host, a Retroid Pocket 6 streamed HEVC through AMF with the new setting saved through the console's API: Use the host setting gave 4 long-term references, Off gave none, 2 gave 2, and removing it gave 4 again. The section was checked in the console in dark and light, and on a phone width. The gate passed: 4595 host tests, 2052 client tests, 359 console tests with the build, and clippy; the warning's new wording goes through CI. Not tested on hardware yet: we have neither a Fire TV Cube nor Assassin's Creed IV: Black Flag Resynced. The Cube's reporter found that turning long-term references off cures the freeze, using the host's own setting. The mouse fix comes from the reporter's logs and is not confirmed on the game.
New in 3.6.0 #
Rubylight 3.6.0 lets a TV, console or car browser play with no app: open the new play page, pair once and pick a game with the remote. A device you allow can now restart, shut down or update the PC from Nightjar, and browser streams no longer show the green rows that AV1 on AMD leaves under the picture.
Play in a browser #
- Play from a TV, console or car browser, with no app. With the WebRTC server on, open
https://<PC address>:47991/playon the local network or Tailscale, pair once with the PIN the page shows (enter it on Devices), then pick a game with the remote, the arrow keys or a controller and play full screen. Hold Back or Select for a second for Disconnect and Quit game. The browser warns about the PC's certificate once. The page answers no address outside the local network and Tailscale, refuses connections from the PC's router, and pairs only with the PIN you type in the console, which shows the address each request came from. Measured in Chrome and Edge on the RX 7900 XT PC (1080p60 over loopback): H.264 and AV1 at 60 fps with no frames dropped, and 9.2 to 9.9 ms from a frame's arrival to its display, as on the console's Stream page. - No green rows under AV1 in the browser. On AMD the encoder pads 1080p AV1 to 1082 rows and browsers show them; the Play, Stream and guest pages now leave them out, so a 1080p picture fills a 1080p screen pixel for pixel, and the pointer maps to the picture without them.
- Holding Back or Esc opens the play menu on a real keyboard or remote. The key's repeats closed the menu the moment it opened. In a PC browser's full screen, Esc may only leave full screen on the first hold; hold it again for the menu.
Restart, shut down and update from a client #
- Restart and shut down the PC from Nightjar. A new per-device permission, "Restart and shut down PC", off by default and separate from Sleep PC, lets a device restart or shut down the PC while nothing runs on it. The host refuses while a stream, a game, a browser guest or a controller session is active and says which (naming the device that streams); each request needs a fresh confirmation that expires after 30 seconds, and apps with unsaved work are never forced closed. When Windows refuses, in any display language, or the permission is turned off before the PC goes down, the device says why.
- Update the host from a client. A device with Host control can install the host's pending update; it is refused while another device streams, naming it, and never ends a stream another device starts afterwards: the install waits for it. Install now stays available while an automatic update waits for the PC to be idle.
- New webhooks:
power.restart,power.shutdownandupdate.started. Native API:GET /power,POST /power/restart,POST /power/shutdown,GET /update,POST /update/install(seedocs/native-api.md). - The Devices page no longer says the first paired device gets every permission: its Everything role leaves out file transfer and Restart and shut down PC.
Tested. On the RX 7900 XT PC with Windows 11 (build 26200) and a test host: Firefox and Edge 156 paired on the play page with a typed PIN, started a game with the keyboard and played it full screen, and the Stream and guest pages played in Firefox. An AV1 1080p stream, 1082 rows from the encoder, filled a 1920x1080 browser window with no bar, gap or green row. At 2560x1440 and at 1080p, in a window and full screen, the pointer reached the PC within 2 pixels of where it was aimed, at the corners and the centre. A held Back or Esc opened the play menu, and it stayed open. Restart, shut down and a real host update from a client, and the play page on a real TV or console, are not tested on hardware yet.
New in 3.5.0 #
Rubylight 3.5.0 finishes the background and co-op streams from #59: a game's sound now leaves the PC's speakers once it opens it, a game that ignores Nucleus Co-op's input hooks gets its controller from the start, and the PC says when someone starts such a stream. UPnP now forwards the browser guest ports, Firefox opens invite links from another Rubylight PC, and fixes from users' logs bring back Nucleus Co-op on some PCs, the frame limiter after a stream and Xbox PC games in Add games.
Background and co-op streams #
- A background stream's game no longer plays on the PC too (#59). 3.4.0 moved the game to the virtual playback device as it started, before the game had opened its sound. Windows refuses that for every game ("The parameter is incorrect"), so the sound stayed on the PC's speakers. Rubylight now moves the game once it opens its sound, trying again after half a second, then less often. A game that plays on Windows' default device moves at once; one that opened a particular device keeps it until it next starts, and the stream says so.
- A game that refuses Nucleus Co-op's input hooks takes the controller from the start (#59). Such a game, Assassin's Creed IV: Black Flag Resynced for one, reads its controller only while its window is in front, and it waited for a click on its taskbar icon on the PC. Rubylight now brings its window to the front once as it opens, unless someone uses the PC. The person at the PC can click back to their own window.
- The PC says when a device starts a background or co-op stream. These streams play in a window of their own, so the person at the PC could not tell that someone started playing. A Windows notification now names the device and the game, once per stream: reconnecting does not show it again, and the main stream, which takes over the screen, never shows one.
Browser guests #
- UPnP forwards the browser guest ports. With UPnP and the WebRTC server on, the PC asks the router to forward the guest page (TCP, the base port + 2, 47991 by default) and one media port per guest (UDP
webrtc_media_port+ 1 to + 4, 8002-8005 by default), and removes them when the host stops. Guests from the internet no longer need ports forwarded by hand on a router that allows UPnP. - Firefox opens invite links and consoles from another Rubylight PC. Every host's console certificate came from a root of the same name, so Firefox on a PC with Rubylight installed refused another host's pages with
SEC_ERROR_UNKNOWNinstead of the usual warning you can click through. Each host now gives its root a name of its own and makes its certificate anew once after the update; setup trusts the new root as before. - The browser guest page has the Rubylight icon instead of a missing one.
Games and apps #
- Nucleus Co-op runs from its folder again on PCs where Windows gave an app capability rights on
C:\. Rubylight counted that entry as someone who could move the folder, refused Nucleus Co-op and logged it every few seconds. Such an entry grants nothing its user isn't allowed already, so it no longer counts. A refusal that stays is logged once until its reason changes. - Game and Nucleus Co-op settings an earlier session changed always come back. Putting them back no longer depends on Rubylight still running Nucleus Co-op from that folder: they come back from the chosen folder and from the copy an earlier Rubylight installed, as long as only administrators can change it.
- The frame limiter no longer stays stuck after a stream. When RTSS reported the restored cap in another form (the same rate with another denominator, or any denominator with no limit), Rubylight kept the limiter as pending and warned at every stream. The same cap now counts as restored. A setting this RTSS doesn't report is named once, and a different cap is still an error.
- Xbox PC games in Add games. A game that starts through
GameLaunchHelper.exe, and a config saved as UTF-16, are found. A package with no application is skipped quietly. A launcher scan error now says why, not only which package. - The missing Windows HDR Calibration warning (
virtual_display_hdr_calibration) shows once per host start instead of at every stream.
Tested. On the RX 7900 XT PC with Windows 11 (build 26200), from the SYSTEM account the host runs as and from a signed-in user's: Windows refused to move a test process's sound before the process had opened its sound and accepted it after. Sound on Windows' default device moved to Steam Streaming Speakers and back, and sound opened on a particular device stayed where it was. On NTFS, the handle Rubylight holds kept the Nucleus Co-op folder and its parent from being renamed. Firefox 157 on this PC, which trusts its own host's root, refused a fresh test certificate on 127.0.0.1, localhost and the LAN address with SEC_ERROR_UNKNOWN; with the root's own name it showed the usual warning and loaded once accepted, and Chrome 157 and Edge 156 behaved the same before and after. The focus change with a real game, the PC notice, UPnP forwarding on a router and an Xbox PC game that starts through GameLaunchHelper are not tested on hardware yet.
New in 3.4.0 #
Rubylight 3.4.0 lets friends watch or play along in their browser while you stream (#67), keeps each device's own game settings (#72, #69), and with Nightjar 4.4.0 turns a phone or handheld into the PC's microphone (#56). Background games no longer play on the PC's speakers (#59), one exit timeout covers every app (#71), and full chroma is offered again after the host starts with Windows.
Guests in the browser #
- Share your browser stream with friends (#67). While you stream on the console's Stream page, Guests → Invite makes a link for up to four guests: view only, controller, or controller with keyboard and mouse, lasting 1 hour, 24 hours or a time you pick (5 minutes to 7 days). Guests open it in their browser, type a name and see and hear your stream; no app, account or pairing. The list shows who watches, with Kick, and every link, with Revoke. Restarting Rubylight revokes every link.
- One encode, no relay. The PC encodes once and each guest gets the same frames over its own connection, so a guest on a slow link drops frames alone instead of holding up yours. Guests connect straight to the PC: nothing to set up on the local network or over Tailscale; from the internet forward the guest port, TCP 47991, and UDP 8002-8005, never the console's 47990. The guest port serves only the guest page, and only while a link works (Guests in the browser).
- Safe by default. The link's token travels only after
#and the host keeps just its hash; wrong links are rate-limited per address; a guest's page reaches nothing of the console, the host checks every guest input against the invite's permission, and guests' input waits behind yours, four pads each at most. Guests see a certificate warning, so keep keyboard-and-mouse links for your own network or VPN. No text or voice chat.
Games and apps #
- Game settings per device. List a game's own settings files in its app (Game settings per device;
%LOCALAPPDATA%and other Windows variables work), and each device keeps its own copy: the TV its 4K settings, the handheld its 1080p ones. When a device starts the game, the host keeps the PC's files and puts that device's copy in place; when the game closes, the files are saved as the device's copy and the PC's own come back. A device's first launch keeps the files as they are and saves them for it at the end. The editor shows which devices have a copy. A missing or locked file stops the launch with the reason. While the game is still running after the app stopped (a launcher kept it open, the host restarted), nothing is put back until it closes, or until you press Put back now in the app's editor; files that cannot go back yet show a warning in the console and are put back as soon as they can. The last three PC files put back stay as backups in the host's config folder. A file cannot be both a managed game file and a per-device settings file: such a launch says so. The host does not find a game's settings files by itself yet (#72, #69). - One exit timeout for every app. Settings → Library → App behavior (Advanced) sets how long the host waits for an app to close before ending it, 10 seconds unless changed. An app's own exit timeout still wins. Games the Playnite sync added now follow it too: the sync no longer writes 10 seconds into each one (#71).
- The native library now tells clients when each game was last played, from Steam and Playnite, so Nightjar's List layout can show it for games on this PC. A game a store never played is marked so; manual apps and stores that keep no such time say nothing.
- A game without a cover of its own has none in the native library, so Nightjar shows its title instead of the grey placeholder.
Microphone #
- Microphone only sessions for Nightjar: a device can be the PC's microphone with no stream, through the normal microphone path (Steam Streaming Microphone, level clamp). It needs only Launch apps, not Input-only sessions; the session takes no input, starts no app and leaves the PC's sound on the PC. Listed as
session.mic_onlyin the native API (#56).
Background mode #
- Background games play only on the client. In background mode and with game-only audio, the game's sound played on the PC's speakers as well as on the client. The game now plays on a virtual playback device nobody hears (Steam Streaming Speakers, or the virtual sink set in Audio settings) while the client still gets it. When Rubylight closes the game (the session or app ends), the game goes back to its own device first. A game left running after a disconnect keeps playing on the virtual device until it is started again, and one that quit by itself or outlived a host crash goes back as soon as it next starts. Nothing else on the PC changes device. In background mode the game moves as soon as Nucleus Co-op starts it, before its window shows. Windows doesn't move sound a game has already started, so a game that starts its sound before Rubylight moves it keeps playing on the PC until it is started again; the stream says so, as it does when there is no virtual playback device. Voice chat on a communications device of its own raises no warning.
- Games that refuse Nucleus Co-op's input hooks start again. Without hooks (Assassin's Creed IV Black Flag Resynced), Nucleus Co-op stayed on its setup screen because it no longer listed the controller. It lists it again, so Rubylight's profile can start the game.
Streaming #
- Full chroma survives a start with Windows. When the host started before anyone signed in, its packed 4:4:4 check failed and clients were not offered full chroma until the host restarted. The check now waits for the sign-in and runs then.
Tested. On the RX 7900 XT PC, the 3.4.0 build ran as a test host. Game settings per device: with a test game, a device's first launch kept the PC's settings file and saved the device's copy when the game closed. The next launch put that copy in place, while the Retroid Pocket 6, a second device, got the PC's file. A locked file stopped the launch with the reason. Killing the host mid-session put the file back as soon as it started again, and Put back now ended a stuck swap. A window that ignores closing was ended about 0.7 s after its 3 s exit timeout. Microphone only: the Retroid ran 7 min 20 s with its screen off (21,975 packets, 5 concealed), and desktop Nightjar ran 2 minutes minimized. Mute and Unmute stopped and restarted the PC's microphone, and a second device was refused as busy. Browser guests, in Chrome on the same PC and Chromium on a Linux PC on the network: guests had picture within 0.9 to 2.4 s and sound within about 0.25 s. With three guests watching, the owner's AV1 1080p60 stream kept host processing at 0.37 ms mean and 1.17 ms p95 (0.44 and 1.11 ms with none), and every guest decoded the same frames as the owner. A fifth guest was turned away, a view-only guest's input changed nothing, and Kick, Revoke and a 5-minute expiry worked. The guest port answered 404 whenever no link worked. In a release-build benchmark the owner's frames stayed within about 1 µs of no guests with one or four guests, H.264 and AV1. Keyboard-and-mouse guests, background mode with a real game and full chroma after a start with Windows are not tested on hardware yet.
New in 3.3.0 #
Rubylight 3.3.0 tells clients why a stream failed, in the host's own words, and lists the host's warnings on the console's Home page. It keeps the streamed microphone clean (#56), keeps a monitor that keeps reconnecting from blanking the stream, takes the network and display checks off the frame path, and brings Nucleus Co-op and NVIDIA fixes.
Errors and warnings #
- Clients learn why a stream failed. A stream that ends on an encoder error now tells Moonlight it was the encoder, so stock Moonlight shows its encoder advice instead of a bare "Error code: 80004005". The host keeps its own words for the failure (for example that HDR is on but the display is not in HDR), and Nightjar shows them in its error dialog.
- A stream larger than the encoder takes says so. Asking for a resolution beyond what AMF or NVENC can encode (8192x8192 on the RX 7900 XT, whose AMF HEVC limit is 8192x4352) now ends with that limit and the advice to choose a lower resolution, instead of a message about signing in or updating the driver. A size the encoder cannot take is no longer retried on the graphics queue either.
- A refused launch names its cause. When the encoder setting doesn't fit the PC (for example NVENC on an AMD-only PC), the client now gets the host's reason and the fix ("Set the encoder to Automatic"), not "No video encoder is ready".
- Host warnings on Home. The console lists the host's own warnings (settings replaced after moving from Apollo or Vibepollo, the removed NVIDIA frame limiter setting, missing codecs, a Windows Firewall rule that blocks Rubylight) with a Dismiss button. A one-time notice stays until you dismiss it, also across restarts; a dismissed warning comes back only when its text changes.
- A Windows Firewall rule that blocks the host is now a warning on Home and a finding in Help & diagnostics, not only a log line.
Streaming #
- A monitor that keeps reconnecting no longer blanks the stream over and over. With the exclusive layout, a monitor that drops its signal in standby or scans its inputs came back every 30-60 seconds, and each time the host switched it off again, which blanked the stream. After the same monitor comes back three times within five minutes, the host now leaves it on for the rest of the stream and says so on the stream card.
- Frame timing keeps working after a refresh change. On WGC capture, a game or Windows changing the display's refresh during a stream left the host timing frames against the old refresh, which could turn the present-time correction off for the rest of the stream. The host now reads the refresh again and starts the correction over.
- Fewer Windows calls in the frame path. The route to the client (network adapter and its speed) and the display's colour and HDR state are now checked on their own threads every two seconds and every second, as before, instead of on the encode thread before a frame goes to the encoder and on the video sender between frames. The capture thread no longer waits behind a display check either. The 5 s
stream timingslog line shows what is left (stage_checks_ms) and the slowest route lookup (link_lookup_max_ms). - The route lookup skips the adapter's traffic counters, which it never used.
video_send_mmcss_only(off by default) runs the video packetizer and sender with only the multimedia scheduler's boost, as the input thread does, for measurements under CPU load.
Microphone #
- The streamed microphone no longer clips into noise. Windows' recording slider for Microphone (Steam Streaming Microphone) runs up to +30 dB, with 0 dB at 54: at 100, or wherever a voice app's automatic gain pushed it, the client's voice reached apps 30 dB too loud and turned into distorted noise. While a client's microphone plays, Rubylight now keeps that slider at 0 dB or lower, checking again every second on a thread of its own, apart from playback, so the level set in Nightjar is the level apps hear. A lower level stays as you set it. Measured through Steam Streaming Microphone on the RX 7900 XT PC with the slider at 100: 43% of speech samples over full scale before, none after, tones back at 0.0 dB from +30 dB.
- A late microphone packet no longer breaks the voice off. When packets arrive in bursts, as over a busy Wi-Fi link, the playout used to run dry and cut the voice into silence for 10 to 80 ms. It now fills the gap with the Opus decoder's concealment, fades it out if the gap lasts past 40 ms, and crossfades back into the voice when its packets arrive. The concealment never plays ahead of what silence would have, so the delay stays the same, and playback never waits for the network thread's decoder. Measured through Steam Streaming Microphone on the RX 7900 XT PC with packets held back 40 to 80 ms at random, nine runs each: silent holes in speech went from 73 (2.1 s) to 26 (0.18 s), median PESQ-WB from 2.60 to 2.84, and the time trimmed to keep latency down from 3.3 s to 3.1 s. The "microphone stopped" log line now also reports how much was concealed and any concealment that failed.
- The host log now names Steam Streaming Microphone's playback and recording formats each time a client's microphone starts, and Rubylight reads the playback format back after setting it, so a format Windows doesn't keep shows up as a warning instead of distorted sound.
Nucleus Co-op #
- Background streams survive a game's start (Experimental). A game that swaps its splash screen for its main window, or resizes its window, while the stream opens no longer ends the first stream: the capture tries again on the game's current window for a few seconds. When the capture helper ends during start, the stream now says why instead of "Access is denied" or "The handle is invalid".
- Unreal games fill the phone's screen (Experimental). A game Rubylight adds to Nucleus Co-op itself starts in a window at the stream's resolution (
-ResX/-ResYwith-ForceRes, such as 2400x1080 on a 20:9 phone) instead of at its saved 16:9 resolution, even when that is larger than the PC's monitor, unless its arguments choose one. - No title bar in the stream (Experimental). A game window with a title bar or sizing border (Split Fiction) loses it, so the stream shows the game alone at the stream's size.
- The PC's keyboard and mouse stay out of DirectInput games (Experimental). For a game whose .exe imports DirectInput, Rubylight's Nucleus Co-op handler now also keeps the PC's raw input from the game, so NieR:Automata no longer reacts to keys pressed on the PC. Other games keep their raw input, so a pad they read through it still works.
NVIDIA #
- NVIDIA: bitrate changes no longer stall or force a keyframe. A higher bitrate from adaptive bitrate or error correction used to wait for the frames in flight and send a keyframe; on drivers that change the bitrate in place it now applies at once, as on AMD.
- NVIDIA: a clear message when the encoder sessions are taken. When another app such as OBS, ShadowPlay or Discord holds the GPU's encoder sessions, the stream now says so instead of suggesting a driver update or sign-in, and the startup check no longer opens a second session beside the first.
- NVIDIA: AV1 now starts on drivers from 522.25, and native 4:4:4, which the colour conversion cannot feed, is refused with a clear message.
Tested. On the RX 7900 XT PC with an isolated host, HEVC 2560x1440 at 120 fps and 3840x2160 at 60 fps streamed at 119.8 to 120.0 and 60.0 to 60.1 fps with no warnings. Moving the network and display checks off the frame path measured within run-to-run spread against 3.2.2 over eight alternating 90 s legs at 1440p120 (host time p99 1.19 against 1.24 ms, encode p99 3.98 against 4.04 ms; the base legs alone varied by 0.16 ms), so we claim no speed-up, and video_send_mmcss_only was not better under full CPU load, so it stays off. Two HDR toggles mid-stream were picked up on both builds. Requesting 8192x8192 ended with the encoder's limit in the host log and in Nightjar's dialog, encoder = nvenc on this AMD PC with the NVENC reason at launch, and a Windows Firewall block rule showed on Home. The release build ran 4248 Rust tests and 316 console tests without a failure. NVENC changes are not tested on an NVIDIA card.
New in 3.2.2 #
Rubylight 3.2.2 answers a Microsoft Defender warning on 3.2.1: setup no longer unpacks programs into ProgramData, the service keeps the same file across updates, Rubylight starts no hidden PowerShell for its own work and no longer downloads Nucleus Co-op. It also brings NVIDIA GPUs back with NVENC (Experimental), sound after a late audio ping, and a controller type per device.
Antivirus warning #
- Setup no longer unpacks programs into ProgramData. Windows Defender's cloud protection quarantined the Rubylight service while setup had it unpacked in
C:\ProgramData\Butterpollo\setup. Setup and updates now unpack, and in-app updates download the installer, into a.stagingfolder inside the Rubylight folder, which only administrators can change, and remove it when they finish; a failed update keeps its backup there for the rollback. Setup deletes the oldProgramData\Butterpollo\setupfolder, and Rubylight the installers earlier versions downloaded to itsupdatesfolder. - The service file stays the same while the service version is unchanged.
butterpollo-service.exenow has its own version and changes only with it, so after an update antivirus programs see a file they already know instead of a new one. The service starts and watches the host, watches the display driver and rolls back interrupted updates as before. It asks the host about the driver only when the device appears, before a repair, or again later when a check failed, and the Nucleus Co-op restore runs as the host starts and as you sign in. The checks it starts end with the service, so none of them holds Rubylight's files during an update. - Every Rubylight executable now names its company, copyright and original file name in its file properties.
- Fewer hidden PowerShell runs. The Wake-on-LAN check and fix, the setup's network adapter list, its removal of the old libvirtualdisplay driver and the restore of the Remote Desktop firewall rules after child sessions now ask Windows directly (WMI, SetupAPI, pnputil and the registry) instead of starting PowerShell in the background, which antivirus heuristics treat as suspicious. The Wake-on-LAN check also works where PowerShell is blocked by policy.
- Rubylight no longer downloads Nucleus Co-op. The game page's Play together panel and Help link to the Nucleus Co-op 2.4.2 release instead: unpack it into a folder under C:\Program Files and choose that folder there. Rubylight checks the folder before it keeps it and says why when it refuses one: no NucleusCoop.exe, another release, a folder that anyone but administrators may change, or files Windows still marks as downloaded (unblock the zip before unpacking it). A Nucleus Co-op an earlier version downloaded keeps working. A folder chosen earlier that holds another release falls back to that copy, and the panels say so.
NVIDIA #
- NVIDIA GPUs stream again (Experimental). Rubylight encodes with NVENC on NVIDIA graphics cards: H.264, HEVC, and AV1 where the card's encoder offers it, with HDR, HDR10+, HDR Vivid, Dolby Vision and 4:4:4. Setup and the host accept NVIDIA. With the encoder set to automatic, the host picks NVENC or AMF from the graphics card that captures. Intel graphics stay on Rubylight 2.6.x.
- NVENC keeps frames within the same frame cap as AMF. An oversize scene cut is encoded again as a keyframe, so it keeps its error correction. With slice delivery on, a large picture's slices leave as they finish.
- NVENC encodes from the compute-queue colour conversion on a D3D12 session (NVIDIA driver 522.25 or newer) and takes encoder focus from it. The startup focus check needs driver 531.61 or newer.
- On NVIDIA the host runs at realtime GPU priority, so encoding keeps up with a game that fills the GPU. This applies with hardware-accelerated GPU scheduling on, unless you turn off Realtime GPU priority with hardware scheduling (
nvenc_realtime_hags) in the NVIDIA NVENC settings. Without administrator rights the host runs at high priority and the log says so. - If Rubylight 3.0 to 3.2.1 changed your encoder setting from NVENC to AMD AMF, set Encoder back to Automatic to stream from an NVIDIA card. Those releases also removed the NVENC settings, so set them again.
Streaming #
- Sound comes back after a late audio ping. A stream whose client's audio ping missed the first 10 seconds stayed silent until you reconnected. The host now keeps waiting, shows a warning while the ping is missing, and sends sound as soon as it arrives.
Devices #
- A controller type per device. Devices → device → Controller sets the virtual controller for that device alone, in place of the Controller type in Settings. Moonlight on a Nintendo Switch reports no controller type, so Automatic can't pick Switch Pro for it; now it can be set there without changing every other device's controller.
Tested. On the RX 7900 XT PC, rubylight-setup-3.2.2.exe --quiet installed over 3.2.1 with exit code 0: the host reported 3.2.2, the service 1.0.0 ran, the display self-test as SYSTEM passed, and C:\ProgramData\Butterpollo\setup and the .staging folder were gone afterwards. Microsoft Defender with security intelligence 1.463.76.0 found no threat in the setup, the zip or the service. Three service builds from different host sources, the last with NVENC, gave the same file (SHA-256 ed539d9b…e975). The native Wake-on-LAN reading matched Windows' own network adapter cmdlets on this PC (same adapters, 247 driver settings). The release build ran 4323 Rust tests and 314 console tests without a failure. NVENC is not yet tested on an NVIDIA card.
New in 3.2.1 #
Rubylight 3.2.1 lets Stream in the browser pick AV1, HEVC or H.264 and stream in Firefox (#66, #67), keeps fixed-rate streams steady when a game runs faster than the stream, lets pause and resume commands run side by side, and fixes the Wake-on-LAN check in the console.
Stream in the browser #
- Stream in the browser picks the codec, resolution and frame rate. The Stream page now offers AV1, HEVC and H.264 at every resolution and frame rate the host's encoder takes, limited to what the browser can receive. It starts with a codec the browser decodes in hardware at 1080p60 and remembers your choice (#67).
- Firefox streams in the browser. Firefox refused the host's offer with "SIPCC Failed to parse SDP: Min is not smaller than max". The page now leaves out the Samsung TV line that caused it (#66).
Streaming #
- Steadier fixed-rate streams beside other windows. When a game runs at two to four times the stream rate (120 Hz at 60 fps), the host now follows the game's own frame timing, so another window's updates no longer take the place of the game's frames or hold back the frames after them. Measured on the RX 7900 XT at 1080p60 with a 120 Hz game: beside a window animating at 30 fps, end to end p95 was 0.6 ms lower and picture age p95 1.0 ms lower; on a quiet desktop, 0.9 and 1.9 ms lower. Frames ready for the encoder waited under 0.5 ms at p95 in most runs, against 1.4 to 2.3 ms before.
Apps #
- Pause and resume commands no longer block each other. Rubylight waited for each pause or resume command to finish, so a script that keeps running while the game is paused (Apollo's auto-pause script with
pause.ahkandresume.ahk) held back the resume and was killed after two minutes. These commands now start without waiting, as on Apollo.
Console #
- Wake-on-LAN check reads the adapter again. Settings → This PC showed "Allow this device to wake the computer" and "Only allow a magic packet" as Unreadable on every PC, so no adapter ever showed as ready and the console never offered to switch them on. It now reads both, and offers the fix when they're off.
Tested. On the RX 7900 XT at 1080p60 with a 120 Hz game, alternating old and new builds for 30 s each, fixed-rate streams had a lower end to end p95 in every pairing: 10.66 to 10.02 ms beside a window animating at 30 fps, 12.31 to 11.44 ms on a quiet desktop, and 10.30 to 10.08 ms at 1080p120, where the host claimed about 0.2 % fewer frames (119.8 to 119.9 fps against 120.1). Firefox 159 rejected the host's real offer exactly as reported in #66 and accepted it with the page's edit, answering H.264 and AV1; AV1 and H.264 at 1080p60 streamed through the Stream page from an isolated host. The full host suite, clippy and the release build pass.
New in 3.2.0 #
Rubylight 3.2.0 fixes background streams through Nucleus Co-op from the reports in #56 and #59: quitting ends the game, your controller is the one the game reads, and the game stays off your monitors. It also makes the client microphone sound right on PCs with Steam Streaming Microphone, gets 4K streams to the client sooner, and keeps a minimum of recovery data in Nightjar's Automatic error correction.
Background and co-op streams #
- Quitting a background stream's game on the device now ends it, also after the stream itself already ended: Moonlight's Quit and Nightjar's Quit (Close game) stop Nucleus Co-op and the game instead of leaving them running for two minutes. (#56)
- Your controller reaches the background game again. A background stream started soon after another one now unplugs the earlier session's virtual controllers first, so the game reads your controller instead of a leftover one. When one of the PC's own controllers sits ahead of yours, the stream says so.
- A new Nucleus Co-op session, co-op or background, first unplugs the controllers that ended streams still keep plugged in, so the game no longer reads one of those as player one. Controllers stay plugged in when the launch is refused, when the device goes back to its own session, or when Nightjar is still preparing them for a launch. (#56)
- Nucleus Co-op's profile is now clicked even when another window covers Nucleus Co-op on the PC: the host raises it for the click without taking the focus and puts it back. The first click also waits until Nucleus Co-op 2.4.2 can load the profile, which avoids its untitled "The profile can't be loaded" box. (#56)
- A background stream whose game window doesn't come back when you return (the game minimised or lost it) now ends with the reason after 90 seconds, so the next background launch is no longer refused while the game runs on unseen. (#56)
- The PC's keyboard and mouse stay out of a background game. Its window no longer gets keys, clicks, the wheel or cursor positions from the PC, even when the game comes to the front. A game that reads raw input can still see the PC's mouse while it is in front.
- Background games stay off your monitors. Unreal Engine games start in a window, so they stay where Rubylight parks them instead of going fullscreen on the PC's monitor. A game that keeps coming back to a monitor, or minimises itself when it loses the focus, is put back for the whole stream, not just the first few seconds.
- A Nucleus Co-op stream of a game that waits on a "Mandatory ASLR" box of its own no longer stays on a black screen. Assassin's Creed IV Black Flag Resynced shows only "Disable Mandatory ASLR". The host now spots that box and ends the stream with the reason. When Windows forces "Force randomization for images" on the game, the message says how to turn it off for the game's .exe in Windows Security's Exploit protection. The host never changes that setting itself, and it doesn't drop the game's input hooks over it. When Windows doesn't force it, the game rejected the way Rubylight hooked it: its next start tries the next way, and as a last resort starts it without hooks. (#59)
Microphone #
- The client microphone sounds like itself again. Steam Streaming Microphone passes what the host plays straight to its recording side without converting, and with its default formats (stereo 48 kHz playing, mono 44.1 kHz recording) a voice reached games and chat apps pitched down to less than half and chopped up. The host now gives the playing side the recording side's format before it plays. Measured on the RX 7900 XT through the real devices: speech PESQ-WB 1.09 → 4.64, tones from 440 Hz to 10 kHz arrive at their own pitch and level (THD+N -66 to -74 dB). If the format can't be set, the session shows a warning instead of sounding wrong quietly.
Streaming #
- 4K streams arrive sooner. H.264 and HEVC streams with 4K-size pictures (3840x2160, 4096x2160, 5120x1440) now send each frame slice by slice while the encoder finishes the rest, with no client change; Moonlight and Nightjar reassemble the frames as before. Smaller pictures still go out whole, because there it measured no gain.
video_slice_delivery = offturns it off, and2or4turn it on for every size. Measured on the RX 7900 XT at 4K60 HEVC: the picture arrived 1.2 to 1.3 ms sooner on loopback and 0.5 to 1.0 ms sooner paced as for a Wi-Fi client (October: 1.4 ms over Wi-Fi 6E to Nightjar on a laptop). On these streams Moonlight's overlay shows about 2 ms more host processing time, although the picture arrives sooner. - Nightjar's Automatic error correction now keeps at least 10 % recovery data. Before, it dropped to none after one clean second, and on real Wi-Fi (Retroid Pocket 6, 150 Mbps) any lost packet then cost a frame and a keyframe: 14 frames over six runs, against none with the PC's own setting. With the floor, four runs on the same link lost no frames under either choice. The PC's setting stays the default, because under steady loss Automatic still lost more frames.
Tested. On the RX 7900 XT through the real Steam Streaming Microphone devices, speech went from PESQ-WB 1.09 to 4.64, and tones from 440 Hz to 10 kHz kept their pitch and level (THD+N -66 to -74 dB). At 4K60 HEVC, slice delivery got the picture to the client 1.2 to 1.3 ms sooner over loopback and 0.5 to 1.0 ms sooner paced as for a Wi-Fi client. On a Retroid Pocket 6 over real Wi-Fi at 150 Mbps, Automatic error correction lost 14 frames over six runs without the floor and none over four runs with it. The Nucleus Co-op fixes have regression tests for each failure in the #56 and #59 logs; they haven't run on a live stream of the reporters' games yet. The full host suite, clippy and the release build pass.
New in 3.1.1 #
Rubylight 3.1.1 keeps streams timed to your screen's refresh after the PC was busy, starts background streams of games Nucleus Co-op was never set up for (#56), gets each frame of a WebRTC stream onto the network more than twice as fast, and does less work per frame across the host.
Streaming #
- Streams no longer stay a few milliseconds behind after the PC was busy. With Nightjar, the host times frames to arrive just before the client's screen refreshes (phase lock). When the PC was busy for a while (a build, a game loading), the phase lock could lose that refresh and never find it again: until the stream restarted, frames arrived anywhere in the refresh, about 7 ms later on average and with some judder, and the PC sent slightly more frames than the screen shows. Rubylight 3.1.0 already had this. The host now notices when it has lost the refresh and finds it again within a few seconds, also when the PC's clock and the client's run well apart.
- Games running faster than the stream reach the screen in time. A game at 120 fps streamed at 60 fps gives the host a new picture only every 8.3 ms, so the phase lock could only move frames a whole picture later, never earlier, and could end up with most frames just missing the refresh and waiting a whole extra one (about 14 ms). The host now moves those frames by whole pictures, a picture later when they would miss the refresh, so they reach the screen within a picture before it.
Co-op and background streams #
- Background streams no longer stall on "Press a button on Player1's gamepad". Nucleus Co-op decides per game whether pads are assigned by slot or by a button press, and saves the first game it ever loads with button press. Such a game never started in a background stream, since nobody can press a button before the stream is up. Rubylight now gives the game pads by slot before each background or co-op stream.
- When Rubylight can't clear out an old copy of a user's Nucleus Co-op files, the log now names Windows' actual reason instead of "The directory name is invalid".
Performance #
- WebRTC streams (browsers and Samsung TVs) hand each frame to the network 2.2-2.7x faster, with 5-12% less host CPU. Rubylight now writes each run of equal-sized packets to Windows in one call instead of one call per packet.
- Under the hood, the host's largest source files are split into focused modules, and the video packet path, encrypted control messages, browser streaming and Nucleus Co-op folder copies do less work per frame or file. Writing a user's own copy of Nucleus Co-op (a 127 MB folder in our test) takes a median 0.6 s instead of 1.1 s.
Tested. On a Retroid Pocket 6 (59.8 Hz) with Nightjar 4.1.1, streaming a 120 fps window at 60 fps with Lowest latency, the 3.1.0 host sent 60.4 to 61.1 fps and 3.1.1 sent 59.7 to 60.0 fps, locked to the screen; frames from the PC to the screen took 31.0 to 31.9 ms (median) and 36.2 to 36.7 ms (95th percentile) against 31.6 to 32.2 and 38.7 to 38.8 ms, and 0.15 to 0.96% of frames were more than half a refresh off against 1.1 to 1.6% (two 35 s runs each). On the RX 7900 XT with a game running, a WebRTC frame's last packet reached the client over loopback after 185 µs instead of 402 (P frame) and 1,047 µs instead of 2,825 (key frame); alternating old and new builds, 4K60 HEVC and AV1 WebRTC streams used 8-12% less host CPU on the PC and 4.6% less on the 780M laptop. Against 3.1.0, 1440p120 HEVC streams over Desktop Duplication and WGC and 4K60 HEVC and AV1 WebRTC streams kept the same timings, and after the refactor all eight alternating 1440p120 HEVC runs held 120 fps with the same host times. The full host suite, clippy and the release build pass.
New in 3.1.0 #
Rubylight 3.1.0 polishes the console from sign-in to the last settings page, lets you remove several games at once and bring them back (#65), and fixes background streams through Nucleus Co-op, bursty microphones and setup with a leftover settings folder (#56, #59, #61).
Console #
- A calmer, more consistent console. The sidebar fits any window: its links scroll while the logo, your PC and Sign out stay in view, and it carries the same ruby mark as the tray and setup. Page buttons sit on the title's line on every page, and notices, folding sections, empty pages and buttons look and behave the same everywhere, in light and dark, on a PC or a phone.
- Home gets to the point. One View checks that scrolls to the checks, its own icon for your devices, and no empty gap on phones. Signing in and first-run setup are one welcoming card.
- Games look like a library. A game without cover art gets a poster of its own, tinted by its name and showing its initials ("Hades II" reads H2); Desktop and Steam Big Picture get a picture. Each cover has one round Launch button that shows on hover or keyboard focus, and always on touch screens. The toolbar is tidier, and Playnite shows once in the launcher list, with its options and plugin version. A game's page and Add games read more calmly and fit a phone.
- Allow pairing from the Devices page. When pairing is off, one button turns it on right there. Each device shows one status (Connected, Offline or Disabled), with Settings and a More menu beside it.
- Wake-on-LAN puts the fix first. One status for the panel, then the problem and Apply changes, with the adapter details as quiet text.
- Help reads as one page with even button groups and offers Return to console only when it can work. API tokens and Stream in the browser say what to do next when there is nothing to show yet.
- The Games page no longer breaks when a launcher scan answers without a game list.
Games library #
- Select games in the library and remove them together. Select on the Games page puts a checkbox on every cover; pick games one by one, all at once, or every game of one launcher, then Remove. Removed games stay out of your library: no sync adds them back.
- Changed your mind? Restore removed games. Under Where your games come from, Restore removed games lists the games you removed. Pick some or all, and the ones still installed are back in your library.
Co-op and background streams #
- One stuck file no longer blocks every background stream. After a background stream, a file in your own copy of Nucleus Co-op (a game's profile or Rubylight's handler) could end up one Windows no longer let your account change, and from then on every background stream of any game failed with "Access is denied". Rubylight now checks those files before each start, and when one is stuck it sets that copy aside and makes a fresh one. What it can't remove of the old copy is tried again at the next start.
- Games that refuse Nucleus Co-op's input hooks get another way in. Rubylight's own one-player handler has Nucleus Co-op inject ProtoInput into the running game, which keeps it from the PC's keyboard and mouse. Some games refuse that (Assassin's Creed IV Black Flag Resynced does), and Nucleus Co-op then shows "ProtoInput failed to runtime inject" and ends the game. The stream now ends saying so, and the next start has Nucleus Co-op inject the hooks as it starts the game, before any of its code runs. A game that refuses that too gets them from one of its own threads, and only a game that refuses every way starts without them: Nucleus Co-op still tells it it has focus, but a keyboard, mouse or pad on the PC can reach it too, and the stream says so. Rubylight remembers each game's way.
- Reinstalling leaves your own copy of Nucleus Co-op alone. A reinstall reset the permissions of everything in
C:\ProgramData\Butterpollo, also each account's copy of Nucleus Co-op, and took away your account's right to change its copy: the next background stream had to copy Nucleus Co-op again. A link you made in your copy stopped every reinstall and update. Setup now leaves those copies as Rubylight made them, and Rubylight keeps checking them itself before each start.
Microphone #
- Microphone audio from devices that send it in bursts no longer drops in chunks. Some Android TVs deliver several voice packets at once; the host cut the queue back to 20 ms each time and lost up to 5% of the audio. The host now learns how far apart packets keep arriving and holds up to twice that (at most 150 ms). A steady device keeps the delay it had, and a device clock that runs fast loses small crossfaded slices instead of whole chunks.
microphone stoppedin the log now counts underruns, where the microphone ran dry while audio kept coming, and their length next totrimmed_ms.
Setup #
- A permission repair that stopped halfway is finished by the next setup or update. Settings folders from early versions belong to the account that installed Rubylight, and setup repairs them. One interrupted after the folder itself was fixed left the rest as it was, and later runs didn't notice. Setup and updates now check everything in the folder, except the Nucleus Co-op copies, and repair until all of it is Rubylight's. A settings folder that disappears while setup checks it now stops setup instead of being made again with the permissions every account has in ProgramData.
- Setup no longer stops on a leftover
C:\ProgramData\Butterpollothat your own account owns. With no Rubylight installed, setup can't tell who made that folder, so it doesn't use the settings or pairings in it. It moves the folder toButterpollo.untrusted-<time>unchanged, starts with new settings and says where the old folder went. - A stream to a virtual display no longer logs a frame limiter warning when the limiter is off on purpose; the warning stays for a cap that was asked for and failed.
Tested. The console was checked page by page in light and dark, at 1440x900 and on a 390 px phone: against fixture data (52 screenshots), and against a running 3.1.0 host on the RX 7900 XT with its own profile, where first-run setup, sign-in and all eleven pages loaded with that PC's library of 27 games and no script errors. The console's 299 unit tests and its five browser suites pass. The full host suite (4,108 tests), clippy and the release build pass.
New in 3.0.1 #
Rubylight 3.0.1 fixes co-op and background streams through Nucleus Co-op, which in 3.0.0 hung at the start and then failed with "the game did not start" (#59).
- Background streams through Nucleus Co-op start the game. Rubylight's profile left each player's processor setting empty, which Nucleus Co-op 2.4.2 can't read, so a start failed just after the game's process came up. The profile now says "any processor", as Nucleus Co-op itself writes it.
- A click on the profile that comes too early no longer stalls the start. Nucleus Co-op answers a click made while it still builds its setup screen with "The profile can't be loaded" and then ignores every later click. Rubylight now closes that box, logging what it said, and clicks the profile again until the game starts; once Nucleus Co-op has hidden its game list to play, it never clicks again.
- A start that times out now says where Nucleus Co-op stopped (its setup screen still waiting for a player's controller, or the box it showed after the last click) instead of asking you to load the profile by hand.
- The console says where WebRTC pairing requests appear: on the Devices page.
Tested. On the RX 7900 XT with Nucleus Co-op 2.4.2 running as the signed-in standard user, as in #59: Rubylight closed the early box, clicked again, and the game's process and window came up about 11 s after launch; its window was captured at 1280x720 and pad input reached it, with the session still running after a 30 s hold. The full test suite, clippy and the release build pass, with new regression tests for the profile, the re-click and the boxes it closes.
New in 3.0.0 #
Rubylight 3.0.0 is the stable release of the 3.0 line. It covers everything since 2.6.0, including the nine previews from 3.0.0-alpha.1 to rc.5. It brings split-screen co-op and background streams through Nucleus Co-op, a picture that holds through scene cuts and lost frames, a bitrate that follows the network, Dolby Vision, HDR10+ and HLG, sound for receivers and soundbars, Neural Rendering, and a simpler console. Stock Moonlight clients keep working and get the streaming fixes too. Formats and features that need the client's support go only to a client that asks for them, and the protocol version is unchanged. Nightjar 4.0 is the matching client.
Highlights #
- The picture holds through loss. Scene cuts no longer freeze the stream (15 freezes to 0 in our test), and H.264 and HEVC repair a lost frame with a small frame instead of a keyframe.
- The bitrate follows the network. When the link can't carry the stream, the host lowers the bitrate and comes back by itself, PyroWave included.
- Play together. Split-screen co-op gives each player their own copy of the game, and background streams play away from your monitors, both through Nucleus Co-op.
- Neural Rendering. A switch on a game's page installs a neural upscaling mod into games with DLSS, FSR or XeSS, and takes it out again.
- Dolby Vision, HDR10+ and HLG. HDR streams carry per-scene brightness data, Dolby Vision works on HEVC and AV1, and screens that show only HLG get HLG.
- Sound for your receiver. PCM up to 7.1.4, Dolby Digital and Dolby Digital Plus, plus 7.1.4 surround, night mode, headphone surround and haptics from game audio.
- A simpler console. Home walks you through pairing and playing, Games lists every launcher, Settings shows the ten settings most people change, and pairing takes a QR code.
- Clipboard, files and USB. Copied text and images go both ways, shared folders and file transfer reach the PC's files, and USB devices can be forwarded to the PC.
Upgrading from 2.6.x #
Rubylight 3.0 needs an AMD Radeon GPU with a working AMF encoder, on Windows 10 or 11; NVIDIA and Intel graphics stay on Rubylight 2.6.0. Setup upgrades 2.6.x, Vibepollo and Butterpollo in place and keeps your settings, paired devices, games and covers.
Picture and encoding #
- Scene cuts no longer freeze the picture. When a scene cut comes out of the AMD encoder too large to keep its error correction, the host encodes it again as a keyframe that fits. In our 250 Mbps HEVC 1440p60 test at 0.3 % random loss, lost scene cuts went from 15–16 to 0, with no change in encode time. Numbers.
- Recovery keyframes keep their error correction. The keyframe that repairs a lost frame is kept small enough for its full error correction, so random loss no longer takes it too. In the same test, freezes over 100 ms went from 4 to 0 and picture age dropped by 3 ms. When keyframes still come out more than a tenth over the automatic frame cap, the host lowers that cap until they fit.
- Faster repair after a lost frame on H.264 and HEVC, for every client. Instead of a full keyframe, the host sends a frame predicted from an older picture the device still has. At 1440p120 that frame was 3 % to 46 % smaller than the keyframe when 1 or 2 frames were lost; for longer losses the host still sends the keyframe.
amd_ltr_frames = 0turns it off. - AV1 repairs without intra refresh. With intra refresh, the AMD driver turned off the references a repair needs. Now a loss costs a 48 KB repair frame instead of a 101 KB keyframe, and ordinary frames are about a third smaller (33.5 KB instead of 51.2 KB at 1440p120 and 50 Mbps). Numbers.
- Fresher frames with VRR. The host now times the game's own frames instead of each capture, and waits for the game's next frame when it is close. A 120 Hz game in a 60 fps VRR stream reaches the encoder 0.27 ms old instead of 4.7 ms (median) and leaves the host 3.5 ms sooner. Numbers.
- A focused VRR game keeps its own pace beside another window. On Windows 11 24H2 and newer, another window's animation or a pointer move no longer makes a focused game repeat and skip frames. With a 60 Hz game at 60 fps on a 240 Hz VRR desktop and another window animating beside it, repeated game frames fell from 159–294 to 0–20 per minute, and capture age p99 from 6.2–16.5 ms to 0.4–6.1 ms. A game alone on the display is paced as before. Numbers.
- Three stream presets. Stream preset under Streaming picks Lowest latency, Balanced (the default, which changes nothing) or Reference quality, for the host, a device or an app. A value you set yourself always wins. Lowest latency made the first keyframe 29 % smaller on HEVC and 38–40 % smaller on H.264, with latency within 0.15 ms of the others. Stream presets.
- Full chroma takes effect when you save it, with no host restart. Turning it off, or turning off HEVC or AV1, withdraws it at once.
/serverinfolists the packed 4:4:4 modes the host offers (Packed444Modes), and a slow first frame no longer gets packed 4:4:4 refused. - 10-bit SDR on request. A client that asks for a 10-bit format with
hdrMode=0gets a 10-bit SDR stream, packed 4:4:4 included. - PyroWave is there when you need it. It recovers when the GPU device it converts on is lost, the host checks again a minute later when its first check timed out, and a host started without administrator rights offers it again (its check took 24 s there instead of 1.4 s).
- Slice delivery (
video_slice_delivery = 4, off by default). The host starts sending an H.264 or HEVC frame while the rest of it is still encoding. At 4K60 HEVC and 80 Mbps the picture arrived 1.3 to 1.5 ms sooner on loopback and 1.2 to 1.4 ms sooner over Wi-Fi 6E. At 5 % loss, 8 frames could not be rebuilt with it on and none with it off, so it stays off by default. Numbers. - Encoder focus (
encoder_focus, off by default).staticgives still parts of the picture, such as a HUD or text, more of the bitrate;centrealso favours the middle of the screen. A codec that fails the startup check streams as before. - A resized game window streams at its new size, also when the game stopped drawing after the resize.
- Where frames go missing. The console's stream details, the 5 s
stream timingsin the host log and Nightjar's overlay show how many frames per second the display produced and the host captured, encoded, sent and repeated. - Missing codecs are explained. When a codec is missing, the host log, the console and a refused launch say why: a setting, the driver's error by name, or a video engine without that encoder. Nothing is switched off by GPU name.
Network and bitrate #
- The bitrate steps down when the link can't carry it (
link_rate_adaptation, on by default). When the device loses frames that error correction can't repair, the host cuts the bitrate to what the link delivered, probes back up in small steps and returns to the requested rate after ten clean seconds. On a 50 Mbit/s link asked for 75 Mbps it cut within 1.6 s and lost 1.1 to 1.2 % of frames after the start, instead of 6.7 %. A link that carries the stream sees no change, and the stream card says "Bitrate limited by the network". Details. - PyroWave's bitrate follows the link too. Through a link limited to 250 Mbit/s, a 400 Mbps PyroWave stream used to lose 32 % of its packets with no picture arriving whole; now it settles at 250 to 290 Mbps, loses 2.7 % and gets 81 % of pictures through whole. It stops at PyroWave's lowest workable bitrate (187 Mbps at 1080p60), and below that the warning says to use HEVC or AV1.
- Error correction the device chooses. A device can pick its own share of recovery packets, or have the host follow its once-a-second loss reports. On a shaped link modelling 60 Mbit/s Wi-Fi, following the device cut median loss from 2.37 to 0.26 % and freezes from 21 to 1. The PC's own setting stays the default, and
fec_max_percentage(50 % by default) caps both. Numbers. - No slow pace by mistake. A clean stream no longer falls to the slow pace for the session, or for the next day, because a decoder asked twice for a keyframe (#59), the PC's own network adapter refused packets as a game started, Alt+Tab or a bitrate change sent a keyframe (#48), or the first keyframe was lost. A device asking again for the same repair no longer lowers the bitrate either. Pacing history saved by older versions is dropped once.
- Wi-Fi pacing from the first frame. A device that reports a Wi-Fi or mobile route (Nightjar does) gets adaptive packet pacing from the start. On a 2.4 GHz laptop link it cut unrecoverable frames from 61 to 15.7 per 90 s run, with no change on clean 5 GHz. A device that reports its wired link speed is paced for the slower port. Numbers.
- Bitrate and frame rate change mid-stream, without reconnecting and without a keyframe, for a device that asks at launch.
- Keep streaming when the network changes. A phone moving from Wi-Fi to mobile data keeps its stream after proving its new address with the stream key (
client_roaming, on by default). - Control messages arrive right after an outage. What the host sent during a short outage now reaches the device 85 ms after it is heard from again, instead of 1.0 to 2.9 s later. Every Moonlight client benefits.
- Replies come from the address the device reached (#54), which fixes reconnects failing with error -1 when Tailscale runs beside the LAN.
- Video packets are the size the device asks for (#52). A Moonlight asking for small packets on a remote route got a green, broken picture; the
packetsizesetting is gone. - Bandwidth test. A paired device can time a short download before it picks a starting bitrate (
bandwidth_probe, on by default; never while a stream runs). - Each launch starts one stream. A second start of the same launch is refused, a stalled RTSP handshake closes after 10 s, and a launch nobody connects to expires after 30 s.
HDR and Dolby Vision #
- HDR scene data. HDR streams carry HDR10+ in HEVC and AV1, and HDR Vivid in HEVC, measured on the GPU for each frame (about 60 to 90 µs of CPU per frame), so a display that tone-maps with it follows each scene. Devices without HDR10+ ignore it.
hdr_dynamic_metadataturns it off. Numbers. - Dolby Vision on HEVC and AV1. Devices that ask get Dolby Vision profile 8.1 on HEVC and 10.1 on AV1, over the stream's HDR10 picture, so everyone else gets HDR10 as before. On a TCL C6K TV, a Dolby Vision AV1 stream carried its data on all 2317 frames and showed as Dolby Vision from the first frame.
hdr_dolby_visionturns it off. - HLG. HEVC, AV1 and PyroWave HDR streams offer HLG to screens that show HLG and not HDR10, graded for a 1000-nit display. With HLG, HEVC also offers Dolby Vision profile 8.4.
hdr_hlgturns it off. - Windows HDR Calibration on virtual displays (
virtual_display_hdr_calibration, off by default). A new virtual display gets the calibration profile of the PC's physical HDR display for the stream. - 10-bit SDR streams never carry HDR10+, HDR Vivid or Dolby Vision data.
Audio #
- PCM, Dolby Digital and Dolby Digital Plus. A device that asks gets uncompressed PCM (stereo up to 7.1.4), or Dolby Digital and Dolby Digital Plus (stereo and 5.1), for a TV, soundbar or receiver to decode. Dolby comes in 32 ms frames, so it reaches the network up to about 30 ms later than Opus, which stays the default. Encoding Dolby takes about a fifth of the CPU Opus takes. Numbers.
- 7.1.4 surround. A device that asks for 12 channels, such as Nightjar on Android or Windows, or Moonlight V+, gets 7.1.4 Opus. On 7.1, 5.1 or stereo speakers the height channels are mixed into the speakers below.
- Night mode (
audio_night_mode) evens out loud explosions and quiet dialogue, with no added buffering. - Headphone surround (
audio_headphone_surround) renders the game's 7.1 or 5.1 mix for headphones on a stereo device. The stream stays stereo Opus, so every Moonlight client works. Both are off by default and can be set for the host, a device, an app or one session. - Switch them from the device. A device can turn Night mode and Headphone surround on or off during its own stream, and the change carries to its next session of the app. Each streaming device changes only its own stream. Nightjar's stream menu has both switches.
- Haptics from game audio (
audio_haptics, off by default). A DualSense on the device feels the game's bass and impacts when the game sends no vibration of its own. - No audio gap when the game goes quiet. The host keeps sending at its normal pace through silence, so devices no longer hear an underrun each time.
Play together #
- Split-screen co-op. A game Nucleus Co-op supports gets a second entry with "(Co-op)" after its name. Each device that launches it takes the next free slot and streams its own copy of the game, with its own controller, picture and sound. Play together › Set up co-op on the game's page downloads Nucleus Co-op and gets the game ready. Co-op.
- Each player gets only their own game. A stream shows only that player's window, plays only its sound (Windows build 20348 or newer) and sends rumble back to that device. Keyboard, mouse and a second controller never reach the PC's desktop.
- Co-op on Home. Home shows each running co-op game with its players. Remove takes a player out, End co-op ends every stream, and Let … join lets another paired device in. A device that drops keeps its slot for two minutes, and Can join co-op games on a device's page keeps one out.
- Background streams through Nucleus Co-op. A background stream runs the game as its own instance, away from your monitors, so the PC's displays, layout and focus stay with you. Background streams take controllers only, and get a card on Home with End stream. A saved
background_modebecomesnucleus. - One-player games stream in the background too, without a handler from Nucleus Co-op's hub (#59): Rubylight writes its own handler and adds the game to Nucleus Co-op's list. When the game needs no administrator rights, it runs as you, from your own copy of Nucleus Co-op.
- Steam games start as Steam would start them, with their launch options and Steam app id, so they don't restart through Steam. A launcher's own .exe, or a frontend's, is refused with the reason.
- What can't stream says why first. A game with anti-cheat, including Valve Anti-Cheat and Battle.net's Blizzard games, a game on a network share and a program in the Windows folder are refused before anything is written. The Play together panel says what will happen before you launch, also on an account without administrator rights.
- Nucleus Co-op stays out of your way. Close Nucleus Co-op sits next to Open Nucleus Co-op on this PC, Set up co-op no longer hangs on its loading screen, and a background stream no longer waits for a question nobody at the PC answers. When Nucleus Co-op still doesn't start the game, the stream says why.
- Your compatibility settings come back. Nucleus Co-op changes a game's Windows compatibility settings and never puts them back; Rubylight now does when the session ends, also after a crash.
- Rubylight downloads Nucleus Co-op 2.4.2 at the first co-op launch, checks its size and checksum, and installs it where only administrators can change it. Nucleus path points at your own copy instead. Co-op needs the host to run as the Windows service.
Games and library #
- Neural Rendering. A switch on a game's page installs a third-party neural upscaling mod into the game's folder, for games with DLSS, FSR or XeSS, and removes it again. The first time, a notice explains it is at your own risk, with Cancel as the default. Rubylight downloads one pinned release (0.3.5.8R2, about 1 GB, 88 s on our PC) and checks it against its pinned and published checksums. Games with anti-cheat, Valve Anti-Cheat or another upscaler mod are refused. Turning it off, or deleting or uninstalling the game, removes only what Rubylight put there. It needs Radeon graphics with RDNA 3 or RDNA 4 and 12 or more compute units, and AMD Software 26.9.1 or newer; elsewhere the switch says why it is off.
- One game, different settings per device. The app editor's Per device panel gives a game its own stream preset, frame limit, Radeon preset and game files on one device, such as 60 fps on the TV and 120 on a handheld.
- Managed game files. A game's own
.inikeys, such as a frame limit, can follow the stream: a fixed value or{stream_fps}. The host sets them when a stream starts the game and puts them back when the session ends, also after a crash, leaving every other byte as it was. It writes only existing.inifiles inside the game's folders, as the signed-in user. - Every installed game, from every launcher. Steam, Playnite, Epic Games, Battle.net, EA app, Ubisoft Connect and GOG games are added by default, Microsoft Store and Xbox PC games are listed in Add games, and Game folders lists the games in folders such as
D:\Games. A game a launcher no longer has shows "Not installed", with Remove beside it. - The library sync never changes an app you made. Syncs change only the apps they added. Editing a synced game makes it yours, and a game you delete stays deleted.
- Radeon settings per game. A game's Radeon section has presets (Competitive, Smoothness, Quality, Custom) and plain controls for Anti-Lag, frame rate cap, Chill, sharpening and more. The host applies them when the game starts and puts them back after the session, also after a crash.
- A confirmed game switch. Starting another game closes the running one only when the person on the device confirms.
- The session says when a launcher is in the way, such as a Steam, Epic Games, EA app or Ubisoft Connect window that wants an update or a sign-in.
Displays #
- A VRR device and a fixed-rate device share one virtual display. A device that needs a faster refresh raises the shared display's refresh in place, so the VRR device keeps VRR.
- A device can set its virtual display's scale. Nightjar's PC display scaling sets the text and interface size on the device's virtual display without changing its resolution. Stock Moonlight is unchanged.
- Your display choices stick. A Windows scale you pick on the stream's virtual display comes back with the next stream (#36), and a display layout you set for a device is never replaced by the one a stream left behind (#40).
- Rotate the display. A device's virtual display takes its portrait or landscape shape, a monitor turns to it and back, and with Match the device the display follows a device that turns.
- Keep monitors off while paused (off by default). A monitor that wakes over HDMI while a device is away no longer takes the game (#56).
- Virtual displays Windows moves are followed. A virtual display Windows lists under another adapter or target, as on a Radeon 780M laptop or an RX 9070 XT with a TV (#56), now comes up and keeps its layout and HDR.
- The GPU fence ring is the default for virtual-display capture. The keyed-mutex ring stays with
idd_push_fence_ring = false, and older display drivers keep it. - The virtual display needs Windows 11 23H2 or later, so it is off by default on Windows 11 21H2 and 22H2, as on Windows 10. Physical displays, Windows Graphics Capture and Desktop Duplication keep working everywhere.
Devices and input #
- The keyboard follows text fields. When a text field on the PC gets the focus, Nightjar opens its keyboard, with digits for number fields and no suggestions for passwords (
keyboard_follows_focus). - Host menu. Hold L3+R3 for a second, press Ctrl+Alt+Backspace or hold the top-left corner for a menu drawn into the stream, so any Moonlight client can use it: Back to game, Disconnect, End session and Close game.
- Keyboard layout. Nightjar reports its layout, and with
always_send_scancodesthe host types the keys on your keyboard without changing the PC's input languages.keyboard_layoutsets one for stock Moonlight. - Device-drawn cursor. With Desktop Duplication capture, a device that asks draws the pointer itself and the host leaves it out of the video.
- Touch and pen. Per device,
touch_modeturns touch into a mouse or a trackpad, with two-finger scroll and right click. A pen's barrel roll reaches Windows. - Sleep PC. A device you allow (Sleep PC under its permissions) can put the PC to sleep while nothing streams. PCs with only Modern Standby don't offer it, and the console says why.
- Controllers. No more "Controller release failed" warning at every start, two Steam Deck controllers no longer get mixed up, a Nintendo controller on an older driver plays as a DualSense with its gyro, and rumble stops reach the device even with rumble off.
Clipboard, files and USB #
- Clipboard sync. Text copied on the device goes on the PC's clipboard and back, as you copy it, with Nightjar and Moonlight V+. Images go both ways as PNG, within size limits. The device needs the clipboard permissions.
- Shared folders.
shared_foldersnames folders that paired devices can browse, download from and, with a write grant, upload to. Files are read and written as the signed-in user, only inside each folder. - File transfer. Paired devices with Upload files or Download files can send files to the PC's Downloads\Rubylight, or a folder you choose, and get them back. It is off until you turn it on.
- USB forwarding (off by default). A USB device plugged into the device, such as a flash drive or a gamepad, attaches to the PC during a stream, inside a TLS tunnel on the stream's HTTPS port. No USB/IP port is open to the network. Setup and limits.
Console and pairing #
- Home, Games and a shorter menu. Home walks a new user through three steps: pair, see your games, play. Games puts every launcher in one list with one Sync now. The sidebar keeps Home, Games, Devices, Settings and Help.
- Settings shows what most people change. Ten settings in plain words, and search finds every other one in All settings.
- Help is "Something is wrong? Start here." It reads the host log, explains known failures such as AMD encoder hangs, lost capture, ports in use or an old display driver, and says what to do. Nothing is sent anywhere.
- Pair with a QR code. Pairing opens with a QR code that works once, for three minutes. Nightjar refuses to pair when the PC's certificate isn't the one the code names, and a used or expired code says to show a new one.
- A second device can play. When you pair a device you choose Play games (the default), Watch only or Everything; before, every device after the first could only watch.
- Wake and sleep. Settings has a Power section for Wake-on-LAN, adapter wake settings, Sleep and Fast Startup. Sleep after idle (off by default) sleeps the PC only when nothing used it for that long.
- Webhooks. Signed events to your own URLs when devices pair, apps start and stop and streams begin and end, with a Send test button. Webhooks.
- Client build warnings. The device list shows each device's client build and warns when that build has a known problem with this host.
Browsers and TVs #
- WebRTC server (
webrtc_server, off by default). Samsung Tizen TVs and browsers that speak the Moonlight WebRTC TV protocol can pair with a PIN and stream H.264, HEVC or AV1, with HDR, up to 7.1 audio, gamepads, keyboard and mouse, on the local network. On the same PC over loopback, H.264 1080p60 took 21 ms glass to glass (median). 4K120 above 60 Mbps now starts on TVs and browsers: rc builds refused a TV that answered AV1 or HEVC with the Main tier instead of High, and browsers rejected HEVC offered at High tier (#64). Setup. - Stream in the console. With the WebRTC server on, the console's Stream page plays a game in the browser tab at H.264 1080p60, signed in with the console session.
For client authors #
- Native API v1. A paired client on the HTTPS port can read the host's capabilities, the game library with covers and the session state, and Disconnect, End session or Close game. Each device needs the Host control permission, which is off until you turn it on. Native API, control messages.
- Radeon settings from the couch. A device with Host control can change the Radeon settings of the running session; every change is journaled and put back when the session ends, also after a crash.
- Per-frame timing record.
BUTTERPOLLO_TIMING_RECORD=<folder>writes each frame's capture, convert, encode, packetize and send times. Timing record.
Install, updates and service #
- Setup checks for an AMD GPU and says in plain words when the PC has none or its driver has no AMF encoder.
- Updates keep the service's startup type. Manual, Disabled and delayed start stay as you set them.
- Automatic update checks run on time, also right after the PC wakes, and a failed check is retried within two minutes.
- The display driver is repaired while the service runs, never during a stream and at most once a day.
butterpollo-setup.exe --repair-drivers --nowrepairs it at once. - Setup installs when an administrator owns
C:\(#61), and a refused owner is named. - Setup on a busy PC no longer takes about 11 minutes for its USB/IP checks.
- Running setup again after a failed first install imports Vibepollo's or Apollo's settings. Uninstall says what it could not remove and no longer leaves 2.6.x's Intel library folder behind.
Fixes #
- Security: a form on another site can no longer use saved console credentials, a new console password revokes API tokens, one device's wrong PIN no longer spends another's, webhooks refuse URLs that point at this PC, and the pairing, Moonlight and console ports close stalled connections.
- The stream no longer waits for the host's checks of whether a launched game is still running.
- A device that sends input faster than the PC takes it no longer grows the host's memory without limit.
- A lost control connection always ends the stream as lost, and a launch that fails to start its app no longer leaves a pending session.
- After a crash, display recovery retries the restores that failed, and no longer fails at every start on a host whose only display was the virtual one.
- A shared virtual display takes a second stream again after the first changed its rate or turned, and a paused stream resumes on it without setting up the layout again.
- A virtual display that fell back to Windows Graphics Capture gets the frame ring back without a host restart.
- Radeon settings that could not be put back are retried on time, also while a console page is open.
- A failed microphone install is retried, and a host that can't find its own files says so instead of a silent microphone.
- Turning USB forwarding off detaches every device at once, and image clipboard requests can no longer add up to gigabytes of memory.
- A virtual controller that won't unplug keeps its slot, and a touch with an out-of-range contact size no longer crashes touch input.
- An update whose "installed" record could not be written is no longer rolled back.
- The Wake-on-LAN card works when the console is opened on the PC itself. It said "No physical adapter is connected"; it now judges the adapter that devices on the network reach, on IPv6-only networks too, and says why when it can't tell.
- A device's Display overrides no longer close while you type a mode, and Stream preset no longer closes on its own.
- Quitting a stream no longer logs a false "Audio stopped" warning.
- The startup encoder check no longer warns "AMF returned no output" when the driver is slow on its first frame.
Tested. The workspace tests, clippy, the web console checks and the release build pass in CI on this build. On an RX 7900 XT (Windows 11 build 26200) unless named:
- End-to-end harness: H.264, HEVC and AV1 at 60.0 to 60.1 fps with 0.14 to 0.36 ms mean host processing, HEVC at 1440p120 at 120.0 fps (frame interval p99 9.6 ms, host 0.64 ms mean) and PyroWave at 400 Mbps at 60.0 fps (host 1.3 ms mean), with no long gaps and no encoder hang.
- Moonlight-qt 6.2 on the Radeon 780M laptop (2560x1440, 120 fps, HDR, 80 Mbps): 120.3 fps received on AV1 and 120.1 fps on HEVC, with 0.3 and 0.7 ms average host processing and no network drops.
- Nightjar 4.0 on the Retroid Pocket 6 over Wi-Fi at 1080p120: about 121 fps from the host on HEVC (encode p99 3.3 to 3.6 ms, present to send p99 4.8 to 5.3 ms) and about 120 fps on PyroWave at its default bitrate (encode p99 1.5 ms).
- Night mode from two devices on one host: the Retroid and the laptop each switched their own stream and read back their own state.
- Wake card on localhost: the card chose the wired adapter and called it this console's connection.
- VRR beside another window: the A/B in the entry above. The previews' own measurements are in their notes below and in PERFORMANCE.md.
New in 3.0.0-rc.5 #
3.0.0-rc.5 is a preview of 3.0.0. It fixes what the rc.4 hardware pass and your reports in #59 found: one-player games now stream in the background without a Nucleus Co-op handler, a clean wired stream no longer falls to the slow pace by mistake, a VRR device and a fixed-rate device share one virtual display, and full chroma applies when you save it. Everything in 3.0.0-rc.4 is here too. Stock Moonlight clients keep working as before, and the protocol version is unchanged.
Highlights #
- Background streams for one-player games. A game Nucleus Co-op's hub has no handler for, such as Assassin's Creed IV, streams in the background through a handler Rubylight writes itself. Steam games start as Steam would start them, and games with anti-cheat are refused before anything is written.
- No more slow pace by mistake. A decoder that asks twice for a keyframe, or the PC's own network adapter refusing packets for a moment as a game starts, no longer slows a clean stream for the rest of the session or for the next day.
- VRR and fixed-rate devices on one shared virtual display. A device that asks for VRR and one that doesn't can share the display, and a device that needs a faster refresh raises it in place.
- Full chroma takes effect when you save it, with no host restart.
- Nucleus Co-op stays out of your way. Close sits next to Open, Set up co-op no longer hangs on Nucleus Co-op's loading screen, and your Windows compatibility settings for a game come back after the session.
Background streams and co-op #
- One-player games without a hub handler. A one-player game streams in the background without a handler from Nucleus Co-op's hub, such as Assassin's Creed IV (#59): Rubylight writes its own handler and adds the game to Nucleus Co-op's list. The game runs from its own folder, and nothing is written there. A hub handler still wins, and once a hub handler for the same .exe is installed, the next Nucleus Co-op session of another game removes Rubylight's own handler and its game list entry, so you can add the game with the hub's handler.
- Steam games start as Steam would start them. A Steam link streams in the background as the .exe Steam would start, with its launch option's arguments, and the game gets its Steam app id, so it doesn't restart through Steam. So does a game's .exe in a Steam library. Links of other launchers say to set the app's command to the game's .exe, and a launcher's .exe is refused, frontends such as RetroBat, LaunchBox and BigBox too. An Unreal game's root .exe starts its game.
- What can't stream says why first. A game with anti-cheat, including one Steam lists with Valve Anti-Cheat and a Blizzard game from Battle.net, is refused before anything is written. So is a game on a network share or a program in the Windows folder. For an app that names its .exe, the Play together panel says why before you launch; a Steam link's launch says why. A game without a hub handler says that background streams work and co-op needs a handler, and a game with a hub handler that you haven't added in Nucleus Co-op yet says to add it.
- Your compatibility settings come back. Nucleus Co-op sets a game's .exe to its DPI mode in your Windows compatibility settings and never puts them back. Rubylight now puts back what you had when the session ends, also after a crash or a failed start, for hub handlers too. It only touches the game's own .exe and Nucleus Co-op's instance links, and leaves a setting you changed meanwhile alone. After a host crash or a restart, they come back when you sign in at the PC. A standard Windows account can no longer block background launches by holding the lock these settings use.
- Close Nucleus Co-op sits next to Open Nucleus Co-op on this PC, and a co-op or background stream closes the Nucleus Co-op the console opened before it starts; one that won't close (it is asking something) refuses the stream until you answer it at the PC. A Nucleus Co-op you started yourself is never closed: Open and launches say so instead. Closing it leaves a browser or game it opened alone, and a launch the PC can't start leaves its window open.
- Set up co-op no longer hangs on the loading screen. It no longer leaves Nucleus Co-op stuck with "Microsoft Edge can't read and write to its data directory". WebView2 runs its browser without administrator rights even for an elevated Nucleus Co-op, so the handler hub view now keeps its data in the signed-in user's
AppData\Local\Butterpollo\nucleus-webview. When Windows gives the account signed in on the PC no administrator rights to start Nucleus Co-op with (a standard account, or Windows' Administrator protection), Set up co-op, Open and launches say so. - Background streams on Home. A background stream gets a card on Home with End stream, and for a minute after a session ends, Home says which ended and why.
- A co-op launch and Set up co-op share one download of Nucleus Co-op. A device you turned off for co-op stays off when you change its access preset, and a player you removed is no longer offered Let … join. A game's co-op status follows what the library lists, so a second app with the same name shows that its co-op entry is taken. The co-op panels no longer keep the PC awake or poll in a hidden tab.
Streaming quality #
- No more slow pacing from a decoder that asks twice. Moonlight, Artemis and Nightjar report every frame they lose, so a second keyframe request from them is their decoder asking again, not network loss. It no longer slows the stream for the rest of the session or for the next day. Clients that don't report their own losses keep the old rule.
- A stalled network adapter on the host no longer slows the stream for good. When only the host saw the loss (its own network adapter refused packets, as when a game starts), the slower pace lifts after 10 clean seconds and is never remembered; a second keyframe request for a frame the adapter refused counts as the host's loss too. When such stalls hold the pace for a stream, the host log names the host's network adapter and says the device reported no loss. The pacing history 3.0.0-rc.4 saved, which also held these two cases, is dropped once after the update.
- Keyframes held to the frame cap. When AMF encodes keyframes more than a tenth over the automatic frame cap, the host lowers that cap (it holds every frame) until keyframes fit, never below two frames' worth, raises it again once they keep to it, and goes back to the full cap for good when a lower cap does not make keyframes smaller. On our RX 7900 XT keyframes already kept to the cap.
- The host log names each recovery keyframe's size against its frame cap target, whether it was encoded again from a scene cut, and whether it left without full error correction, and the 5 s
stream timingslines count keyframes past the cap and past full error correction. - Full chroma takes effect when you save it. Turning it on checks the encoder and offers Nightjar full-resolution color without a host restart (during a stream, once the stream ends); turning it off, or turning off HEVC or AV1, withdraws it at once. A check a stream interrupts finishes after the stream, a check that fails under game load no longer withdraws a mode already offered, and "No video encoder available" no longer stays up through a working stream.
- PyroWave no longer goes missing after a slow start. When the host's PyroWave check times out, as when the PC is busy while the host starts, the host checks once more a minute later, when no stream runs, instead of leaving PyroWave off until a restart.
- A resized game window streams at its new size. A window that stopped drawing after a resize, such as a paused or unfocused game in a co-op or background stream, kept streaming its old-size picture. Its capture now starts again at the new size.
Virtual displays #
- A VRR device and a fixed-rate device share one virtual display. With One shared by all devices, a device that asked for VRR made the display 1000 Hz, and a second device at the same size without VRR was refused with "shared virtual display already uses a different mode" (and the other way round). Now a display that refreshes at least as often as a device asks serves it, and a device that asks for more, when it joins or when its stream starts, raises the shared display's refresh in place, so the VRR device keeps VRR. A device at another size is still refused, and the message names both sizes.
- The raise waits for Windows. When the fixed-rate device was first, the VRR device could still be refused, because the host set the faster refresh a few milliseconds before Windows listed it. The host now waits until Windows lists the refresh (at most 2 seconds) and then sets it, and a refresh the display already offers is set at once; a device turning between portrait and landscape waits the same way for the new size.
- When a joining device switches a paused shared virtual display back on, the paused stream resumes on it without setting up the display layout again.
Pairing and setup #
- A used or expired pairing QR code says so. Scanning or pasting a pairing link again after it worked once, or after its three minutes, while no other code is shown, now gets the answer "it was used or has expired; show a new one on the PC" instead of the plain "OTP pairing is not available". The answer stays a refusal (status 400) that Nightjar shows as "show a new code", not as a network problem.
- Rubylight finds a Steam installed outside the usual folders through the signed-in user's settings, and skips a Steam folder on a network share.
Tested. The workspace tests, clippy, the web console checks and the release build pass in CI on this build. On an RX 7900 XT (Windows 11 build 26200) unless named:
- A decoder that asks twice (#59; a receiver that asks twice for each keyframe, AV1 3840x2160 at 100 fps and 219.5 Mbps, HEVC 2560x1440 at 120 fps and 150 Mbps, 45 s per run): the build before the fix fell to the slow pace 2.7 to 2.8 s in, in all three runs; this build stayed at the fast pace in all three. Without fault injection, 60 s each: picture age p50 14.29 against 14.30 ms, p99 20.86 against 20.71 ms, host present-to-send 6.95 against 7.05 ms, encode mean 5.19 against 5.20 ms. Numbers.
- The host's adapter refusing packets (30 ms of refused sends at 20 and 40 s): the slow pace lifted at 30 s, 10 s after the first outage, and held for the session after the second, as before. Through a 100 Mbps bottleneck (AV1 1440p60 at 40 Mbps) neither build lost video or slowed down.
- Full chroma on save: on a running host, turning it on offered all four full chroma modes 6.0 s later, with no restart; turning it off withdrew them at once.
- HEVC under GPU load (a synthetic GPU load, 60 and 120 fps, one run each): the rc.4 package kept rc.3's rate of fresh pictures, 55.0, 55.7 and 52.9 against 55.3, 55.7 and 54.0 fps at 60 fps, and 81.6, 77.2 and 76.7 against 78.6, 78.2 and 77.1 fps at 120 fps.
- Window capture after a resize: the hardware test of a window that stops drawing after a resize got the new-size picture in both runs.
- The console's Stream page (H.264 1080p60, headless Edge over loopback): from a frame's arrival to its display it took 1.9 and 3.1 ms, against 2.0 and 1.6 ms for the browser page.
- Shared virtual display (the Radeon 780M laptop with VRR first, then the Retroid Pocket 6 at 60 Hz without VRR, both 1920x1080): both streamed together from one shared virtual display for 50 s.
- With Nightjar 4.0 on the Retroid Pocket 6 (Android 13): three trips to Files within two minutes each came back to the running game; with Recover interrupted streams on, a 5 s Wi-Fi drop reconnected and resumed the game, and Back cancelled the retries; at 0.3 % loss with outage bursts, H.264 and HEVC streams had no decoder hang, and the device's own error correction lost no more frames than the PC's (15 against 18 on HEVC); with "Render through Vulkan", the per-display check took HLG where the standard call refused it, and the screen showed HLG; a used pairing link was refused with "show a new code" and paired nothing.
- With Nightjar 4.0 on the TCL C6K TV (MediaTek, Android 14): HEVC HDR10 at 4K60 ran 60 s with no decoder hang; after Wi-Fi stalls, dropped-audio lines in a 60 s Dolby Vision stream fell from 233 to 34, with the same audio latency (124 ms).
- With Nightjar for Windows on the Radeon 780M laptop, against Rubylight on the same laptop: an unattended stream reconnected by itself after the host stopped for 20 s, with its window behind another one, and resumed the game.
New in 3.0.0-rc.4 #
3.0.0-rc.4 is a preview of everything that will be in 3.0.0. It brings split-screen co-op, Dolby Vision on HEVC and AV1, HDR scene data, sound for receivers and soundbars, clipboard sync and shared folders, a simpler console, and fixes that keep the picture moving after a scene cut or a lost frame. Stock Moonlight clients keep working as before and get the streaming fixes too; formats and features that need the client's support are offered only to a client that asks for them, and the protocol version is unchanged. The new formats are written down for client authors in docs/control-messages.md and docs/native-api.md.
Highlights #
- Split-screen co-op. A game that Nucleus Co-op supports gets a second entry with "(Co-op)" after its name. Each player streams their own copy of the game from one PC, with their own controller, picture and sound.
- Dolby Vision, HDR10+ and HLG. HDR streams carry per-scene brightness data, so a TV can follow each scene instead of one fixed peak. Dolby Vision works on HEVC (profiles 8.1 and 8.4) and now on AV1 (profile 10.1). Screens that show only HLG get HLG, on PyroWave too.
- No more freeze after a scene cut. A scene cut that comes out too large to protect is encoded again as a keyframe that fits. In our test, freezes after scene cuts went from 15 to 0.
- Faster recovery after a lost frame on H.264 and HEVC. The host repairs a short loss with a frame built on an older picture the device still has, as AV1 already did, instead of a full keyframe. On for every client.
- Sound for your receiver. Devices can ask for PCM (up to 7.1.4) or Dolby Digital and Dolby Digital Plus, so a TV, soundbar or receiver decodes the sound itself. 7.1.4 surround, a night mode, headphone surround and haptics from game audio are new too.
- Clipboard and folders. Copied text goes between the device and the PC as you copy it, and images can be copied both ways. Folders you share can be browsed, downloaded from and uploaded to.
- A simpler console. Home walks you through pairing and playing, Games lists every launcher in one place, Settings shows the ten settings most people change, and search finds every other one. Pairing a second device lets it play right away.
- The device's keyboard follows text fields. Tap into a text field on the PC and Nightjar opens its keyboard, with digits for number fields and no suggestions for passwords.
Streaming quality #
- Scene cuts no longer freeze the picture. When a scene cut comes out of the AMD encoder too large to keep its error correction (FEC), the host encodes that picture again as a keyframe, which fits, and sends that instead. In our 250 Mbps HEVC 1440p60 test with 0.3 % random loss, lost scene cuts went from 15–16 to 0 and the short freeze after each one (about 50 ms, 15 in 45 s) is gone, with no change in encode time.
- Recovery keyframes keep their error correction. After a frame is lost, the keyframe that repairs it is now kept small enough to carry its full error correction within Moonlight's four blocks, so random loss on a fast wired link no longer loses it too. In the same test, freezes over 100 ms went from 4 to 0, the slow pace and bitrate cuts no longer set in, and picture age dropped by 3 ms. This covers a fixed FEC percentage and Nightjar's automatic FEC; without FEC the keyframe is held to the fewest packets the four blocks allow. It applies up to about 280 Mbps at 60 fps, where two frames still fit.
- Faster recovery after a lost frame on H.264 and HEVC, for every client. Instead of a full keyframe, the host sends a frame predicted from an older one the device still has. On our RX 7900 XT at 1440p120 that frame was 3 % to 46 % smaller than the keyframe when the device missed 1 or 2 frames; for longer losses the host still sends the keyframe, which is then the smaller frame. The host rewrites the frame headers so a decoder that skipped the lost frames can place the repair: every repair from 1 to 130 lost frames decoded to the same pictures as the full stream, in software and on D3D11VA.
amd_ltr_frames = 0turns this off for all three codecs. - AV1 no longer uses intra refresh. When a device asks for intra refresh on AV1, the host leaves it off and repairs a lost frame by invalidating it, as for a device that never asked. With refresh, the AMD driver turned off the long-term references that repair needs, so every loss cost a 101 KB keyframe instead of a 48 KB repair frame, and ordinary frames were half again as large. H.264 and HEVC intra refresh are unchanged.
- Error correction the device chooses. A device that supports it can pick its own share of recovery packets, or let the host follow its once-a-second loss reports: the host keeps the last ten seconds and sends the smallest share that keeps a lost frame under 0.1 %. Most error correction a device may ask for (
fec_max_percentage, 50 % by default) caps both. For such a device the recovery packets come out of the video bitrate instead of on top of it. Nightjar on Android and desktop has the matching Error correction setting: leave it to the PC, follow the device's losses, or fix it at 10 to 50 %. On shaped Wi-Fi links, following the device's losses cut median loss from 2.37 to 0.26 % and freezes from 21 to 1 against the PC's adaptive error correction. The PC's setting stays the default until following the device has been measured on a phone over Wi-Fi. - Bitrate and frame rate change mid-stream. A device that asks at launch can change its bitrate and frame rate without reconnecting. A new bitrate applies on the next frame, without a keyframe. The host caps both to the device's maximum and to what the encoder keeps up with, and answers every request with what it applied or why it refused.
- Bandwidth test. Paired devices can time a short download (64 KB to 4 MB, at most 3 seconds) before they pick a starting bitrate. The host refuses it while a stream runs or starts and limits how often a device may test.
bandwidth_probe(on by default) turns it off. Nightjar's link test that uses it is off by default: on a shaped 50 Mbit/s link it held the encoder at 28–30 Mbps instead of 59, with more loss and freezes. - Keep streaming when the network changes. A device whose address changes mid-stream, such as a phone moving from Wi-Fi to mobile data, can keep its stream instead of reconnecting. The device proves its new address with the stream key first; the host then moves control, video and audio there, sends a keyframe and learns the new path's pacing and bitrate from scratch. Only devices that support it (Nightjar) use it.
client_roaming(on by default) turns it off. - Control messages arrive right after a network outage. When the network came back after a short outage, what the host had sent in the meantime (an end of session, rumble, HDR changes, link notices) could take another 1 to 3 s to reach the device. The host now resends it as soon as it hears from the device again: 85 ms after a 10 s outage on loopback, against 1.0 to 2.9 s before. Every Moonlight client benefits.
- Encoder focus (
encoder_focus, off by default).staticgives still parts of the picture, such as a HUD, text or an editor, more of the bitrate than moving ones;centrealso favours the middle of the screen. The host checks at startup that the encoder honours this for each codec; a codec that fails the check streams exactly as before. - Where frames go missing. The console's stream details show how many frames per second the display produced and the host captured, encoded and sent, and how many repeated an unchanged picture. The 5 s stream timings in the host log carry the same rates, and so does Nightjar desktop's overlay. The log's stream timings also count the device's error correction loss reports.
- Each launch starts one stream. A second start with the same launch is refused, an RTSP handshake that stalls is closed after 10 seconds, and a launch nobody connects to expires after 30 seconds.
HDR and Dolby Vision #
- HDR scene data (HDR10+ and HDR Vivid). HDR streams carry per-frame HDR10+ brightness data in HEVC and AV1, and HEVC streams also carry HDR Vivid, so a display that tone-maps with them can follow each scene instead of one static peak. The data is measured on the GPU from the captured picture while the frame encodes, about 60 to 90 µs of CPU per frame. Each frame carries the data of the frame before, so a scene cut shows one frame later. Moonlight drops this data from HEVC before its decoder; Nightjar keeps it, and in AV1 it reaches any decoder that reads it. Devices without HDR10+ ignore it. Packed 4:4:4 and PyroWave carry static HDR10, and the host log warns when an HDR stream gets no scene data.
hdr_dynamic_metadata(on by default) turns it off. - Dolby Vision on HEVC and AV1. HEVC HDR streams offer Dolby Vision profile 8.1, and AV1 HDR streams profile 10.1, to devices that ask for it. Each frame carries a Dolby Vision RPU built from the same brightness data, over the stream's HDR10 picture, so devices without Dolby Vision and stock Moonlight get the HDR10 stream they always did. On a TCL C6K TV, a Dolby Vision AV1 stream carried its RPU on every one of 2317 frames, and the TV's Dolby Vision AV1 decoder took it as Dolby Vision from the first frame.
hdr_dolby_vision(on by default) turns it off. - HLG. HEVC, AV1 and PyroWave HDR streams offer HLG to devices that ask for it, such as a TV or phone whose screen shows HLG and not HDR10. The picture is graded for a 1000-nit display and the screen tone-maps it from there. HEVC HLG streams carry HDR Vivid data while HDR scene data is on. With HLG on, HEVC also offers Dolby Vision profile 8.4 (HLG with an RPU on every frame). Other devices get HDR10 as before.
hdr_hlg(on by default) turns it off. - 10-bit SDR streams never carry HDR10+, HDR Vivid or Dolby Vision data, whatever else the stream says.
- Windows HDR Calibration on virtual displays (
virtual_display_hdr_calibration, off by default). An HDR stream on a new virtual display gets the Windows HDR Calibration profile of the PC's physical HDR display, unless the device has its ownhdr_profile, and the virtual display gets back what it had when the stream ends.
Co-op #
- Split-screen co-op through Nucleus Co-op. A game Nucleus Co-op has a handler for, and that you added in Nucleus Co-op once, gets a second library entry with "(Co-op)" after its name, next to the game. Set it up from the game's page in the console (Play together › Set up co-op): it downloads Nucleus Co-op with its progress and opens it on the PC when the game still needs a handler. Launching the entry starts one game instance per player. Each device that launches it next takes the next free slot and streams its own instance, with its controller driving only that player.
- Each player sees and hears only their own game. Each stream shows only that player's game window, at the device's stream size, plays only that instance's sound (Windows build 20348 or newer; older builds say so) and sends rumble back to that device. Keyboard, mouse and a second controller never reach the PC's desktop, and the clipboard stays the PC user's. When the game crashes or the session ends, every player's stream ends with the reason.
- Who can join. Every paired device that may play games can take a free slot. Can join co-op games on a device's page keeps one out; turning it off during a game ends its stream. A device that disconnects keeps its slot for two minutes and gets it back when it launches the entry again. Nightjar's End session and Disconnect work for a co-op player too.
- Co-op on Home. Home shows each running co-op game with its players and how long an away device keeps its slot. Remove takes a player out, End co-op stops every player's stream (both ask first), and Let … join lets a paired device take a free slot.
- Background streaming runs through Nucleus Co-op. A background stream now runs the game as its own Nucleus Co-op instance and captures that window alone, away from your monitors, so the PC's displays, layout and focus stay with you. There is nothing to choose. A game without a handler, or a PC that cannot run Nucleus Co-op, refuses the background launch and says why instead of streaming your monitors. Background streams take controllers only.
- Child sessions are gone. Windows signs a child session in only with a Windows password, and a Microsoft account that uses only Windows Hello has none. Rubylight doesn't ask for one, and doesn't ask you to turn Windows Hello-only sign-in off. On a PC where a development build set child sessions up, the host puts Remote Desktop, its firewall rules and the session settings back as they were and deletes the password that build had saved. If that fails, Help says why and offers Restore again. A saved
background_modebecomesnucleus. - Rubylight downloads Nucleus Co-op 2.4.2 at the first co-op launch, checks its size and checksum, and installs it into a folder only administrators can change; Nucleus path points at your own copy instead. Co-op needs the host to run as the Windows service, on a Windows build that can capture a single window; otherwise the console says why. A co-op launch that cannot run says why on the device: Nucleus Co-op could not be installed or started, no handler for the game, or the session is full or the device may not join.
Audio #
- PCM, Dolby Digital and Dolby Digital Plus. A device that asks for them gets uncompressed PCM (stereo up to 7.1.4) or Dolby Digital and Dolby Digital Plus (stereo and 5.1) instead of Opus, for TVs, soundbars and receivers that decode them themselves. Dolby comes in 32 ms frames, so its sound reaches the network up to about 30 ms later than Opus; Opus stays the default on the device. A format this PC can't encode is refused with the reason before the stream starts, never swapped for another. The Windows package includes FFmpeg's AC3 and E-AC3 encoders (LGPL, license in
licenses\ffmpeg). - 7.1.4 surround. A device that asks for 12 channels gets 7.1.4 Opus. The height channels come from a playback device that has them; played on 7.1, 5.1 or stereo speakers, they are mixed into the speakers below.
- Night mode (
audio_night_mode, off by default) evens out loud explosions and quiet dialogue, so a stream can play quietly late at night, with no added buffering. - Headphone surround (
audio_headphone_surround, off by default). A stereo device gets the game's 7.1 or 5.1 mix rendered for headphones, at the same loudness as the stereo downmix. The stream stays stereo Opus, so every Moonlight client works. Night mode and headphone surround can be set for the host, per device, per app, or for one session. - Haptics from game audio (
audio_haptics, off by default). A DualSense on the device feels the game's bass and impacts when the game sends no vibration of its own, with strength, response and noise gate settings. It stops the moment the game sends its own haptics or rumble. The audio path gains no latency. - No audio gap when the sound stops. Windows' loopback capture delivers nothing while no app plays, so the host fell quiet for 50 ms before it sent silence, and devices heard an underrun each time a game went quiet. The host now keeps the stream running at its normal pace through silence, at the same bandwidth.
Clipboard, files and folders #
- Clipboard sync. Text copied on the device goes on the PC's clipboard, and text copied on the PC goes to the device, as you copy it. It works with Nightjar (with its Clipboard sync setting on) and with Moonlight V+ clients. The device needs "Write to the clipboard" and "Read the clipboard" in its permissions. A copy the permissions refuse is logged and shown on the stream card, never applied in part.
- Copy images. Devices with clipboard permission can copy images to and from the PC as PNG. Images are checked before they are decoded (at most 16384 pixels a side, 32 megapixels and
clipboard_image_max_mb, 16 MiB by default), and a refusal names the limit.clipboard_image(on by default) turns it off. - Shared folders. Paired devices can browse folders of the PC, download from them and, with a write grant, upload to them.
shared_foldersnames the folders, and Devices shares each with a device to read, or to read and write. Files are read and written as the signed-in Windows user, only inside each folder; links and junctions are neither listed nor followed. Uploads follow file transfer's limits. Taking a folder or USB grant away from a device disconnects it. A folder Windows won't let the user read says so, with a hint to check its permissions.
Console and setup #
- Home, Games and a shorter menu. Home walks a new user through three steps: pair, see your games, play. The library is now Games, with every launcher in one list: the same tile, switch and status words for Steam and the rest, and one Sync now. The sidebar keeps Home, Games, Devices, Settings and Help; the rest folds under Advanced. When a readiness check fails, Home says "Needs attention" and links to Help.
- Settings shows what most people change. Settings holds ten settings in plain words: this PC's name and pairing, the stream preset, the virtual display, whether your monitors turn off, sound, microphone and controllers, closing the game when the last device leaves, and automatic updates, plus wake and sleep, updates, signed-in browsers and the password. Search covers every setting and opens it in All settings, where only expert groups start folded. Defaults say what they do.
- Help is "Something is wrong? Start here." It reads the last 8 MiB of the host log and explains the known failures it finds: AMD encoder hangs, codec and start failures, GPU resets, lost capture, ports in use, UPnP, timeouts and network loss, roaming, and a missing or old display driver. Each finding says how often it happened, what to do, and links to the matching part of the troubleshooting guide. Nothing is sent anywhere.
- A second device can play. When you pair a device from the console, you choose what it can do: Play games (the default), Watch only or Everything. Before, every device after the first could only watch. The device page says what a device can do in words.
- Pair with a QR code. Pairing opens with a QR code ready to scan. Nightjar on Android scans it; Nightjar on Windows and Linux pastes the link. It works once, for three minutes, and Nightjar refuses to pair when the PC's certificate is not the one the code names. The QR code and a one-time PIN no longer cancel each other.
- Webhooks. Send signed events to your own URLs when devices pair or are removed, apps start and stop, and streams begin and end, with a Send test button and each hook's last result. A launch that replaces a running game sends the stop event too. See docs/webhooks.md.
- Wake and sleep. Settings has a Power section: whether devices can wake this PC, each adapter's wake settings, Sleep, Fast Startup and the sleep countdown. Apply changes turns on exactly the listed adapter settings after you confirm.
/serverinforeports a physical adapter's MAC even when a device reaches the PC through Hyper-V, WSL, ZeroTier or Tailscale. Sleep after idle (off by default, 5 to 1440 minutes) puts the PC to sleep only when nothing used it for that long. After a wake, the PC stays awake for up to 5 minutes while a device is connecting. Setup has an optional Wake-on-LAN step, unticked by default. - Every installed game, from every launcher. Steam and Playnite now add every installed game by default, as the other launchers did. Game folders in Add games lists the games in folders such as
D:\Games, one per subfolder, skipping installers, updaters and anti-cheat services. Epic Games and GOG scans can be turned off. A game a launcher no longer has shows "Not installed", with Remove beside it. GOG games installed with only a registry record are listed too. - The library sync never changes an app you made. Syncs rename, update or remove only the apps they added themselves. Editing a synced game makes it yours, and a game you delete stays deleted, Steam games too. Playnite no longer adds Steam games twice.
- Radeon presets. A game's Radeon section has a preset picker (Off, Competitive, Smoothness, Quality, Custom) and plain controls: Anti-Lag, frame rate cap, Chill, sharpening, anisotropic filtering, anti-aliasing and Boost. The controls show only what the GPU reports as supported.
- Rotate the display. A device's own virtual display is made in its stream's portrait or landscape shape, and a monitor turns to it and back after the stream. With Match the device, the display follows a device that turns during the stream. A display scale set for one device also applies to a monitor it streams.
- Client build warnings. The device list shows the user agent each paired device last sent, and warns when that build has a known problem with this host.
- Setup on a busy PC. Setup's driver steps now run at normal priority. On a loaded PC the USB/IP checks took about 11 minutes where they take seconds. A step still running at setup's deadline is reported as still going on in the background.
Devices and input #
- The keyboard follows text fields. When a device asks for it and has the Keyboard permission, the host tells it when a text field on the PC gets or loses the focus, with its kind (text, number, password), so Nightjar opens and closes its keyboard by itself, and keeps it closed for a field you closed it on.
keyboard_follows_focus = falseturns it off. Sending the text around the cursor for suggestions is off by default and never covers password fields. - Keyboard layout. Nightjar reports its keyboard layout, and with
always_send_scancodesthe host turns keys into scan codes from that layout, without changing the PC's input languages.keyboard_layoutpicks a layout for a stock Moonlight client, which reports none. - Device-drawn cursor. With
capture = ddx, a device that asks gets the pointer's shape and draws the pointer itself, and the host leaves it out of the video.client_cursor = falseturns it off. - Touch profiles. Per device,
touch_modeturns touches into a mouse or a trackpad, with two-finger scroll and right click (touch_gestures) and a sensitivity setting. Pen barrel roll: a pen that reports how it is turned in the hand passes that turn to Windows. - Host menu. Hold L3+R3 for a second, press Ctrl+Alt+Backspace, or hold the top-left corner to open a menu drawn into the stream, so any Moonlight client can use it: Back to game, Disconnect (the game keeps running), End session and Close game, with the same permission checks as the console. The game gets no input while the menu is open.
couch_menu = falseturns it off. - USB forwarding (off by default). A USB device plugged into a device, such as a flash drive or a USB gamepad, can be attached to this PC during a stream, over USB/IP inside a TLS tunnel on the stream's HTTPS port; no USB/IP port is open to the network. Turn on USB forwarding under General and tick USB devices in a device's permissions; USB devices at once (1 to 16, default 4) caps how many this PC takes at the same time. The Devices page lists each device's attached USB devices with their state and a Detach button, and a failed detach says why. Nightjar for Windows and Linux forwards devices from its stream controls; on Windows a device needs the WinUSB driver. Setup and limits.
- Keep monitors off while paused (off by default). A monitor that wakes or re-announces itself over HDMI while a device is away could switch back on and take the game (#56). With this on, an exclusive layout keeps switching such monitors off until the device returns or the restore delay ends. While it holds, Win+P cannot bring a monitor back; the restore hotkey still can.
- A confirmed game switch. Starting another game closes the running one only when the person on the device confirms the prompt. A remembered launch or a retry after a cancelled prompt no longer closes it. The host log says why a game was stopped and which device asked.
- Controllers. No more "Controller release failed (0x80070016)" warning at every stream start. Two Steam Deck controllers at once no longer get mixed up. A Nintendo controller on an older gamepad driver plays as a DualSense, keeping its gyro, and the session says to run setup again. A refused controller shows the driver's error. Rumble stops reach the device even with rumble off.
Fixes #
- A device that sends input faster than the PC can take it no longer grows the host's memory without limit: past 512 waiting events the stream stops and says to reconnect.
- Security: a browser form on another site can no longer use saved console credentials. A new console password also revokes the API tokens. A wrong PIN guess from one device no longer spends the PIN for another. Webhooks refuse URLs that resolve to this PC. The pairing, Moonlight and console ports close connections that send nothing or stall, and cap connections per address.
- An update whose "installed" record could not be written is no longer rolled back at the next service start, and the update check no longer holds up launches and the console.
- After a crash, display recovery keeps the restores that failed and tries them again at the next start. On a host whose only display was the virtual one, it no longer fails at every start.
- A second stream on a shared virtual display joins it again after the first stream changed its rate, turned, or Windows changed the size.
- A virtual display that fell back to WGC capture gets the frame ring again once it is recreated, without a host restart.
- A microphone install that fails is tried again later, ending a stream while its microphone is still opening no longer holds up other devices' microphones, and a host that cannot find its own files says so instead of a silent microphone.
- Turning USB forwarding off detaches every forwarded device right away. Several image clipboard requests at once can no longer add up to gigabytes of memory.
- A virtual controller that will not unplug keeps its slot until it does, so the next device's controller is not plugged over it.
- A touch with an out-of-range contact size no longer crashes or misplaces touch input.
- When the host can't check its PCM and Dolby audio at stream start, the device gets the reason instead of a dropped connection.
- Packed 4:4:4 HDR streams take static HDR10 from the control channel and run no scene-data pass; the console says so.
- Running setup again after a failed first install imports Vibepollo's or Apollo's settings instead of refusing. Uninstall says what it could not remove, and a factory reset that leaves files lists them.
- Stopping a stalled display recovery helper on a busy PC no longer fails. File transfer on an administrator host without the Windows desktop says how to fix it.
- After a device roamed twice, a new connection from an address it left connects at once.
- The Wake-on-LAN card says why its first check takes a while (about 25 s on a fresh start), and a console left open on Updates no longer keeps sleep after idle from firing.
Tested. The workspace tests (core 1560, host 1139, Windows 710, setup 115, plus the smaller crates), clippy, the web console checks (244 tests) and the release tooling tests pass on this build. On an RX 7900 XT (Windows 11 build 26200) unless named:
- Scene cuts (HEVC 2560x1440 at 60 fps and 250 Mbps, 0.3 % random loss, 45 s per run, order C, R, R, C): lost scene cuts 16 and 15 without the re-encode, 0 and 0 with it; freezes 15 to 0; end-to-end p99 71.9 and 30.1 ms against 34.1 and 29.4 ms; encode mean 4.0 ms in both. Holding recovery keyframes within full error correction alone: freezes over 100 ms 4 to 0, picture age p50 / p99 17.1 / 26.4 ms against 20.3 / 29.5 ms. Without FEC, at 0.3 % and 0.05 % loss, it measured no worse. Numbers.
- Loss repair on H.264 and HEVC: 84 forced and 42 policy runs decoded to the same pictures as the full stream; the repair frames took 0.86 to 0.92 times a keyframe's bytes overall, and host processing measured 0.616 ms against 0.627 ms without them.
- AV1 after a lost frame (1440p120, 50 Mbps): a 47.6 KB repair frame instead of a 101 KB keyframe, and ordinary frames of 33.5 KB instead of 51.2 KB. Numbers.
- HDR scene data: HDR10+ on 1154 of 1155 received AV1 frames, values within 2 % of the source, about 60 to 90 µs of CPU per frame, and no measurable change to the 4K60 encode time (under 0.05 ms). Numbers.
- Dolby Vision 10.1 on AV1, TCL C6K TV (MediaTek, Android 14): RPU on 2317 of 2317 frames, decoded by the TV's Dolby Vision AV1 decoder from the first frame; the HDR10 control and HEVC Dolby Vision 8.1 passed, with timings within noise of HDR10.
- HLG on PyroWave, Retroid Pocket 6 (Android 13): 45 s at HLG, with the display layer and the host's transfer both HLG.
- Dolby audio encode cost (Ryzen 7 5800X3D): about a fifth of the CPU Opus takes per second of audio. Numbers.
- Device-chosen error correction (NUC client, shaped links, three 45 s runs per arm): median loss 2.37 to 0.26 % and freezes 21 to 1 on a 60 Mbit/s Wi-Fi model. Numbers.
- Control after an outage: resent within 85 ms of a 10 s outage on loopback, against 1.0 to 2.9 s.
The full hardware pass on this build (this PC, the Retroid, the TCL TV, the Radeon 780M laptop and the NUC) runs after this release; its results go into the 3.0.0 notes.
New in 3.0.0-rc.3 #
- Fresher frames under VRR. With variable refresh, Windows can capture each frame of a fast game twice or three times, a fraction of a millisecond to 4 ms apart. The host now times the game's own frames instead of each capture, so it waits for the game's next frame when it is close instead of taking an older copy. A 120 Hz game on a 60 fps VRR stream reaches the encoder with an age p95 of 2.3 ms instead of 3.7 ms (the October 24 measurement), and present to sent p95 is 4.7 ms instead of 6.4, at the same median and the same 60 fps. A 60 Hz game took a stale frame less often too, and a 240 Hz game measured the same; the 1000 Hz virtual display has no frame interval to wait for and works as before. Numbers.
- Sleep PC (Experimental). A paired device you allow can put the host PC to sleep while nothing is streaming, through the same
/power-actions/v1requests as Vibepollo, so a client needs one code path for both hosts. It is off for every device until you tick Sleep PC under the device's permissions in the console; a device imported from Vibepollo keeps itsallow_sleepgrant. The host refuses while a stream, an app or a controller session is active, uses a single-use token that expires after 30 seconds, and suspends only after its answer has been sent and the connection closed. It needs a PC with S1, S2 or S3 sleep, as most desktops have, and is unavailable on a PC with only Modern Standby: Windows has no call to enter Modern Standby, and on such a laptop with hibernation on the request hibernated the PC instead. There the host advertises no Sleep PC, refuses the request, and the console and the host log say why. - File transfer (Experimental). Paired devices can send files to the PC and download them again, through the native API. It is off until you turn on File transfer in the console's Network settings, and each device also needs Upload files or Download files, which no device has until you tick them under its permissions (a device paired before this version, here or in Vibepollo, has them taken back once). Files go to and come from the signed-in user's Downloads\Rubylight, or a folder you choose, written as that user under a
.partname and renamed only once all of it arrived; a taken name gets the next number. Uploads are limited to 4 GiB by default and leave 2 % of the drive free, at least 1 GiB and at most 4 GiB. While a stream runs, uploads and downloads together move at 50 Mbit/s by default. A device runs one upload and two downloads at a time, the PC eight downloads. A device refused for lack of room can send again at once; before, its next upload could be refused as busy for a moment. - Stream in the console (Experimental). With the WebRTC server on, the console's new Stream page plays a game from the PC in the browser tab: H.264 1080p60, stereo, keyboard and mouse, signed in with the console session instead of pairing, on the local network and Tailscale. How.
- Steam Controller input from clients (Experimental). The host reads the Steam Controller attribute messages a client sends and turns Steam's haptic reports into rumble, as Vibepollo does; a motor whose off never arrives stops after at most 10 seconds. A malformed message is logged once per client, and other input is unaffected. Neither reaches a game yet: that needs a driver with the Steam Controller profile, and nothing new is offered to clients.
- A lost control connection always ends the stream as lost. When a client vanished and the host's control worker ran late, ENet's own peer timeout could drop the client before the host's ping check saw it. The host then ended the stream as if it had closed it itself (0x80030023), and the stream could count as a clean fast-rate probe. A client ENet drops after it went quiet for
ping_timeoutnow ends the stream as failed, like the ping check. - A host started without administrator rights offers PyroWave again, and starts apps with your own environment. Such a host gave the programs it started (apps, client commands and the PyroWave check) the system's environment instead of yours: the profile folder
C:\Users\Default, user name SYSTEM,C:\Windows\Tempand the systemPATHonly. The AMD driver keeps its shader cache in the profile folder, so the PyroWave check compiled every shader again, took 24 s instead of 1.4 s on an RX 7900 XT, ran past its 15 s limit, and clients were not offered PyroWave. Programs now get the host's own environment. The installed service and a host started as administrator were not affected. - The host replies from the address the client reached (#54). It answered from whichever of its addresses Windows routed by, and a client drops replies from an address it did not connect to. The host now replies on control, video (PyroWave too) and audio from the address the client reached, as Moonlight's own networking does, which addresses the failure to reconnect (error -1) reported with Tailscale next to the LAN. Only a client Windows would answer from another address is pinned; a plain LAN stream sends as before. If Windows refuses to send from that address, as after a VPN disconnects or when its interface has no route back, the host answers that client from its routed address and tries the client's address again after 5 seconds. The host log names the address each stream's client reached, and a refused control connection now says why instead of being dropped silently.
- A launch that fails to start its app no longer leaves a pending session. When the app or its settings could not be loaded after the display was prepared, the client got an error but the host kept the launch, its display lease and
RustHostPendingSessionCountfor up to 30 seconds. Such a launch is now released at once. - A virtual display Windows moves to another target keeps its stream layout. On some systems (an RX 9070 XT streaming 4K HDR to a TV, #56) Windows listed the active virtual display under another adapter target and desktop name. The host kept trying to switch on its old, unavailable target every second and could not reapply the exclusive layout, so the physical display stayed on and the desktop kept rearranging. The host now follows the display by its device path, takes its new name, and reapplies the layout and HDR there.
Tested. The workspace tests (core 1117, host 779, Windows 512, setup 94, plus the smaller crates), clippy, the web console checks (108 tests) and the release tooling tests (45 and 13) pass on this build. On an RX 7900 XT (Windows 26200):
- VRR, a 120 Hz game on a 60 fps stream (HEVC 2560x720, 25 s runs, ABBA against 3.0.0-rc.2, four runs each): age at the encoder p50 / p95 / p99 0.24 / 2.34 / 3.37 ms against 0.25 / 6.61 / 8.06, present to sent 2.90 / 4.71 / 5.69 ms against 3.40 / 8.79 / 10.33, and 0.1 % of frames claimed more than 4 ms after they arrived against 7.7 %, at the same 60 fps. A 240 Hz game measured the same (age p95 0.26 against 0.28 ms, one run each). Numbers.
New in 3.0.0-rc.2 #
- Automatic update checks run on schedule. The host now counts the time since the last check by the clock, so a PC that slept checks as soon as it wakes, a new check interval applies at once without a restart, and a check that fails because the network is not back yet is first retried within two minutes (backing off after that, up to the check interval) instead of after a whole interval. A game left running no longer holds checks back (only a stream does). Maintenance shows the next check and the cause of a failed one, and the host log records every check.
- Clients can ask for 10-bit SDR. A client that negotiates a 10-bit format with
hdrMode=0(on /launch or /resume) now gets a 10-bit SDR stream: the virtual display stays in SDR and is not prepared a second time, and the encoder uses the 10-bit SDR path (packed 4:4:4 included). NohdrModekeeps HDR as before, and so doeshdrMode=1, including the host option to prefer 10-bit SDR. The log says when it applies. No protocol change. - Adaptive pacing from the first frame for Wi-Fi clients. Clients that report a Wi-Fi or cellular route (Nightjar,
x-rl-video[0].clientWireless:1) get adaptive packet pacing from the first frame on H.264, HEVC and AV1. It starts at twice the encoder bitrate, speeds up while the link stays clean, and backs off on loss. Clients that do not send it are paced as before. Turn it off withwireless_adaptive_pacing = false; H.264, HEVC and AV1 are then still paced with the Wi-Fi route policy from the first frame (also with host adaptive bitrate), and the encoder's keyframe size cap is the smaller one a Wi-Fi host gets. A manual pacing limit still wins. For PyroWave the hint only stops the client's wired-link hint from setting the starting rate. - Video packets always have the size the device asks for. The packet size setting (
packetsize) replaced it, so a Moonlight that asks for smaller packets on a route it treats as remote (1024 bytes over IPv4, 1184 over IPv6) got 1200-byte packets it could not receive: a green, broken picture from the first frame with no packet loss on a Steam Deck (#52). A smaller setting was unsafe too, because Moonlight rebuilds packets lost on the network at its own size. The setting is gone from the console; apacketsizeleft in the config is ignored with a warning. Reproduced with the harness client asking for 1024 bytes on an RX 7900 XT:packetsize=1200failed every video receive on 3.0.0-rc.1; with the fix the stream ran at 1024 bytes and decoded all 676 frames. - Simpler settings in the console. Clearer names and help (for example "Still-picture resend rate"), fewer settings in the basic view, and the capture troubleshooting settings folded away with a count of the ones you changed. The virtual display default now says that it depends on the Windows version, and Activate a virtual display stays visible while it is on.
- WebRTC server (Experimental). Off by default (
webrtc_server). Samsung Tizen TVs and browsers that speak the Moonlight WebRTC TV protocol (version 2) can find the PC, pair with a PIN on the console's PIN page, and stream H.264, HEVC or AV1, with HDR when the display is in HDR, stereo, 5.1 and 7.1 audio, gamepads with rumble and a gamepad mouse mode, and keyboard and mouse. Paired devices show a WebRTC badge on Devices, where you can disable or unpair them. Signalling is plainws://and only local network peers are served. Moonlight and GameStream behave as before. Frame rates from 30 to 120 fps are offered at every mode the AMF throughput probe says the encoder can carry (1080p, 1440p and 4K at 120 fps on an RX 7900 XT), lost packets are resent (NACK and RTX in the default offer), and sending is paced. Setup and the extensions for client authors. - Radeon settings that could not be put back are retried on time. The host retries settings it could not restore once a minute; a console page that read the Radeon state more often than that put the retry off for as long as it stayed open.
- Packed 4:4:4 is no longer refused when its first frame is slow. On an RX 7900 XT the packed check's first 1080p frame sometimes took 4.7 seconds to upload and convert before the AMD encoder had it. The host counted that time against the encoder, dropped the frame and refused the stream with "packed encoder failed to return frame 1", which looked like 1080p at 120 fps being unsupported. A frame's two-second limit now starts when the encoder accepts it, in streams too, so a slow conversion no longer drops a frame the encoder has not had time to return. The host log now lists the packed 4:4:4 modes offered to clients at start, warns about each one whose check failed and why, and writes one "packed 4:4:4 stream" line with the packing version, coded size and bit depth when such a stream starts. With full chroma on, /serverinfo now carries
Packed444Modes, the same mask the host sends in DESCRIBE (1 HEVC 8-bit, 2 HEVC 10-bit, 4 AV1 8-bit, 8 AV1 10-bit), so a client can leave out a mode the host does not offer before it launches.
Tested. The workspace tests, clippy, the web console checks and the release build pass in CI on this build. On an RX 7900 XT (Windows 26200):
- Loopback streams of 30 s with the moonlight-common-c harness client: H.264, HEVC and AV1 at 2560x720 60 fps decoded every frame (1786, 1793 and 1794) at 60.1 fps.
- Packet size (#52): with
packetsize=1200and a client asking for 1024 bytes, every video receive failed on 3.0.0-rc.1; this build streamed at 1024 bytes and decoded all 676 frames. - WebRTC against Edge and Chrome on the same PC over loopback (40 s per leg, glass-to-glass read from a clock in the video): 1080p60 median / p95 of 21 / 24 ms for H.264 and 17 / 19.5 ms for AV1; 90 and 120 fps at 1080p decoded at the full rate with medians of 15 to 24 ms; HEVC at 1440p120 and 4K120 and AV1 at 4K120 at 120 fps with medians of 23 to 28 ms; at 0.1 % datagram loss RTX kept H.264 1080p60 at 60 fps with no freezes, against 36 to 42 fps and 12 to 16 s frozen without it. HDR at 4K60 (HEVC Main10 and AV1 10-bit, BT.2020 PQ) decoded at about 58 fps with one freeze of about 0.5 s per run. Numbers.
On a Ryzen 7 8845HS laptop (Radeon 780M) over Wi-Fi:
- Wi-Fi pacing hint, Nightjar desktop, HEVC 1080p60 at 47 Mbit/s, 90 s runs: on 2.4 GHz the hint cut unrecoverable frames from 61 to 15.7 and keyframe requests from 100 to 27.7 per run (means of three), with p99 end to end 1652 ms instead of 12,170 ms. On a clean 5 GHz link nothing changed (median 4.77 against 4.74 ms). Numbers.
- WebRTC input from a browser on the dev PC: the host's own wait from receiving an input to injecting it is at most 0.11 to 0.52 ms. With a Retroid Pocket 6 on Nightjar 3.2.0, against the RX 7900 XT:
- Full chroma at 1080p120: 8-bit SDR ran 2 minutes without a stop; 10-bit HDR (AV1, packing version 2, 1920x2160 coded) ran 2 minutes without a stop at 116 fps received with no display drops; resuming that HDR stream came back as 10-bit full chroma.
- Not tested yet: a Samsung TV on this build; WebRTC over a real network.
New in 3.0.0-rc.1 #
- A virtual display that Windows lists under another adapter now comes up. On the Ryzen 7 8845HS laptop (Radeon 780M) Windows lists the virtual display under the render adapter with another target id than the one the driver reports. The host never found it and failed with "Windows kept it switched off" although the display was on. It now finds the display under either adapter, and a display Windows brought up cloned with the laptop panel is moved to a source of its own, so the stream mode never touches the panel; if Windows refuses, the launch fails and says why. The host also follows the display when Windows lists it under a new adapter after switching it off and on. The error now says why switching it on failed. Found by the display self-test; checked with a real stream on that laptop (IDD push capture on the virtual display, panel unchanged).
- The bitrate no longer collapses on Wi-Fi, and settles sooner on a link below the request. The controller counted data packets a reordering path had not delivered yet as loss and cut a clean 150 Mbit/s Wi-Fi stream to its floor; it now counts them only while the round trip is up and over what that path reorders. On a 50 Mbit/s link asked for 75 Mbps it cuts within 1.6 s of the first loss and loses 1.1 to 1.2 % of frames after the start-up (6.7 % before), and a probe that fails holds the rate under the failed one for 20 s. A queue that never drops a packet (the RTT 15 ms over its 30 s floor for 2 s after the rate was raised) is cut by 12 % too, and the stream card says "queue". Tested: own measurements on an RX 7900 XT with a shaped NUC client, details in
rust/PERFORMANCE.md. - Nightjar says why HDR or the refresh rate is not what the stream asked for. Experimental: we have no HDR10 phone and none that switches between several refresh rates. On the Statistics overlay, a screen that stays at another refresh rate than the frame rate vote now shows the likely cause (no such mode, battery saver, heat, the Android refresh rate setting, or a switch that would blank the screen), and HDR asked for but not delivered shows its reason (the screen or its current mode has no HDR10, the PC reports SDR, no mastering data, the decoder's output is not HDR). HDR is requested only when the screen reports HDR10 in its current mode; HLG alone no longer counts. Details.
- The host lowers the video bitrate when the network cannot carry it (
link_rate_adaptation, on by default). When a device loses frames that error correction cannot repair, for example 150 Mbps asked of a 100 Mbps link, the host cuts the bitrate to what the link delivered, says so in the log and on the stream card ("Bitrate limited by the network: 9 of 15 Mbps"), probes back up in small steps and returns to the requested rate after ten clean seconds. A link that carries the stream sees no change. Off for PyroWave, with Host adaptive bitrate, and once a client sets the bitrate itself. Changing the bitrate never forces a keyframe on H.264, HEVC or AV1; H.264 cannot encode below about 5 Mbps at 1080p60 whatever the target (its quantiser limit), so a cut there stops at that. Details. - A client can be told when the host lowers the bitrate for the network (new control message
0x5538, documented). A client that asks gets a short notice on each change, at most one a second and never on the video path: the requested and the current bitrate, and whether the host is probing back up or at its lowest. Nightjar says so in the stream overlay ("Host lowered the bitrate to X Mbps: network"). A bitrate that only drifts inside one state is sent at most every 5 seconds, so the line does not flicker. Clients that do not ask hear nothing, and the protocol version is unchanged. - A Radeon profile for each game. In the app editor, Radeon picks Competitive (Anti-Lag on), Smoothness (the game's frame rate capped at the stream's), Quality (anisotropic filtering and the driver's anti-aliasing enhancement) or Custom (up to 24 settings you list). The host writes them when the game starts, through the same journaled path as the Radeon controls of the Session API, and puts the original values back when the session ends, also after a crash. A setting the driver does not offer is shown in the session and in the host log; the game still starts.
- The session says when a launcher is in the way. If the game does not appear and a Steam, Epic Games, EA app or Ubisoft Connect window wants an update or a sign in, the owner's session carries a
launchernote (session.launcher) that a client can show. The host only reads window titles every 2 s; it never clicks or types into a launcher. - Microsoft Store and Xbox PC games in Add games. The host lists the games of the registered packages that ship a
MicrosoftGame.config, plus games inXboxGamesfolders, and starts them the way the Start menu does. Games without a package for this Windows user are shown as unavailable with the reason. Console-only titles are left out. - A Stream preset control in the device editor sets the preset for one device.
- Uninstalling no longer leaves the Intel libvpl license folder of 2.6.x behind in
C:\Program Files\Rubylight. Only folders Rubylight itself filled are removed; empty folders of your own, and everything when the install folder is a drive root, stay. - The display driver is repaired when it goes missing while the service runs, not only at service start. The service checks every minute and repairs after the driver has been gone for a minute, never during a stream (a host that cannot say whether it streams counts as busy), never for a device you switched off in Device Manager, and at most once a day per version. A host bound to a LAN
bind_addresscannot say whether it streams, so it is not repaired by itself. To repair it at once runbutterpollo-setup.exe --repair-drivers --nowfrom the Rubylight folder in an administrator shell: it shows progress and the result and is not held back by the daily limit or--no-display-driver. - The startup encoder probe no longer raises an "AMF returned no output" warning when the driver is slow on its first frame; it is logged at info.
- Lower latency with VRR on a game slower than the display. With VRR the host used to claim each captured picture on arrival, so a 120 Hz game in a 60 fps stream reached the encoder 4.7 ms old (median). The host now waits for the game's next frame when that frame is at least 2 ms away, as it already did without VRR: measured on an RX 7900 XT, the picture is 0.27 ms old at the encoder and leaves the host 3.5 ms sooner (median), with no change in shown frame rate. A source at the virtual display's 1000 Hz is claimed on arrival as before. Numbers.
- A lost first keyframe no longer slows the next stream, and a client on a slower port is paced for it from the first packet. Only loss that lasted is remembered now (the stream's first keyframe lost with nothing else wrong is held for 10 clean seconds, then forgotten), the normal rate is tried every second stream instead of every fifth, and history is kept per host network interface and client link, so another network adapter starts fresh. A client that reports its wired link speed (Nightjar) caps conventional-codec pacing at 4/5 of the slower port, but never below 1.1 times the encoder bitrate. Records saved by earlier releases are ignored. See Packet pacing.
- Missing codecs and older Windows builds are explained, not silent. Experimental on hardware we have not run (RX 5000, 6000 and 9000, Polaris and Vega cards, Windows 10, Windows 11 before 24H2). When the AMD encoder check finds a codec missing, the host log, a console warning and a refused launch now say why: a setting, the driver's error by name (
AMF_NOT_SUPPORTED (10)instead of10), or that the GPU's video engine has no such encoder (no AV1 before RDNA 3; no encoder on RX 6300 to 6500). Nothing is switched off by GPU name; the check still decides. An AMF driver older than the host's AMF version is told apart and retried with its own version. Windows APIs newer than Windows 10 are gated by their build with a logged reason: Windows Graphics Capture's cursor, border and update-interval switches no longer fail a stream on a build without them, Desktop Duplication goes to the legacy call below 1709, and the virtual display driver, which needs IddCx 1.10 (Windows 11 23H2 or later), is off by default on Windows 11 21H2 and 22H2 as on Windows 10, with a console warning where a launch asks for it. That changes one default: on Windows 11 21H2 and 22H2 the virtual display was on by default but could not load the driver.
Tested. The workspace tests (core 856, host 487, Windows 471 plus 20 fixture tests, setup 94, plus the smaller crates), clippy, the web console checks and the release build pass on this build. On an RX 7900 XT (Windows 26200):
- Loopback streams of 30 s: H.264, HEVC and AV1 at 2560x720 60 fps and PyroWave at 1080p60, every frame decoded at 60 fps. Median end-to-end time 4.6 ms (H.264), 7.0 ms (HEVC), 4.1 ms (AV1) and 11.5 ms (PyroWave).
- Short soak: all 67 cases that run on a release build passed (codec switches, GPU load, reconnects, the WGC helper fault), with no growth in memory, handles or threads. The three fault-injection cases need a debug host and were not run.
- Link rate: on a 50 Mbit/s link asked for 75 Mbps, 1.17 and 1.08 % of frames lost; behind a 400 ms queue that never drops, p95 283 and 336 ms instead of 389 and 400 ms; a clean Wi-Fi stream made no change. The runs are in PERFORMANCE.md.
On a Ryzen 7 8845HS laptop (Radeon 780M):
- Update over 3.0.0-beta.1: the service stays automatic and running, and the host state is unchanged.
- Virtual display: a 60 s stream on its own virtual display, 917 frames and none dropped, captured from the driver's frame push, with the laptop panel at its 2880x1800 120 Hz mode before, during and after. Switched off by Windows mid-stream, the display came back and the capture reopened within 0.2 s.
- Driver repair: with the service running, a removed display driver was set up again about a minute later; a second removal the same day was left for the manual
--repair-drivers --now, which repaired it; a disabled driver was left alone. - Not tested yet: phones on this build, and Windows giving the virtual display a new identity during a stream (covered by tests only). The display self-test's "beside duplicated TVs" check still fails on the laptop, where Windows moves the panel when the stand-in TVs arrive; it passes on the RX 7900 XT.
New in 3.0.0-beta.1 #
- Three stream presets: Lowest latency, Balanced and Reference quality. One setting, Stream preset under Streaming, fills in the AMD encoder settings that nobody set. A value you set yourself in the settings, for a device or for an app always wins over a preset, and a device or an app can name its own preset; the host refuses to save a name it does not know. Balanced is the defaults, so nothing changes unless you pick another. Lowest latency limits every frame, recovery keyframes included, to one frame's share of the bitrate (a one-frame cap cut the largest 4K40 HEVC recovery frame by 66%). Reference quality removes the size limit on recovery keyframes, which makes them larger on the wire, for a fast, steady link; we measured no picture quality gain from it, and H.264 with a one-frame cap was not measured separately. No preset changes the rate control: constant bitrate scored slightly higher on one clip only because it spends more of the budget, so it is not a quality setting. The console says which settings have a value of their own, and shows a saved preset name the host cannot read as an error instead of as Balanced. See Stream presets for the values and the measurements behind them.
- Experimental: send H.264 and HEVC frames slice by slice (
video_slice_delivery = 4, off by default). The encoder hands each frame over in four slices, and the host starts sending the first one while the rest is still being encoded. It needs no client change and works with stock Moonlight. At 4K60 HEVC and 80 Mbps it brought the picture 1.3 to 1.5 ms sooner on loopback and 1.2 to 1.4 ms sooner over real Wi-Fi 6E (a laptop running Nightjar desktop). With a 160 Mbps pacing cap emulating Wi-Fi, the gain was only 0.5 to 0.7 ms. At 1% loss frame loss was no worse, and picture quality dropped by at most 0.00024 SSIM. At 5% loss, 8 frames could not be rebuilt with slices on, against none with it off. Moonlight's statistics show about 2 ms more host latency with it on, because the host time now includes the encode it overlaps with sending, even though the picture arrives sooner. AV1, PyroWave and keyframes are always sent whole. Phones have not been measured yet. See PERFORMANCE.md. - A device keeps the Windows display scale you pick, not only the resolution (#36). With Remember the resolution I pick on, setting 200% (or any scale) on the stream's virtual display in Windows now comes back with the next stream, applied after the display is at the kept resolution. A Virtual display scale set in the host settings still wins, and nothing is kept then. A scale Windows refuses is logged as a warning and the stream goes on. The refresh rate is not kept: the stream's rate (and VRR) always decides it.
- A display layout you set for a device is never replaced (#40). At the end of a stream the host saved the layout the stream's display was left in as the device's own, and that replaced the layout you had picked under Devices; a game's mode switch or Windows moving the primary display was enough, so the next stream came back as "Extended". The device editor now marks a layout you pick, and the host never learns over a marked layout, also during a stream or across a reconnect. A device without a layout of its own still keeps the layout you leave a stream in, so a game that moves the primary display can still be learned there; a layout saved by an older version is not marked either. For such a device, pick the layout under Devices once, or set it back to the host setting to clear it.
- PyroWave recovers when the GPU device it converts on is lost. A lost D3D12 compute device left the frame's capture slot held, so PyroWave marked the whole GPU unusable and every later stream failed with "PyroWave is unavailable on this adapter" until Rubylight restarted. The loss is now treated as a device loss, the slot is freed and the stream rebuilds on a fresh device. Tested by removing our own D3D12 device between frames, before the conversion and during a frame.
Tested. The workspace tests (core 676, host 443, Windows 447, plus the smaller crates), clippy, the web console checks and the release build pass on this build. On an RX 7900 XT (Windows 26200):
- Stream presets: 13 loopback streams of 60 s, HEVC 4K60 at 80 Mbps and H.264 1080p60 at 20 Mbps, read back the encoder settings each preset should apply. With Lowest latency the first keyframe was 29% smaller on HEVC and 38 to 40% smaller on H.264. The median end-to-end time of the three presets was within 0.15 ms, below the run-to-run spread, so a preset changes keyframe size, not latency.
- Slice delivery: loopback A/B runs of at least 7,000 frames per arm, alternating off and on with the same loss seed, at 0%, 1% and 5% loss. Then 8 alternating runs (18,000 frames per arm) from a 780M laptop over Wi-Fi 6E running Nightjar desktop, joined with the host's timing record. No overflow, decoder error or encoder hang in any run. The numbers are in the entry above and in PERFORMANCE.md.
- Display scale, display layout and PyroWave device loss: covered by host, web and GPU tests, including removing our own D3D12 device at three points of a frame.
- Not tested yet: phones (slice delivery and presets), recovery keyframes under load with each preset, and a real driver reset (TDR) during PyroWave, which still marks the GPU unusable until restart. This is a beta; PERFORMANCE.md has the preset numbers.
New in 3.0.0-alpha.3 #
- Per-frame timing record. Set
BUTTERPOLLO_TIMING_RECORD=<folder>on the host and each video stream writeshost-<stream>.csvwith every frame's capture, convert, encode, packetize and send times on one clock (docs/timing-record.md). While it is unset nothing runs and nothing is written. The host timing report (control message 0x5536) now also carries capture and convert times and PyroWave's stamps, and stays within what Nightjar 0.8.0 accepts.rust/release/timing_report.pyjoins the host record with a client's frame log into a per-stage table. With the next Nightjar, the client's latency log gains the host columns and a clock offset from 0x5537. - Updates keep the service's startup type. Setup used to set the Rubylight service back to Automatic on every install and update. It now keeps Manual, Disabled and delayed start as you set them, and only a new service starts automatically. A disabled service is left disabled and not started, and setup says so. When the service is stopped, Start Rubylight.exe now offers to start it after a Windows permission prompt instead of only showing an error; declining keeps the old message.
- Alt+Tab and bitrate changes no longer switch a device to Wi-Fi pacing for 24 hours (#48). A keyframe the host sends on its own (a bitrate change, a restarted capture or encoder) was taken for the keyframe the client's next request "asked again" for, and the client's reaction to the host's change counted as video loss. The start of a stream did the same: the client asks again about 100 ms after the first keyframe, before it has shown a picture, and that second request was read as a lost keyframe. Requests and ordinary-frame reports within a second of such a keyframe (half a second of the stream's first) no longer count, even when the client asked just before the keyframe; keyframes sent to recover from loss open no such window. A keyframe the client really could not rebuild, a request repeated after the window, and repeated unrecoverable frames still count, and so do frames the host could not send whole when the send buffer fills (error 10055 at a high pacing rate): three within two seconds, or one keyframe, as before, now named "lost on send" in the log and counted once with the client's report of the same frame. The log now names the frames behind a "pacing like a Wi-Fi route" decision and the evidence it set aside.
Tested. All 1,645 workspace tests, clippy and the release build pass on this build. On an RX 7900 XT (Windows 26200):
- Timing record: 18 loopback streams of 60 s at 1080p60 across H.264, HEVC, AV1 and PyroWave. End to end, from game present to client present, the median was 7.4 ms for H.264, 8.8 ms for HEVC and AV1, and 13.3 ms for PyroWave. With the record off and on, H.264's present-to-send p99 was 11.85 and 11.78 ms, so the record costs nothing measurable. Four runs failed when Windows reset the audio device mid-stream, with the record both on and off.
- Startup type: an elevated test creates a real throwaway service and checks that a new one is Automatic, that Manual and Disabled survive setup's reconfigure, and that a Disabled one is not started.
- Wi-Fi pacing: the tests replay the stream start and the host-keyframe sequences from a real host log, and check that neither switches pacing or writes the 24-hour memory. A lost keyframe, a repeated request after the window, frames lost to a full send buffer and steady loss with reference-frame invalidation all still switch it.
- Not tested yet: the Alt+Tab case with a real phone, the timing record over the LAN and on phones, and the launcher's permission prompt. This is an alpha; PERFORMANCE.md has the timing numbers.
New in 3.0.0-alpha.2 #
- Radeon settings from the couch.
GET /api/native/v1/radeonlists the Radeon settings of the GPU the host encodes on, each in one of five states: configurable, read only, needs setup in AMD Software, not supported, or temporarily unavailable. A device with host control that owns the running session can change them withPOST /radeon/settings. Every change is written to a journal on disk before it is applied and is put back when the session ends, the game is closed, the grace period runs out, the device is unpaired or disabled, the host shuts down, or at the next start after a crash. It is not put back at Disconnect. A setting you changed on the PC in the meantime is left alone, and a restore that fails is logged and retried. - Native API v1 reference and compatibility guarantee. docs/api.md now documents every
/api/native/v1endpoint: authentication with the paired certificate and the Host control flag, the error codes, versioning and the Radeon restore rules. Stock Moonlight and Nightjar 0.7.x are unaffected by clients that read the native API or have an action refused. A successful End session or Close game changes/serverinfo(currentgame,state) as a stock quit would. The host tests pin their/serverinfo(apart fromNativeApiVersion, 0 over plain HTTP or unpaired and 1 for a paired HTTPS device),/applistand/cancelanswers byte for byte, and check that a stock/cancelstill needs only Launch permission. - Use it from Nightjar 0.8.0. Nightjar 0.8.0 shows these settings in its Session and graphics page while you stream, with the reason when one can't be changed and a note on when it goes back. A Radeon setting now reports
writable_nowonly when the device may also write it, so a device without View permission no longer sees a switch that the host then refuses.
Tested. The workspace tests, clippy and the release build pass on this build. On an RX 7900 XT (Windows 26200):
- Couch loop with Nightjar 0.8.0 on a Retroid Pocket 6 over Wi-Fi and on the Android emulator: pair, Host control, Home, Play, Anti-Lag on from the Radeon panel, End session. Anti-Lag was back to Off within 2 s.
- Crash test: with the host killed mid-session right after a Radeon write, the next start restored the setting within 1 s and cleared its journal. On a virtual display, the virtual monitor left 0.2 s after the kill and the physical display's mode and position did not change.
- Old and new clients: Nightjar 0.7.18 against this host and Nightjar 0.8.0 against Rubylight 2.6.0 both paired, streamed and quit through the classic grid.
- 30-minute HEVC 1080p60 soak: all 108,360 frames decoded at 60.2 fps, with one long arrival gap (max 32.4 ms), no encoder hang and no growth in host or encode time.
- Not tested yet: stock Moonlight on a phone. This is an alpha; PERFORMANCE.md has the full numbers.
New in 3.0.0-alpha.1 #
- Rubylight 3.0 needs an AMD Radeon GPU. Setup (interactive, quiet and update) and the host stop on a PC with no AMD GPU or no working AMF video encoder, and say why in plain words. NVIDIA and Intel graphics stay on Rubylight 2.6.x. An AMD GPU whose driver has no AMF encoder is told to update the Radeon driver. There is no GPU-generation floor and no Windows-build floor: every AMD GPU with a working AMF encoder is accepted, on Windows 10 and 11. On a PC with an AMD iGPU beside an NVIDIA dGPU, the host encodes on the AMD adapter, or names it when the monitor is on the other card. A Moonlight client that cannot launch because no encoder is ready now sees the same advice.
- The host is AMD-only from 3.0. NVENC, Quick Sync, and the FFmpeg software encoders (x264, x265, SVT-AV1) are removed, along with their settings, console controls and libraries. AMF encodes H.264, HEVC and AV1, and PyroWave keeps its own encoder. Settings that named a removed encoder migrate to
amforautoand the host reports the change once. NVIDIA and Intel users stay on the 2.6.x line. - The GPU fence ring is now the default for virtual-display capture. Direct driver push (
capture = idd-push, and automatic capture of a display this host created) uses the fence ring unless you turn it off. The keyed-mutex ring stays available withidd_push_fence_ring = false. An old display driver, or a capture without in-place compute conversion, keeps the keyed-mutex ring and the host warns in the log and the console. See "rust/PERFORMANCE.md, October 22" for the loaded comparison. - Nothing else is dropped. Every AMD GPU with a working AMF encoder stays supported, older generations included, on Windows 10 and 11. Physical displays, WGC and Desktop Duplication capture keep working beside virtual displays, so you can still stream the PC's own monitor.
- Native API v1 for Nightjar. A paired client on the HTTPS streaming port can read the host's capabilities, the installed-games library with stable ids and covers, and the session state, and can Disconnect, End session or Close game, under
/api/native/v1./serverinfogainsNativeApiVersion(1 for a paired HTTPS request, 0 otherwise); nothing else in the Moonlight endpoints changes, so stock Moonlight and older Nightjar builds work as before. The contract is in docs/native-api.md. - Host control is a per-device permission. Devices → device → Other → "Host control" lets that device close games through the native API. It is off for every device until you turn it on in the console, and nothing on the streaming port can turn it on.
- Sessions have explicit states. Disconnect leaves the game running and the session suspended for the disconnect grace period, End session ends the stream but keeps the game, and Close game also quits it. Repeated or racing requests are answered, not doubled, and a host that stopped in the middle of a session reports it at the next start.
Tested. The workspace tests, clippy and the release build pass on this build. On an RX 7900 XT (Windows 26200):
- Against 2.6.0, ABBA: 56 streams covering physical-display WGC and Desktop Duplication (HEVC and AV1, 1440p120) and the virtual display with both driver rings. Every mean picture age was within 0.15 ms of 2.6.0, and there was no encoder hang.
- 30-minute HEVC 1080p60 soak: all 107,814 frames decoded at 60.1 fps, with no encoder hang and no growth in host or encode time.
- Upgrade: the alpha.1 setup upgraded an installed 2.6.0 in place and kept all 12 paired devices.
- Over wired LAN from a second PC: a moonlight-common-c client paired and streamed HEVC 1080p60 for 60 seconds. Every frame decoded, the arrival interval p99 was 20.9 ms, and the host processing mean was 0.45 ms.
- Not tested yet: stock Moonlight on a phone. This is an alpha; PERFORMANCE.md has the full numbers.
New in 2.6.0 #
- A simpler console for everyday play. Home leads with setup, ready, streaming or attention status, followed by your game shelf. Home, Games & apps, Devices and Settings form the main navigation; Help & diagnostics holds logs and recovery tools. The refreshed console uses comfortable spacing, larger controls, light/dark/system appearance and a compact mobile drawer.
- Import installed games from six launchers. Games & apps → Add games scans Steam, Epic Games, Battle.net, EA app, Ubisoft Connect and GOG. Search, filter, select and rescan installed games, with Already added states and per-launcher scan results. Imports preserve user edits and distinguish games from different stores. Steam and Playnite synchronization and manual editing remain available.
- Clearer pairing and device access. Enter the streaming client's PIN in one field, then wait for the actual paired-device confirmation. Each device shows its connection state and access level, with an explicit Change access action. Other pairing methods and custom permissions are expandable.
- Everyday settings first. Six settings groups show common controls and their dependencies, with specialist fields under Advanced. Search finds configuration keys and advanced controls; changed-setting review, reset, unsaved-change protection and restart confirmation remain available. Game editors put the name, program or Desktop selection and cover first.
Verification and limits: Frontend checks and production build, 47 frontend unit tests, 61 affected browser tests, 549 core tests and 44 targeted Windows/host tests passed before release preparation. Desktop, tablet, mobile, both themes, keyboard navigation, 200% reflow and loading/error/empty states were checked. Launcher discovery uses fixtures; real-device pairing, live streaming and real store-launcher handoff still need hardware verification.
New in 2.5.13 #
- Bound the wait for a predicted capture. When the next predicted capture does not arrive, its detection allowance now stays inside the existing prediction budget. In the deterministic 90 fps reproduction, the fallback claim moves from 13.89 ms to 11.61 ms after the previous claim, reducing the extra wait by 2.28 ms. Fresh captures can still replace the pending frame.
- Move large frames to the existing sender before pacing their packets. The handoff now accounts for the actual encoded frame size, packet headers, encryption and the frame's FEC, rather than relying only on the average bitrate. A large keyframe can therefore avoid holding up capture and encoding while its packets are paced. Wire-rate limits and queue bounds are unchanged.
- Include the latest background-stream and process-audio fixes from main. Background isolation stays fixed across reconnects, waits for its own display instead of falling back to the PC's monitor, and keeps window and audio tracking tied to the launched game. Process audio activation now preserves parameter ownership and retrieves the audio interface on its audio thread.
Verification and limits: Regression tests cover missed predictions at 59.94, 90, 120, 144 and 240 fps, large recovery frames on a gigabit link, and encrypted and unencrypted sender handoffs with packet numbering preserved. The 2.28 ms result is a timing-policy reproduction, not a measured end-to-end improvement. The reported RX 9070 to RTX 2050 setup and its camera-measured latency spread have not been retested.
New in 2.5.12 #
- Experimental full-chroma HEVC and AV1 for AMD. A reversible packed 4:2:0 layout preserves every quantized luma and chroma sample before hardware compression, with 8-bit SDR and 10-bit HDR modes. Enable the experimental packed 4:4:4 option on both Rubylight and Nightjar 0.7.18. It is off by default; stock clients retain their existing modes. Compression remains lossy.
- Explicit capability and geometry checks. The host probes each codec and bit depth separately, keeps display dimensions separate from the packed coded dimensions, and rejects unsupported requests without substituting 4:2:0 or software encoding. Unsupported narrow HEVC surfaces are rejected before AMF initialization.
- Keep the 200 Mbps transport budget. Nightjar reserves space for packet headers, encryption and FEC, limiting packed video payload to 140 Mbps at a configured 200 Mbps total budget.
Verification and limits: Exact packing tests, independent FFmpeg decoding, protocol checks, Windows reconstruction tests, Linux desktop checks and Android builds passed. On an AMD Radeon 780M, all four packed modes reached approximately 1440p120 in bounded synthetic tests (10 measured seconds per mode): calculated peak transport bandwidth including 20% FEC and packet headers was at most 192.8 Mbps, with at most 3.58 ms added host p95 latency versus matched 4:2:0. This does not establish sustained end-to-end performance. Physical HDR presentation on Android/Linux and Windows HDR output remain unverified. An earlier workstation crash remains unexplained; the later bounded tests completed without a crash. Keep the feature experimental and disabled on unverified devices.
New in 2.5.11 #
- Return completed capture buffers without a cursor update. Since 2.5.6, completed GPU conversions could keep all four frame-push capture slots owned when no separate cursor overlay was drawn. PyroWave then waited for a new frame that capture could not produce. Conversion now releases completed slots on every frame. This is unrelated to Nightjar's local cursor setting and addresses a reproduced cause of the slowdown investigated in #42.
- Keep PyroWave alignment inside the wire budget. Record padding could enlarge a frame after the codec had applied its bitrate budget: a native GPU fixture configured for 400 Mbps produced packets requiring about 447 Mbps at 60 fps. Alignment is retained when its packets, headers and adaptive critical parity fit; otherwise the existing unpadded record format preserves the encoded pixels. Recovery protection can be reduced on that fallback, with the existing warning retained. The budget also covers lower adaptive FEC percentages that restore parity at the 255-shard limit. The padding issue predates 2.5.6.
- Interrupt packet pacing when a PyroWave stream stops. An extremely low pacing cap could leave disconnect waiting for a long packet deadline and send another packet afterward. Shutdown now wakes that wait and rechecks cancellation before sending, without changing normal pacing or its adaptive wake lead.
Verification and limits: All 1,302 workspace tests, six native AMD Radeon 780M GPU tests, 78 release-tooling tests, formatting and workspace Clippy passed. The capture regression fails before the fifth frame without its fix and completes 16 frames with it. The framing regression checks 12 scene/bitrate combinations at every adaptive critical FEC percentage from 0 to 20 and preserves decoded pixels. The real-sender cancellation regression fails before its fix and now completes teardown within 250 ms without another packet. Independent QA reviewed the changes. The desktop AMD driver reset remains unexplained, and performance recovery on the reporter's setup still needs a live stream test.
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.
New in 2.5.9 #
- Restore PyroWave frame rate while a game is running. Since 2.5.6, a PyroWave stream at 2772×1280, 144 fps and 400 Mbps on an RX 6600 XT peaked near 58 fps and averaged 35–55, where 2.5.1 averaged 78–118 and reached 129–144 with the same game and client. Picture age p95 rose from 1–2 ms to 6–11 ms. 2.5.6 had stopped raising the host and its capture helper to high CPU priority. Beside a busy game, the host's sending threads woke late, and the packet pacer lost each delay beyond its 0.5 ms slack. PyroWave keeps a frame on the wire for most of its period, so these delays cut its frame rate directly. High priority is back while streaming. Packet pacing now also wakes early by the lateness it has measured, instead of yielding through the last 600 µs as 2.5.1 did, so it does not occupy a CPU core. Reported in #42.
A new socket-free probe (examples/pace_probe.rs) sends 144 fps PyroWave-sized frames at 500 Mbps beside one spinning thread per logical CPU. The new wait held 144 fps with a p95 wire time of 3.6 ms in every run. The 2.5.1 yielding wait reached only 104–136 fps, and the plain 2.5.6 timer dropped to 133 fps in one normal-priority run. All workspace tests, Clippy and the elevated process-priority restoration test pass. The comparison above comes from the reporter's 2.5.1 and 2.5.7 support logs. 2.5.9 has not yet been streamed on that setup.
New in 2.5.8 #
- Correct high-refresh virtual-display metadata. The driver requested 1000 Hz for VRR while its EDID declared a 495 Hz maximum and clock limits too low for 4K1000. The updated driver removes those contradictory limits and lets IddCx describe its supported modes. The requested refresh, HDR metadata and EDID checksums are preserved.
This corrects a driver defect found while investigating #40. Resolution of the reporter's Windows 11 23H2 rejection remains unconfirmed. The new display trace helper captures Windows' rejection details without changing display, driver or service settings.
New in 2.5.7 #
- Restore Vulkan HDR layer loading on Windows. The registered manifest path mixed backslashes and a forward slash, which made the Windows Vulkan loader look for the layer DLL in the installation folder instead of its
vulkan-layersubfolder. Vulkan games could therefore miss HDR even with the setting enabled and a working HDR stream. Startup now registers the native Windows path and removes this installation's older, broken registration; disabling the setting also removes the broken enabled entry. Other installations and third-party layers are preserved. This addresses Baldur's Gate 3 HDR detection (#39). After updating, fully exit and relaunch the game while connected to an HDR stream.
Validated with isolated Windows registry regression tests and the real Windows Vulkan loader: the old registration fails to load the DLL, the corrected registration loads it, and inactive surface-format queries retain their original SDR results. Baldur's Gate 3 itself has not been tested locally.
- Set a global default for closing apps on disconnect. Settings → Library can close the app when its last streaming device leaves. Apps can use the global default or explicitly choose On or Off; existing app choices are preserved. The default stays off and changes apply on the next app launch. Addresses #38.
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.
Tested. All 1,275 workspace tests and clippy pass on this build. We also streamed it on an RX 7900 XT (Windows 26200) to a laptop client: 2880×1800 at 165 Hz, AV1 10-bit HDR, frame-push capture from the Rubylight display, 88 Mbps configured. Over about four and a half minutes of desktop use, measured in 51 five-second samples:
| Measurement | Mean | Worst sample |
|---|---|---|
| Host time per frame | 0.71 ms | p99 2.10 ms, max 2.76 ms |
| AMF encode | 3.64 ms | p99 5.03 ms |
| Present to sent | 4.00 ms | p99 9.08 ms |
No frame was lost and no reference was invalidated; the only keyframes were the two at stream start. Frame rate followed screen activity, reaching 165 fps whenever the desktop moved. That link lost nothing, so the new loss recovery, device memory and FEC hold below are covered by tests only so far, not by a lossy stream.
-
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=0selects 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 and unresolved reset. An additional reset on installed 2.5.5 used standard keyed-mutex capture and required a Windows restart. These corrections do not establish the cause of that reset or long-session stability.
The PyroWave and D3D12 follow-up records the later corrections, compatibility tradeoffs and verification limits.
New in 2.5.5 #
- Correct recycled AMF D3D12 input barriers. The converter now reads the resource state AMF records after encoding before transitioning a reused texture for conversion. AMF left both HEVC and AV1 inputs in
COPY_SOURCE; assumingCOMMONcaused invalid barriers on both YUV planes. A short native reproduction reported 124 Direct3D validation errors before the fix and zero afterward. HEVC and AV1 SDR/HDR checks independently decoded all 128 frames. This corrects a GPU synchronization defect; longer use is still needed to determine its contribution to the reported AMD resets. See the investigation and validation.
New in 2.5.4 #
- Improve HEVC intra-refresh compatibility. Clients that negotiate HEVC intra-refresh now use a finite GOP and refresh whole CTB rows, following Eftimin70's Xbox workaround and Nonary/vibeshine's follow-up. Both settings are checked before and after encoder initialization. Drivers that reject them retain the previous policy; a failed candidate initialization gets one fresh attempt using that policy. Startup and recovery keyframes remain enabled.
- Respect local display changes while a game is disconnected. A paused game keeps its virtual-display lease without switching the display back on after a local Win+P change or restoring its mode/HDR. Resuming reactivates the display and publishes the capture target before streaming starts. Active streams retain display recovery. This addresses a code path relevant to issue #35; the full reported freeze and touchscreen symptom remain unconfirmed.
- Restore 1440p virtual-display modes. The updated driver includes 2560x1440 at 60, 120 and 240 Hz even for a 4K stream. Combining mode lists also keeps custom refresh rates and the preferred refresh order. Run this release's installer to update the display driver.
Validation and limits: 574 host/Windows automated tests, formatting and Clippy passed for the display change. The HEVC candidate independently decoded all 1,800 SDR/HDR frames and both 167-frame recovery tails on an RX 7900 XT at 4K119.88. A user who could reproduce the colour smearing confirmed it was gone on Xbox Series S with the latest Xbox Moonlight client, using the 2.5.3 candidate at 4K119.88 HEVC HDR; its HEVC code is unchanged in 2.5.4. The native paused-display test could not run because Windows denied driver access. These results do not establish a general picture-quality or latency gain. The separate HDR-toggle report in issue #36 remains unresolved. See the HEVC test method and results.
In 2.5.4, restoring the physical monitor layout automatically after Moonlight disconnects requires enabling Settings → Display → Restore displays on disconnect. That release defaults to off with a three-second restore delay; the unreleased changes above enable restoration by default.
New in 2.5.3 #
- Restore 1440p virtual-display modes. The display driver includes 2560x1440 at 60, 120 and 240 Hz even when the stream requests 4K. Combining mode lists also preserves custom refresh rates and the preferred refresh order. Install this release's updated display driver through the installer to receive the fix.
- Apply the negotiated HEVC intra-refresh workaround. Clients that request HEVC intra-refresh now use a finite GOP and refresh whole CTB rows, following Eftimin70's Xbox workaround and Nonary/vibeshine's follow-up. At 4K this requests GOP 120 and 60 CTBs per slot. Both settings are verified before and after encoder initialization; rejected settings restore the previous policy, and candidate initialization failures get one fresh encoder attempt using that policy. Startup and recovery keyframes remain enabled.
Validation and limits: 524 core/AMF unit tests and Clippy passed. On an RX 7900 XT at 4K119.88, independent decoding passed all 1,800 SDR/HDR frames and both 167-frame recovery tails. No periodic keyframe bursts or packet-budget violations appeared in those synthetic GPU tests. These checks do not establish a picture-quality or latency gain or confirm the workaround on Xbox Series X / RX 9070 XT. The separate HDR-toggle report in issue #36 remains unresolved. See the test method and results.
New in 2.5.2 #
- Retry brief Windows send-buffer exhaustion. Error
10055now gets one short backoff and retry for video batches and audio datagrams, within the existing shared four-millisecond wait budget. Persistent failures still drop promptly; successful sends are never repeated. - React to repeated unrecoverable video frames. The default loss guard also reduces packet bursts after three distinct recent frames arrive incomplete within two seconds. Repeated block reports count once per frame. Encoder bitrate stays unchanged, and manual pacing or either adaptive controller retains control.
- Hand off as soon as loss feedback is available. Loss feedback can move the next output directly to the video sender thread, avoiding an extra paced frame on the capture thread. Existing queues and frame ordering are preserved.
- Recover the final driver-pushed picture after temporary pressure. When every shared frame slot is busy, the display driver retains the newest image and retries publication once a slot becomes available. Fresh acquisitions take precedence, retries preserve the original timestamps, and a successful image is not repeatedly published. Capture consumers are also notified before the previous image is released.
- Trace fresh-picture delivery when diagnosing low FPS. Optional capture, admission and packetizer traces can distinguish newly acquired frames, repeated source pictures and time spent waiting. They are off by default.
See the native loss-response checks and remaining AMF frame-size limitation.
Validation and limits: 1,189 workspace tests passed before the version bump; short local stream checks decoded all 1,739 received frames, and the matched UDP checks lost no packets. These checks do not establish a general network-throughput or latency gain. The retained-picture driver policy has regression coverage; its new driver was not installed for those stream measurements. AMD can still exceed an accepted frame-size limit, including in the reported RX 9070 XT case. Encoder defaults and the experimental fence option remain unchanged.
New in 2.5.1 #
- Safer recovery from GPU fence failures. Failed synchronization retires the affected compute queue and reopens capture with the standard keyed-mutex transport. The same display registration remembers the failure through capture restarts; recreating the display permits a fresh attempt. An active producer that cannot publish its first frame falls back sooner, while a display that has not begun producing pixels keeps its startup allowance.
- Bounded producer wait for CPU readback. CPU readers wait at most two seconds for a captured frame's producer fence before submitting the staging copy. A missing completion returns an error and rejects the affected fence ring so capture can recover. GPU conversion keeps its asynchronous waits; this deadline does not cover unrelated later copy, mapping or driver stalls.
GPU fence transport remains experimental and off by default. Installed-driver comparisons found shorter host-side capture steps, but variable picture age and repeated source pictures under graphics load do not support making it automatic. Existing capture choices and the standard keyed-mutex transport remain available. See the 26,592-frame comparison, timing definitions and limits.
New in 2.5.0 #
- Smoother AMD recovery after a keyframe. Proven depth-one AMF pipelines can prepare one fresh picture near the end of a paced recovery frame. Four short RX 7900 XT comparisons reduced the gap from an IDR to its next fresh received frame from 8.44 to 5.30 ms, with 6,941/6,941 frames decoded. Queue bounds, packet order, FEC, network pacing and the Punktfunk-compatible Moonlight host metric remain unchanged. Unknown/deeper encoder pipelines retain their required priming; socket stalls and drops restore the strict barrier. This improves the measured recovery cadence; overall picture age did not consistently improve.
- Antialiased GPU downscaling. Fractional and larger reductions average the source pixels each output pixel covers, reducing thin-line shimmer and lost detail when streaming below the desktop resolution. Native resolution, enlargement and aligned 2× reduction preserve their existing pixels. Work is bounded to reductions up to 8× per axis; larger reductions retain the previous filter. Existing HDR transfer handling, cursor composition and aspect-ratio behavior are preserved. An independent reference checks pixels across D3D11 graphics, D3D11 compute and D3D12 compute paths; separate timing and encoded-output checks document the cost.
- An additional experimental GPU fence transport. Advanced Video settings can enable
idd_push_fence_ringfor direct driver push on compatible AMD setups. It adds D3D12-owned shared textures and GPU fences to the existing D3D11 display driver. Every existing capture method and encoder remains available, and unsupported drivers or failed setup use the standard transport. The option is off by default: component tests reduced CPU handoff overhead, but completed-conversion gains were small and variable. Installed-driver end-to-end gains and native D3D12 IddCx swap-chain support remain unverified.
See the 2.5.0 measurements, settings and limits. These focused RX 7900 XT comparisons do not establish a market-wide ranking or an input-to-display latency result.
New in 2.4.8 #
- Moonlight host timing matches Punktfunk's GameStream software path. The timer starts at the capture/encode output tick and stops at entry into packetization. Conventional video and PyroWave prepare packets before handing them to a separate paced sender, so the prepared packets' queue and send time cannot inflate the value. Packetizer backlog is still counted. Asynchronous output uses the tick that polls it; the original encoder duration and full present-to-sent timing remain separate measurements. The wire field truncates and saturates exactly as Punktfunk's does.
- Send delays can be diagnosed from ordinary logs. Conventional output records its prepared-packet queue separately and logs unusually slow frames with their size, effective pacing rate, expected wire time, pacing waits and socket waits. Network pacing limits are unchanged.
- Smaller AMD recovery frames by default. Native AMD AMF encoders now request a maximum frame size of two nominal frame budgets (
amd_max_frame_size=2). In an isolated RX 7900 XT HEVC test at 4K119.88 and 70.77 Mbps pacing, recovery-frame pacing fell from 28–54 ms to about 15 ms; all 7,112 received frames decoded. Unsupported or unapplied limits at encoder setup warn and keep streaming with the driver's effective setting. The driver may exceed an accepted limit, and limiting large frames can reduce picture quality during recovery or scene changes. Choose Maximum frame size → Driver default (0) to restore unrestricted frame sizes. See the measured settings and limitations.
New in 2.4.7 #
[!IMPORTANT] Still using WGC on a Rubylight virtual display? Choose Settings → Video → Capture method → Direct driver push to use the recommended, lower-overhead path straight from Rubylight's display driver. Automatic already uses this path on Rubylight virtual displays. Save, end existing streams and reconnect. Physical monitors still use Windows capture; lower capture overhead does not guarantee lower total latency in every setup.
- Select Direct driver push in Video settings. The Capture method menu now exposes Rubylight's existing direct virtual-display capture path. Automatic's help explains that it already uses driver push on Rubylight virtual displays and WGC elsewhere. The console identifies the selected method and keeps capture-specific controls relevant. Driver push falls back to WGC when unavailable; existing capture selections are preserved.
- Create a token with all available API permissions. Token creation now offers Select all permissions, including paths hidden by search, while keeping individual selection and clearing available. The old 64-path limit blocked tokens selecting the host's full catalog; the UI and host now accept all advertised paths and methods. Token-management routes remain administrator-only.
New in 2.4.6 #
- Your phone's microphone becomes the PC's microphone automatically. When microphone forwarding starts, Rubylight selects Steam Streaming Microphone for all Windows recording roles, so apps using the system default can hear the client. Muting or disconnecting restores the previous microphones; manual selections during forwarding are preserved. Recovery also covers host crashes and failed switches. Apps pinned to a particular input still need Default selected, and an already-open voice session may need restarting. If Windows refuses the automatic switch, forwarding stays available with a message explaining manual input selection.
New in 2.4.5 #
- Nonary's Moonlight can calibrate PyroWave against Rubylight. Its calibration measures the fastest total rate, and the fastest frame pace, your network carries without loss, using the UDP probe added in 2.4.4. It needs the host to treat that rate as a total on the wire, as Vibeshine does, which Rubylight now does. A PyroWave bitrate is now the stream's whole budget: audio with its parity and 500 kbps for control come off it. With record framing (Nonary's Moonlight, Nightjar, Aurora), each picture gets what fits after packet overhead and one block of critical FEC. The picture gets about 15–20% less than the bitrate you set, and the stream no longer goes over that bitrate on the wire. Raise the client's bitrate if your network has room.
New in 2.4.4 #
- The console's certificate warning is gone after an update too. 2.4.2 and 2.4.3 trusted the console's root only on a fresh install, so a PC updated from an earlier version still showed the browser warning on
https://localhost:47990. Setup now trusts it on every install and update. - PyroWave clients can measure their own network. Paired clients can ask the host for a two-second UDP test at a chosen rate, optionally sent as whole frames at a chosen pace, and count what arrives. This is the same
/pyrowave-udp-probethat Vibeshine serves, including its handshake for client firewalls. A client can use it to find the fastest pace its network carries without loss and report it with each stream, so a Wi-Fi client is no longer sent frames faster than it can take them. The probe is refused while a stream runs.
New in 2.4.3 #
- Steadier frame timing when a game runs between the stream's rate and the display's. On Rubylight's 240 Hz virtual display, a game whose pictures land on one refresh and then two (about 160 a second) could make the host encode 121 frames a second for a 120 fps stream, taking pictures that had already waited. Rubylight now judges the source by its average rate and stays at the stream's rate.
- Streams start when the GPU driver refuses the client's slice count (#32). Moonlight for Nintendo Switch asks for four slices per frame. When the AMD driver rejected that count, the encoder failed and the stream never started. Rubylight still asks for the client's count, but now logs a warning and keeps the driver's own value. A tile count set in
amd_av1_tilesis still required.
New in 2.4.2 #
- No more certificate warning on the console. Opening
https://localhost:47990on the host PC showed Firefox's and other browsers' security warning, because the console reused the self-signed certificate that paired devices check. The console now has its own certificate forlocalhost,127.0.0.1and::1, and setup adds its issuer, Rubylight local console, to Windows' trusted roots. That root can vouch only for those loopback names, and its private key is deleted once it has signed the console's certificate, so trusting it cannot vouch for any other site. Firefox uses Windows' trusted roots by default. Paired devices are unaffected. Opened from another device by the host's network address, the console still shows the warning.
New in 2.4.1 #
- Your display layout is remembered (#33). Switching Windows to Show only on 2 (only the stream's display), or making the stream's display the main one, during an extended stream was undone at the next connection. Rubylight now keeps the layout you leave a stream in as that device's own, shown as its Virtual display layout under Devices. A layout your client asks for, and the exclusive and isolated layouts, are left as they are.
- PyroWave on a client with a slower network port (#31). PyroWave sent each frame at the host's own link speed, so a 10 GbE host streaming to a 2.5 GbE client, or a 2.5 GbE host to a 1 GbE client, overran the client's port: shimmering and lost packets unless the bitrate went far down. Clients that report their own network link with each PyroWave stream, as Nonary's Moonlight does, now get frames paced to that link when it is slower than the host's, or to the pace their calibration found. A client as fast as the host keeps the full speed, so its frames arrive just as soon.
pacing_max_bitrate_kbpsstill sets a fixed limit. - Steadier frame timing on Rubylight's virtual displays. A pacing wait meant for Windows Graphics Capture also ran when frames came from Rubylight's display driver; under GPU load it could hold a frame up to a quarter of a frame period past its slot. It now runs only with Windows Graphics Capture.
New in 2.4.0 #
- Rubylight's own virtual display driver. Setup now installs Rubylight's display driver instead of libvirtualdisplay (SudoVDA), and removes libvirtualdisplay from earlier installations once Rubylight's driver runs. The host reads each frame straight from the driver, which saves about 0.9 ms at 240 Hz over Windows Graphics Capture. Until releases are signed, setup signs the driver on your PC with a key it deletes at once; no test mode, no restart. On PCs with Smart App Control, Windows in S mode or an App Control policy, Windows refuses such a driver: setup and the console say so and what you can do, nothing is left half-installed, and streams use a physical display. Two devices streaming one virtual display with different settings both get a picture: the second captures it with Windows Graphics Capture.
- NVIDIA RTX HDR (TrueHDR) is gone. It was the one part of Rubylight that linked NVIDIA's proprietary libraries, and it only ran on NVIDIA GPUs; without it every Rubylight build is open source, which code signing through the SignPath Foundation requires. HDR streams of HDR games and displays are unchanged. The peak brightness a virtual display reports stays, as Settings → HDR → Peak brightness (
hdr_peak_brightness, earlierrtx_hdr_peak_brightness, which is read under its new name). Other saved RTX HDR settings are dropped without a warning. - Version details on every Rubylight program. The host, service, start program, setup, diagnostic probes and Rubylight's DLLs now carry the product name, version and a description, which Explorer's Details tab and Task Manager show. Code signing through the SignPath Foundation requires them.
- Code signing policy and privacy statement. The code signing policy says who signs releases and how to check a download; the privacy statement lists every connection Rubylight makes and how to turn it off. Releases stay unsigned until the SignPath project is approved.
- See how old a picture is when it leaves the host. Moonlight's host latency starts when the host claims a picture for encoding and stops before it is sent, so it leaves out the capture and the send. The stream card now also shows Present to sent: the average from Windows' present to the last packet sent, for new pictures, with its 99th percentile. The 5-second
stream timingslog line adds where that time goes, stage by stage (present_to_sent_ms,stage_*_ms). Moonlight's own figure is unchanged. What each host's figure covers - Smoother streams once pacing slows down. On a fast wired link the host sends each frame itself between pictures. When pacing later slowed, for example after a lost keyframe, every send took up to half a frame period and held up the next picture. Those sends now move to the video send thread, as on a link paced from the start. Under congestion, a batch of packets now waits at most 4 ms in total for a full socket buffer instead of 4 ms per packet, which could hold a frame for a quarter of a second without network offload. Reading the stream's statistics, for the console or the 5-second log, no longer holds up the send thread while it sorts them.
New in 2.3.1 #
Frame rate and slow-network fixes, measured on an RX 7900 XT host: Warp-style requests now get the frame rate they ask for, and TV boxes with 100 Mbps Ethernet get a picture.
- A picture on TV boxes with 100 Mbps Ethernet. Behind a port slower than the host and a switch with a shallow queue, every keyframe sent at the fast wired pacing rate (up to 800 Mbps) overflowed the queue. The client asked for another, which was lost the same way, and the picture froze. Through a 100 Mbps loopback bottleneck with a 16 or 64 KiB queue, 1440p60 AV1 and HEVC streams at 40 and 60 Mbps delivered no frame in 20 seconds, in 2.2.1 too. Now, once a keyframe is lost, the rest of the stream is paced like Wi-Fi (twice the encoder bitrate), and the picture arrived within about a tenth of a second. Devices that never lose a keyframe keep the fast rate. Settings → Video → Slow down after lost keyframes (
keyframe_loss_pacing) turns it off. - Streams run at the frame rate the device asks for. Artemis's Warp frame pacing launches at 60 fps and asks for 120 or 240 in its stream request; the host streamed 60, so the frame rate would not go above 60 whatever Warp setting was chosen. The stream now runs at the requested rate, as in Vibepollo: a virtual display's refresh is raised for it and the frame limiter follows it. The bitrate you set stays the stream's budget, so each frame gets less of it than in Vibepollo at the same setting; raise the bitrate if your network allows. Use the launch frame rate (
limit_framerate), now off by default, keeps the launch rate. - The console shows the frame rate the stream is encoded at. With Use the launch frame rate on, a device that launches at 60 fps and asks for 120 in its stream request is streamed at 60 fps, but the stream card showed 120 as the target. It now shows 60 and the rate the device asked for.
- Send Artemis's Warp streams at the bitrate you set. With Artemis's Frame pacing set to Warp Drive or Warp 2, the host multiplied the client's bitrate by 2 or 4 but still encoded at the launch frame rate, so a 40 Mbps setting sent about 84 or 168 Mbps. On a TV box with a 100 Mbps Ethernet port, such as the Onn 4K Pro, nearly every frame was lost. The bitrate you set is now the stream's budget whatever the frame pacing. The log's stream lines also show the requested frame rate, the configured and encoder bitrates and the rate actually sent.
Measured with isolated test hosts and the independent moonlight-common-c receiver: a request launched at 60 fps that asks for 120 delivered 120.0 fps on a virtual display (2.3.0: 60.0), and 120 → 240 delivered 240.0 fps; the virtual display's refresh was raised in place and the bitrate stayed at the client's setting. Through a 100 Mbps loopback bottleneck with a 16 or 64 KiB queue, every frame of 1440p60 AV1 and HEVC arrived (2.3.0 and 2.2.1: none). A real Onn 4K Pro and Artemis have not been tested.
New in 2.3.0 #
A fresh start. The 2.2.x line shipped 21 updates in four days. 2.3.0 replaces them with one reviewed release: every change since 2.2.1 was audited, the regressions found are fixed with regression tests, and the web console was reworked. Upgrading from any 2.x keeps settings, paired devices and the app library.
- A clearer web console. Settings now uses one row layout: the setting on the left, its control on the right. Each description is one or two sentences, with details behind More. The default and Reset appear only when a value differs, and config keys stay hidden unless Show config keys is on. Discarding unsaved changes asks first. Overview, Devices and Maintenance are reorganised: readiness checks are easy to scan, pairing uses PIN and one-time-PIN tabs, and Maintenance is grouped into Host, Displays, Troubleshooting, Integrations and Security. Every console request now has a time limit, so a host that stops answering can no longer leave buttons locked.
- Pair devices with ordinary punctuation in their names. Since 2.2.2, pairing refused names outside letters, digits and
- _ . '. Android clients that send their model, such as "moto g(60)", could not pair, and names like "Galaxy S24+" or "Ramazan’s iPhone" were refused in the console. - Hybrid GPUs (#28). With a GPU selected under Graphics card, Rubylight now asks the virtual display driver to render on that GPU, as Apollo and Vibepollo do. If the display still ends up on another GPU and Windows Graphics Capture is unavailable, Desktop Duplication captures and encodes on the GPU that renders it. Previously the stream ended without a picture. The stream card says which GPU is used.
- Connect right after the host starts. Since 2.2.3, a client that connected while the startup encoder check was running cached H.264/SDR, or its first launch was refused. Discovery and launches now wait up to five seconds for that first check, and never for retried checks.
- Updates work again for installs outside Program Files. Since 2.2.2, every update failed when the install folder, or a folder above it, belonged to a user, for example
D:\Rubylightcreated in Explorer. Updating now takes ownership of such a folder and locks it down. When a folder above it belongs to a user, the installer offers to move Rubylight toC:\Program Files\Rubylight, keeping settings, paired devices and drivers. Maintenance → Updates now shows why an update stopped instead of "See the setup log". - Portable hosts started as administrator run apps again. Since 2.2.2, every non-elevated app, preparation command and client hook failed to start with "bad impersonation level". They now start with the desktop's standard user rights.
- Controllers follow the device that plays. Since 2.2.16, switching devices during a game left the previous device's virtual controllers plugged in, where they could hold player 1.
- Capture survives display changes during its colour check. Since 2.2.17, a display change during the HDR/colour refresh restarted capture, or prevented it from opening.
- Settings the console did not show. Settings saved by Vibepollo, Apollo or 2.0.x under older names (
rtss_path,rtss_disable_vsync_ullm,nvenc_force_split_encode,dd_vdd_static_monitor_count) now appear in the console under their current names. Values the host accepts in other spellings show as their option. Quoted numbers such as"60"are read as numbers. - Settings checks. A fixed refresh rate with more than three decimals, or a malformed fixed resolution, is refused when saving instead of failing every stream. AMD encoder (AMF) settings are visible when the encoder is Automatic on an AMD GPU.
- Apps on mapped drives and network shares start under the service instead of reporting "executable not found".
- Remote Desktop (#18). A launch into a disconnected session is logged as a warning, with the session and its state. When a stream starts on the console sign-in screen while a signed-in Remote Desktop session is disconnected, the log explains that signing in reconnects that session and ends the stream. The console and troubleshooting guide describe this case.
- The host's private key stays locked when a profile permission reset fails during setup. Before, it could stay readable by every local user until the host restarted.
Validation: workspace tests (core, host, Windows, setup), strict Clippy, formatting, 42 console unit tests and 49 console browser tests. Hybrid-GPU rendering, a real install-folder move and the Remote Desktop cases need the affected hardware and are not yet confirmed there.
New in 2.2.21 #
- Keep the PC display primary when extending the desktop. If Windows recalls a virtual display as primary when it reconnects, Extend and Isolate now restore the active display that was primary before the stream. Explicit virtual-primary and exclusive modes keep their existing behavior; disconnected displays are not reactivated.
- Make display choices explicit. Host settings, device overrides and app settings now say whether Extend or Isolate keeps the PC display primary or makes the virtual display primary. Stored choices and client/device/app override priority remain unchanged.
New in 2.2.20 #
- Show GPUs without an attached monitor in Graphics card (#28). The list now includes all hardware GPUs reported by Windows DXGI, so a hybrid system's dedicated GPU is no longer omitted just because its displays connect to the integrated GPU. Automatic still uses the captured display's GPU; appearing in the list does not confirm encoder or codec support.
New in 2.2.19 #
- Offer adaptive packet pacing for difficult connections. The existing fast route-based policy remains the default. Experimental adaptive pacing is an explicit option for H.264, HEVC and AV1: it starts conservatively, then probes faster rates with active video and healthy control feedback. Loss during a probe restores the preceding rate. Picture bitrate and FPS stay unchanged, but startup takes longer and probing can still lose packets. A suitable fixed pacing limit remains the simpler choice for a known constrained path. Explicit limits, PyroWave and opt-in host bitrate adaptation keep their own policies. The reported Onn issue is not confirmed resolved. Configuration.
- Keep Windows QoS setup off media threads. Slow network-priority registration or cleanup no longer blocks audio/video processing or session teardown.
- Make reconnects and simultaneous launches more reliable. Reject expired launches, release canceled preparations before replacements, preserve concurrent RTSP negotiation state and retain startup failure reasons for clients.
- Recheck Windows sessions after stream preparation. A disconnect during display or app preparation can no longer rely on an earlier successful session check; launch acceptance and RTSP playback recheck the host's own session. Rejected preparations release newly owned resources while preserving an existing game. Session-state diagnostics distinguish transition timing from Windows classification. Return to console also permits a disconnected destination verified to belong to the same Windows user, while continuing to protect active sessions and other users. The affected headless host's RDP transition still needs confirmation.
- Avoid unnecessary encoder restarts. Drain completed output before declaring a stall or expiring AMD submissions. Release capture-reset resources outside the shared state lock so cleanup does not block other capture workers.
- Recover audio after device interruptions. Retry capture on explicitly selected playback devices after driver resets or temporary disconnects. Preserve side-surround audio when downmixing a shared 7.1 sink to 5.1.
- Keep microphone recovery responsive. Conceal damaged packets immediately and bound the recovery backlog so packet-loss bursts do not accumulate extra playback delay.
- Stop USB/IP exports when loopback connections are blocked. Wake the controller server directly during shutdown, preventing a rejected wake-up connection from leaving teardown waiting forever. Connected transfers keep their existing I/O deadlines.
- Support long Windows paths when saving or updating files. State writes, Playnite plugin installation and package replacement use extended paths for the final atomic rename. Deep folders no longer fail with a misleading path-not-found error when a temporary filename exceeds the legacy path limit; failed copies preserve the previous file.
Validation passed 991 ordinary workspace tests, strict Clippy, formatting, web-console and five release-tooling checks, with 58 existing hardware/manual checks ignored. Twelve Windows UDP loopback runs delivered all 1,105,008 packets. In the matched sender test, the first keyframe took about 8.1 ms at the fast default versus 87.0 ms with experimental adaptation; after its roughly ten-second ramp, their steady means were 0.530 and 0.535 ms. Adaptive feedback was synthetic. A separate constrained-path queue model delivered every frame with both suitable fixed pacing and adaptation; fixed pacing avoided probe losses. These are component measurements and simulations, not end-to-end latency results. The affected Onn client, a physical network bottleneck and real device-recovery scenarios remain unverified. Verification record.
New in 2.2.18 #
- Deliver HDR metadata reliably. Native NVENC uses the correct AV1 mastering-display units and explicitly enables content-light metadata on supported driver APIs (13.0 or newer). FFmpeg's NVENC backend receives initial HDR metadata before opening. Changed metadata requests a keyframe, and failed submissions keep that update pending.
- Recover AMD metadata and verify colour range. Retry transient AMF metadata failures with bounded backoff. Unsupported properties produce a clear warning. Check the initialized encoder's output range and reject a known mismatch, while retaining older-driver support for limited-range streams and optional input hints.
- Keep the final desktop update under load. When shared capture consumers hold all eight snapshot buffers, retain the pending update until a buffer is available. A desktop that becomes static can recover without needing another screen change; the buffer limit stays unchanged.
- Avoid duplicate recovery keyframes. Overlapping client, encoder and HDR keyframe requests are consumed together after the encoder accepts the frame.
- Keep bitrate reductions consistent after partial driver failures. Scale each AMF peak-rate, buffer and frame-size limit from its own last accepted bitrate. A rejected update no longer makes later reductions use the wrong ratio, and its warning stays visible until the limit can be updated successfully.
- Restore software HEVC recovery frames. The x265 backend now produces an actual IDR when the client requests recovery, allowing a decoder to restart after reference loss instead of receiving only an ordinary intra picture.
Validation passed 927 ordinary workspace tests, strict Clippy, formatting and five release-tooling tests. Nine opt-in checks covered real AMD HDR metadata/range/keyframes, capture and GPU ownership, and software HEVC keyframe output. The AMD checks used an RX 7900 XT; NVIDIA changes have mocked-driver coverage but were not tested on NVIDIA hardware. The software fixture checks eight-bit keyframe output, not HDR pixels. Live SDR/HDR switching and physical TV colour calibration remain unverified. Measurements and scope.
New in 2.2.17 #
- Refresh HDR state during capture. Re-query the selected display when Windows invalidates its cached display information. Switching between SDR and HDR reopens WGC capture with the appropriate pixel format; luminance-only changes refresh HDR metadata without restarting capture. Refreshes match the original monitor and its owning GPU, including when another GPU encodes the stream.
Validation covers eight mocked display-refresh regressions, ordinary Windows CI tests, strict Clippy, the web console and release packaging. Live HDR switching and its effect on frame delivery have not been measured for this change; resolution of the reported washed-out colours still needs confirmation on the affected hardware.
New in 2.2.16 #
- Optional adaptive bitrate. The host can adjust bitrate from validated client loss and measured round-trip time, reserving bandwidth for stream and controller audio. Explicit client bitrate control takes ownership. This experimental option is off by default and works with compatible Moonlight clients.
- Game-only audio. Capture the verified launched game's process tree on Windows build 20348 or newer. If that process cannot be identified or captured, the stream stays silent and explains why; unrelated desktop sound is not substituted. System audio remains the default.
- Controller continuity and USB audio. Retain virtual controllers across reconnects, prepare supported controllers before game launch, and carry DualSense speaker/headset audio and microphone capture with compatible clients such as Rubylight Android 0.4.9. Slow attachment and temporary input release preserve audio policy. Microphone capture is acknowledged only after an actual USB audio endpoint is ready; VHF fallback does not claim USB microphone support.
- Paired remote-access diagnostics. Authorized paired clients can request bounded HTTPS reachability and optional Tailscale peer-route information. The route response excludes unrelated peers and secrets; reachability checks do not measure streaming bandwidth or prove UDP connectivity.
Game-only audio suppresses unscoped controller speaker PCM while preserving normal captured game sound to a connected headset. Controller microphone permissions and mute controls remain independent.
Validation covers Windows CI tests, strict Clippy, the web console and release packaging, plus focused mocked controller/audio regressions. Physical controller, audio-route and display interoperability were not retested, and this release makes no measured latency or battery claim.
New in 2.2.15 #
- Steam Deck and DualSense support with advanced controls and haptics. Bundled USB/IP support provides native Steam Deck trackpads, gyro, back grips, Steam and “…” buttons and rumble, alongside DualSense adaptive triggers, USB audio waveform haptics, motion, touchpad, lightbar and battery reporting with compatible clients.
The Windows installer includes the signed usbip-win2 0.9.8.1 installer as the optional Steam Deck and DualSense USB audio and haptics component, so no separate driver download is needed. It is off by default, its choice is remembered for updates, and existing shared USB/IP installations are kept. Installation can reconnect USB devices and require a restart; setup never restarts Windows automatically. Shared USBip remains installed when Rubylight is removed.
For DualSense waveform haptics, use a compatible client such as Rubylight Android with a USB-connected DualSense or DualSense Edge. Controller speaker/headset audio and microphone capture are not carried by this extension. Steam Deck setup · DualSense setup.
Validation covers package integrity, installer decisions and protocol checks without installing drivers. Physical controller output, native game detection and a live driver installation have not been verified for this change.
New in 2.2.14 #
- Safer stream control and teardown. Host commands require authenticated encrypted control messages. Canceling or replacing pending launches releases their resources outside the shared session lock. App state commands are canceled and joined before undo commands run, and Lossless Scaling cleanup is limited to the matching executable in the host's Windows session.
- Reliable recovery and HDR. Failed per-display restoration remains in the recovery journal for retry. FFmpeg encoder frames now carry mastering-display and content-light metadata. WASAPI startup failures release their format allocation and event handle.
- Return from RDP. Maintenance now offers an explicit Return to console action for the host's own RDP session when the physical console is unoccupied and all streams have ended. The action explains that the desktop becomes visible at the PC and rechecks the confirmed session IDs.
- Correct FEC and less repeated work. Minimum FEC protection now uses the exact parity count the wire percentage describes. RTSP headers are read in chunks and scanned incrementally; input batches and audio conversion buffers reuse their allocations.
- Windows signing support. The release workflow can sign Rubylight binaries, rebuild their manifest, and sign the complete installer through an approved SignPath project. Installers understand appended Authenticode certificates and preserve a separately signed uninstaller. This release remains unsigned because the SignPath account configuration is not available. See signing setup.
Validation used focused native Windows/core regressions, Android counterpart tests, and the web console checks/build. Long hardware and soak tests were not run; RDP transitions and real encoder/audio-device behavior still need device validation.
New in 2.2.13 #
- Clear recovery guidance after an RDP disconnect (#18). Launch and resume requests now check the Windows session before preparing an app or display. A disconnected RDP session returns a clear retry message instead of accepting a stream that Windows can terminate seconds later. Active sessions and streaming the physical console's sign-in or lock screen remain supported.
- Faster service recovery after Windows terminates the host. The service retries
DBG_TERMINATE_PROCESSafter one second without counting it toward the repeated-crash backoff. Actual application crashes retain their existing backoff.
Nine focused regression checks, formatting and Clippy passed locally, and the Windows CI build of the fix passed. Live RDP transitions and reboot recovery have not been retested for this change.
New in 2.2.12 #
- Adaptive native AMF backlog with timed overlap. Learn the driver's required encode depth from accepted inputs and matched output, then admit the next input near predicted completion. Startup priming, pre-analysis requirements, packet-sending overlap, surface ownership and other encoder backends keep their safeguards.
- Measured saturated picture-age improvement. On an RX 7900 XT at 5120x1440 HEVC with a 240 FPS request, two ABBA blocks reduced mean/p95/p99 render-to-local-hardware-decoded picture age from 19.08/21.13/21.71 ms to 16.44/18.48/19.26 ms. Fresh-picture throughput was 219.83 versus 219.19 FPS. These measurements exclude presentation, scanout and remote-network latency.
Known limits: loaded H.264 60 FPS production runs had higher p99 age, 15.46 to 16.37 ms; follow-up diagnostics were mixed, so the normal-load non-regression gate remains inconclusive. The full codec/capture/60–120 FPS matrix, eight-bit pre-analysis, native reconnect churn and injected-stall checks are incomplete. This release does not claim a universal latency improvement or validated game-performance gains. See the measurements and remaining coverage.
Validation of the unchanged implementation passed 835 ordinary Windows tests, formatting, Clippy and optimized builds. Native HDR metadata, reference-loss recovery and hardware-device-without-output checks passed on baseline and candidate; eight saturated motion/static streams decoded all 256 requested keyframes. The earlier CI reconnect assertion passed unchanged on both local builds and its CI rerun.
New in 2.2.11 #
- Recover headless virtual-display startup (#18). Startup renews the lease and reactivates the same owned target if Windows takes it off the active desktop. Windows can also expose a display route before publishing its monitor interface; Rubylight now waits for that interface before saving the display identity, preventing the later
owned virtual display unavailable after startup protectionfailure. - Handle completed driver cleanup. Removing the last display can also remove its lease.
ERROR_NOT_FOUNDduring removal or release is now treated as completed cleanup.
Validation on an RX 7900 XT with every monitor and dummy plug physically disconnected passed six independent Moonlight-client streams: AV1 HDR initial launch, fresh launch, disconnect/resume, display recreation, host restart, and H.264 SDR. The AV1 checks used 3456x2234 at a requested 120 FPS with a 240 Hz virtual display, decoded 10-bit BT.2020/PQ video, received audio, and verified HDR control metadata. These were functional development-build checks, not a frame-rate benchmark. Native tests also passed inactive-target reactivation and 4K mode/HDR recovery after lease loss; all 819 ordinary workspace tests, formatting and Clippy passed.
Windows lock/RDP transitions and the reporter's RX 9070 XT remain to be confirmed. With no physical targets connected, Windows can still report that the saved display arrangement cannot be restored; that warning did not prevent any of the six streams.
New in 2.2.10 #
- Headless encoder startup (#18). Encoder probing skips Microsoft Basic Render Driver even when Windows omits its software-adapter flag. When the desktop uses software rendering, the probe looks for a hardware GPU before the stream creates its virtual display. The configured GPU choice is respected, and capture still opens its selected display.
- Consistent GPU detection. The GPU list and monitorless device selection use the same check, so Basic Render Driver is no longer offered or selected as a hardware GPU.
The regression test reproduces the unflagged-adapter failure and passes with this fix. A native RX 7900 XT check encoded H.264, HEVC and AV1 using a device without a display output. Full reboot and RDP-disconnect recovery on the affected headless hosts still needs confirmation.
New in 2.2.9 #
- Faster input and feedback after reconnects or stalls (#24). Reusing a capture re-applies the configured GPU scheduling priority. Control immediately continues when its 512-event pass fills, and gamepad feedback and changed HDR metadata wake it directly.
- More current pictures on startup and recovery. A static capture helper asks for its first repaint after 33 ms instead of 250 ms. Encoder rebuilds fetch the newest compatible picture, and the last millisecond before a frame claim uses the existing precise wait.
- Keep capture responsive under CPU contention. The WGC helper now uses HIGH process priority. On the RX 7900 XT test host with competing highest-priority game-like threads, it sustained 59.92–60.00 fresh FPS versus 40.45–41.37 at NORMAL. A continuous-stream idle comparison differed by −0.003 ms in mean picture age; this is a controlled fixture result, not a promise for every game.
- Reduce startup and background delays. Client last-seen persistence runs in the background. Active display leases check every 100 ms while idle leases retain 250 ms checks. Display-watcher shutdown waits are bounded outside the journal lock. Audio waits on its actual silence deadline between capture events, and discarded capture images release their resources outside the publication lock.
- Recovery diagnostics. Debug logs record AMF initialization/termination and capture-helper connection/readiness times; a negotiated display mode that requires preparation again is logged explicitly.
The evaluation and validation record distinguishes implemented fixes from experiments that still need measurements. Wi-Fi pacing remains at 2×; in-flight delta cancellation, microphone backlog draining, capture notification changes and encoder queue-depth changes are deferred. The issue's estimated latency gains are not measured release claims.
New in 2.2.8 #
- Single-pass 4:2:0 GPU conversion. The D3D11 fallback converts NV12/P010 video and PyroWave 4:2:0 with one compute dispatch, reusing the existing shaders. Unsupported devices retain the pixel-pass fallback. The separate D3D12 compute path and PyroWave 4:4:4 remain unchanged.
- Measured and checked on the RX 7900 XT. At 4K while otherwise idle, mean conversion GPU time fell from 0.235 to 0.123 ms for NV12 and from 0.307 to 0.124 ms for PyroWave HDR 4:2:0. Exact pixel comparisons covered 960 cases, and real HEVC/PyroWave streams covered SDR and HDR. These are conversion measurements, not an end-to-end latency claim; the evidence and limits include the loaded results and stream checks.
The pacing experiments from #23 did not meet the latency/loss checks, so packet pacing retains its previous behavior. The work log records why.
New in 2.2.7 #
- Lower idle CPU and memory use (#23). Audio/video ping workers wait for packets; control waits for input or its next feedback, key-repeat or mouse-release deadline. Inactive telemetry and stall monitoring park, the service waits for events, and idle display leases check less often while recovery retains its fast retries. Helpers dispatch before the Tokio runtime starts, completed display watchers exit, and host/service log queues hold 8192 lines.
- Less work before encrypted video leaves the host. Video AES-GCM uses
ringwith identical ciphertext and tags. Conventional video sends each FEC block as it is built and reuses packet buffers. Packet numbering, encryption nonces and loss recovery remain covered by regression tests. - Release GPU resources when their work finishes. Cursor uploads no longer wait on the CPU; upload resources and captured images remain alive through their GPU fences. Capture and PyroWave owners release cached texture references, copy reuse waits for that texture's readers, and the last stream restores prior process power and GPU scheduling settings. The graphics fallback converts PyroWave 4:4:4 planes in one draw.
- Cheaper background queries. Startup skips unsupported AMF 4:4:4 probes on confirmed AMD-only systems. Server information caches hardware/network discovery for ten seconds while keeping session and authorization fields live; mDNS checks addresses every thirty seconds. Streams rebuild effective settings when their revision changes, selected ICC calibration still refreshes, update metadata retains only consumed fields, and update-panel polling pauses in hidden tabs.
The performance work log records validation and remaining experiments. Pacing waits and the four capture-helper slots retain their existing behavior. Persistent codec-probe caching, a single-pass 4:2:0 graphics fallback and new resource telemetry remain follow-up work; this release does not claim measured end-to-end latency or idle-power gains for them.
New in 2.2.6 #
- Upgrades from older profiles work without the ownership error (#20). Verified in-place service upgrades repair legacy user ownership and profile permissions while preserving settings, paired devices and credentials. Parent-folder ownership and reparse-point checks remain in place. See installer troubleshooting for the repair's scope.
- Separate profiles for copied portable packages (#17). An existing
configfolder beside the executable takes precedence over the per-user default. Explicit--config-dirpaths and the installed service's profile keep their precedence. Each instance needs its own base port; multiple instances shows the commands and multiseat session requirements. - Native touch and pen corrections. Touch transitions are retained when a client sends unknown or non-finite pressure, while invalid coordinates are still rejected. Touch and pen coordinates account for the virtual desktop origin, including monitors above or to the left of the primary display.
- Mouse clicks stay balanced when input modes change. Switching from absolute to relative mouse input releases any deferred left click before moving or pressing again, preventing a retained left-button press.
- Keyboard compatibility. Media and browser keys use the correct extended scan codes, and Print Screen works with clients that mark it extended. A remapped key stays held until all source keys are released. Keyboard repeat settings that would overflow the timer are rejected.
- Idle microphone handling no longer busy-spins (#22). The microphone receiver waits for incoming packets with a bounded timeout instead of repeatedly polling an idle socket.
- Optional hardware readings for client overlays (#16). Enable Settings → General → Hardware metrics → Send hardware metrics to client to let compatible clients request host CPU usage and available AMD GPU readings over their paired HTTPS connection. Collection is off by default and only happens on request during that client's video stream. Select readings and a sampling interval; GPU readings require ADLX support. The client protocol documents discovery, authentication, fields and errors.
Regression coverage includes profile selection, input handling, idle microphone waits and hardware-metrics access policy. A two-host startup smoke test confirmed separate profiles, identities, certificates and ports, with clean shutdowns. Elevated ownership repair, simultaneous multiseat streaming and native input behavior on the reporting clients still need confirmation. Live latency and smoothness were not benchmarked for this release.
New in 2.2.5 #
- Changing the virtual display layout in host, device or app settings now takes effect when reconnecting to a paused stream. Explicit layouts take precedence over the legacy app primary-display flag, and resuming reapplies the selected layout before capture starts. This addresses reproducible reconnect and selection failures related to issue #19.
- Startup codec probing follows the active Windows desktop and keeps retrying before sign-in. Headless display enumeration handles an empty topology, and encoder/display errors identify the selected adapter and possible console or RDP session problems (issue #18).
- The WGC capture helper retains the latest unsent update while its shared slots are busy, so the final update still arrives if the desktop becomes static.
- Paired clients can read the applied and initial encoder bitrate budgets. Rubylight Android 0.4.3 uses these values to initialize automatic bitrate without an immediate bitrate increase.
Regression tests cover the corrected paths. Headless reboot/RDP recovery and the display-layout behavior still need confirmation on the reporting users' machines. Live latency and smoothness were not benchmarked for this release.
New in 2.2.4 #
- Correct WGC picture selection for VRR streams when Windows publishes extra compositions between source updates. Source-phase tracking now operates independently of generic prediction, tolerates capture jitter, and waits for the expected update before an old composition consumes its frame slot. Additional compositions no longer dilute a learned phase or count as separate missed source updates.
- Bound the wait from the previous frame delivery so an early new picture is not held for another composition. Slow and irregular sources retain ordinary arrival pacing.
New in 2.2.3 #
- Capture recovery tries reopening immediately after releasing the old device. The video sender sleeps while its queue is full and waits to claim the next picture until a queued keyframe has left.
- AMF coalesces delayed reference-invalidation feedback already covered by an IDR or long-term-reference repair. Minimum-frame-rate repeats give imminent game frames room to arrive with Desktop Duplication, VRR and slower source rates. Pacing warnings include packet headers, encryption, wire overhead and FEC rounding.
- Saving configuration no longer holds the input thread's configuration lock during disk writes. Gamepad teardown and host command creation run off the control thread, held inputs are released after a second of control silence, and audio retains its Windows multimedia scheduling priority.
- Paused streams no longer reapply their exclusive display layout over local display changes. Disconnect clients releases retained displays and audio; an unused app audio route is restored. Saved display baselines are now opt-in for configurations without an explicit choice.
- Launches fail before changing displays when no encoder is available, report underlying causes and missing executables, and keep tracking slow Steam starts. Application cleanup is serialized with launches. Discovery no longer waits for the encoder probe, RTSP negotiation failures return an error status, and routine stream-state tray balloons are suppressed.
- JPEG covers are accepted, and virtual-display capabilities reflect host configuration. Existing content-based artwork cache invalidation remains in place.
- Console drafts survive canceled Back/Forward, link and pairing navigation. The console recovers after an unavailable initial session check; pairing-disabled and automatic-install status are accurate; installing an update asks before ending streams. Encoder guidance, fallback-language labeling, pairing feedback and setup/FEC/frame-rate wording are corrected.
The review's larger capture-transition, pointer-phase, Android phase-lock, in-place virtual-display resize and cursor-upload changes remain unverified and are not included. AV1's one-second recovery confirmation keyframe remains as a decoder compatibility safeguard. Paused games keep their virtual display; automatic physical-topology restoration while retaining it is unchanged. A failed explicitly requested virtual display is still reported instead of silently switching to a physical monitor.
New in 2.2.2 #
- Safer installation and network input. Setup replaces the permissions and owner of service folders so a previously owning user cannot change the SYSTEM service's files. Router descriptions have size and nesting limits. Device names and launch values are checked before use in preparation commands, Playnite cover IDs must be UUIDs, and the fallback console escapes dynamic labels.
- Streaming fixes. Sub-1-fps requests are rejected without stopping the host. Adaptive error correction now receives frame reports when video uses its separate send thread, including wireless routes. Refused resolution changes no longer leave a redundant rebuild queued, oversized frames keep the recovery counter in sync, and unknown
hostDisplayvalues leave the host in control. Stopping a stream during display setup no longer retains its display, and shutdown waits for stream restoration. - Keep your sound and settings. A Steam microphone you already chose as the recording default stays selected after streaming. Audio restoration handles Steam's playback endpoints and late driver installation. A sign-in changed with
--credssurvives paired-device saves and takes effect without restarting. Configuration imports and saves preserve unknown preparation-command fields and recover valid entries around malformed records. - More useful diagnostics. The default Information level includes encoder settings, display setup and the 5-second stream timings. Debug adds discovery, GPU scheduling and probe details, and changing the level applies to library logs too. Launch and resume parameters are logged without stream secrets or injected line breaks, slow sends identify where they waited, and recurring UPnP conflicts are reported once.
- Consistent releases and downloads. Releases use
v-prefixed tags with matching download links and package versions. This release carries only the Rubylight installer and portable ZIP; hosts on 2.0.1 or older should update to 2.1.0 first. The settings console identifies unsupported packet sizes and update intervals below one hour.
New in 2.2.1 #
- Your sound devices come back after a stream. The first time a phone sends its microphone, the host installs Steam's microphone driver, and Windows can make its speaker side, Lautsprecher (Steam Streaming Microphone), a default playback device. The host now treats Steam Streaming Speakers and both sides of Steam Streaming Microphone as its own devices: they are never remembered as your choice, and at the end of a stream every playback and recording role that still points at the stream's device or a Steam endpoint returns to your own device, while a role you changed yourself is left as you set it. A PC whose communications device was left on the microphone's speakers by 2.2.0 is put right after its next stream. The log says
audio default restoredfor each role it switched back andaudio defaults after the streamonce per stream. The rules have unit tests. - Choose the PC's display from the phone. A client can now pick, for each stream, how the PC shows it: only the virtual display, the virtual display added beside your monitors as the main display or next to the main display, or your physical display without a virtual one. Rubylight Android has the choice under This PC > Display on the PC. The client sends it as
hostDisplayon launch and resume, and it takes precedence over the device, app and global layout for that stream; without it the host's own settings decide, as before. Your previous display layout comes back when the stream ends. Configuration lists the values. The parsing and precedence have unit tests. - HDR highlights stay bright on phones that report a low peak. When a client reports a peak brightness below the host display's, the host keeps the display's HDR metadata, because the game renders for that display. Phones such as the Galaxy Z Fold 7 report Android's 400-nit content hint here rather than their panel's peak.
New in 2.2.0 #
- Frames arrive just before the phone's screen refreshes. A Rubylight client can report, about every half second, how early each frame is ready before its display refreshes (control message 0x5530). The host then times its captures to the client's exact refresh rate, at a phase that gets each frame there with a small margin before the refresh, instead of letting two independent clocks drift: without it a 120 Hz phone waits anywhere from nothing to a whole refresh (8.3 ms) for its screen, and the wait swings from minute to minute. A 60 fps stream to a 120 Hz screen uses two refreshes per frame, and a frame rate that is no whole fraction of the screen's keeps the host's own pacing. Clients that never report, and VRR streams, are paced exactly as before, and after 3 s without a report the host returns to its own pacing. Unit tests check the lock and that pacing without reports is identical to 2.1.0; the host log says
phase lock appliedabout every ten seconds while it is active. - Error correction follows the network. Moonlight clients can report each frame they had to repair with error correction or could not rebuild; until now the host only counted those reports. Now it uses them: a repaired frame raises the share of recovery packets at once, a frame that could not be rebuilt puts it straight back to the configured Error correction percentage (
fec_percentage, 20 % by default), and after 5 seconds without either it falls by one point every 2 seconds, down to 5 %. The configured percentage is never exceeded, the client's minimum number of recovery packets per block still applies, and a client that sends no reports keeps the configured percentage for the whole stream. The encoder bitrate is not changed. Adapt error correction (adaptive_fec, on by default, also per device or app) turns it off, and the stream is then sent exactly as in 2.1.0. The log saysadaptive fecwith the old and new percentage, at most once a second, and the session API shows the currentfec_percent. The rules are checked by unit tests: no reports, loss, a clean link, turned off, and the limits. - HDR metadata for the client's own screen. A client can now tell the host its screen's peak, frame-average and black luminance (control message 0x5531). In an HDR stream the host then describes that screen in the HDR metadata it sends the client and writes into the video: the peak as mastering display maximum and MaxCLL, the frame-average as MaxFALL and the black level as mastering display minimum, so the client tone-maps for its real panel. An HDR profile selected for the device on the host, or a peak brightness set for the device or app, takes precedence. When the screen changes during a stream, for example on a foldable, the HDR message is sent once more, and only if the values changed; clients that never send 0x5531, such as Moonlight for Xbox, get the single message they get today. The log says
display capswith the values and what was applied. The game still renders for the host display's peak, which a virtual display gets before the client connects. Checked by unit tests. - The host lists the control messages it takes. The RTSP
DESCRIBEanswer now carriesa=x-rl-control:0x5530,0x5531,0x5532, so a client sends Rubylight's own control messages only to a host that takes them. Control messages describes them for client authors. - The stream follows the client's screen. A Rubylight client can ask for another resolution or frame rate during a stream (control message
0x5532), for example when a foldable phone opens its inner screen, and the host switches without reconnecting. It applies the latest request once the client has stopped asking for 200 ms, at most once a second, recreates the encoder at the new size and sends a keyframe at that size; pacing and the phase lock follow the new rate. The PC's display keeps the mode it got at the start of the stream, and the picture is scaled to the new size between black bars where the shapes differ. A request for the current mode is ignored, an encoder that cannot make the new size keeps the old one, and PyroWave streams keep their mode.stream_reconfigure(default on) turns it off for the host, a device or an app; clients that never send the message see no change. Control messages describes it for client authors. The request handling, coalescing and rate calculation have unit tests.
New in 2.1.0 #
- Your microphone on the PC. A client that sends its microphone in the format of Apollo's microphone passthrough is now heard on the PC as Microphone (Steam Streaming Microphone), a recording device Steam provides; Sunshine and Vibepollo have no microphone. Rubylight installs Steam's microphone driver the first time a device sends one (Steam must be installed) and puts your default audio devices back. It is on by default (
stream_mic) and can be turned off per device or app; it uses UDP port 48001, next to the other stream ports. Lost packets are concealed or repaired by Opus, and at most 60 ms are queued, so the microphone does not lag behind. The packet format matches moonlight-common-c byte for byte, checked against its own test vectors, and Microphone describes the protocol for client authors. Checked through the real RTSP and microphone socket path and with a host-side probe on a PC. - Choose the install folder, and install or update while you stream. The setup window has Change folder... for a new installation; an installed Rubylight is updated in its own folder. A folder that already holds other files gets a Rubylight folder inside it, network and removable drives are refused, and a folder outside Program Files is locked to SYSTEM and Administrators because the service runs from it. Setup no longer refuses while Rubylight streams: it says the stream will end and games started from Moonlight close, and Install goes ahead; Maintenance > Updates > Install now does the same from the console, so you can update from another room and connect again. Install when idle and automatic updates still wait for an idle host, and a quiet setup still refuses unless it gets
--end-streams, so scripts never end a stream by accident. On the RX 7900 XT host an update during a stream took 16 seconds from starting setup to the host answering with all its codecs, and settings, paired devices and apps were unchanged. Setup stops and starts the service once per update, so a client reconnecting right after an update stays connected, and a reinstall over an installed Rubylight checks for a stream before it touches the service. - PyroWave SDK 1.0. PyroWave moves to the SDK version upstream froze as 1.0, which brings a fix for an out-of-bounds read in its analysis shader. The stream format is unchanged, so Rubylight Android and Vibepollo 2.0 clients decode it as before. The encoder now asks Vulkan for a high-priority queue, like the copy and conversion queue. On the RX 7900 XT at 1968x2184 HDR 4:4:4 120 fps, picture age was 18.7 ms on average before and after (95th percentile 27.8 and 27.2 ms), PyroWave encoding took 1.05 instead of 1.16 ms, and every frame decoded in all runs (0 decode errors). At 1080p120 SDR it was 14.8 against 14.7 ms. Runs beside a game-like GPU load matched the old build, and the GPU watchdog stayed quiet.
- Steam covers for newer games. Newer Steam apps keep their portrait cover under a content-hash folder, and Steam's CDN publishes the large image only under that hash. Rubylight looked for the fixed path, got a 404 and fell back to the small landscape header, which came out cropped. It now finds the portrait cover in the hashed folders and retries the hashed download address.
- A stray mDNS packet can't stop the host. The mDNS library used for discovery could index past the end of a malformed record, and with the host built to abort on a panic, one 32-byte multicast packet from any device on the LAN took the whole service down in a local reproduction. Rubylight now uses mdns-sd 0.21.5, which drops such records and keeps announcing; it also keeps its timers on a monotonic clock and expires cached records across system sleep.
- One product, one download. Update checks accept the Rubylight asset names (
rubylight-setup-<version>.exe,rubylight-<version>-windows-x64.zip). The portable launcher is now Start Rubylight.exe; setup and in-app updates remove the old Start Butterpollo.exe and refresh the Start menu entry. Hosts up to 2.0.1 only offer an update that carries abutterpollo-setupfile, so 2.1.0 is the last release that also publishes that copy; from the next release only the Rubylight names are published, and a host on 2.1.0 or later finds them. If your host is on 2.0.1 or older, update to 2.1.0 once and updates continue from there. - Documentation rewritten. The README and docs now say what Rubylight does, which hardware it has been tested on (including the owner's Kubernetes pods with several GPU configurations and the secure desktop) and its known issues, with the Wi-Fi results from a real client.
New in 2.0.1 #
-
HDR works on Moonlight for Xbox. At the start of every stream the host told the client about HDR twice: first with placeholder values as soon as the display was picked, then with the display's real ones. Moonlight for Xbox sets the TV's HDMI mode on each such message, so it switched the TV twice in a row, and the picture came out washed out and too bright with no HDR badge on the TV (#11). The host now sends that message once, after the encoder has the display's values, as Sunshine does, and again only if they change. Checked on an Xbox streaming 3840×2160 at 120 Hz in HEVC HDR: HDR now works. The test client can now require an exact number of these messages.
-
AV1 recovery without a keyframe is now on for upgraded hosts too. 2.0.0 turned it on by default (
amd_ltr_frames4), but a host whose settings had been saved by an earlier console could carry the old default,amd_ltr_frames = 0, which kept it off. On the first start of 2.0.1, a saved 0 is taken for that old default and removed fromsunshine.conf, so the new default applies; the log says so. Setting it to 0 again turns the recovery off for good. Found on the test host, where the upgraded settings kept a 0 from October 8 and a real AV1 stream logged no long-term reference recovery. Today's console saves only the settings you change, never defaults. -
One copy less per frame on the service host. Windows Graphics Capture runs in a helper in your user session, which hands each frame over in a shared texture; the host copied that into a texture of its own before converting it for the encoder. On AMD the conversion now reads the helper's texture directly, and the helper gets it back once the conversion is done. On the RX 7900 XT host at 1440p120 AV1, picture age fell from 10.07 to 9.84 ms and host time from 2.84 to 2.77 ms on average over three pairs of runs, with every picture complete and decoded; reconnecting, killing the client and a 2-minute stream were clean.
wgc_helper_zero_copy = falsebrings the copy back. -
No more "amd_ltr_frames applies to AV1 only" warning at every start. The startup encoder check asked H.264 and HEVC for long-term references and warned each time. The warning now appears only when you set
amd_ltr_framesyourself and stream H.264 or HEVC.Both fixes have unit tests.
New in 2.0.0 #
Rubylight 2.0.0 is the first stable release, after 30 release candidates. It runs on a Windows PC with a Radeon and imports a Vibepollo or Apollo installation in place, keeping its settings and paired devices (Features lists everything it does). 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), and it reached a Radeon 780M laptop over 5 GHz Wi-Fi in 13.5 ms on average (95th percentile 14.3 ms) with AV1, 120 fresh pictures a second; 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. Tested with a simulated outage on the test host; real Wi-Fi hosts, like that user's Legion Go, are where it gets exercised next.
-
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.
New in rc.30 #
- Butterpollo is now Rubylight. The name nods to Ruby, the red-haired mascot of ATI's Radeon cards. Updating changes only the names Windows shows: the console, tray, setup, the Start menu entry, the Apps entry, the service's display name and the firewall rule. Your settings, paired devices, apps, the
ApolloServiceservice, the install and profile folders and the file names (butterpollo.exe, Start Butterpollo.exe) stay as they are, so the update installs in place. New installs go toC:\Program Files\Rubylight. The installer is nowrubylight-setup-<version>.exe; releases keep abutterpollo-setupcopy so older hosts still find the update in-app, and the updater knows both repository names. Links to the old GitHub address will keep working when the repository is renamed. Checked on the RX 7900 XT host: an in-app style update kept all 9 paired clients, 4 apps and identical settings, and a 12 s HEVC stream delivered 706 of 706 frames. Known leftovers: a firewall rule named "Butterpollo Rust - local network streaming" from an early installer keeps its name, and rolling back to rc.29 keeps the Rubylight names in Windows Services and the Start menu. Both are harmless. - The audio loss warning reports real drops again. rc.29's warning missed them: Windows reports a dropped packet on the read after the late one, and it is now counted. On the host, 15 of 16 injected 40 ms stalls were reported, each with the 18-28 ms Windows dropped; normal streams stay silent. The device check rc.29 moved off the audio thread took 7.8 ms on average (max 11 ms) on the host.
New in rc.29 #
- A keyframe request no longer holds back a moving game. When a client lost a packet and asked for a keyframe, or for lost reference frames to be invalidated, rc.28 encoded the picture already sent again at once, and since rc.27 that counted toward the stream's frame rate. On a moving picture that sent the old picture twice and pushed the game's next frame back. With a game held at the stream's frame rate, for example by RTSS, frames then went out late and unevenly for about a second after each request. Now the request rides the game's next new frame; a still screen still gets its keyframe at once. Checked on the RX 7900 XT host at 120 fps HDR with 20 requests per 35 s run. Pictures sent twice went from 19 to 0 per run, worst picture age from 22-25 ms to 14-15 ms and p95 from 12-13 ms to 10-11 ms. With the picture changing at 240 Hz, pictures sent twice went from 8-10 to 0. A keyframe on a moving picture now arrives about 3 ms later (9.1 instead of 6.2 ms at 120 fps), because it waits for the new frame. On a still 1080p120 desktop it still arrives in 2.4 ms. Not yet tried over Wi-Fi with real packet loss.
- The physical monitor stays off when a fullscreen game loses focus. With the virtual display layout set to exclusive, pressing the Win key or Alt+Tab in an exclusive-fullscreen game made Windows switch the physical monitor back on, and it stayed on for the rest of the stream. While such a stream runs, Butterpollo now saves the stream's layout as the one Windows remembers for these displays, so Windows has nothing to switch back on. The saved layout is put back when the stream ends, or at the next stream if the host stopped without doing so. If Windows switches the monitor on anyway, for example at Ctrl+Alt+Del, the stream turns it off again once it has been on for half a second. Checked on the RX 7900 XT host with exclusive 1080p60 virtual display streams and 3 layout recalls each, the step Windows takes on Win or Alt+Tab: with rc.28 the physical monitor came back on 53 to 282 ms after each recall and stayed on, with rc.29 it stayed off in all 3. After each stream the physical monitor was primary again.
- Steadier audio, and no false "Audio lost on the host" warnings. A user's host log showed this warning every 5 seconds on an idle PC with any playback device, and they heard random crackling. About once a second, the thread that sends audio first asked Windows which playback device is the default, and only then read the captured audio; that most likely held the audio back by about 20 ms each time, which can crackle on the client. That check now runs on its own thread. The warning itself counted every read more than 22 ms after the previous one as lost audio, but Windows hands over audio in 10 ms packets, so a read 23 to 27 ms later still finds them all, and with nothing playing there is nothing to lose. It now counts only audio Windows reports it dropped, and names the cause: a late read means a busy CPU or a host problem, not video bitrate or GPU load; packets the network adapter refused mean lowering the video bitrate or checking the adapter. Checked with unit tests and a Windows build check; not yet measured on a host or with that user's PC.
- Under the hood: the release check now also streams HEVC with 16 keyframe requests while the picture moves at the stream's frame rate, and fails if the host encodes an unchanged picture again. rc.28 did so for 10 of the 16 requests.
New in rc.28 #
-
Crash reports work on processors with Intel AMX. On a PC whose processor has AMX, such as recent Xeons, a crash from a Windows exception left no crash dump, only an error file: Windows' dump writer failed with "Only part of a ReadProcessMemory or WriteProcessMemory request was completed" every time it read the crash details from the host. The crash helper now copies those details out of the host itself and gives the dump writer its own copy. Checked on GitHub's Windows runners: on one with a Xeon 6973P-C, the crash test failed 20 of 20 runs before and 0 of 20 now; on eight runners without AMX it never failed. The dump no longer carries the AVX register contents, which a stack trace does not need.
-
A quoted permanent virtual display count is applied.
dd_virtual_display_permanent_count, and its older namedd_vdd_static_monitor_count, was refused as invalid when written in quotes ("2") or as hex (0x2), so the driver kept its previous count. It is now read like every other number setting. Checked with unit tests. -
A new stream waits until the previous one has closed. A launch or resume that came while another stream was still closing could start before that stream had released its virtual display, audio and client commands, so the new stream could play while a display it shares was still being released. It now waits for every stream that is still closing, up to 5 seconds, and otherwise answers that another stream operation is still running, so the client can try again. Checked with reconnect tests that run without a GPU, and on the RX 7900 XT host: picture age, 120 fps and no dropped frames, the same as without the change.
-
Streams recover after a GPU reset. When the graphics driver reset during a stream, Butterpollo kept retrying with the lost GPU's capture device, and some waits on the dead driver had no time limit, so a stream, and even the console's server info, could hang. Now it notices the lost GPU, rebuilds capture and the encoder, sends the client a fresh keyframe and shows a warning on the stream card. If the GPU does not come back within 30 seconds, the stream ends with a message to check Device Manager and to restart Windows if the adapter shows Code 31; the console and server info stay reachable throughout. Checked with fault-injection tests and a host A/B run on the RX 7900 XT, where picture age was unchanged; a real driver reset was not triggered on purpose.
-
A keyframe after packet loss arrives sooner on a still screen. When a client lost a packet and asked for a keyframe while the picture was not changing, the request waited for the next frame period. It now wakes the stream at once: on a still 1080p120 desktop on the host, a requested keyframe arrived in 2.4 ms on average instead of 5.8 to 6.0 ms. Picture age with moving pictures was unchanged.
-
Smaller fixes:
- The software video conversion path no longer reads past the end of a captured picture, and refuses an empty one before converting it.
- An empty packet from the encoder is handled as empty instead of being read from a null pointer.
- The tray icon's menu no longer holds the tray's state while Windows runs the menu, which can call back into the tray.
- When the AMD encoder stalls, the log now records its queue and fence state. The encoder settings line in the log shows AV1's frame-skip setting; it asked the driver for a wrong property name before.
- HEVC streams on AMD no longer ask the encoder for H.264's B-frame setting, which HEVC does not have. Picture age on the host was unchanged.
No user reported a problem from the first three; they came from a code review and have unit tests.
-
Under the hood: the display and input code and the stream startup are split into smaller parts. Host A/B runs on the RX 7900 XT matched the previous build within noise. New tests cover reconnecting clients without a GPU and most of the feature list.
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.
-
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 inlogs\driver-repair.login 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 removesuninstall.exeand 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
ButterpolloandButterpollo2. 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.
New in rc.26 #
- The installer sets up the virtual display and gamepad drivers again. Since rc.22, setup runs the driver installers as SYSTEM through a one-time scheduled task and wrote that task's definition as UTF-8. Windows'
schtasks /XMLrefuses that file ("The task XML is malformed … unable to switch the encoding"), so the rc.22 to rc.25 installers never installed, updated or removed either driver; setup only noted it in its summary and carried on. The definition is now written as UTF-16, the way Task Scheduler exports tasks. Checked on a Windows Server 2022 runner: the rc.25 file is refused, the new one is accepted and runs as SYSTEM, also with the task's files on drive D: in a folder with spaces,&and non-ASCII letters, and a new installer test runs a SYSTEM task end to end in such a folder. If Artemis says the SudoVDA driver is not running or not installed, or the console says the virtual display is unavailable, run the rc.26 installer: it sets the drivers up. - Rumble reaches older Moonlight clients again. Clients that open a single network channel, such as one that reports itself as "Legacy Moonlight Client", never got rumble: the host sent controller feedback on a second channel those clients don't open, so it was dropped without a word. Rumble, trigger effects and other controller feedback now go on the main channel, as in Sunshine. Checked with unit tests of the packets and the one-channel delivery, and on the RX 7900 XT host with virtual Xbox, DualShock 4, DualSense and Switch Pro pads: rumble set on each pad came back through the host with both motor strengths intact. Not yet confirmed in a game on a real client.
- No more "controller feedback poll failed" warnings. The VHF driver answers "nothing pending" when there is no rumble to deliver; the host counted that as a failed poll and logged a warning every five seconds for the whole stream. It is now treated as an empty poll.
New in rc.25 #
- A Steam Deck can be a real Steam Deck on the host. With usbip-win2 installed and Steam running on the host, a Deck streaming with Moonlight now appears to Windows as the Deck's own USB controller, so Steam on the host recognises a Steam Deck and applies its Steam Input layout, with both trackpads, the gyro, the back grips, the Steam and "…" buttons and rumble. No new driver of ours is involved: Butterpollo serves the controller over USB/IP on
127.0.0.1and usbip-win2's signed driver plugs it in. Settings → Input → Steam Deck controller chooses Automatic, always a Steam Deck, or the virtual DualSense with mapped back grips as in rc.24; without usbip-win2 nothing changes. With Steam Input on for Moonlight on the Deck, the host still gets a Steam Deck but only its buttons, sticks and triggers, because Steam on the Deck keeps the rest from Moonlight. Stick touch and the left trackpad click can't be passed on: Moonlight doesn't carry them. Checked with unit tests of the report, the descriptors and the USB/IP exchange, and on the RX 7900 XT host with usbip-win2 0.9.8.1 and no client: the controller attached as 28de:1205 with its three HID interfaces, Steam named it "Steam Deck Controller" and loaded its Steam Deck support, and it detached cleanly. With Steam running, a second reader of the controller interface got 2,442 reports in 10 s (one every 4 ms) with the probe's button presses in them, and a rumble command sent to the controller reached Butterpollo with both motor speeds intact. Steam's own use of the input and a real Deck streaming have not been tried yet. Steam Deck has the setup. - ViGEmBus is no longer used. Every virtual controller now comes from the VHF gamepad driver the installer brings, which covers XInput games, rumble, motion, touchpads and the DualSense's adaptive triggers. The Xbox 360 and DualShock 4 (ViGEmBus) choices are gone: a saved
gamepad = x360becomes Xbox One andds4becomes DualShock 4, in the host settings, app and device overrides, and profiles imported from Sunshine, Apollo or Vibepollo. With ViGEmBus installed, Automatic used to give Xbox-type clients its Xbox 360 pad; they now get the VHF Xbox Series pad, which Steam's stable client can list twice until it ships the fix the Steam beta already has (troubleshooting). An installed ViGEmBus can be uninstalled. - RTSS takes the client's frame rate again, and gives yours back. With the frame limiter on, a stream from a 120 Hz client is meant to set RTSS's limit to 120 and return it to your own limit (for example 158 on a 165 Hz monitor) when the stream ends, as Vibepollo does. A user on rc.23 saw RTSS stay at 158 the whole time. RTSS runs as administrator, and Windows can drop an unelevated program's request to reload RTSS's settings: Butterpollo's RTSS helper ran as the signed-in user without elevation, so RTSS never picked up the new limit, even though its settings file had it. The service now runs that helper as SYSTEM in your session, which is how Vibepollo reaches RTSS. Restoring your limit uses the same helper, at stream end, on disconnect and after a host crash. Covered by a unit test at this release; rc.27 confirmed it on the test host with RTSS 7.3.7. A portable copy started without administrator rights still can't reach an elevated RTSS: run it as administrator or use the installed service.
- Lossless Scaling follows the game, as in Vibepollo. The game is picked the way Vibepollo picks it, by CPU use and peak memory over its first 10 seconds, taking its folder, launcher and executable into account, and the Lossless Scaling profile stays on that game for the whole session: when a launcher hands over to the game or the game restarts, the profile is rewritten and scaling restarts. Checked with tests that use stand-in processes; not yet tried with a real Lossless Scaling.
- An app that quits right after launch is reported. As in Vibepollo, the stream stays open when an app exits within five seconds of launch, as a launcher handing over does. When it exits with an error code, the tray shows "Launch Error" with the app and the code, and clicking it ends the app and the stream. Unit-tested; the notification has not been seen on a real desktop yet.
- Web console clean-up: leftover debug controls are gone, the pages share one look, layouts fit narrow windows and phones, and the fallback status messages are easier to read.
- Upgrades keep the whole profile, now tested end to end. New installer tests upgrade a full rc.23 profile (paired devices with their settings and credentials, app overrides and covers, API tokens, web sessions, logs) and compare every file afterwards, and again after a rollback at every step of replacing the package. Migration from Vibepollo, Apollo and Sunshine runs through the same tests. Nothing changes in how the installer behaves.
- Documentation checked against the code: the getting-started, troubleshooting, configuration, API, architecture, developer and release guides were corrected where they had fallen behind, and the service calls itself Butterpollo in its messages.
- Internal: a test that HDR metadata reaches the stream's keyframes, and test fixes so the motion probe stays on the display it was asked to draw on and the test receiver reads its frame markers on the decoder thread.
New in rc.24 #
- Controllers work with an Xbox 360 or DualShock 4 choice and no ViGEmBus. Choosing Xbox 360 (ViGEmBus) or DualShock 4 (ViGEmBus) as the controller type, or bringing
gamepad = x360ords4over from Sunshine, Apollo or Vibepollo, needs ViGEmBus, which the installer doesn't include. Without it, every controller did nothing, for example from an Android phone. These choices now use the bundled VHF Xbox One or DualShock 4 pad instead and the stream card says so; install ViGEmBus or choose Automatic to remove the warning. With ViGEmBus installed nothing changes. Checked with tests only, not yet with a real Android client. - Steam listing one controller twice: the Steam beta fixes it, as users report; troubleshooting has the details and the ViGEmBus workaround for Steam's stable client.
- Steam Deck: back grips, both trackpads and a hint when Steam Input hides them. With Steam Input off for Moonlight, a Deck gets a virtual DualSense with its gyro, and now:
- Back grips work. No virtual controller has back buttons, so L4, R4, L5 and R5 were dropped, as in Sunshine, Apollo and Vibepollo. Settings → Input → Back grips now sets what each one presses: a face button, bumper, fully pulled trigger, stick click, Back, Start, Guide, d-pad direction, touchpad click or Share. They default to nothing, and pressing an unmapped grip says where to set it. Xbox Elite paddles use the same settings.
- The right trackpad is no longer ignored. Both trackpads share the virtual pad's touch surface, left and right halves, when Moonlight sends them (builds with SDL 3).
- "No gyro" explained. With Steam Input on, Moonlight only sees a virtual Xbox controller. When a device named Steam Deck connects that way, the stream card says to disable Steam Input for Moonlight.
- Checked with unit tests only: no real Steam Deck has been tried. Steam Deck has the setup.
- Input a device isn't allowed to send is no longer dropped silently. Devices paired after the first start view-only, as in Apollo and Vibepollo, so their controller, touch, pen, mouse and keyboard input was ignored without a word. The stream card now names the permission to turn on under Devices.
- Launching again after a stream that is slow to close. When a stream had not finished releasing its encoder, capture and display within 5 s, for example because the graphics driver was slow to close the encoder, the old session stayed listed as running, and every later launch failed with "previous game session is still releasing" until the host restarted. The old session now leaves the list before those are released, and the log warns when a teardown outlasts the launch wait. A session whose stream fails to start is removed too, and restoring the frame limiter (RTSS) when a launch expires no longer holds up other clients' input. Checked with unit tests and the reconnect soak on the RX 7900 XT host: 66 of 67 runs passed, and the one failure is the HEVC 120 fps run under uncapped GPU load that fails on rc.23 as well. A real driver hang has not been reproduced.
- Smaller fixes from a code audit: a Vulkan layer check could write past a 4-byte buffer after a failed registry read, two Windows network helpers read lists through too narrow a pointer, and the AMF D3D12 context was released through a wrongly typed call. None is on the frame path. The old C++ host sources are gone from the repository.
New in rc.23 #
- Streams ride out a saturated GPU instead of ending. An RX 9070 XT streaming 4K60 HEVC beside a game froze and then lost the stream with "The encoder returned no frame for 100 ms": the host recreated a stalled encoder about ten times a second, and a fresh encoder's first 4K keyframe on a busy GPU never got time to arrive. A stall now waits 250 ms before the first recreation, then 500 ms, 1 s and 2 s, and the session gives up after 20 s instead of 10 s. Large frames keep the error correction that fits instead of none. Your encoder settings are never changed behind your back.
- PlayStation controllers can have adaptive triggers with ViGEmBus installed. Automatic now gives a PlayStation-type client the VHF DualSense instead of a ViGEmBus DualShock 4, because ViGEmBus cannot emulate a DualSense. Xbox-type clients, including a Steam Deck, stay on ViGEmBus, so Steam still lists one controller. Without the VHF driver, the DualShock 4 on ViGEmBus is used as before;
ds4andvhf_ds5still pick a driver explicitly. - Sturdier connections:
- A client resetting its connection while connecting no longer shuts the host down and ends the running game.
- A session whose control connection is lost now ends after the ping timeout instead of holding the encoder, capture and display until the host restarts.
- A Wi-Fi drop of 5-10 s no longer ends the stream: the network library's own 5 s timeout now follows the 10 s ping timeout.
- Streaming before sign-in and while Windows is locked (issue #6):
- A launch on the sign-in screen no longer fails with error 503 while looking for old Sunshine display files in a user folder that doesn't exist yet.
- A launch while Windows is locked no longer fails with error 503. Windows allows display changes then only from the lock screen's own desktop, and the host made them from the normal one, so every launch was refused whatever the capture method. Setting up, keeping and restoring the stream's display now happens on the lock screen's desktop, as capture and input already did. If the virtual display still can't be set up while locked, the stream shows the physical display and the stream card says so, as Vibepollo does. Tested by the owner, and confirmed by a reporter streaming from a locked VM with no monitor attached (#6).
- Better H.264 picture at low bitrates. AMF's adaptive quantization is now off by default for H.264: on two game clips at 1440p120 and 20 Mbps, turning it off raised VMAF by 1.0 and 9.4 points at the same encode time. HEVC and AV1 keep it on, where it made no clear difference. Set
amd_vbaqto turn it back on. The other AMF settings (quality presets, constant bitrate, low-latency usage, high-motion boost) were measured too and stay as they are: none improved the picture without slower encoding or larger frames. - AV1 at sizes AMD pads: at sizes such as 1968×2184, AMD encodes AV1 with extra rows and columns (1984×2186) that clients have to crop. The log now says so once per stream; HEVC avoids it.
- Playnite, as Vibepollo does it: games are brought to the front using the existing focus settings, Playnite fullscreen starts again after a game instead of ending the stream, a cover saved in the console is set in Playnite too, and the console can restart Playnite.
- Tray: notifications when an app starts, pauses, resumes and stops; a green or amber dot on the icon while an app streams or is paused; "Quit
"; and "Check for updates". - Console file picker: Browse buttons for an app's command and working folder and for the Lossless Scaling and RTSS paths.
- No latency change from rc.22. On the RX 7900 XT, rc.22 and this release alternated in one batch at 1968×2184 HDR 120 fps (HEVC and AV1), 1440p120 and 1080p60, idle and beside a game; picture age matched within the spread of the runs. Details in
rust/PERFORMANCE_WORK.md.
New in rc.22 #
- PyroWave holds 60 fps at high bitrates. The sender's pacer counted every send call and late wake-up on top of the paced wire time, and PyroWave's automatic rate left no room for headers and error correction. A frame that filled its budget took 20-22 ms to send, so 1080p60 at 400 Mbps, 1440p and 4K dropped to about 57 fps. Pacing now credits up to 0.5 ms of send time per batch, and PyroWave paces at 1.25× its demand when the link speed is unknown. The same frames now take 12.8-13.1 ms, about 78% of a 60 fps frame period, at 1080p, 1440p and 4K. The release check now also fails PyroWave streams that replace more than 1% of frames.
- No more silent "no codec" host after a GPU reset. If the host started before the graphics driver was ready, after a crash or a driver timeout, its encoder check gave up after six tries and every stream failed without saying why. It now keeps retrying until an encoder works, checks again when a client asks, and the console shows "No video encoder available … Retrying" in the meantime. Retries never run while a stream is starting.
- Stream display problems:
- VRR streams no longer settle at 60 Hz: the virtual display gets the stream's resolution and refresh after it is created and after every recovery. Before, Windows picked a saved mode, and for some 4K VRR streams that was 60 Hz, so a 116 fps game streamed at about 60 fps. The log now shows
virtual display mode applied requested=… actual=…, and the stream card warns if Windows kept a different mode. - The stream no longer silently shows your physical desktop: when Windows switched the virtual display off mid-stream (for example when a game reset display settings on exit), capture fell back to the main monitor, so the stream showed the host's desktop at its own resolution. Capture now waits for the stream's display to come back. A temporary "display busy" error no longer rebuilds the display, and a display Windows switched off is switched back on with the exclusive layout and HDR.
- Saved 60 Hz modes no longer cap VRR: a 60 Hz mode saved for a device also limited the game to 60 fps under VRR. The frame limiter now follows the stream rate, and a VRR stream never reuses a display prepared without VRR.
- VRR streams no longer settle at 60 Hz: the virtual display gets the stream's resolution and refresh after it is created and after every recovery. Before, Windows picked a saved mode, and for some 4K VRR streams that was 60 Hz, so a 116 fps game streamed at about 60 fps. The log now shows
- No silent downgrades:
- Automatic picks the encoder by GPU vendor (AMD → AMF, NVIDIA → NVENC). If it can't start, it tries other hardware encoders and says so on the stream card; it never falls back to software.
- The console's stream card shows the encoder in use, plus warnings for capture fallback, display modes or frame limits that weren't applied, audio route changes and loss, network limits, and missing input features.
- The console no longer shows NVENC settings on AMD hosts under Automatic.
- Install and update safety:
- A failed update keeps the previous installation working and keeps its backup for a retry.
- Manual reinstalls and upgrades use the same rollback as in-app updates.
- Incomplete packages are rejected before anything changes, and downgrades are refused.
- Migrating from Vibepollo, Apollo or Sunshine checks the old profile before replacing the old host.
- Driver setup works with non-ASCII user folders and treats "reboot needed" as success.
- A setup interrupted earlier can't run driver tasks later.
- Controllers:
- DualShock 4 rumble and lightbar now work on ViGEmBus.
- Repeated feedback failures show up in the log.
- Fewer ways for a stream to end:
- A PyroWave frame that can't be prepared drops that frame instead of ending the session.
- A handle leak in the capture threads is fixed.
- Wi-Fi pacing only where it helps: 2× pacing now applies only to confirmed wireless routes. Wired hosts behind a Hyper-V switch, VPN or Tailscale keep full-speed pacing again.
- Playnite plugin installed as you: the plugin is installed and removed as the signed-in user instead of SYSTEM, so a link in a user folder can't redirect a SYSTEM write or delete.
New in rc.21 #
- Security: the Playnite connection can no longer act as the host. When the host connected to Playnite's connector pipe, a program posing as Playnite could take on the host's identity, which is SYSTEM when it runs as a service. The host now allows the pipe server only to identify it, not to impersonate it. This issue predates rc.20.
- PyroWave bitrate guidance from measured picture quality. 6,048 decoded comparisons across desktop, game, dark and HDR scenes set two levels. At 60 fps the picture breaks down below about 139 Mbps (720p), 187 Mbps (1080p) and 747 Mbps (4K). It is clean from about 277, 399 and 1593 Mbps. The console's stream card shows red below the first level and amber below the second, the log warns, and the guides give the same numbers. At 4K, a clean PyroWave picture needs more than a gigabit link can carry; use HEVC or AV1 there.
- Crash reports can no longer hang the host. The host used to write its own crash dump, which Windows documents as able to deadlock; under load a test hung 1 run in 30. A separate reporter process now writes it. If that process can't start, the host still starts and logs a warning.
- Optional AMF limits for recovery frames. On Wi-Fi a lost frame triggers a full keyframe, several times a normal frame. A new opt-in frame-size cap cut the largest recovery frames at 4K60 and 40 Mbps from 266 to 90 KB (HEVC) and from 154 to 82 KB (AV1), at a small encode-time cost. The defaults are unchanged. AV1 bitrate changes during a stream now use the right AMF property.
- Fixes from a review of rc.20:
- A DualShock 4 battery level above 100% from a client no longer corrupts the controller report.
- After a quick change of the stream's display, absolute mouse input can no longer land on the previous display.
- One client disconnecting no longer releases another client's network acknowledgements before its input is applied.
- A ViGEm controller keeps its rumble if unplugging it fails.
- Release checks cover PyroWave. Every release now has to decode PyroWave end to end at 1080p60, SDR and HDR 4:4:4, with picture, motion, cadence and audio checks. The test tone no longer starves under CPU load, so audio checks measure the host rather than the test machine.
New in rc.20 #
- Controller input no longer waits behind a busy gamepad driver. Every controller update was a blocking call into the virtual gamepad driver, on the thread that also handles keyboard, mouse and touch. When a game loaded every CPU core, that call could stall for up to 287 ms and everything else waited behind it. Gamepads now run on their own thread, and a mouse move behind a stalled controller waits at most about 2 ms. The input thread also keeps its multimedia priority boost: behind time-critical load, input waited a median of 3.5 ms and now waits 17 µs.
- Snappier keyboard and mouse. Moonlight's acknowledgement goes out after its input is applied, saving about 25 µs per event. A burst of keyboard and mouse events reaches Windows in one call: 8 events take 38 µs instead of 180 µs. Setting up input when a session starts no longer blocks it for 3-4 ms.
- One controller in Steam again: ViGEmBus is back. Steam on the host often listed Butterpollo's virtual Xbox controller twice. Its bundled controller library races its XInput and GameInput backends, and when it happened, Start+Select could open Game Bar and the Steam keyboard. When ViGEmBus is installed, Automatic now uses it, as Vibepollo does: an Xbox 360 pad, or a DualShock 4 for PlayStation-type controllers. Steam lists it once. Without ViGEmBus, the virtual gamepad driver is used as before. The new
x360andds4choices pick ViGEm explicitly. - PyroWave sends sooner and is verified end to end. The first protected block of a frame is ready in 0.06 ms instead of 0.49 ms at 1080p120, and in 0.21 ms instead of 1.75 ms at 4K60, with identical bytes on the wire. 1,152 frames decoded with PyroWave's own decoder match between the compute and graphics conversion paths. Loss feedback from the client no longer forces extra frames.
- PyroWave warns when its bitrate is too low. At HEVC-like bitrates PyroWave shows only blurred grey blocks. Below one bit per pixel per frame (about 55 Mbps at 720p60, 125 Mbps at 1080p60, 500 Mbps at 4K60), the log and the console's stream card say so, and the setting's description gives the numbers.
- Steadier streams on Wi-Fi. Video on wireless and unknown network routes is now paced at twice the stream bitrate instead of bursting at up to 800 Mbps, so bursts don't overrun the access point; audio shares that path. Ethernet is unchanged, and
pacing_max_bitrate_kbpsstill overrides it. The log now also reports audio the host loses before sending it. - Playnite launches more reliably. Playnite is found and started in the right Windows session, a missing or partial plugin is repaired, failed library syncs retry promptly, and streams survive Steam and Epic launcher handoffs and Fullscreen mode. Failures now say exactly where the launch stopped. See "Playnite does not launch" in the troubleshooting guide.
- RX 9000 safety. SmartAccess Video combined with a forced low-latency mode, a combination that has caused GPU resets, is now prevented. A lost GPU is no longer treated as finished work, which could have reused frames unsafely. The troubleshooting guide has an RX 9000 driver section and a test checklist.
- AMF settings tell the truth. The script-free console saved the low-latency switch under a key nothing read; it now saves
amd_lowlatency_modeand offers the AV1 latency mode. With the default ultra-low latency usage the driver already applies both, so they stay on Driver default. A newamd_split_framesetting asks the driver to split frames across two encoders where it ships that off, as the original host did. On an RX 7900 XT the driver never splits, so nothing changes there. - Honest capture timing. The stream log now reports WGC's own delivery delay (about 1 ms on a virtual display), which the old numbers hid.
- Clearer limits. AMD encoders produce 4:2:0 only, RX 9000 included; 4:4:4 on AMD means PyroWave. The docs and the error message now say so.
- A new introduction film. It explains what Butterpollo is, follows one frame through the Radeon path, and shows the measured comparison with Vibepollo 2.0 beside a game.
New in rc.19 #
- Lower latency when the encoder cannot keep up. At 4K with a high refresh rate, or on an RX 9070 XT with its single HEVC encoder, one encode can take longer than a frame. The host kept claiming new pictures anyway, and up to eight queued in the encoder, each older when it came out. It now waits while two are in the encoder, enough to keep both encoder instances of a Radeon busy. At 5120x1440 HEVC 240 fps on an RX 7900 XT, whose encoder manages 220 fps there, the time from the game's frame to the packet fell from 42.7 to 11.1 ms, at the same 220 fps. Streams the encoder keeps up with are unchanged.
- PyroWave converts colour on the Radeon compute queue. Its conversion was the last one still running on the graphics queue, behind the game: beside a game using the whole GPU, a 1080p HDR 4:4:4 frame took 5.6-5.8 ms instead of 0.47 ms. It now runs on the same high-priority compute queue as the AMF path, at 0.54-0.57 ms beside that game, with identical output. At high bitrates PyroWave also starts sending up to 2 ms sooner, after a slow byte-by-byte check of every frame was made eight times faster.
- AMF no longer drops frames to stay on its bitrate. Frame skipping was left to the driver; a skipped frame shows on a VRR client as a held picture. It is now off for H.264 and HEVC, as in Vibepollo.
New in rc.18 #
- Two GPUs: encoding on the Radeon works. With a Radeon for games and encoding beside an NVIDIA card that drives the monitor, the encoder check at startup ignored the GPU chosen in the settings and tested the monitor's card instead. On automatic it found NVENC there; forced to AMF it offered Moonlight no codecs, and the RTSP handshake failed. The check and the encoder now use the selected GPU, and automatic tries that GPU's own encoder first: AMF on a Radeon. A Radeon PC with an Intel iGPU no longer risks picking Quick Sync either. Desktop Duplication, which can only capture on the GPU the monitor is connected to, now says so and points to WGC capture, which works across GPUs.
- A new launch film follows one frame through the Radeon path, shows the same-build compute result and what rc.17 brought players, with a new original score.
New in rc.17 #
- Steam Deck and other controllers with motion sensors get a virtual DualSense, as in Vibepollo. An Xbox-type controller with a gyro or touchpad, such as the Steam Deck, stayed an Xbox pad: it lost its gyro and touchpad, and Moonlight's quit combo opened Game Bar and Steam's keyboard on the host. With
motion_as_ds4andtouchpad_as_ds4both off it stays an Xbox pad. A controller that connected while the stream's display was still being set up also lost its motion sensors, because input was dropped until then; keyboard and controllers now work from the start. - The first launch no longer fails when an app's prep commands take a while. A launch expired 30 s after Moonlight asked for it, even while its prep commands were still running, so Moonlight then found no launch to connect to ("no authorized RTSP launch") although the game was running, and only a retry worked. The host also keeps answering while prep commands run, instead of showing as offline to every client.
- Lower latency:
- With the default install, the host learns of a captured frame the moment the capture helper has it instead of polling for it: about 0.7 ms less from the game's present to the packet.
- Captured audio is sent as soon as Windows delivers it (event mode, as in the C++ host), and the encoder's frame deadlines are met more precisely.
- Colour conversion on the compute queue runs in one pass instead of two.
- Taps and clicks with touch or a pen are released on time; they were 4 ms late on average, and key repeat had up to 8 ms of jitter.
- On a local network, video and audio are tagged for priority as Moonlight asks (DSCP 40 and 56), as Vibepollo does: Wi-Fi sends them ahead of other traffic. Moonlight does not ask for this over the internet.
- Smoother pacing:
- A keyframe the client asks for after packet loss, or a repeat of a still picture, no longer holds back or skips the game's next frame.
- With Desktop Duplication, mouse-look in a game (a hidden pointer that moves) no longer costs frames.
- VRR follows a game's uneven frame times more closely.
- The capture helper now gets its first frame on a still desktop, where it could fall back to Desktop Duplication for the whole session (seen on a Legion Go).
- The check that keeps a stream's virtual display alive costs 27 µs a second instead of up to 31 ms.
- One encoder hiccup no longer slows the rest of the session. Since rc.14 any encoder failure moved colour conversion to the graphics queue, which waits behind the game: 7.2 ms instead of 0.9 ms per frame beside a GPU-bound game. That now happens only after a second failure. An encoder that keeps failing no longer leaks memory, and a recovery that produces no frames ends after 5 s instead of continuing.
- Several clients on one PC:
- A second stream no longer changes the resolution, refresh rate or HDR of a display another stream is using.
- The saved display layout is restored when the last stream ends, not under a stream still running.
- The layout is also restored when a remote monitor joined during the stream; the physical monitors had stayed off.
- Clients sharing the virtual speakers with different speaker setups (a stereo phone and a 5.1 PC) no longer keep losing each other's audio.
- Quitting an app closes only the game the launching client's store client started, and never a program someone opened on the PC.
- Displays and HDR:
- An HDR client on a display without HDR streams in SDR instead of failing to launch.
- HDR is switched back on the display as it is connected at the stream's end, also after a driver reset or a TV that reconnected.
- A TV that was in standby when a stream ended gets its original HDR, mode and colour profile back even when the next stream uses it first.
- Your speakers come back after a stream. If they could not be set when a stream ended (a Bluetooth headset turned off, a TV's audio not back yet), every later stream restored Steam Streaming Speakers instead. The host now keeps the original devices and restores them once possible.
- Settings import from Sunshine, Apollo, Vibeshine and Vibepollo:
- It reads files those hosts write and load: sunshine.conf in UTF-16 or the ANSI code page, state files with a byte order mark or left empty, paired devices stored with
""lists, and device commands in Apollo's format. - A profile naming files that no longer exist, or holding large logs, links or oversized files, imports with warnings instead of failing.
- The imported profile is checked with the host's own loaders, so setup no longer reports success for a profile the host then refuses to start with.
- When an import fails, setup shows why and restarts the previous host's service, including Sunshine and Vibeshine.
- A previous host whose installer recorded no install folder is found anyway.
- One unusable device or app override is skipped with a warning instead of failing every stream of that device or app.
- It reads files those hosts write and load: sunshine.conf in UTF-16 or the ANSI code page, state files with a byte order mark or left empty, paired devices stored with
- Updates:
- A host set to a specific
bind_addressis no longer rolled back as "did not start". - If the service cannot be stopped, it is started again and the update is reported as failed.
- An update cut off by a power loss or crash is rolled back at the next start.
- Only the newest two folders of unfinished updates are kept.
- A host set to a specific
- Pairing: a second device asking to pair no longer takes over the PIN of the first, and nobody on the network can keep others from pairing.
- The web console's "Remember this device" keeps you signed in for 7 days. It signed you out after two hours. Releases now ship the console built from their own source; before, it was carried over from an earlier package.
- Games: a game that restarts itself through Steam (after an update or a settings change) no longer ends the stream, and a browser or store client that a game opens is no longer closed with it.
- Touch and pen: held touches and a resting pen are no longer cancelled while the other is in use, Shift held during key repeat is no longer released, pen pressure and buttons are sent as the C++ host sends them, and contacts are lifted when a stream ends.
- PyroWave follows
pacing_max_bitrate_kbpswhen it is set.
New in rc.16 #
- Audio without dropouts. Since rc.14 the host sent silence as soon as Windows had delivered no sound for 10 ms, but Windows delivers sound in chunks of about that size, so ordinary scheduling jitter put short gaps of silence into the stream. Silence now starts only after 50 ms without sound.
- The uninstaller removes only Butterpollo's files. Run outside an installation, it could take the folder it ran from (Downloads, for example) for the installation and delete all of it, and a custom install folder lost everything else in it. It now refuses when Butterpollo is not installed, deletes only the files the installation lists, and removes a folder only when nothing else is left in it.
- Touch, pen and absolute mouse land where you tap on a letterboxed stream. When the PC's display has another shape than the client (a 16:9 PC on a 4:3 iPad), taps were off by up to a few hundred pixels and the bottom of the screen, taskbar included, could not be reached. Input now skips the black bars as the original host did.
- Password guessing over the network is limited. Sign-ins sent with each request (Basic credentials) were not counted, so a device on the network could try passwords at full speed. They now share the login page's limit of 10 attempts a minute per address, this PC is never locked out, and a flood of addresses can no longer block sign-in.
- Two crashes that ended every stream are fixed: a controller whose profile changed after it connected, and one malformed cover-image request.
- Settings that stopped the host are refused or worked around. One bad value already in sunshine.conf no longer blocks every later save; a value the file would cut short (an unquoted
#) or that would swallow the settings after it (an unclosed[) is refused with the key named; and a network interface name in place of an address, or a folder as the log file, no longer keeps the host and its console down.
New in rc.15 #
- Fixes blurry VRR streams and fringed text. The host could encode faster than the stream's requested frame rate, spreading its bitrate across too many frames. VRR now caps encoding at the negotiated rate while taking new frames as they arrive.
- Restores duplicated displays more reliably when Windows needs to move a display to another desktop source.
- Uses the Butterpollo icon throughout the executables, Start menu and tray.
New in rc.14 #
- Streams survive encoder and GPU hiccups. An encoder error mid-stream ended the session, which Moonlight reports as error -7fffbffb; a game holding the GPU or a driver reset was enough. The host now recreates the encoder, keeps the hardware encoder the stream started with, converts on the graphics queue if the compute path failed, and asks for a keyframe. Only failures that last five seconds end the stream. A wait for GPU work that never finishes no longer freezes the picture for good; it gives up after two seconds and recovers the same way.
- Fewer frozen pictures on Radeon RX 9000 cards. The encoder input queue was forced to one frame for every client asking for VRR low latency, which exposes a known RDNA4 driver freeze where video stalls while audio plays. It is now set only on request, as in the original backend. A keyframe requested after a client resets its decoder now carries the AV1 sequence header, so the client can start again, and a frame the encoder loses is followed by a keyframe instead of damaged pictures.
- GPU safety. Captured textures could be released while the GPU was still copying or converting them, the kind of fault that hangs a driver; they are now kept until the GPU is done, and stale ones no longer pin gigabytes of video memory. The queues that copy and convert captured frames ran at global realtime priority, ahead of the desktop compositor every captured frame comes from; they now run at high priority, still ahead of a game's normal work (
compute_queue_realtime = truerestores it). An HDR stream on an RX 7900 XT had ended in an AMD driver timeout that took the GPU offline until a reboot; its cause is not proven, and these are the two likeliest contributors. - Quitting closes games that a store client started. The Xbox app, Epic, EA, Ubisoft Connect and Battle.net start games themselves, outside the processes an app launches, so quitting left them running. The host now notes the fullscreen game on the stream's display when it started after the launch, and quitting closes it like the app's own processes. Store clients themselves, the plain desktop and Steam or Playnite games are left alone.
- Radeon RX 6000 cards: colour settings a driver rejects no longer cost the encoder, the same kind of rejection as the HEVC fix in rc.12; a bitrate the driver refuses keeps the current one instead of failing every frame.
- Lower audio and input latency. Audio goes out as soon as Windows captures it instead of on a fixed 5 ms tick, which added 5 to 20 ms and could insert short silences. Input is handled the moment it arrives instead of after a 1 ms sleep, and a finished video frame is sent without waiting for the encoder's next one.
- The cursor shows on a PC without a mouse. Windows hides the pointer when no mouse is connected; while streaming, Mouse Keys are turned on so it appears, as in Sunshine. Reported with Moonlight on macOS.
- Hosts on Wi-Fi: connected Wi-Fi adapters run in media streaming mode while streaming, with fewer background scans and the stutter they cause. The desktop compositor is scheduled with multimedia priority.
- RTSS frame limiter applies again. Before changing a frame limit or a display, the host starts a helper that undoes it if the host dies. Where the host runs in a job that forbids that helper to leave it (a scheduled task, a launcher), starting it failed and the limiter gave up, so RTSS never got the stream's rate. The helper now starts inside the job in that case.
- The tray icon shows after a reboot. Windows keeps Explorer's "taskbar created" message from the elevated host, so an icon the taskbar refused at boot never appeared after sign-in. The host now accepts that message and retries until the icon is in.
- Firewall check: the installer allows the host on every network, but a block rule, which Windows leaves when its "allow access" prompt is dismissed, overrides it and makes manual port exceptions look necessary. The host now logs such rules by name at startup, and
--diagnosticslists them. - Input fixes:
- Absolute mouse, touch and pen follow the stream's display when it is created, recreated or changes resolution, instead of the display at the first input event.
- A key or button release that Windows refuses (a UAC prompt, the lock screen) no longer leaves the key repeating, or dead in later sessions.
- A long press with touch or a tablet right-clicks without left-clicking first, as in Sunshine.
- Print Screen works; a missing virtual gamepad driver no longer slows other input; unplugging a controller no longer leaves a phantom pad; each virtual pad logs the profile it got.
- Displays: when Windows switches a TV on together with the stream display, the host no longer hands Windows the TV's leftover modes while switching it off again, the likely reason Windows refused; if it still refuses, the stream starts with the TV on, as in rc.13. Restoring duplicated displays after a stream falls back to letting Windows choose a mode the group can show when it refuses the original one.
- Releases are built, checked, installed and published by one script, and each release tag gets its own CI run.
New in rc.13 #
- Fixes streams that would not start on rc.12 when Windows also switched on a TV or monitor that was off as the stream display arrived. Switching that display off again failed with "invalid parameter" (error 87), and the launch was cancelled. The host now lets Windows adjust the layout when it refuses the exact one, and if it still refuses, the stream starts with that display left on.
- Duplicated displays are put back after a stream even when Windows refuses the first display's exact mode for the group (error 31): Windows picks a mode the group can show, then every display gets its saved mode back. The display self-test found this with two duplicated stand-in TVs.
- Release tags get their own CI run, and releases are built, checked, installed and published by one script (
rust/release/release.ps1).
New in rc.12 #
- Fixes HEVC on Radeon RX 6000 cards (#5). The RX 6800 XT's HEVC encoder rejects the input colour-range property, which the host treated as fatal: AMF was dropped and the stream stayed black. The range properties are now optional; limited range is AMF's default, and a full-range stream logs a warning if the driver refuses them. This affected every release since rc.1.
- Fixes doubled and repeating input reported on rc.10:
key_repeat_delay = 0, which a Vibepollo profile uses to turn host key repeat off, made the host repeat a key immediately, so one tap typed two or three characters. 0 now turns repeat off and a negative value keeps the 500 ms default, as in Vibepollo.- A repeated press of a key or button that is already held is no longer sent to Windows again; with the host's own repeat it doubled the repeat rate, and a second button-down could become a double-click.
- A key released without the extended-key flag it was pressed with is now released, instead of staying down and repeating.
- An Xbox controller stays an Xbox pad even when it reports motion sensors or a touchpad, as in Vibepollo. A PlayStation pad is also claimed by Steam Input, so games could see the controller twice.
- rc.11 already stopped discarding delayed key releases as replays.
- Input that arrives before capture starts is no longer dropped when the stream's display is selected by device ID, as the console stores it.
- Other devices' requests no longer wait for a launch to finish preparing its display, audio and app.
- Adds a display self-test for support and development: run as SYSTEM,
butterpollo-service.exe --display-self-test REPORT.jsoncreates virtual displays, switches one off and back on, duplicates two of the driver's permanent displays as stand-in TVs, starts a stream display beside them, restores a cloned layout, and then puts the desktop back. - Measured, not changed: on an RFI-capable client under bursty loss, long-term reference recovery on AMD (
amd_ltr_frames) reduced the worst arrival spikes at heavy loss but produced more frame gaps than keyframe recovery, so it stays off by default. Wired 1080p60 at 80 Mbps showed no difference between the default packet pacing and a limit of twice the bitrate. For a client on Wi-Fi, settingpacing_max_bitrate_kbpsto about twice the stream bitrate smooths the bursts.
New in rc.11 #
- Fixes "virtual display did not become active before the deadline" (#4). Windows decides whether a newly connected display joins the desktop, and a layout it saved for the same displays (for example two TVs in duplicate mode) can leave the virtual display connected but switched off. The host waited for Windows and failed the launch after ten seconds; unplugging the other displays was the only workaround. When the virtual display stays off for a second after connecting, the host now switches it on itself beside the current displays, as Vibepollo's display helper does. The other displays keep their modes, positions and clone groups; only if the driver refuses that does Windows choose the modes, which the stream's layout restore undoes. A launch that still fails now says whether the display was connected but kept off.
- Codecs no longer stay unavailable after Windows starts. The host checks its encoders once at startup. When it started with Windows, the PyroWave check could run before anyone was signed in (
helper needs a signed-in user, oroptional codec probe exited before replying (0xc0000142)while the desktop was still being set up), and on this test PC the AMD encoder itself failed to open (AMF error 1), so the host offered no video codec at all until it restarted. If no standard codec is found, the host now probes again once a user is signed in, with growing pauses and at most six times; a PyroWave check that failed only for want of a session is repeated the same way, never during a stream. A probe that fails for any other reason, such as a crashing overlay, is not repeated.
Display layouts and recovery
- Restoring a saved layout with duplicated displays (two cloned TVs, for example) no longer fails every time. Clone groups are rebuilt before positions, and displays are found by device instead of by a Windows display name that changes when they rejoin their group.
- A setting that cannot be restored after an interrupted stream no longer stops the host from starting. Recovery attempts every step, logs what failed and continues; before, the same failure repeated on every start.
- A TV or monitor that is off or unplugged when a stream ends keeps its HDR, colour profile and mode entries until it is back, instead of keeping the stream's settings.
- The layout restored after a stream is taken before the virtual display is created, so what Windows changes when it arrives (a TV switched off, another primary display, a retimed display) is undone too.
- A display that disappears during a stream no longer keeps the rest of the layout from being restored.
- Displays that stay on keep their timing and position when the layout changes, such as a retained remote monitor during a restore.
- An expired startup guard on a virtual display no longer makes its recovery fail for the rest of the session.
- A TV that takes a resolution but refuses the refresh rate is put back after a failed launch.
- Disconnecting a remote monitor can no longer hang the host while its display is being recovered.
Streaming
- The control and input connection survives network errors such as a Wi-Fi roam, an ICMP reply or an oversized datagram. Before, its worker stopped and every later session had no input or control until the host restarted; it now also restarts itself.
- Controller and motion input get their own channels again (Moonlight asks for 48) instead of sharing one with keep-alive messages.
- Delayed keyframe requests and key releases are no longer discarded as replays behind many motion reports (a 4096-message window instead of 64).
- Moonlight's reference frame invalidation requests are read correctly instead of each becoming a full keyframe.
- A frame too large for Moonlight's packet format at very high bitrates is dropped and followed by a keyframe, instead of ending the session.
- Audio delay no longer grows after a scheduling hiccup: a backlog over 30 ms is trimmed back to two packets.
- PyroWave honours the configured pacing limit (
pacing_max_bitrate_kbps), which helps a client behind Wi-Fi, and no longer sends a catch-up burst after a send had to wait. Wired clients keep pacing at 95% of the host's Ethernet link. - The video clock wraps instead of freezing after 13 hours.
Moonlight compatibility
- Joining or resuming a running game from Moonlight for Android or iOS works:
/launchalways answers with a game session. - A wrong PIN no longer blocks pairing for every Moonlight device until the host restarts.
- A device that forgot this PC can pair again; it was refused as a duplicate until removed in the console. Vibepollo profiles that list a device twice now load.
- Quitting a game that is slow to exit no longer stalls other devices' requests.
- Odd client resolutions such as 2556x1179 are rounded down instead of refused.
- A device with the launch permission may resume its own game, as in Vibepollo.
- The app list reports HDR only when a codec has a 10-bit mode.
New in rc.10 #
- Correct HDR state on newer Windows versions. Wide-gamut SDR color management is no longer mistaken for HDR support or active HDR. The host uses Windows' dedicated HDR state and toggle APIs where available, retains the legacy path on older systems, waits for the requested state, and cancels its own pending request after a failed transition. The capture and pacing defaults from rc.9 remain unchanged.
- Restores previously inactive displays when Windows reactivates them during owned virtual-display startup and recovery. A brief guard removes only reactivated targets with the same identity, retains current modes and clone relationships, rejects an observed concurrent layout change, and expires after startup. It does not continuously enforce the desktop or establish that the reporter's phone issue is resolved.
- Verified native virtual-HDR pixels with HEVC and AV1 at 720p60 on the final RX 7900 XT host. Both captured FP16, decoded every frame and passed the unchanged color/freshness gates, with display restoration confirmed. HEVC had no long arrival gaps; AV1 had 31 intervals above 25 ms despite complete picture coverage. This validates the tested pixel path and reproduced display fix, not gap-free AV1 delivery, physical-panel calibration or client scanout.
- Adds a read-only environment collector under
toolsin the portable package. It records the exact host hash, GPU and driver versions, Windows build and network-adapter type without changing settings or uploading anything. This makes hardware-specific reports reproducible; it does not replace a test on the reporter's machine. - Validates DS4 and DualSense touch input through the installed signed driver: production packet decoding, two contacts, movement, release, cancellation, isolation of unsupported secondary pads and device cleanup. A true second touch surface still needs a new signed driver and device profile.
- Resolves the previous CLI test limitation. The unmodified Moonlight PC 6.2.0 client successfully lists apps and quits normally against rc.9 when its window and polling lifecycle are allowed to complete. Cold-cache CSV listing remains a separately reproduced client artwork-shutdown issue; plain listing or cached artwork is the workaround. An optional client source patch under
compatibility/moonlight-6.2.0passed eight focused Qt tests; it still requires a custom client build and Windows validation. - Keeps queue draining disabled after another saturation comparison: it reduced frame age but delivered fewer distinct pictures and more gaps. No additional performance setting was enabled on that evidence.
Current automated validation: 263 ordinary tests passed, with 27 environment-dependent tests excluded by default; formatting, Clippy with warnings denied and release builds passed. This includes eleven HDR-state tests and six virtual-display hotplug tests. Hardware test scope and package verification are recorded separately in PERFORMANCE.md and the release's VALIDATION.json.
New in rc.9 #
- Automatic capture now prefers Windows Graphics Capture. This applies to physical and virtual displays. Existing explicit capture choices are preserved, including imported
dxgiandwgccaliases. WGC uses the signed-in-user capture worker under the Windows service, with Desktop Duplication fallback when WGC cannot open and during lock/UAC desktop transitions. Compute copies remain enabled by default on supported AMD GPUs. - Smoother 60 FPS delivery with lower measured picture age. WGC-selected streams now align encoding to a stable source update when capture reports surplus updates. The guard falls back to ordinary pacing for irregular or slower sources and resets on recovery; explicit Desktop Duplication keeps its previous pacing default. In controlled local 720p60 AV1 runs, guarded pacing delivered 59.862–60.000 distinct FPS versus 57.650 and reduced estimated source-presentation-to-software-decode age by about 3.8 ms on average. This excludes remote network transit, client display scanout and input latency.
frame_pacing_source_phase=falserestores the previous WGC pacing for comparison. - Removes the automatic 1 ms WGC update limit above 60 FPS. Explicit zero restored approximately 121 FPS delivery in the earlier controlled 120 FPS comparison; an explicit override retains the previous interval for diagnosis. Loaded 120 FPS and slow-source checks passed with the phase guard inactive. An uncapped GPU stress test still fell to about 53–54 distinct FPS with either pacing setting, so this is not a cure for GPU saturation. See PERFORMANCE.md for the complete comparisons and failed cases.
- Avoids sending an unchanged frame just before a predicted fresh capture when a high minimum frame rate is configured. The wait has a fixed, short deadline; slower and static sources continue receiving repeats. In the local HEVC comparison with a 60 FPS minimum, fresh delivery improved from 57.700 to 59.793–59.860 FPS. The regular minimum-rate setting also passed at 60 and 120 FPS.
- Fixes H.264 decoding with Moonlight PC 6.2.0. Its Windows D3D11 decoder requests one reference frame. AMF previously enabled four long-term reference slots independently, causing repeated decoder failures and about 52.8 decoded FPS from a 60.3 FPS incoming stream. AMF now reserves long-term references only within the negotiated budget and uses IDR recovery when that budget is one. An incompatible H.264 intra-refresh request also falls back to IDR recovery instead of raising the client's limit. Clients with an unrestricted budget retain long-term-reference recovery. The FFmpeg NVENC fallback now sets its retained-picture buffer limit explicitly; NVIDIA execution still needs hardware validation.
- Tested the exact released Moonlight PC 6.2.0 application. Ten local 1280×720/60 sessions on the RX 7900 XT covered two connections each for H.264, HEVC, AV1, HEVC HDR and AV1 HDR. All selected the expected formats and D3D11 hardware rendering. Incoming and decoded rates matched, rendering remained about 60 FPS, and there were no decoder errors. Streaming windows closed and disconnected normally, and reconnecting worked. These are compatibility checks, separate from the distinct-picture and latency fixture.
- HDR requests and ten-bit codec decoding passed from an SDR desktop. This matrix does not validate native HDR source capture, displayed HDR brightness or colour accuracy. Stock Moonlight 6.2.0 supports the standard codecs; PyroWave and the host's 1000 Hz low-latency VRR mode still require Nonary's client. Moonlight's own client-side VRR rendering is a separate feature.
- Three additional AV1 checks verified Moonlight 6.2.0's existing AMD-padding compensation: 1080p SDR/HDR and 1968×2184 SDR. Client logs confirm the requested crop, hardware decoding and rendering without decoder errors. The underlying AMD bitstream still has padded dimensions; these checks verify the client's crop path, not pixel-edge or HDR display accuracy.
- Handles Moonlight PC 6.2.0's extended-key modifier, distinguishing keypad Enter from ordinary Enter through holds, repeats, release and disconnect cleanup. Existing key remaps and older clients retain their behavior. Controller touch parsing and batching now preserve the touchpad index. The bundled driver supports one touch surface with two contacts; secondary-pad events are safely ignored with a warning and cannot corrupt primary-pad state. Native second-touchpad support remains unavailable. Input was disabled during the streaming matrix, so live input on that application has not been newly validated.
- Follow-up checks on the unchanged rc.9 host verified natural exit of official Moonlight 6.2.0's plain
list, CSV listing with cached artwork, three successive app quits and an idle quit. Paired HTTPS/serverinfoand the web API agreed that each app had stopped. The earlier quit failure came from the harness hiding its window and allowing too little time for its next status poll. Cold-cachelist --csvstill has an upstream artwork-shutdown bug, reproduced without Butterpollo; use plainlistfor automation or CSV after artwork is cached. Streaming-window close and reconnect evidence remains separate. - Validation of the final runtime passed 246 ordinary tests, with 26 environment-dependent tests excluded by default, and Clippy with warnings denied. Four selected native checks separately passed: WGC reconnect/COM teardown, a 64-frame H.264 one-reference SPS/VUI and decode check, packet-loss reference recovery for the three AMD codecs, and exact GPU texture comparison. The ten exact-client connections and three crop checks above are additional checks. Final default-path motion results and capture-worker recovery are recorded separately in PERFORMANCE.md; package integrity and build provenance are recorded with the release assets.
New in rc.8 #
- Fixes "adding the firewall rule failed" when reinstalling after an automatic update. Internal extended-length paths no longer leak into Windows installation entries or firewall commands. Setup updates an existing rule in place and removes legacy allowances only after Butterpollo's rule succeeds, so a rejected replacement keeps the previous rules.
- Fixes RTSS automatic startup when Windows requires administrator privileges (error 740 /
0x800702E4). The installed service first tries a normal user launch, then retries that specific error with the signed-in user's elevated token. RTSS stays in the user's desktop session; the SDK helper remains unelevated. - The same startup path is used during limiter recovery, addressing the elevation failure that left restoration pending in the reporter's rc.6 log. Unrelated launch failures do not trigger an elevated retry. Portable hosts report how to start RTSS manually as administrator.
- Keeps a service-owned RTSS process alive when reconnecting after a failed restoration, and recognizes equivalent installation paths containing dot components or directory junctions.
- Reduces repeated CPU work in WGC's timing predictor by caching statistics when a new frame arrives. Pacing decisions remain unchanged; this is a small CPU optimization.
- Removes an unintended WGC capture throttle at 60 FPS and below by explicitly setting a zero minimum update interval. The untouched Windows default measured 16 ms and delivered only 55–57 capture updates/sec; explicit zero delivered about 217 in the same native background comparison. A brief AV1 background stream then passed the delivery-rate check at 60.585 FPS, versus 58.039 before, with zero decode errors. These checks do not establish distinct-picture delivery or reduced latency. Streams above 60 FPS retain the tested 1 ms request in rc.8, and WGC compute stays enabled by default. Later distinct-picture comparisons are recorded under rc.9 and in PERFORMANCE.md.
- Corrects a diagnostic timestamp that could describe an older frame after memory-address reuse. Adds optional presentation statistics to the motion probe and a polling comparison without frame notifications; these do not change normal streaming.
- Reproduced error 740 locally with RTSS 7.3.5, then verified an earlier rc.8 candidate's automatic startup through the installed Windows service, a measured 59.94 FPS cap, and restoration to 120 FPS on disconnect while Desktop stayed open. All 208 ordinary automated tests and the explicitly selected native WGC interval test passed. Isolated recovery checks cover user edits, absent settings, a pending journal after elevation denial, and reconnection after SDK failure. The final executable is now installed locally: its hash matches the tested candidate, setup completed successfully, the service reports rc.8, and the firewall rule targets the correct executable. The final build's complete limiter lifecycle and confirmation on the reporter's RX 9070 XT remain pending.
New in rc.7 #
- Updates notify first by default. Maintenance offers Install when idle, with automatic installation available as an opt-in under General settings. Release candidates follow the existing prerelease setting.
- The host downloads only the exact official Windows installer and verifies its size and GitHub SHA-256 digest. Downloads yield to new sessions; installation waits for one minute without streams, pending connections, remote monitors or host apps. New connections are held off during the installation handoff.
- The service updater stages and verifies the package, backs up replaced files, checks that the requested host version starts, and restores the previous package files after ordinary copying or startup failures. Settings, devices and drivers stay in place. Failed versions are not retried automatically.
- The update panel now displays release candidates correctly, along with download progress, cancellation and the last installation result. The basic HTML console also exposes update actions.
- Validation covers idle/session admission, cancellation, official HTTPS downloads, checksum failures, authentication and CSRF, isolated file recovery, and desktop/mobile UI states. The 199 ordinary automated tests and a separate official-download test passed. A full live service upgrade still needs validation; automatic installation remains opt-in.
New in rc.6 #
- A client's
virtualDisplay=0request now inherits the host's virtual-display setting, matching Vibepollo. Previously it disabled the configured virtual display, leaving the physical monitor active or failing capture when that monitor was off. A positive request also preserves the configured shared-display mode. Explicit app display choices still apply, and the device's "Always use a virtual display" option takes precedence. - Optional PyroWave capability checks now run in a separate user process. A crash or stall there leaves H.264, HEVC and AV1 available; the worker has a 15-second deadline and is cleaned up on failure. This contains the startup failure investigated in an rc.5 dump: RTSS called into the Vulkan loader during a Wallpaper Engine window callback after the probe's Vulkan modules had unloaded. It does not modify either overlay.
- The earlier AV1 fresh-frame shortfall occurred while Warhammer 3 occupied 92–99% of the GPU. With the game closed, the released rc.5 build delivered 59.84 fresh FPS at a 60 FPS target, decoding all 1,047 received frames without errors. This corrects the earlier performance finding; the RX 9070 XT tester's separate latency comparison remains unverified.
New in rc.5 #
- Fixes RTSS helper communication in service installations. The helper runs as the signed-in user and could not write its reply into the service's protected configuration folder. It now exchanges bounded messages over a private local pipe, with both process identities checked. The service retains responsibility for writing the RTSS profile; no folder permissions or helper privileges are changed.
- RTSS profile updates and restoration can proceed while the RTSS window holds the profile open without delete sharing. Unknown profile settings and keys that were originally absent are preserved. A failed write no longer leaves recovery pending when the profile never changed. Failures now log their actual cause and RTSS path, instead of only reporting that no limiter provider was available.
- Limiter ownership now follows pending and connected streams, independently of retained game displays. Disconnecting the final stream restores the original cap even when the desktop remains available to resume. Reconnecting reapplies the cap before streaming starts; an abandoned launch also releases its changes when it expires.
- Display logs now record the client's virtual-display request, selected display and layout. A capture startup timeout identifies the selected display and suggests a virtual display when streaming with the physical monitor off. The reported Artemide monitor wake-up issue remains under investigation; these diagnostics do not claim to fix it.
- Verified the installed SYSTEM service applying a 59.94 FPS RTSS cap on an RX 7900 XT. A separate SDK reader confirmed the fractional profile and enabled limiter, and a renderer requesting 240 FPS on a 120 Hz virtual display presented about 59.94 FPS. The service also captured a native HDR AV1 stream through the WGC user helper with compute enabled. The RTSS fixture additionally covers restoration, unrelated flags, helper crashes and a bounded timeout for a stalled SDK.
New in rc.4 #
- WGC selected by the installed service now runs capture in a hidden process belonging to the signed-in user. This addresses the
CreateForMonitorerror0x80070424observed when SYSTEM tried to open the per-user Windows capture broker. Three synchronized GPU textures transfer frames to the host without CPU readback; compute copies remain enabled on supported AMD GPUs. - The helper has bounded frame queues, peer identity checks and automatic cleanup. A helper exit reopens capture through the existing recovery path. Lock and UAC desktops select Desktop Duplication, with WGC retried when the normal desktop returns. Logs distinguish requested capture from the actual backend.
- Verified through the installed SYSTEM service on an RX 7900 XT: a signed-in-user helper captured a native HDR virtual display at 2184×1968 for an AV1 120 FPS session, with compute enabled at both ends. The client confirmed correct pictures and responsive input. This confirms the service fix; it is not a controlled 120 FPS performance measurement.
- Portable helper validation passed seven local 720p60 motion cases, including HEVC, AV1, HDR output from an SDR source, and compute disabled. Each sustained 60 fresh pictures per second with no decode errors. Forced helper termination recovered WGC in 357 ms and all 1,249 received pictures decoded successfully. The helper's performance under heavy GPU load remains to be measured.
New in rc.3 #
- A stream configured for WGC now falls back to Desktop Duplication if WGC cannot open at startup, matching capture recovery. Logs preserve the Windows error and identify the fallback. This keeps the stream available; it does not provide service-mode WGC or establish equivalent VRR/frame-generation capture.
- WGC compute copies are now on by default on supported AMD GPUs. On the RX 7900 XT fixture, mean decoded picture age fell from 14.8 to 11.5 ms at idle and from 52.9 to 34.6 ms under heavy GPU load. Loaded fresh-picture delivery was about 3% lower (51.4 to 50.0 FPS); neither path sustained 60 FPS under that stress. Unsupported sharing falls back to graphics copies. Set
wgc_compute_copy=falsein the configuration, restart the host and reconnect to compare;gpu_compute_conversion=falsedisables all compute copies and conversion. These measurements do not establish the RX 9070 XT result. - Capture recovery no longer adds a fixed 150 ms pause. Each active stream releases its old encoder, frames and filters before capture reopens. Failed reopen attempts retain a bounded retry delay.
- If compute cannot share a captured texture, fallback now copies that same frame. Previously a static desktop could stall while waiting for another update. Desktop Duplication also logs its actual format and dimensions on each open to help diagnose restarts.
- Active capture now keeps the display awake, matching Vibepollo. The request ends with the capture worker and restores the thread's previous power requirements. This addresses capture being starved when Windows turns off an idle display.
- Video packet pacing no longer produces catch-up bursts after a late send. It accounts for wire overhead and caps known local Ethernet routes at 80% of link speed. A wired host still cannot infer a Wi-Fi client's capacity; the reported RX 9070 XT latency difference remains under investigation.
New in rc.2 #
- The mouse pointer no longer disappears. Desktop Duplication reports the pointer's shape only when it changes, so every capture restart (a mode change, the secure desktop, another client's display arriving) lost the pointer until it changed shape. It is now carried into the new capture.
- HDR10 metadata in AMF streams. HEVC and AV1 streams from AMD now carry the mastering display and content light level metadata and signal their colour range, as FFmpeg-based hosts do. Verified in the bitstream for HEVC and AV1, limited and full range.
- Host errors are no longer silent. A stream that ends on a host error used to return Moonlight quietly to the app list, as if the stream had been closed on purpose. Moonlight now shows an error with a code, and the host log says why (
session failed). - A packet Windows can't send right away no longer ends the stream. Video and audio packets are dropped instead, as Vibepollo does, and the video socket gets Vibepollo's 1 MB send buffer.
- Measured against Vibepollo 2.0. At 1080p60 HEVC HDR on the same PC with the same encoder settings, the picture reached the client in 13.8 ms against 16.0 ms idle, and in 42.4 ms against 96.4 ms beside a game-like GPU load, with 51 rather than 24 new pictures a second. Decoded HDR colours match the expected values on both hosts.
Install #
rubylight-setup-2.1.0.exeinstalls or upgrades the host, theApolloServiceservice, the virtual display and gamepad drivers, firewall rules and shortcuts, and can uninstall them. Settings, paired devices, the library and covers are kept.- For a portable copy, extract
rubylight-2.1.0-windows-x64.zipand open Start Rubylight.exe. The first launch offers to import a Vibepollo or Apollo profile and leaves the original untouched. Install the drivers separately in that case. - These are unsigned test builds. Keep a copy of your configuration and the previous installer for rollback.
Lower latency #
- On supported AMD GPUs, captured frames are copied and converted on D3D12 compute queues, and AMF encodes from D3D12. This reduces waiting on the game's graphics queue. In the historical full AV1 HDR 1968×2184 120 fps comparison beside a heavy GPU load, the picture arrived 7-9 ms sooner, and 50 rather than 45 new pictures reached the client each second. Idle, it arrived about 0.6 ms sooner; encoding was already at the hardware limit (2.8-3.3 ms).
gpu_compute_conversion(Settings › Capture) turns this off. - Current defaults use WGC capture with guarded source-phase pacing, AMF
speedquality, and a virtual display at twice the stream rate. The earlier Desktop Duplication comparisons remain in PERFORMANCE.md as historical measurements; explicit Desktop Duplication remains available. - Video FEC uses 21-29% less CPU time than the C++ host, with identical output; encrypted packets avoid extra copies.
Vibepollo 2.0 features #
- Moonlight pairing (PIN and one-time PIN), per-device permissions, display modes and overrides,
/bitrate,/unpair, and the virtual display, permission and frame limiter replies of Vibepollo. - H.264, HEVC, AV1, HDR, 10-bit SDR, 4:4:4 where supported, PyroWave and VRR with Nonary's Moonlight client, and reference frame invalidation.
- Per-device virtual displays with exclusive, extended, primary and isolated layouts, golden layout restore and the restore hotkey.
- Steam library sync with covers, and streams that end when the Steam game exits. Playnite through Vibepollo's plugin (shipped in the package), including the fullscreen app. Lossless Scaling profiles and frame generation per app.
- Frame limiting through RTSS and NVIDIA profiles, NVIDIA Smooth Motion and RTX HDR.
- A new web console: overview with performance history, library with Steam and Playnite, devices, settings, logs, maintenance and API tokens.
- Tray notifications for pairing requests, new versions and an app starting, pausing, resuming and stopping, and "Check for updates" in the tray menu; release checks that skip streams.
Left out on purpose: WebRTC streaming, session history and host statistics pages, the SudoVDA fallback, and Linux and macOS hosting.
Details: Features for everything the host does, PERFORMANCE.md for measurements and how to reproduce them.