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
[–] 4 points 8 months ago (2 children)

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.

  • source
  • hideshow 2 child comments
  • [–] [S] 2 points 8 months ago (1 child)
    1. yes
    2. in my compose file, I've set the extra variables that (supposedly) pass the GPU according to Jellyfin's instructions
  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 8 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.

  • source
  • parent