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

  • ohshit604@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 hours ago

    Step 1) Check /dev/dri for the GPU

    user@debian:~/compose$ ls /dev/dri
    total 0
    drwxr-xr-x  3 root root        120 Jan 25 11:50 .
    drwxr-xr-x 18 root root       3360 Feb 11 03:03 ..
    drwxr-xr-x  2 root root        100 Jan 25 11:50 by-path
    crw-rw----  1 root video  226,   0 Jan 25 11:50 card0
    crw-rw----  1 root video  226,   1 Jan 25 16:39 card1
    crw-rw----  1 root render 226, 128 Jan 25 11:50 renderD128
    

    Documentation indicates renderD128 typically refers to Intel GPU’s

    Make sure at least one renderD* device exists in /dev/dri. Otherwise upgrade your kernel or enable the iGPU in the BIOS.

    1. Edit your docker-compose.yaml and specify this In your Jellyfin block
    devices:
     - /dev/dri/renderD128:/dev/dri/renderD128
    
    1. Start your container and enter it to verify the device is accessible.

    sudo docker compose up -d; sudo docker exec -it jellyfin bash

    Once inside ls /dev/dri to confirm the GPU is detected, then you can exit the container.

    1. On the Jellyfin dashboard go to the hardware acceleration page and follow the notes left by Jellyfin devs.