RamazanKara/Rubylight
Über uns
Free, open-source game-streaming host for Windows PCs with AMD Radeon or NVIDIA graphics. Play your PC games on your TV, phone, handheld, laptop or in a web browser: low latency, HDR, a virtual display sized for each device, per-game settings, couch co-op and USB forwarding. Works with Moonlight, Artemis and Nightjar.
Spiele und EmulationGemessener Sternzuwachs
- in 24h
- +7
- in 7 days
- Verlauf wird gesammelt
- in 15 days
- Verlauf wird gesammelt
- in 1 month
- Verlauf wird gesammelt
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
README.md
Original
Low-latency PC streaming built in Rust, with its own drivers and smooth motion from the couch.
Rubylight is a free, open-source Windows game-streaming host for AMD Radeon and NVIDIA GPUs. It cuts hidden capture, GPU and pacing queues across the entire frame path, ships its own signed virtual display and gamepad drivers, puts every launcher in one library, and restores your monitors and GPU driver profiles cleanly when you finish.
Works with Moonlight and every Sunshine-compatible client, and does more with Nightjar, the client built alongside it.
Download 7.1.2 · Get started · What you get · Why Rubylight · Nightjar · Documentation · Release notes · Website

The console in half a minute: the library, a game's own settings, search, stream history, clips and the live stage. Watch it as a video
What you get
Engineered in Rust for low latencyDirect virtual-display capture, D3D12 compute queues beside your game, native AMF & NVENC with bounded queues, and zero silent encoder fallbacks.Latency & pipeline |
Even pacing, Frame Warp 2 & Real VRR480/1000 Hz virtual displays with low idle GPU load, VRR-aware claims, Phase Lock, Frame Warp 2 3D homography with crosshair lock, Real VRR, PyroWave beam racing and 4K slices.Smoothness & pacing |
Zero-latency cursor & live switchingClient-drawn cursor at native refresh in Nightjar Desktop (Captured mode too), Android and browsers, plus mid-stream monitor switching (Ctrl+Alt+Shift+F1–F12).Displays & cursor |
First-party signed driversBuilt-from-source signed virtual display driver and UMDF2 VHF virtual gamepad driver (DualSense, Xbox, Switch Pro and wired 2026 Steam Controller with 250 Hz gyro) included.Drivers & controllers |
Every launcher, synced across devicesSteam, Epic, Battle.net, EA app, Ubisoft Connect, GOG, Xbox, Playnite and folders with covers, collections, a launch curtain and Host Hub Sync across paired Nightjar devices.The library |
Per-game & per-device setupsRadeon & NVIDIA driver profiles, RTSS limits, Lossless Scaling, fence-synced RTX HDR & Video, Neural Rendering and per-device game configs, all put back on exit.Per-game settings |
True HDR, 4:4:4 & Couch Party AudioHDR10, HDR10+, Dolby Vision, HLG, BT.2446 HDR-to-SDR highlights, linear-light HDR text, full 4:4:4 colour, 7.1.4 passthrough, Couch Party Audio mixing and per-game PC speakers.Picture and sound |
Play together & stream in a browser4-player split-screen co-op, background streaming, WebRTC/play & guest links with nothing to install, Continue here, Dual screen and serverless P2P internet play.Co-op, guests & WAN |
Resilient on real Wi-Fi & WANPacket-arrival and standing-queue congestion control, bounded Wi-Fi and wired-loss adaptive pacing, oversize scene-cut protection, no-keyframe LTR recovery and IP roaming.Network resilience |
Pause a game, save instant clipsQuick Suspend pauses the running game from Nightjar or the console and resumes it on any device; Instant Replay saves the last 30–120 seconds as an MP4 clip without re-encoding.Quick Suspend & clips |
A console that explains itselfQR pairing,Ctrl+K search and actions, a live stage showing where each frame's time goes, a display map, Sessions history, Log analysis and redacted one-click support bundles.The console |
Wake the PC from awayAn always-on home PC running Nightjar's wake relay (GUI toggle or CLI) wakes your sleeping PC for Nightjar on desktop or Android from away, with no port forwarding and no server of ours.Play anywhere |
A closer look
Engineered for latency and smoothness
Rather than tuning one benchmark in isolation, Rubylight removes hidden queues and cadence mismatches across the entire frame path, and gives you live per-stage telemetry on Home plus an optional per-frame CSV record to inspect your own setup:
- Direct capture & GPU compute beside the game. On Rubylight virtual displays, the driver pushes composed frames straight to the encoder path; physical monitors use Windows Graphics Capture with automatic Desktop Duplication failover (plus constant-rate WGC so still desktops and capped games never starve) and clean HDR recovery across exclusive-fullscreen mode switches. Colour conversion, scaling and HDR scene luminance analysis run on D3D12 compute queues alongside your game, with direct linear-light HDR filtering and static-desktop repeat-cache reuse so unchanged frames skip redundant GPU conversion and RTX neural passes.
- Native AMF and NVENC with stream presets. Drives Radeon AMF and NVIDIA NVENC directly without generic wrappers, using codec-tuned defaults (Balanced, Lowest latency, Reference quality) and testing encoder modes at startup so failures are visible instead of silent. Native D3D12 NVENC caps queued frames in flight (one in Lowest latency, two by default) with safe D3D11 fallback, fence-synced RTX HDR/Video swaps without tearing down the encoder, and tight single-frame VBV control; AMD AMF tracks queue-drain timings for high-refresh diagnostics.
- VRR-aware capture & Phase Lock. Under variable refresh rates, Rubylight briefly waits for the game's upcoming present instead of encoding an old frame. With Nightjar, Phase lock (
phase_lock, toggleable globally, per device or per game) times arrivals right before your screen latches, protects 1-fps-below-refresh game caps (59/89/239 fps) from being pulled back up, and keeps capped games moving as they arrive. - Frame Warp 2 & Real VRR (with Nightjar). Frame Warp 2 projects mouse, right-stick and gyro camera turns through a full 3D rotational homography onto the next screen refresh, with joint stick+gyro learning, central reticle crosshair lock so your aim point stays pinned, HDR-safe border fades, and pinned-cursor gating so hidden game cursors never trip the menu check (how it works). Real VRR presents decoded frames on the game's own PC timeline on G-Sync, FreeSync, HDMI VRR and adaptive Android panels (how it works).
- PyroWave, beam racing, 4K slices & early FEC blocks. PyroWave streams low-latency 4:4:4 HDR wavelets over fast local networks and can beam-race frames top-to-bottom on desktop Nightjar, while 4K H.264/HEVC slices and per-block FEC dispatch put first packets on the wire before encoding finishes.
- Adaptive bitrate, bounded pacing & fast recovery. Packet-arrival congestion control and startup standing-queue detection catch queue buildup before loss, wireless clients start with bounded adaptive burst pacing that steps down cleanly on congestion, wired streams with sustained loss adaptively pace and probe back up without cutting bitrate, short losses repair via long-term references without keyframe stalls, oversize scene cuts re-encode safely and mobile sessions roam across IP changes.
- Know exactly where time went. A running stream shows live frame rate, encoder timing, bitrate decisions and which host stage lost time (capture, convert, encode, packetize or send). Sessions stores history across streams, and Timing record writes synchronized per-frame CSVs.
Measured on real hardware
| What was measured | Result |
|---|---|
| p95 picture age under GPU load vs. Vibepollo 2.0 | 43–48% lower (21.56 vs. 37.62 ms HEVC; 18.96 vs. 36.77 ms AV1) |
| Direct virtual-display capture & 4K HDR compute | 0.22 ms capture; 0.19 ms 4K HDR conversion (−39% in 6.3.3) |
| Capped-game pacing & VRR capture freshness | 0.04% off-cadence frames at 1000 Hz vs. 2.22% at 240 Hz; 0.25 ms median encoder age |
| End-to-end Wi-Fi age & host mouse input | 6.92 ms median picture age (0.92 ms decode, 0 lost frames at 5% loss); 0.14 ms mouse injection |
| 4K slices, scene cuts & 4K120 PyroWave | 1.2–1.4 ms earlier 4K60 HEVC arrival; 0 freezes on oversize scene cuts (down from 15); 2.7 ms PyroWave 4K120 decode, 0 lost frames |
Full methods and runs are in Performance, and you can inspect your own PC live on Home's stage or with Timing record.
Every launcher, one library
Turn on a launcher and its installed games appear with their covers: Steam, Epic Games, Battle.net, EA app, Ubisoft Connect, GOG, Xbox and Microsoft Store, Playnite, and folders such as D:\Games. There is nothing to type in and no shortcut to make, library sync runs by itself, and Steam collections, Playnite categories and play times come along. With Nightjar, the library becomes a Home with covers, a shelf per store on the TV, sorting by title/last played/play time and Wake-on-LAN, and Host Hub Sync keeps per-game launch profiles, library metadata and ETag-cached cover art synchronized across your paired Nightjar devices with per-device isolation.
With Launch curtain on, Nightjar shows the game's cover instead of the desktop, store windows and splash screens while a game starts. Rubylight brings the game in front of its store's window, and a launcher that wants a sign in or an update, or a Windows administrator prompt, shows on the device with Show PC screen. Rubylight never clicks into a launcher, and the curtain always lifts after 45 seconds.
A display for every device
Each phone, TV or handheld gets a virtual display through Rubylight's own signed driver at its exact resolution, fractional refresh rate (including 480 Hz and 1000 Hz modes with low idle desktop GPU load) and HDR mode, and remembers no faster rates from earlier streams that could lure fullscreen games into wrong refresh modes. When a stream ends, even after a crash or lock/unlock transition, your physical monitors, modes and Windows DPI scales return as you left them.
- Zero-latency client-side cursor. Rubylight's virtual display driver separates the hardware cursor (alongside Desktop Duplication) and streams live cursor shapes and positions (
0x5540–0x5542) so Nightjar Desktop (including Captured mouse mode), Nightjar Android and WebRTC browsers draw your pointer locally at your display's native refresh rate. When RTX HDR or RTX Video runs on a virtual display, the cursor separates before enhancement so it stays crisp and bright, and Encoder Focus centers its hotspot ROI on the cursor. - Live monitor switching. Press
Ctrl+Alt+Shift+F1–F12during a desktop or game stream to switch capture across active monitors without disconnecting or dropping held modifier keys; joined guest streams follow automatically. - Launch focus recovery. If a game starting on a virtual display is minimised or left behind a launcher window like Steam during its exclusive-fullscreen mode switch, Rubylight brings it cleanly back to the front without stealing focus from apps you opened locally.
- A game's window instead of the display. Stream only a game's window, or its window while it is in front and the whole display while you Alt+Tab, without restarting the stream.
- Move or extend a running game. From Nightjar, Continue here moves the running session to the device you hold, Stream here too joins from a second screen and Dual screen mode streams a second display beside the game.
- Play in a browser. A PIN-paired WebRTC server streams H.264, HEVC or AV1 with HDR, surround sound, gamepads, zero-latency client-side cursor,
transport-ccadaptive bitrate, 12-second network-handover recovery with trickle ICE and clean mouse release (Ctrl+Alt+Shift+Zor clicking outside) directly to browsers and Samsung TVs. Browser streaming - Physical displays & lock screens. Stream existing monitors unchanged, including the Windows lock screen, UAC prompts and headless machines and VMs, so you can unlock and control the PC from the couch.
Set up for each game and each device
Every game can carry its own stream, display, input and encoder settings (including Phase lock and Play audio on this PC too), RTSS frame limits (automated when RTSS is installed), a Lossless Scaling profile and a graphics driver profile, applied at launch and restored at session end.
- Graphics driver profiles. Competitive, Smoothness, Quality or your own list of Radeon or NVIDIA driver settings (Anti-Lag, Radeon Chill, NVIDIA Low Latency/Reflex, Max Frame Rate, Anisotropic Filtering, Smooth Motion and optional Force VSync on for virtual display streams on NVIDIA). Rubylight snapshots the PC's values first and restores them on exit or crash recovery.
- RTX HDR, RTX Video & Neural Rendering. On GeForce RTX cards with the optional NVIDIA components downloaded on the console, toggle RTX HDR (turning SDR games into HDR) and RTX Video enhancement globally or per game, with fence-synced mid-stream toggles that swap textures without tearing down the encoder when format and resolution stay the same. On supported Radeon and GeForce cards, a per-game switch also installs and removes Neural Rendering frame generation for DLSS-FG games cleanly with pre-flight checks.
- Game settings files per device. Keep separate 4K TV and 1080p handheld config files automatically, returning the PC's own files when the game exits.
- Tune mid-game. Nightjar's Control Center switches bitrate, frame rate and GPU driver settings without restarting the game.
- See who decides a setting. On a game's or a device's page, each stream setting shows which layer decides it (this game on this device, the game, the device or the host), every layer's value and Reset to inherited.
The picture and sound your setup can play
HDR10, HDR10+, Dolby Vision and HLG with per-scene GPU brightness metadata for dynamic display tone mapping, linear-light HDR chroma filtering (so ClearType text keeps its colour instead of turning magenta), Windows Desktop Duplication SDR content brightness following DISPLAYCONFIG_SDR_WHITE_LEVEL, optional display-peak-aware Keep HDR highlights in SDR streams (ITU-R BT.2446 Method B), and clean fallback to 10-bit SDR whenever a display stays in SDR. Full 4:4:4 chroma stays sharp through PyroWave, packed 4:4:4 for Nightjar or native hardware 4:4:4 H.264/HEVC on capable NVIDIA encoders.
Audio supports up to 7.1.4 Opus surround, game-only audio isolation, night mode, headphone surround and uncompressed PCM / Dolby Digital / Dolby Digital Plus passthrough straight to AV receivers and TVs. Couch Party Audio lets each connected Nightjar device balance game and party voice volume, duck game sound when someone speaks (−6 dB or −12 dB), and mute, scale or stereo-pan each guest individually, bypassing the mixer completely in solo streams with zero added latency. Play audio on this PC too (play_audio_on_pc, configurable globally, per device or per game, or from Nightjar during a stream) mirrors game audio to your PC's speakers or AV receiver and restores your Windows default output safely on disconnect or crash.
Every controller
Rubylight builds and ships its own first-party UMDF2 VHF virtual gamepad driver from source, installing automatically so controllers work out of the box. It matches each device to a DualSense (with adaptive triggers, touchpad and motion), Switch Pro, Xbox Series / Xbox One, or wired 2026 Steam Controller (dual trackpads, back grips, capacitive stick touch, 250 Hz gyro polling and pre-arrival firmware attributes). Tools like reWASD retain optional Xbox 360 / DualShock 4 ViGEmBus support. Optional USB/IP support adds full DualSense waveform haptics, headset audio, Switch 2 Pro Controllers, genuine Steam Deck pads and USB device forwarding, while a virtual USB mouse driver keeps relative mouse look and precision touchpad gestures native, paired with zero-latency client-side cursor rendering across Nightjar and WebRTC browsers. Clients that play a DualSense's speaker in Vibepollo's format, such as Nonary's Moonlight, get the game's controller speaker sound too.
Pause, replay and record
Quick Suspend pauses the running game's own processes from Nightjar's Control Center or the console's Home, and resumes it later from the same device or another. Rubylight writes down what it paused before it pauses anything, so the game is resumed if Rubylight stops or crashes, and it refuses, with the reason, while anti-cheat runs on the PC.
Instant replay keeps the last 30 to 120 seconds of the stream in memory. Save them as a clip from Nightjar or the console's Clips page, or start and stop a recording, without encoding again: clips are MP4 files with the stream's own codec, colour and HDR. Both are off by default (Quick Suspend, Stream DVR and clips).
Play together
A game that Nucleus Co-op supports gets a "(Co-op)" entry for up to four independent instances on one PC, each with its own picture, audio and virtual controller, keeping slots reserved across brief disconnects.
- Guests on your game & background streams. Invite a second paired Nightjar device with granular permissions, or stream your own game instance in the background while someone else keeps using the PC's desktop, mouse and keyboard.
- Friends in a browser or over the internet. Generate time-limited WebRTC guest links for up to four browser friends with no account or app needed, or share one-time
rubylight://invitelinks for Nightjar friends without forwarding router ports. Guests in the browser · Guest devices
Play anywhere & run the PC from the couch
- Tailscale, router mapping & direct P2P. Private VPN walkthroughs in Nightjar, automatic UPnP/PCP/NAT-PMP & IPv6 pinholes, serverless peer-to-peer NAT traversal with zero relay servers (Play over the internet), Wake-on-LAN across physical adapters, plus permission-gated sleep/wake/reboot, host updates, custom PC commands and couch microphone control.
- Wake from away. With Away wake relay, an always-on computer at home running Nightjar's desktop client (via its GUI relay toggle or
nightjar wake-relay, such as on a Linux mini PC) wakes the sleeping PC for Nightjar on a paired desktop or Android device that is away, over the same direct path. It sends Wake-on-LAN only on your home network and only to your PC (Wake the PC from away).
A console that explains itself
Open https://localhost:47990 on the PC. Home walks through QR/PIN pairing and system checks with one-click fixes, and while a device streams, its live stage shows the stream's health, frame rate, bitrate and host frame time over the last two minutes, and where a new picture's time goes on this PC. Settings has the everyday choices and All settings keeps every other group folded cleanly in tabs until you customize or open it; Ctrl+K finds games, devices, settings and actions; Sessions keeps per-stream metrics, Troubleshoot draws a map of your displays, and Help reads butterpollo.log and explains the problems it recognises. The console follows Windows' light or dark theme, the couch menu drawn into the stream shares its look, and the tray icon's dot shows whether a device streams.
When the virtual display or gamepad driver goes missing, the service sets it up again by itself, and --repair on the installer starts a stopped service and puts back the drivers, the firewall rule and the Start menu shortcut (A driver is missing).
Home. Ready to play, paired devices and active alerts. |
Settings. Clear everyday choices, backed by plain explanations. |
Sessions. What streams now and every ended stream's record. |
Add games. Discovered across launchers automatically. |
Devices & QR pairing. Scan once in Nightjar or enter a Moonlight PIN, with permissions per device. |
Display map & diagnostics. Physical monitors and active virtual displays at a glance, plus automatic log checks. |

