this post was submitted on 24 Aug 2023
15 points (100.0% liked)

Linux Gaming

15525 readers
36 users here now

Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.

This page can be subscribed to via RSS.

Original /r/linux_gaming pengwing by uoou.

Resources

WWW:

Discord:

IRC:

Matrix:

Telegram:

founded 2 years ago
MODERATORS
 

TLDR: Is there anyone who knows how well game streaming from a Linux computer to a Moonlight client works?

Oh, you didn't stop reading after the tldr? Ok, here's my life story.

Long time ago I was an avid Linux user and I still have a tender spot for the OS. Gaming under Linux was just a dream but as the end of the century came close (yes, I'm that old), ID released a Linux port of Quake II, and then came a flurry if titles that I still have boxes editions of; Civilization:CTP, Myth II, Soldier of Fortune etc.

Nowadays I use Windows for most things - also of course gaming too. My setup is a big (and pretty noisy) computer in my bedroom, and in the living room I have a fanless HTPC and run Moonlight to stream the games from my main computer (the streaming support built into Steam does not work quite as well, but it is a backup I guess).

Anyone knows if I could do this if I switched back to Linux? On the windows computer I enabled Nvidia Shield, but I get the impression that isnt supported under Linux. How well does Sunshine work?

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

@Tersevs can you detail the process a bit? where goes what component?

[–] Tersevs 1 points 1 year ago* (last edited 1 year ago) (1 children)

Sure, but I'm no expert - I'm very much in "learning mode".

Sunshine is a drop-in replacement of Nvidias GameStream server which (under windows) can be enabled in the GeForce Experience application. This is run on the gaming computer and captures the screen and audio.

Moonlight is the replacement on the client. In my case, I run this on the small fanless PC in the TV room where I want to play the games (and sometimes on my Android phone just for fun).

Once both programs are running on the same network (a high speed wired connection is recommended even if I run it over wifi), the Moonlight client detects the Sunshine server and if you click on it, you get a four digit code that you must enter into the Sunshine config interface (web based) to authorize the pairing (this only needs to be done once).

Then - just like steam link - the client sends the keyboard, mouse and gamepad inputs back to the Sunshine server, while audio and video are sent to the client. Everything pretty much works out of the box except gamepads which required an additional driver on the server.

It seems that both Sunshine and Moonbeam supports even non-Nvidia GPU.

I've been using Moonlight for years but I'm still working out a few minor kinks in Sunshine. It works as good as the original server on Quake II (2023 remaster) and Red Dead Redemption 2, but under Quake II RTX the framerate is stated as 60 but looks more like 30 on the client side.

[–] [email protected] 1 points 1 year ago

@Tersevs awesome, thanks for the explanation! I wanted something like this for a long while, especially since I usually game in weird places which are far from the computer. Also, I looked on flathub, and both apps are on there, even the server. Why would run the server as a flatpak, I don't know, but I know it's there, so yeah, gonna try this now.