Jellyfin Forum
No GPU transcoding - Ubuntu Server, NVidia P400 - 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: No GPU transcoding - Ubuntu Server, NVidia P400 (/t-no-gpu-transcoding-ubuntu-server-nvidia-p400)

Pages: 1 2 3


No GPU transcoding - Ubuntu Server, NVidia P400 - Woelfchen - 2023-10-05

I have an older HP Desktop, installed Ubuntu Server and Jellyfin. I added a NVidia P400 GPU.

Inside the setting I enabled HW transcoding, but h265 is very slow, staggering and I dont see any process using the GPU.

Any ideas? Advices to troubleshoot?

I did everything according to the install instructions.

Otherwise jellyfin is working great!


RE: No GPU transcoding - Ubuntu Server, NVidia P400 - TheDreadPirate - 2023-10-05

Which instructions did you follow? Just for installing Jellyfin? If so, there are additional steps you need to take to setup Nvidia drivers and allowing jellyfin to use the graphics card. See the documentation here.

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


RE: No GPU transcoding - Ubuntu Server, NVidia P400 - Woelfchen - 2023-10-05

Yes, did that too


RE: No GPU transcoding - Ubuntu Server, NVidia P400 - TheDreadPirate - 2023-10-05

Is Ubuntu installed bare metal or Proxmox/some other VM?


RE: No GPU transcoding - Ubuntu Server, NVidia P400 - Woelfchen - 2023-10-05

Bare, no VM

+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.113.01 Driver Version: 535.113.01 CUDA Version: 12.2 |
|-----------------------------------------+----------------------+----------------------+
| 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 Quadro P400 Off | 00000000:01:00.0 Off | N/A |
| 34% 43C P8 N/A / N/A | 2MiB / 2048MiB | 0% Default |
| | | N/A |
+-----------------------------------------+----------------------+----------------------+

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


RE: No GPU transcoding - Ubuntu Server, NVidia P400 - TheDreadPirate - 2023-10-05

Code:
sudo apt list --installed | grep -i nvidia

Verify that the encode/decode libraries installed. Not just the drivers.

https://help.ubuntu.com/community/NvidiaDriversInstallation


RE: No GPU transcoding - Ubuntu Server, NVidia P400 - Woelfchen - 2023-10-05

libnvidia-cfg1-535/jammy-updates,jammy-security,now 535.113.01-0ubuntu0.22.04.1 amd64 [installed,automatic]
libnvidia-common-535/jammy-updates,jammy-security,now 535.113.01-0ubuntu0.22.04.1 all [installed,automatic]
libnvidia-compute-535/jammy-updates,jammy-security,now 535.113.01-0ubuntu0.22.04.1 amd64 [installed,automatic]
libnvidia-decode-535/jammy-updates,jammy-security,now 535.113.01-0ubuntu0.22.04.1 amd64 [installed,automatic]
libnvidia-encode-535/jammy-updates,jammy-security,now 535.113.01-0ubuntu0.22.04.1 amd64 [installed,automatic]
libnvidia-extra-535/jammy-updates,jammy-security,now 535.113.01-0ubuntu0.22.04.1 amd64 [installed,automatic]
libnvidia-fbc1-535/jammy-updates,jammy-security,now 535.113.01-0ubuntu0.22.04.1 amd64 [installed,automatic]
libnvidia-gl-535/jammy-updates,jammy-security,now 535.113.01-0ubuntu0.22.04.1 amd64 [installed,automatic]
linux-objects-nvidia-525-server-5.15.0-83-generic/jammy-updates,jammy-security,now 5.15.0-83.92 amd64 [installed,automatic]linux-objects-nvidia-525-server-5.15.0-84-generic/jammy-updates,jammy-security,now 5.15.0-84.93+2 amd64 [installed,automatic]
linux-signatures-nvidia-5.15.0-83-generic/jammy-updates,jammy-security,now 5.15.0-83.92 amd64 [installed,automatic]
linux-signatures-nvidia-5.15.0-84-generic/jammy-updates,jammy-security,now 5.15.0-84.93+2 amd64 [installed,automatic]
nvidia-compute-utils-535/jammy-updates,jammy-security,now 535.113.01-0ubuntu0.22.04.1 amd64 [installed,automatic]
nvidia-dkms-535/jammy-updates,jammy-security,now 535.113.01-0ubuntu0.22.04.1 amd64 [installed,automatic]
nvidia-driver-535/jammy-updates,jammy-security,now 535.113.01-0ubuntu0.22.04.1 amd64 [installed]
nvidia-firmware-535-535.113.01/jammy-updates,jammy-security,now 535.113.01-0ubuntu0.22.04.1 amd64 [installed,automatic]
nvidia-kernel-common-535/jammy-updates,jammy-security,now 535.113.01-0ubuntu0.22.04.1 amd64 [installed,automatic]
nvidia-kernel-source-535/jammy-updates,jammy-security,now 535.113.01-0ubuntu0.22.04.1 amd64 [installed,automatic]
nvidia-prime/jammy,now 0.8.17.1 all [installed,automatic]
nvidia-settings/jammy,now 510.47.03-0ubuntu1 amd64 [installed,automatic]
nvidia-utils-535/jammy-updates,jammy-security,now 535.113.01-0ubuntu0.22.04.1 amd64 [installed,automatic]
xserver-xorg-video-nvidia-535/jammy-updates,jammy-security,now 535.113.01-0ubuntu0.22.04.1 amd64 [installed,automatic]


RE: No GPU transcoding - Ubuntu Server, NVidia P400 - TheDreadPirate - 2023-10-05

Can you upload your ffmpeg log to sourcebin and link it back here? And a screenshot of your transcode settings in Jellyfin and the media info the one of the videos.


RE: No GPU transcoding - Ubuntu Server, NVidia P400 - Woelfchen - 2023-10-05

(2023-10-05, 05:42 PM)TheDreadPirate Wrote: Can you upload your ffmpeg log to sourcebin and link it back here?  And a screenshot of your transcode settings in Jellyfin and the media info the one of the videos.

Transcoding settings and mediainfo of a movie


RE: No GPU transcoding - Ubuntu Server, NVidia P400 - Woelfchen - 2023-10-05

Where are the ffmpeg logs located? I'm not a linux expert ;-)