SPECS:
- TrueNAS Scale 24.10-BETA
- HP Z2 TOWER G4 WORKSTATION
- Intel i7 9700
- 32GB DDR4 2666
- 2x Seagate Iron Wolf NAS SATA 18TB (mirror vdev)
- Assortment of other SATA/NVME drives
- NVIDIA Quadro K4200 (PCIe slot 1)
- NVIDIA Quadro P2200 (PCIe slot 4)
I will start out by saying I am no expert. I am completely new to the TrueNAS Scale environment but do work in IT and it is my hobby. Prior to moving to TrueNAS, I was running proxmox on bare metal and using it to run a bunch of LXC containers for docker, nextcloud, minecraft servers, etc. Passing thru SATA controllers and GPU’s, the whole 9 yards.
As I believe that this is the path I want to follow with full docker support being implemented, I have chosen to transition to the TrueNAS Scale EE BETA on bare metal. In doing so, I made the decision to run all of my apps through the Apps section rather than using portainer and docker compose. primarily to familiarize myself with the TrueNAS Scale environment and explore its capabilities. So far, the process of setting up and using apps has been really simple.
But I have a problem with Jellyfin. I can’t seem to get transcoding to function with NVIDIA NVENC for some reason. I have verified that Jellyfin receives the “NVIDIA_VISIBLE_DEVICES=all” EV by default after going through some documentation and trying to pass it as an EV myself. I selected every supported transcoding option for my P2200 in Jellyfin by referring to the NVIDIA matrix graphic.
Because Jellyfin “detects” both GPUs and my K4200 doesn’t support as many codecs as the P2200, I reasoned that this might be the problem. Perhaps it was making a mistake and defaulting to the K4200. Even when I removed the K4200 and kept the P2200 with the same supported transcoding settings, the fatal playback error would still appear.
I’m able to verify that transcoding is perhaps attempting to function but consistently failing by looking at the Jellyfin logs. Here’s what I’m seeing:
MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: Deleting partial stream file(s) "/cache/transcodes/04bdfc7f6f486b1dbff62f2a3c4f46f9.m3u8"MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: Deleting partial stream file(s) “/cache/transcodes/04bdfc7f6f486b1dbff62f2a3c4f46f9.m3u8”
For hours, I’ve tried identifying the problem, but to no effect. The majority of the documentation and instructions that I have read seem mostly oudated. Not even NVIDIA-SMI can be run from the TrueNAS shell anymore, it seems. Since I can configure both of my GPUs for pass-through in the advanced settings and the command “lspci | grep -i vga” displays both from the shell, I can verify that TrueNAS is seeing both of my GPUs.
I have not attempted to download any NVIDIA drivers (as I fairly certain they are already baked into the kernal) and I have not attempted to download the NVIDIA toolkit.
I would be very grateful for any guidance, recommendations, or troubleshooting steps to see if I could get Jellyfin transcoding to function. I appreciate each of you for taking the time to read. Please let me know if you need any other information or logs on this.