this post was submitted on 28 Jan 2024
15 points (94.1% liked)

Selfhosted

40132 readers
546 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 1 year ago
MODERATORS
 

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

you are viewing a single comment's thread
view the rest of the comments
[–] RandomLegend@lemmy.dbzer0.com 2 points 9 months ago (2 children)

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

[–] redcalcium@lemmy.institute 3 points 9 months ago (1 children)

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

[–] RandomLegend@lemmy.dbzer0.com 1 points 9 months ago (1 children)

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?

[–] redcalcium@lemmy.institute 1 points 9 months ago* (last edited 9 months ago) (1 children)

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

[–] RandomLegend@lemmy.dbzer0.com 1 points 9 months ago

Got it, thanks!

[–] epyon22@sh.itjust.works 1 points 9 months ago (1 children)

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?

[–] RandomLegend@lemmy.dbzer0.com 1 points 9 months ago

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.