NVIDIA GPU - Jellyfin Note that the official Jellyfin Docker image already sets the required environment variables for NVIDIA GPUs If you are building your own image don't forget the add two extra environment variables into the Docker configs
Transcoding issues -- SOLVED - Jellyfin Once nvidia-docker is installed on your host you will need to re create the docker container with the nvidia container runtime --runtime=nvidia and add an environment variable -e NVIDIA_VISIBLE_DEVICES=all (can also be set to a specific gpu's UUID, this can be discovered by running nvidia-smi --query-gpu=gpu_name,gpu_uuid --format=csv )
[SOLVED] Nvidia GPU in OMV Jellyfin docker container using . . . I added to my docker yaml file the 2 environment variables:- NVIDIA_DRIVER_CAPABILITIES=compute,video,utility- NVIDIA_VISIBLE_DEVICES=all NVIDIA_DRIVER_CAPABILITIES can also be set to all I believe Yet, I did not test it I added the deploy section
Specialized Configurations with Docker — NVIDIA Container . . . GPUs can be specified to the Docker CLI using either the --gpus option starting with Docker 19 03 or using the environment variable NVIDIA_VISIBLE_DEVICES This variable controls which GPUs will be made accessible inside the container The possible values of the NVIDIA_VISIBLE_DEVICES variable are:
Docker NVIDIA GPU Passthrough intermittently fails after . . . --runtime=nvidia \ --gpus all \ -e NVIDIA_DRIVER_CAPABILITIES=all \ -e NVIDIA_VISIBLE_DEVICES=all \ jellyfin jellyfin:latest Initially, the setup works fine, as shown in this screenshot, with the Docker container able to access the GPU without issues However, after running
(Guide) How to enable Nvidia GPU in jellyfin app on TrueNas . . . This post assumes you have already installed your GPU in the host system and check the box to enable NVIDIA drivers inside truenas scale itself It also assumes you already have jelly fin installed and running
NVIDIA gpu transcoding in Jellyfin docker success! Then simply followed the jellyfin docs by installing nvidia-docker2, set the default runtime to "nvidia" in etc docker daemon json, added the docker user to group video with "usermod -aG video docker-user", then rebooted