this post was submitted on 11 May 2024
32 points (97.1% liked)

Selfhosted

40183 readers
499 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
 

Mostly I'm curious what people's setups are. Are you using docker or a VM? Which tools are you using to stream and play your roms or steam games?

Looking for suggestions for myself as well... I'm on unraid and looking to support multiple users.

top 7 comments
sorted by: hot top controversial new old
[–] [email protected] 11 points 6 months ago* (last edited 6 months ago)

If budget is no object it's only kind of a pain in the ass with Nvidia's vGPU solutions for data centers. Even with $10 grand spent there's hypervisor compatibility issues, license servers, compatibility challenges with drivers for games/consumer OS's on hypervisors, and other inane garbage.

Consumer wise it's technically the easiest it's ever been with SRIOV support for hardware accelerating VMs on Intel 13 & 14 gen procs with iGPUs, however iGPU performance is kinda dogshit, drivers are wonky, and multiple display heads being passed through to VMs is weird for hypervisors.

On the docker side of things YMMV based on what you're trying to accomplish. Technically nvidia container toolkit does support CUDA & display heads for containers: https://hub.docker.com/r/nvidia/vulkan/tags. I haven't gotten it working yet, but this is the basis for my next set of experiments.

[–] [email protected] 3 points 6 months ago* (last edited 6 months ago) (1 children)

My box sits in my closet, so can't really help much with docker or vm. But I use sunshine server with moonlight client. Keep in mind you can't fight latency that comes from distance between server and client. I can use 4/5G for turn based or active pause games but wouldn't try anything real time. On cable my ping is under ms, enough to play shooters as badly as I do these days.

I use AMD for CPU and GPU, and wouldn't try nvidia if using Linux as sever.

I did use to run a VM in xenserver/xcp-ng and passthrough gpu with a mock hdmi screen plug. A windows 10 vm, ran very well bar pretty crap CPU but I did get around 30fps in 1080p tarkov, sometimes more with amd upscalling. Back then I was using parsec, but found sunshine and moonlight works better for me.

I should also mention I never tried to support multiple users. You can probably play "local" multiplayer with both parsec and moonlight, but any setup that shares one GPU will require some vgpu proprietary fuckery, so easiest is to buy a PC with multiple gpus and assign one to each VM directly.

[–] [email protected] 3 points 6 months ago (2 children)

What kind of machine do you use as a client? And how does performance compare to playing on the server directly?

[–] [email protected] 1 points 5 months ago

If you're wired on both ends, its essentially unnoticeable

[–] [email protected] 1 points 6 months ago

I use a 2016 Asus Zenbook with integrated intel gpu.

The performance is comparable. The only thing that's different is latency, obviously, although it's fairly negligible on LAN, and encoding/decoding sometimes createa artifacts and smudges, but it's better at higher bandwidth.

[–] [email protected] 2 points 6 months ago

I used to run a proxmox server with windows in a VM that had a GPU via gpu passthrough. Then connected to it via parsec. On my laptop connected to the local network it was pretty good.

[–] [email protected] 1 points 5 months ago

Sounds like games on whales was nearly made for you.