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
Here are some relevant stuff, also have nvidia drivers and vids libs installed.
Running in a podman quadlet on fedora
After=nvidia-cdi-generator
[Container]
Image=docker.io/jellyfin/jellyfin
PodmanArgs=–privileged --gpus=all
Environment=NVIDIA_VISIBLE_DEVICES=all
AddDevice=/dev/dri/card0:/dev/dri/card0
I had the same problem: Debian host + official Jellyfin Docker image, all set up according to the official guide, but it would fail to transcode anything.
There was no relevant information about what was wrong in the logs so what I did was:
- Copy the ffmpeg command from the logs.
docker exec -itinto the Jellyfin container.- run the same ffmpeg command manually so I could see the error directly.
Long story short, because the Nvidia toolkit uses the driver/libraries from the host, the error was that I was missing the library
libnvidia-encode1on the host. After installing that, everything works as it should.


