this post was submitted on 19 Feb 2024
19 points (95.2% liked)

Selfhosted

46677 readers
1003 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 2 years ago
MODERATORS
 

I have an aging gaming desktop with a GTX 970 that I've previously used to let friends/family stream games. My area has a lot of fiber so it's surprisingly usable, even got VR working. Problem is, I'd prefer to use it as a NAS most the time as it has plenty of drive bays and I need somewhere better to run jellyfin than my desktop.

I'm somewhat aware of the options as I've used various hypervisors etc before, but I also want something as simple as possible. Because of that, I'm looking at TrueNAS. I'm aware my point of difficulty is gonna be the GPU. Is there any easy way to use it for a gaming VM at times and jellyfin encode others? If there's not some nifty feature in Proxmox or TrueNAS to solve my problem, how dumb would running a linux VM with both the games and Jellyfin be?

Forgive me if this is a more generic question than I realize. I'd be plenty happy to be pointed to some existing resources.

all 12 comments
sorted by: hot top controversial new old
[–] Dumbkid@lemmy.dbzer0.com 4 points 1 year ago

I run the steam headless docker, using dockers you don't have to pass through a gpu so Jellyfin can still use it for transcoding aswell. Or like you said you can go the other way and put them both in a vm

[–] Reinsch@feddit.de 2 points 1 year ago* (last edited 1 year ago)

I have a TrueNAS Scale NAS in my home network. Since they using k3s, your NVidia GPU should be picked up automatically: https://docs.k3s.io/advanced#nvidia-container-runtime-support If you have troubles, I guess a little tweak here and there and you should be fine. I generally recommend Truenas, it serves me several years until now.

[–] n3m@lemmy.electrospek.com 1 points 1 year ago

You could possibly also use proxmox and setup a VM for docker, games (use GPU passthrough), and TrueNAS. You also combine docker and games to same VM to use GPU for jellyfin. Only thing is I'm not quite sure how well your games will play (guess it depends on what games). Also keep in mind TrueNAS requires alot of memory (RAM). If you don't have enough for your games and TrueNAS you may have some performance issues.

You could also try running everything from within TrueNAS but personally I'm not a fan of it. I haven't tried TrueNAS scale yet but it does look promising.

[–] atzanteol@sh.itjust.works -3 points 1 year ago (2 children)

I'd prefer to use it as a NAS most the time as it has plenty of drive bays and I need somewhere better to run jellyfin than my desktop.

I feel like "NAS" has simply lost all meaning.

[–] ShepherdPie@midwest.social 7 points 1 year ago (1 children)

Network attached storage? I don't see the issue with OPs usage of the term.

[–] atzanteol@sh.itjust.works -1 points 1 year ago (1 children)
[–] ShepherdPie@midwest.social 5 points 1 year ago (1 children)

The storage for Jellyfin is a NAS. You can run it on a Synology NAS too. This is the same thing just DIY.

[–] atzanteol@sh.itjust.works 0 points 1 year ago (1 children)

They're looking to run Jellyfin on the nas. And do a little gaming. That's not a NAS. It's a server/desktop that serves nfs shares.

[–] CouncilOfFriends@lemmy.world 3 points 1 year ago (1 children)

I'm sure there are some folks who run a NAS simply for the joy of storing files. Most of us care primarily about what services can use those files, ideally with the same machine serving both functions.

[–] atzanteol@sh.itjust.works -1 points 1 year ago

That, is not a NAS then.

[–] spez_@lemmy.world 3 points 1 year ago

Please quiet