2023-11-14, 11:45 PM
(This post was last modified: 2023-11-14, 11:46 PM by PapaTrotsky. Edited 1 time in total.)
(2023-11-14, 11:42 PM)TheDreadPirate Wrote: Have you tried enabling NVENC in jellyfin and transcoding since we've done all of this? Since nvidia-smi works in the container now.
Yes, NVIDIA-SMI works in unRaid but if I do the 'docker exec -it jellyfin nvidia-smi' command it doesn't. If I open unRaid terminal, it gives an error for the docker exec command but not for the basic nvidia-smi command.
Code:
root@HomeServer:~# nvidia-smi
Tue Nov 14 18:44:37 2023
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 545.29.02 Driver Version: 545.29.02 CUDA Version: 12.3 |
|-----------------------------------------+----------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+======================+======================|
| 0 NVIDIA GeForce GTX 1050 Ti Off | 00000000:08:00.0 Off | N/A |
| 0% 43C P0 N/A / 120W | 0MiB / 4096MiB | 0% Default |
| | | N/A |
+-----------------------------------------+----------------------+----------------------+
+---------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=======================================================================================|
| No running processes found |
+---------------------------------------------------------------------------------------+
root@HomeServer:~# docker exec -it jellyfin nvidia-smi
OCI runtime exec failed: exec failed: unable to start container process: exec: "nvidia-smi": executable file not found in $PATH: unknown
And when I turn back on transcoding in jellyfin I get the same error as when we started, but when I turn transcoding off it works fine. I think the issue lies with jellyfin seeing the driver. I'm guessing I have to add a path variable from jellyfin to the driver but I don't know where the driver is or what I'd have to call the path variable.