Hey Community!
i vaguely remember a post from a couple weeks ago that was about some way to stream games (either via SteamLink or Moonlight/Sunshine) from a Linux Server to a mini-PC…
I can’t find it and i want to hear your opinions / experiences about this. I got a minisforum running BazziteOS hooked on my TV. I got a Server that has an Ryzen 5 2600X and NVidia GTX1660 Super with 16GB of RAM. This server runs my WhisperAPI for Home Assistant on GPU, Plex with HW-Transcoding that’s why i put the GPU in there.
Now i thought about making it able to run games on that and be able to stream them on my MinisForum because the little one is struggling hard to get BG3 and comparable titles to run at acceptable quality :D
Does someone have experience with that or maybe even remembers the post i can’t find anymore :D
I feel like there’s more to your question but here goes with the starter answer: install https://github.com/LizardByte/Sunshine on the computer which is running the game and https://github.com/moonlight-stream/moonlight-qt on the machine which will receive the game stream. I have Sunshine installed in a VMware Fusion VM running Windows which I stream to the host Mac since Discord doesn’t let you screenshare VMs with sound otherwise. I have also used Moonlight on my Mac to stream games from a cloud machine on https://airgpu.com but only played with it a tiny bit as a substitute for running my own game streaming machine in AWS or for some games that aren’t on GeForce NOW.
Issue is that the host i plan to use is a headless ubuntu server. No DE, No Monitor.
I’ve researched a bit since posting and found that using sunshine directly is not the easiest route to pick here since their docker installation is still in early development and involves a lot of manual config and setup.
I’ll go with https://games-on-whales.github.io/gow/running.html as they use sunshine but deliver a nearly completely configured docker-compose environment.
I ordered a HDMI dummy plug that i can use.
Ooh GoW looks quite neat!
As of this moment, it is broken though as they rebuild the project to use wolf instead of sunshine.
But the maintainer says they will be releasing in a few days; I talked to them and they helped me spin up the development version and that works really good! (still missing controller passthrough though :D)
Have you checked out this guide for headless server setup with sunshine? https://docs.lizardbyte.dev/projects/sunshine/en/latest/about/guides/linux/headless_ssh.html#remote-ssh-headless-setup
yeah but i don’t want to run it as a direct application.
My server is run entirely via docker and i want all my hosted stuff to be docker. And their docker setup requires a lot of manual setup, building your own image and all of that…
i will go for https://games-on-whales.github.io/gow/running.html
I guess what problems are you having? I’ve used steam link before perfectly fine but it’s going to have some loss over the network. Are both computers connected to a gigabit lan? Balder’s gate 3 is a newer game, and while you aren’t on minimum requirements you are on mid tier hardware using proton to run a windows game, so there are a few reasons you may be having problems. Best way to run it down is isolate things and see how they go. Try running game directly on the computer with monitor ect.
It appears as if you misunderstood my post…
I currently DONT have gamestreaming from my Ubuntu Server to the minisforum. I WANT to have it but i don’t know how to properly set it up. I tried several installs of sunshine but it fails everytime on encoders… and the docker support is very manual at the moment.
The performance issues i have on BG3 are running directly on the minisforum thats why i want to run it on the server instead.
So basically my post is asking for help on setting up sunshine on my ubuntu server
If you’re using Sunshine on an nvidia system, you’ll have to patch your nvidia driver to be able to use nvenc and nvfbc without restriction. Check out this repo for more info: https://github.com/keylase/nvidia-patch
What would my advantages be here after using the patches?
I plan to only connect one single client to my host at any given moment. So i don’t think i need the restrictions lifted i guess?
Iirc sunshine still need nvfbc to grab the rendered frames.
Use NVIDIA Frame Buffer Capture to capture direct to GPU memory. This is usually the fastest method for NVIDIA cards. For GeForce cards it will only work with drivers patched with nvidia-patch or nvlax.
https://docs.lizardbyte.dev/projects/sunshine/en/latest/about/advanced_usage.html
Got it, thanks!
Ah I don’t know much about sunshine and your specific setup. But I know docker can be a pain getting access to devices like graphics cards. Maybe try running natively?
I’ve got my GPU running in docker when i wanted to use hw transcoding on my Plex docker. So this is already cleared.
I’ve researched a bit since posting and found that using sunshine directly is not the easiest route to pick here since their docker installation is still in early development and involves a lot of manual config and setup.
I’ll go with https://games-on-whales.github.io/gow/running.html as they use sunshine but deliver a nearly completely configured docker-compose environment.
I ordered a HDMI dummy plug that i can use.