this post was submitted on 26 May 2024
165 points (97.7% liked)

Selfhosted

40183 readers
519 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

Netris: An open-source cloud gaming platform (GeForce NOW alternative) that can be self-hosted, integrates your Steam game library.

https://github.com/netrisdotme/netris?tab=readme-ov-file#self-hosting

@selfhosted

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 19 points 5 months ago (1 children)

Anyone use it and can compare it to moonlight?

[–] [email protected] 36 points 5 months ago* (last edited 5 months ago) (3 children)

Okay, so full disclosure, I haven't used Netris at all yet, but I have used Sunshine/Moonlight extensively.

Moonlight is an app that's compatible with the Nvidia Gamestream protocol. You can stream directly from Geforce Experience to Moonlight, but Nvidia have deprecated it. Thankfully, an open source implementation of the Gamestream server exists called Sunshine, that is fully compatible with Moonlight (I don't know how much of this you already know but other people will read it too). However, due to limitations in the design by Nvidia, the Gamestream protocol is a 1:1 connection. You get the display out from your PC and Geforce/Sunshine handles launching the app. So if you want a single card to handle two different gamers at once, you have to split it and create VMs, then install Sunshine individually to each one. These resource partitions are often also static.

Netris on the other hand is based off of GeForce Now. Nvidia based it off of Gamestream, insofar as the connection between client device and server. But in terms of the software Nvidia runs on their servers, it's designed to handle dynamic scaling of hardware to accomodate multiple clients. It handles getting however many 720p or 1080p or 4K streams out of a specific card, and can often split them unevenly when needed. As well it handles syncing of cloud saves and the creation and destruction of VMs. So to me it seems Netris is the full package needed for sticking a 3080 in a server and having 4-5 users all be able to utilise the one card to game concurrently.

This will hopefully grow to become an excellent choice for smaller-time cloud providers to compete with Nvidia. And self-hosting it with a beefy CPU setup and SSD storage so it can handle multiple gamers at once. However, if you just want to stream a single PC for a single gamer (or even two seats using a VM running on your desktop) then Sunshine & Moonlight are going to be the better choice.

[–] [email protected] 1 points 5 months ago

Basically you could run a gaming cafe with a beefy card and few cheap desktops, once netris matures.

[–] [email protected] 2 points 5 months ago

Noob question, how's the lag? Playing games like Sekiro for example locally on my desktop, I can't even use a shitty controller as it comes with high latency. I imagine a solution with a game hosted in a remote server would even suffer more than just a laggy controller.

[–] [email protected] 8 points 5 months ago (2 children)

Is there a big advantage to using Moonlight/Sunshine vs the built-in Steam remote play feature? I regularly stream from my desktop to my Steam Deck without too many issues, although sometimes I get weird minor problems (e.g. Banishers Ghosts of New Eden will be noticeably darker, Elden Ring will get random "flashes" where the screen kind of blinks for a split second from time to time). These issues are hardly a big deal for me, so I'm more curious than seeking a true alternative.

[–] [email protected] 7 points 5 months ago* (last edited 5 months ago) (1 children)

My experience the input delay is much much better with moonlight than steam streaming. On a local network. But my reference point is sharing the desktop, so the mouse lag is really noticable.

[–] [email protected] 0 points 5 months ago

Moonlight is also capable of 4k streaming

[–] [email protected] 17 points 5 months ago* (last edited 5 months ago)

In my experiences, Sunshine/Moonlight are a little bit more performant. But what's nicer about them is they are far more configurable, at the disadvantage of being less ready to go out of the box.

Edit: By this I mean you can do things like run bat/bash scripts on connect as well as disconnect. You can also launch straight into games themselves rather than need to connect to big picture mode first.