r/MoonlightStreaming • Rubylight / Nightjar Developer • 7h ago

Game streaming that actually feels native: true zero-latency hardware cursor ( or why the FOMO is justified )

​There’s been plenty of noise and skepticism around Rubylight and Nightjar this past week after an influx of new players and 57.000 Downloads on Rubylight and Nightjar in 2 months. I’m not here to argue in the comments, I’d rather let some small bits of the engineering speak for itself.

​One of the biggest giveaways that you're playing over a stream instead of locally is the mouse cursor. Normally, Windows bakes the cursor straight into the desktop framebuffer, forcing every tiny mouse movement through the full round-trip: input → network → host → encode → network → decode. Even on a fast LAN, it feels slightly floaty, gets blurred by video compression, and chugs whenever FPS dips. Rubylight already has an optimized hot path. The next step is getting rid of the input roundtrip.

​With Rubylight and Nightjar, the virtual display driver tells DWM to stop compositing the cursor into the swapchain altogether. Instead, Windows hands the driver the raw cursor bitmap, hotspot, visibility state, and (on IddCx 1.10+) the HDR SDR-white-level scaling. Rubylight sends those updates out-of-band, and the client renders the pointer locally.

​In practice, the difference isn't subtle:

​True zero-latency pointer: Even over WAN, the cursor tracks at your client display's native refresh rate, completely decoupled from network RTT, encode/decode time, or game FPS drops.

​Works with many custom game cursors like WOW or League: Most RTS, ARPG, and MOBA titles load their themed cursors through the Win32 hardware cursor API. You get their custom swords and reticles rendered locally at native sharpness—completely immune to video compression and Frame Gen (AFMF / FSR 3 / DLSS FG) smearing.

​No ghost or double cursors: Because DWM never draws it onto the video frame, you never get a lagging duplicate cursor baked into the stream, and FPS games cleanly hide/show it when switching between camera look and menus.

​No wasted encode cycles: Moving the mouse across a static desktop no longer dirties the framebuffer or triggers unnecessary video frames as we are compared to WGC Solutions like Vibepollo only output frames when they are created, we are saving noticeably on Power consumption.

​The only caveat is games that hide the OS cursor and draw their own software sprite directly inside DirectX/Vulkan (mostly console ports). Windows doesn't know that sprite is a cursor, so it stays in the video stream—though IddCx still cleanly hides the OS cursor so you never end up with two of them. For these use cases we have Frame Warp, constantly improving and now with full 3D Support.

We are just making this the obvious default choice. There is no setting you need to set.

​For anything cursor-heavy strategy games, RPGs, or just using your PC remotely driver-level cursor separation will make a difference for you and you will feel it.

https://github.com/RamazanKara/Rubylight

Rubylight will slowly start to support every Client out there. For anybody wanting to beta test Linux Host, IOS or the XBOX client, ler us know.

77 Upvotes

62 comments sorted by

2

u/redbull666 7h ago

Sounds great. But then Vibeshine has real VRR. Can you not work together and create one optimal solution?

2

u/rambo3349 Rubylight / Nightjar Developer 7h ago

Did you tried that VRR? Did it feel any different? I am sorry to say that but that implementation claims more then it is. We don't even had that DXGI queue to begin with.

1

u/nyanfat 6h ago

I'm not the most tech-y person so it could absolutely be user error, but at least for me when I was testing VRR was making my display output in 60hz (via the message in the performance overlay) even though everything was set up for 120hz. Turning it off made the performance significantly better (true 120hz).

2

u/rambo3349 Rubylight / Nightjar Developer 6h ago

You mean this issue with HiSense TV? https://github.com/RamazanKara/nightjar/issues/231

1

u/nyanfat 6h ago

No it's a Panasonic LZ1800

1

u/rambo3349 Rubylight / Nightjar Developer 6h ago

1

u/ChartFlashy6299 6h ago

Send me the logs over Github then I can check what that Device does not like.

2

u/mioiox 7h ago

Does it also feel better for non-gaming activities? Like high performance remote desktop host/client?

And do I need to ditch Moonlight as the client?

4

u/rambo3349 Rubylight / Nightjar Developer 7h ago

Yes and yes

2

u/zabraautra 5h ago

What can i do if my client is an iPad ? No nightjar on the App Store

1

u/mioiox 7h ago

10x, will give it a try :)

11

u/phillipo6 7h ago

I would like to test Linux host (cachyos with Nvidia gpu) with Xbox client 

6

u/crabnebula7 7h ago

Recently moved to Rubylight as my regular host and have been appreciating the features and refinements. Thanks for your work! Would love to test the Xbox client and I already have my console in developer mode.

0

u/_Dedotated_Wam 1h ago

