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.
Selfhosted
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:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
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.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
When OP inevitably has issues, I guess we'll have to blame it on the boogie
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.