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?
I’ll just reply to myself. According to the documentation, the combination of https://github.com/LizardByte/Sunshine and https://github.com/moonlight-stream seems to be a viable alternative that should work under Linux. (I have only tested them on Windows so far).
If anyone are looking for an alternative of streaming via Steam, this is something you might be interested in.
Cheers!
@Tersevs Yup Sunshine+moonlight is a really nice combo. I use both almost every day to stream my gnome desktop and games to my tv and it just works !
deleted by creator
@Tersevs can you detail the process a bit? where goes what component?
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.
@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.
deleted by creator
Following up this comment -
Gamestream - moonlight isnt supported on linux, at least last time I used it.
Steamlink to Nvidia Shield works well though
Thanks for the info. I also found this article: https://arstechnica.com/gaming/2023/04/nvidias-gamestream-is-dead-sunshine-and-moonlight-are-better-replacements/
It looks like I may need to look for another streaming option either way.
Sunshine and moonlight. Don’t use that steam garbage streaming