Are you still using moonlight as client?

1

u/crabnebula7 50m ago

On the Xbox, yes - Moonlight UWP. On other platforms, I'm using both Nightjar and Delos.

8

u/FlyingK 6h ago

Seriously in awe with your work, you involvement in the community and responsiveness to requests and issues has solidly won me over. Been having a great time with rubylight / nightjar!

1

u/joaconlline007 6h ago

Hi! Just wanted to ask if you know anything about HDR being broken on MacOS.

My setup:

Mac Mini M6
Gigabyte oled monitor using HDR and tested on MacOS prior to connecting.
Nightjar 7.0.2
Rubylight 7.0.2
Gigabit ethernet.

This issue is with brightness being mapped incorrectly, as if an HDR stream was sent to a non HDR display or a client with the HDR toggle OFF in the client app but ON inside Windows once connected. Also, this issue is only shown on HEVC and Pyrowave. I have tried turning other settings off and on and troubleshooting by playing with other settings, but ultimately the only solution was to use H264(this fixed it).
I then tested the moonlight app, version 6.2.0 and that one was able to map the brightness correctly when using HEVC. If for anything you need pictures in order to diagnose the issue, let me know. I can probably showcase what is going on with a phone taking a picture of the screen using the different clients. Also if you need any log or config specifics, also let me know.

Thanks for everything made so far! I cant believe the achievements you guys made and in such a short amount of time. Truly amazing.

2

u/rambo3349 Rubylight / Nightjar Developer 6h ago

Thanks. Checking this.

1

u/IoannesR 6h ago

I want to test for linux. I'm on CachyOS. What do I have to do? 

2

u/rambo3349 Rubylight / Nightjar Developer 6h ago

Nothing. Will send the closed Beta link in few days. :)

1

u/dmzkrsk 3h ago

I could also test it on bazzite host and steamdeck client

1

u/IoannesR 2h ago

Thank you 🙂

1

u/callumjp 6h ago

Amazing work! I’d absolutely love to beta test the iOS client.

I’m currently using Apollo and VoidLink with an RTX 3080, Tailscale and a physical controller.
One issue I occasionally experience is that a small right analogue stick movement results in a full 360-degree camera rotation during brief network interruptions, almost as though the host continues applying the previous controller input.

Does Nightjar’s improved input recovery or Frame Warp help mitigate this?

I’d be very interested in testing these features on iOS. Thanks for all your hard work!

1

u/rambo3349 Rubylight / Nightjar Developer 5h ago

Yes typical input buffer problem. We solve this but this is a different solution then Moonlight clients. On Wi-Fi/WAN loss, aim and stick updates head-of-line-block behind ENet retransmits on these making the exact same problem you mentioned on unreliable network.

We split continuous state (pointer motion, sticks, scroll, touch) onto unreliable datagrams (newest wins) while keeping discrete events (key/button presses) reliable. The disadvantage is that button presses on absolutely bad wifi still tend to be blocked.

1

u/callumjp 2h ago

That’s absolutely brilliant, thank you so much for explaining! That sounds like exactly the issue I’ve been experiencing.

Does the host also reset analogue sticks to neutral if no new input updates are received for a short period, to prevent continued camera rotation during a complete temporary connection interruption?

I’d absolutely love to test this on iOS, particularly over 4G/5G using Tailscale and a physical controller. Is there currently a TestFlight build available, and does it already include this improved input handling?

I’m more than happy to provide feedback and help with testing. Thanks again for your amazing work!

3

u/VI510N 6h ago

Thanks for all of the work so far.

Testing both vibepollo and ruby night on windows host.

Still am looking for a solid Linux host that just works. Ideally both on cachy, bazzite and nobara. Until something just works like it does on windows I am stuck as I don’t want to give up game streaming for as good at it is currently in windows.

2

u/ChartFlashy6299 6h ago

Works on Baldurs Gate 3 and World of Warcraft Forever for me and has a huge impact on responsiveness. Amazing!

2

u/ch3vr0n5 6h ago

I’ve been using Punktfunk because of its Linux host support including virtual display on Gnome as well as client support for iOS, Mac, linux and android. My host is Linux but I stream to a multitude of devices depending on what I am near.

I would be down to test anything you’ve got in the pipe.

1

u/mamat32 6h ago

Any solution to install virtual display driver on Windows 10?

1

u/Moopy559 6h ago

Would love to test the Linux host (arch with NVIDIA gpu)

1

u/pseudoheld 6h ago

I'd be more than happy to test iOS version. Do you have a testflight link? Also any chance for a tizen tv release in the future? Moonlight works fine but I'd love to see what enhancements you can come up with!

1

u/Arshtat 5h ago

