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

Selfhosted

40438 readers
436 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 2 years 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

top 21 comments
sorted by: hot top controversial new old
[–] [email protected] 51 points 6 months ago (1 children)

I thought it was an ncurses multiplayer tetris-clone.

[–] kewko 7 points 6 months ago (1 children)

Name is too perfect for this 😀

[–] [email protected] 6 points 6 months ago (1 children)

I used to play it a lot when it was cool.

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

Yeah, network tetris. Played that a ton, too!

[–] [email protected] 49 points 6 months ago

This will be useful if you are trying to let multiple people share your computer remotely. If you are trying to set up personal game streaming for one client at a time, try Moonlight and Sunshine (more mature, easier to setup, works on any hardware).

[–] [email protected] 32 points 6 months ago (1 children)

Too bad it is nVidia only, I only got AMD cards.

[–] [email protected] 22 points 6 months ago

Sunshine and moo light work right now with amd

[–] [email protected] 19 points 6 months ago (1 children)

Anyone use it and can compare it to moonlight?

[–] [email protected] 36 points 6 months ago* (last edited 6 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] 8 points 6 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] 17 points 6 months ago* (last edited 6 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.

[–] [email protected] 7 points 6 months ago* (last edited 6 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.

[–] mnemonicmonkeys 0 points 6 months ago

Moonlight is also capable of 4k streaming

[–] [email protected] 2 points 6 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] 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] 7 points 6 months ago (1 children)

Looks like you can't self host it right now?

[–] [email protected] 7 points 6 months ago

Waiting on a merge it looks like

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

So this is basically Xbox game pass ultimate, the cloud gaming part?

Because at one point they mention if you have to rebuy games you already own and they said you can just link your library.

At one point it sounds like they're renting out hardware and are able to stream your library to you ( you own the game ). Other times it sounds like they have a catalog and you just pay for the streaming to your device ( you don't own the game ).

Edit: do not mean this in a negative way. I'm just confused trying to find the answer :D

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

No, Game Pass Ultimate cloud gaming for Xbox games is on an “Xbox” (I’m sure MS has some custom servers with blades of Xbox-like servers). PC games, yes, they are doing something similar but it’s not quite the same as GFN.

GFN allowed you (not sure nowadays) to just login to your steam account on a RemoteFX Remote Desktop and play games via their client. This setup is what the tool is replicating. RDP allows some crazy tweaks in the registry to let you get really good performance out of supported hardware and (I assume) is what is going on here.

Edit: this is Linux based it seems so probably just doing something similar as the MS RDP implementation.

[–] [email protected] 1 points 6 months ago (1 children)

Oh I thought the cloud game pass wasn't Xbox games only. But that is entirely possible.

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

I don’t think it is. Just a majority of it. If it’s a cross platform game you’re streaming the Xbox version.