Jellyfin Forum
Transcoding failing with Nvidia GPU - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Transcoding failing with Nvidia GPU (/t-transcoding-failing-with-nvidia-gpu)



Transcoding failing with Nvidia GPU - Kyle Shaffer - 2024-10-24

I'm posting in the hopes someone else had this issue and may be able to point me in the right direction. I just setup Jellyfin in a docker container on unraid and everything is working except nvidia nvenc transcoding.

M FFMpeg logs show this:
[h264_nvenc @ 0x55b3fd117340] Driver does not support the required nvenc API version. Required: 12.2 Found: 12.1
[h264_nvenc @ 0x55b3fd117340] The minimum required Nvidia driver for nvenc is (unknown) or newer

I haveĀ Nvidia Driver Version: 545.29.06 installed.

Plex is able to use the GPU (1650 Super) to transcode without issue.
I've tried shutting down the plex container and restarting Jellyfin but that does not help either.

Any suggestions are welcome. Thank you.


RE: Transcoding failing with Nvidia GPU - TheDreadPirate - 2024-10-24

Make sure that the driver, encode, decode, container toolkit, and cuda drivers are all at least version 520. It sounds like one or more of them is not new enough.


RE: Transcoding failing with Nvidia GPU - Kyle Shaffer - 2024-10-24

Is there a command that I can run to check the version of all of these?


RE: Transcoding failing with Nvidia GPU - TheDreadPirate - 2024-10-24

If this were plain linux, yeah. But I have no idea how to check this with unRAID, since so much is locked down.


RE: Transcoding failing with Nvidia GPU - Kyle Shaffer - 2024-10-24

I'm able to run commands on the base linux install as well as within each container.


RE: Transcoding failing with Nvidia GPU - TheDreadPirate - 2024-10-24

"nvidia-smi" would show additional info. You should be able to run that in both the container and in unRAID directly. I only know how to setup Jellyfin in unRAID with an Intel and AMD GPU. I don't have any Nvidia GPUs available for testing with unRAID.


RE: Transcoding failing with Nvidia GPU - Kyle Shaffer - 2024-10-24

This is the nvidia-smi output from within the Jellyfin Container. It is also the same from unraid directly. Can you spot anything That I need to update?

Thu Oct 24 14:38:25 2024
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 545.29.06 Driver Version: 545.29.06 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 1650 ... Off | 00000000:09:00.0 Off | N/A |
| 32% 36C P8 8W / 100W | 3MiB / 4096MiB | 0% Default |
| | | N/A |
+-----------------------------------------+----------------------+----------------------+

+---------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=======================================================================================|
| No running processes found |
+---------------------------------------------------------------------------------------+


RE: Transcoding failing with Nvidia GPU - TheDreadPirate - 2024-10-24

Look over our Nvidia docs.

https://jellyfin.org/docs/general/administration/hardware-acceleration/nvidia/#configure-with-linux-virtualization

Particularly steps #5 and the note after #8.