Nvidia GPU not found, prevents Jellyfin container from opening

On TrueNAS Scale 24.10.1, I updated to the most recent version of the Jellyfin container, going from 1.1.14 to 1.1.16. After the update, My GPU was no longer recognized for transcoding, and the playback would fail.

I went to edit the container configuration, and made sure “Use this gpu” was checked. After checking that box, I would expect the container to start as normal, but instead TrueNAS came up with an error indicating that the container could not start, and pointed to /var/log/app_lifecycle.log for more information.

I updated TrueNAS to 24.10.2 in hopes that it would fix the issue (as I know the release had Nvidia fixes), but there was no difference. Below is the output in /var/log/app_lifecycle.log:

[2025/01/29 12:03:48] (ERROR) app_lifecycle.compose_action():56 - Failed 'up' action for 'jellyfin' app:  Network ix-jellyfin_default  Creating
Network ix-jellyfin_default  Created
Container ix-jellyfin-jellyfin-1  Creating
Container ix-jellyfin-jellyfin-1  Created
Container ix-jellyfin-jellyfin-1  Starting
Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running hook #0: error running hook: exit status 1, stdout: , stderr: Auto-detected mode as 'legacy'
nvidia-container-cli: device error: GPU-de46ebef-5d4b-b3c4-dc71-e559845dafd7: unknown device: unknown

After this, I rolled back Jellyfin to the previous version (1.1.14), and the issue persists. I can get the container to start by removing the “Use this GPU” toggle, but I cannot start the container with the GPU.

I’m legit panicking right now about this. I was forced to update becuase of the charts being deprecated. My home lab does not have the option to install nvidia drivers from the apps → config → settings menu like it says in the release notes. I’m running a Tesla P40 and the nvidia drivers are missing and I cant install them from shell because apt is blocked. The P40 does show in the Gpu isolate options but no option to install the drivers. What is going on?

Running TrueNAS Scale ElectricEel-24.10.2

Opened a ticket on github about this

Ref: 24.10 (Electric Eel) Version Notes | TrueNAS Documentation Hub

The forum post linked on the GitHub Issue fixed it for me.