49
submitted 6 months ago* (last edited 6 months ago) by LazerDickMcCheese@sh.itjust.works to c/selfhosted@lemmy.world

Does anyone have a compose.yaml for an Nvidia GPU that works that they would like to share? Here's my current file, it gives a white screen with "server error" on it: https://pastebin.com/AaV17cTz

I went through Jellyfin's instructions on setting a GPU up, but the instructions weren't clear (in my opinion) so who knows if it's correct. I installed some Nvidia tools as a prerequisite and 'nvidia-smi' shows the card. I attached my Jellyfin settings from before it self-destructed according to Nvidia's transcoding matrix (which also wasn't descriptive enough in my opinion), do they look right for a 2080?

Update: after making this post, and changing nothing, it suddenly works

you are viewing a single comment's thread
view the rest of the comments
[-] HybridSarcasm@lemmy.world 4 points 6 months ago

The biggest concern here would be 1) have you installed the Nvidia container toolkit, and 2) how are you passing the GPU into the Jellyfin docker container.

I’ve got an Ansible-playbook that takes care of the Nvidia stuff. I’ve also got a compose file I can share. Will edit this post when I can provide a link.

[-] LazerDickMcCheese@sh.itjust.works 2 points 6 months ago
  1. yes
  2. in my compose file, I've set the extra variables that (supposedly) pass the GPU according to Jellyfin's instructions
[-] Kushan@lemmy.world 1 points 6 months ago

In your compose file, make sure you've added runtime: nvidia.

You also don't need to deploy the resources and reserve the GPU, you can remove the entire deploy section when using the nvidia runtime.

this post was submitted on 15 Feb 2026
49 points (96.2% liked)

Selfhosted

61770 readers
454 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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS