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

  • HybridSarcasm@lemmy.worldM
    link
    fedilink
    English
    arrow-up
    0
    ·
    21 hours 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.

      • Kushan@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        5 hours 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.