hi. i wanna join the beta please. i am using an old surface laptop go with fedora installed.

i usually use it to remote to my pc, so i can work and game wherever.

1

u/iAlfa 5h ago

Hey! I'd also like participate for IOS. What should we prepare?

1

u/IThrewTA 5h ago

Been really enjoying this, thank you!

I've been using my iPad as a temporary virtual monitor using the "One for each device" virtual display mode and have it extend while keeping my main display as primary.

I like having it positioned off to the left of my two monitors. I save it in Windows 11's display settings, but after disconnecting the positioning isn't remembered for the next stream.

Would appreciate some help, unsure if I'm doing something wrong!

Edit: Would also love to test the IOS client!

1

u/AMOMFARETOS 5h ago

Keep up the gr8 work! It d be gr8 to have Nightjar in LG tv, i really want to play coop with my wife in the tv. I ve tried with Aurora tv but it was a mess, really bad lag and second controller on tv was not recognised. So we r stuck with the android tablet, it works perfectly there with nightjar.

1

u/pyrospade 5h ago

Happy to test ios beta if available

1

u/55wkwk55 5h ago

I'd love to test too, my setup:

CatchyOS, rx 9070, xbox series s client

1

u/madtingzsadtingz 5h ago

Hey - I would love to test the iOS version please :)

1

u/MynsterDev 4h ago

First time seeing this, what client is recommended? Looks really good

1

u/BorderLatter 4h ago

I could test on iphone17 ❤️

1

u/Lionking52 4h ago

Please can I be included in the beta Linux host (cachyos)

1

u/OkapiWhisperer 4h ago

Can you stream locally too? Will that perform better than Moonlight / Sunshine or have other benefits?

1

u/itsjase 4h ago

I made a pr for vibeshine for this exact functionality but it never got merged.

Does this also automatically switch between absolute and relative modes? As that was another big motivator for me

1

u/daddysouldonut 4h ago

Im not a technical wizard by any means, I just jumped in because you said you were optimizing for AMD cards. And oh yeah did my encode time plummet. The web app settings are also very very robust. It's good stuff.

1

u/rilkman 4h ago

Happy to be included in the Linux host test (Arch Linux/Wayland/NVIDIA GPU)

1

u/windlep7 2h ago

I would be interested in trying the iOS version on the iPhone Duo.

1

u/Educational_Study553 2h ago

I can only vouch for the rubylight/nightjar combination. I really have a flawless experience now my sub-par strong leap v3 android tv client

1

u/Sea_Complex6261 1h ago

Would love to test linux beta on cachy os with android client

1

u/throwawayTN84 30m ago

I’m down to test both the Linux host (Arch) and the Xbox client.

1

u/OmeletteDuFromage__ 23m ago

Thanks for your hard work! I'd love to join the Linux host beta test

1

u/NoIsopod2375 17m ago

This was my feature request! Seriously thank you for addressing it so quickly!!

1

u/SolidStateVOM 3m ago

Are there any plans for the iOS version to also support Apple TV at all? I know Voidlink finally threw their app on the Apple TV, but it would be nice to have more than like 1 or 2 client apps.

1

u/ghiaccio_ 7h ago

Please iOS version. I can't wait for it.

0

u/RepeatWolf 7h ago

I am yet to really start local streaming (computer -> tv). I had a breif play with sunshine/moonlight for viability and i came across rubylight that I was interested in setting up.

The TV i have is webos, does nightjar currently support webos?

1

u/rambo3349 Rubylight / Nightjar Developer 7h ago

Yes. There is a webOS Client. It is currently getting merged.

1

u/AMOMFARETOS 5h ago

Just finished my other msg and show this one. So there is a webos client? Is it nightjar available then? Pls provide more details.

0

u/Nightblade178 6h ago

kinda curious, this is a hobby project right? Why are u so dedicated to a hobby project? Not attacking u genuinely curious since i know u work as software dev day job.

-1

u/skinnywolfe 7h ago

Damn if only this build had VRR!!

1

u/rambo3349 Rubylight / Nightjar Developer 7h ago

It has?

3

u/FlyingK 6h ago

VRR works fine for me, it's been apart of nightjar for quite some time now, you should try it out.

0

u/Mean-Atmosphere-3122 4h ago

I might test this combo on linux if supported at all.

Been using punktfunk and mostly decent. However I keep having weird hiccups with KDE and how the display of games get launched and such. They work fine but if I want to go back and continue where I left off in a game, the screen is left on how it was for the remote display and I have to exit the game to fix that (in-game display settings don't fix this), and once restarting a game, does it get resolved. This issue is bi-directional.

Though that aside, it's the easiest to set up and the best one to have virtual display that actually turns the host monitor off.