Host-drawn couch menu (`L3 + R3`). Works on unmodified Moonlight clients too—adjust Radeon settings, night mode or quit the game straight from your controller.
The console pictures and films on this page show a demo PC, library and sample telemetry.
The feature reference lists everything else, from lock-screen streaming to the HTTP API and webhooks, and the release notes record every change.
Nightjar, the client built alongside it

Nightjar with a controller: Home, a game's page, the Control Center and the on-screen controls. Watch it as a video
Nightjar shares one Rust streaming engine (nightjar-core) across Android phones, handhelds, Android TV, Fire TV, Windows, Linux (including Steam Deck Game Mode & DRM/KMS) and macOS (with Own Space fullscreen, MetalFX upscaling and KosmicKrisp Vulkan for PyroWave). It connects to any Moonlight host, and with Rubylight adds the Obsidian Ruby 7.0 4-tab Control Center, Host Hub Sync, Couch Party Audio, zero-latency client-side cursor, Frame Warp 2 3D homography with crosshair lock, Real VRR, QR pairing, the cover-art library, PyroWave and packed 4:4:4, Dolby Vision, HDR10+, custom Vulkan drivers on Mali and Adreno Android devices, mobile FPS touch controls, Steam Controller (2026) direct HID, GPU driver toggles and one-tap host updates during a stream, Quick Suspend, Instant replay, Stream Doctor, the launch curtain, Continue here, Dual screen, clipboard sync, file transfers, USB forwarding, guests and co-op. Free and open source, with no accounts, ads or tracking.
![]() Made for handhelds. Home, the library and the Control Center follow the controller. |
![]() On the desktop too. Windows, Linux and macOS with Auto UI scaling and touch support. |
Works with the client you already have
Rubylight speaks the Moonlight protocol and preserves its protocol version, so unmodified clients work as they do with any Sunshine host. Extensions such as PyroWave, packed 4:4:4, HDR10+, Dolby Vision, device-chosen error correction and the native API are capability-negotiated: a client receives them only when it asks.
| Client | Platforms | What it adds |
|---|---|---|
| Moonlight | Windows, macOS, Linux, Android, iOS, Apple TV, and community ports such as Xbox | The reference client: H.264, HEVC and AV1, SDR and HDR, as the device decodes them |
| Artemis | Android | Virtual displays matched to the device |
| Nightjar (website) | Android 7.1+, Android TV, Fire TV, Windows, Linux, macOS | Rubylight's companion client: Frame Warp 2, Real VRR, zero-latency cursor, Host Hub Sync, Couch Party Audio, PyroWave and packed 4:4:4, QR pairing, full game library, Quick Suspend and Instant replay, Radeon & NVIDIA driver toggles, device-chosen error correction and pacing |
| Nonary's Moonlight | Desktop (a Moonlight-Qt fork) | PyroWave |
| Browsers and Samsung Tizen TVs | WebRTC | H.264, HEVC and AV1 with HDR, surround sound, gamepads, zero-latency cursor and adaptive bitrate, paired with a PIN (WebRTC) |
Get started in three steps
- Install. Download and run
rubylight-setup-7.1.2.exefrom the release. It sets up the Windows service, virtual display driver and virtual gamepad driver. To try Rubylight without installing, extractrubylight-7.1.2-windows-x64.zipand run Start Rubylight.exe. - Pair. Open https://localhost:47990 on the PC and create the console account. Nightjar scans the QR code on Home; for Moonlight, enter the PIN it shows on the console's Devices page.
- Play. Start Desktop or a game from your device, then scale resolution, frame rate, bitrate and HDR to match your screen and network.
Getting started walks through each step, choosing a stream format, importing a profile and updating. Already running another streaming host? Setup can bring its settings and paired devices along, or install beside it: see Coming from another host.
Requirements
| Requirement | |
|---|---|
| Operating system | Windows 10 or Windows 11, x64. Virtual displays need Windows 11 23H2 or later. |
| Graphics | An AMD Radeon GPU with an AMF video encoder and AMD Software, or an NVIDIA GPU with NVENC and the NVIDIA driver (NVENC). AV1 on Radeon needs an RX 7000 or RX 9000 series GPU or a Radeon 780M or 890M. |
| Intel | PCs with only Intel graphics use Rubylight 2.6.x. |
| Network | A local network, your own VPN or Play over the internet; a wired connection for the host is recommended, and PyroWave works best on Gigabit Ethernet or Wi-Fi 6E/7. |
| Client | Any Moonlight-compatible client; see Works with the client you already have. |
The hardware matrix records what has been tested on each GPU generation, Windows version and client, with the evidence for each entry.
What players are saying
“The host latency on my RX 6900 XT is outstanding” — almosnagy |
“My Xbox Series X streaming at 4K120 HEVC HDR has been extremely stable.” — j-scrizz |
“Fantastic job! Host processing latency has never been this low 🎉.” — u/Short_Dimension7967 |
“It's the lowest latency I got after testing a ton of hosts.” — u/LukasSTM |
“My encoding times are actually slashed in half which is incredible.” — u/astero-dax |
“Really liking this setup, thanks for giving AMD some love!” — duwial |
More feedback from players
- “Gameplay felt very smooth.” — j-scrizz
- “stream is running flawlessly.” — SirvanD
- “So far, I'm really enjoying my 9070 XT.” — RunAway189
- “You have been doing an awesome job putting time where it matters.” — mdahal
- “Runs amazing on my 6900XT. There is a noticable improvement in latency the host latency is now much better too.” — u/ChartFlashy6299
- “The difference was especially noticeable when streaming from work over Tailscale.” — u/Amaanx6191
- “I absolutely love what you have done here.” — u/AlphaLo
- “reWASD/joy.cpl are detecting the controller as an XBOX 360” — kagc
Documentation
| Topic | Document |
|---|---|
| Installing, pairing and the first stream | Getting started |
| Displays, HDR, codecs, audio, controllers, per-game settings and every configuration key | Configuration |
| Pairing, picture, colour, smoothness and update problems | Troubleshooting |
| The complete feature set | Features |
| Playing away from home | Play over the internet |
| Co-op, guests and browsers | Co-op · Guests in the browser · Browser streaming |
| Camera turns on the client's next refresh | Frame Warp |
| A VRR screen that keeps the game's rhythm | Real VRR |
| Latency, smoothness, how timings work and how to measure your own setup | Performance · Timing record |
| Tested GPUs, Windows versions and clients | Hardware matrix |
| How the host is built internally | Architecture |
| What the host sends over the network | Privacy |
| Integrations | HTTP API · Native API · Webhooks |
The documentation index lists every guide, reference and engineering note.
Building from source
The host builds with Rust 1.98.1 (GNU target) and MSYS2; the virtual display and virtual gamepad drivers also use Visual Studio with the Windows Driver Kit. From a Visual Studio x64 developer PowerShell:
git clone https://github.com/RamazanKara/Rubylight.git
cd Rubylight
git submodule update --init --recursive
.\rust\build.ps1 -FetchDependencies -Package
The build guide lists the prerequisites, options and outputs. The developer guide describes the crates and how to run the host from source. Nightjar is developed in this repository under client/ and released from RamazanKara/nightjar with its own version numbers; Building Nightjar covers its toolchains.
Support
Report problems in GitHub issues and attach the support bundle from the console's Help page. Sponsorship goes towards a code signing certificate for the installer and the virtual display driver (#55).
Project status
- Rubylight is developed on
mainfor AMD Radeon GPUs with AMF and NVIDIA GPUs with NVENC, and Nightjar is the matching client. Patch releases fix bugs and minor releases add features; the release notes list every change. PCs with only Intel graphics use Rubylight 2.6.x. - Rubylight was called Butterpollo until October 2026. The executable (
butterpollo.exe), the profile folder (%ProgramData%\Butterpollo) and theBUTTERPOLLO_*environment variables keep that name, so existing installations and scripts continue to work.
Credits and license
Rubylight is licensed under GPL-3.0. Everyone who helped, with their GitHub names, is in CONTRIBUTORS.md.
- It began as a fork of Vibepollo, whose native AMF encoder came from the same author (#342). Improvements made here are GPL-3.0 and available for Vibepollo to adopt.
- Thanks to Nonary for Vibepollo, ClassicOldSong for Apollo, and LizardByte and the Sunshine contributors.
- The AMD encoder's low-latency defaults, the statistical video FEC and the encoder/FEC budget split draw on qiin2333's and the contributors' work in AlkaidLab's Foundation Sunshine. The HDR10+ and HDR Vivid metadata writers, their GPU luminance statistics and the HLG encoding curve are ported in part from the Foundation Sunshine authors' code (GPL-3.0), as are the BT.2446 Method B conversion of HDR desktops for SDR streams, the AMF video converter option with its HLG prepass and AMD Direct Capture's settings for capturing AMD Fluid Motion Frames, and per-app stream-menu commands and the settings backup and restore follow theirs. The per-app RTX HDR and RTX Video enhancement, and the HDR proxy RTX Video enhancement uses, follow their image enhancement design; the NVIDIA component and its adapter's NGX set-up follow their native sideload components and TrueHDR adapter. Forcing NVIDIA's Vertical sync on for virtual display streams follows theirs too.
- The NVIDIA encoder's native YUV 4:4:4 input, its conversion layout and capability check are ported from LizardByte and the Sunshine contributors' Sunshine (GPL-3.0), compared against Foundation Sunshine's copy of the same path; the DSCP switch follows Sunshine's.
- KosmicKrisp, the Vulkan-on-Metal driver Nightjar for macOS bundles, is by LunarG and the Mesa contributors (MIT); the Vulkan loader and SPIRV-Tools are by The Khronos Group (Apache-2.0).
- PyroWave and Granite are by Themaister (MIT); the PyroWave Moonlight protocol and clients are joemossjr16's work.
- Composite DualSense haptics draw on Nonary's Vibepollo protocol and its DualSense rumble-stop fix, Chase Payne's libvirtualgamepad USB reports and HIDMaestro contributors' composite descriptors.
- PlayStation controller speakers for Nonary's Moonlight and Nightjar's speaker over Bluetooth follow Nonary's speaker PCM format and Chase Payne's Bluetooth audio reports in Nonary's moonlight-qt, built on mrFunkill's DualSense research.
- The virtual Steam Controller is jlobue10's profile in Nonary's libvirtualgamepad, and the host maps clients onto it as Nonary's Vibepollo does; Nightjar's Steam Controller (2026) Bluetooth LE support follows jlobue10's Moonlight Android and Qt drivers (GPL-3.0), Linux
hid-steam, SDL's Triton driver (zlib), andSteamController-Android(MIT). - The DualShock 4 on ViGEmBus follows Nonary's Vibepollo, built on LizardByte and the Sunshine contributors' DualShock 4 emulation.
- The virtual Switch 2 Pro Controller follows Alia5's libVIIPER, Luiz Filipe Bandeira's and the contributors' Solstice and SDL's Switch 2 driver by Sam Lantinga and the SDL contributors (zlib).
- The DSU motion server speaks the protocol of Jays2Kings', Ryochan7's and schmaldeo's DS4Windows, with the settings and port of the Foundation Sunshine authors' server.
- Clipboard sync uses the control message frame of qiin2333's Moonlight V+ (GPL-3.0), and Nightjar's controller button hints follow qiin2333's and the contributors' Moonlight V+ PC (GPL-3.0).
- Nightjar's MediaTek decoder keys follow ClassicOldSong's Artemis and derflacco's fork of it, branch
Artemide_Experimental_Async(GPL-3.0). - Nightjar desktop predicts the display mode of Windows' Fullscreen by the rule of SDL's
SDL_GetClosestFullscreenDisplayMode, by Sam Lantinga and the SDL contributors (zlib). - Nightjar's SGSR 1 upscaler is Qualcomm's Snapdragon Game Super Resolution 1 (BSD-3-Clause).
- Nightjar's per-controller gyroscope mapping and motion readings are ported from jvanderv42's Nightjar fork (GPL-3.0).
- The virtual mouse and its Automatic / Virtual mouse / Injection choice follow the Foundation Sunshine authors' virtual mouse, and device touchpads use their touchpad packets; the virtual precision touchpad's reports follow Bingxing Wang's (imbushuo) mac-precision-touchpad (MIT).
- Rubylight's virtual display driver, zero-copy in-driver virtual display encoding pool and AU ring consumer are based on Enrico Bühler's (unom) pf-vdisplay driver and AU transport from punktfunk (MIT OR Apache-2.0).
- Rubylight's virtual gamepad driver is adapted from Chase Payne's Nonary/libvirtualgamepad (MIT), including jlobue10's Steam Controller (2026) profile.
- Background streaming and co-op run games through SplitScreen.Me's Nucleus Co-op (GPL-3.0) and Ilyaki's ProtoInput (MIT), which you download yourself; Rubylight neither bundles nor downloads them.
- Neural Rendering's frame generation installs apex-compute's ANR (no license published), which the host downloads only at your request and copies unmodified into the game's folder; Rubylight bundles none of it. Rubylight 3.0's Neural Rendering used 3zwr1's AMDNR (GPL-3.0, an OptiScaler fork) and Kien's lmxxf runtime (MIT) the same way until 2026-11-14.
License · Third-party components · Project history · Code signing policy · Privacy
Windows releases after 4.7.1 are signed with a Certum code signing certificate for open-source developers (Open Source Developer Ramazan Kara); earlier releases are unsigned.
Copying or building on this code? Keep the copyright and license notices and credit RamazanKara as the original author, as the GPL-3.0 requires for notices and modifications. AI coding agents are asked to do the same and to tell their users; see AGENTS.md.
The name Butterpollo came from a tester's verdict: “smooth as butter.”
Thank you to everyone who opened pull requests, reported bugs, requested features and tested builds; you are all in CONTRIBUTORS.md.
Ähnliche Projekte entdecken
Wird geladen…

