Jellyfin Forum
SOLVED: Hardware Acceleration issue - 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: SOLVED: Hardware Acceleration issue (/t-solved-hardware-acceleration-issue)



Hardware Acceleration issue - nnb - 2024-09-17

I got an Nvidia P400 graphic card to use for hardware acceleration but I'm not having success (I think).

My Setup:
CPU: Intel i7-8700
GPU: Quadro P400
Ram: 16GiB
OS: Ubuntu 22.04.4 LTS 64b
Jellyfin.Server 10.9.11.0
For testing, I'm using Brave Browser as a client

I believe I have the nvidia-driver-550 installed (by checking ubuntu update-> additional Driver)
   

When I run nvidia-smi I get this, which I believe is an indication that the driver is rightly installed:
   

To verify that if I'm using hardware acceleration (or not), I'm using htop.
When I have hardware acceleration (in Jellyfin) set to None, and I play a video, it all goes to 100% as expected.
nvidia-smi doesn't show anything different.

When I select Nvidia NVENC (with only HVEC 10bit and VP9 10bit UNselected) for decoding AND Hardware encoding options-> Enable hardware encoding UNselected, and I play a video, the CPU goes to ~100% like before, but I get a new line in nvidia-smi:
   

As soon as I select Hardware encoding options-> Enable hardware encoding, doesn't matter which options for "Enable hardware decoding for" I have selected, as soon as I try to open a video, I get "Playback Error - Playback failed due to fatal player error.

Is this expected?
I would expect the CPU to be much lower when using a GPU. (Is the GPU even being used at all?)

I appreciate any help
Thanks


RE: Hardware Acceleration issue - gnattu - 2024-09-17

Please upload ffmpeg logs

Oh, I noticed that you enabled av1 encoding. Your gpu does not support that so if you want to use GPU encoding you need to disable av1 encoding


RE: Hardware Acceleration issue - nnb - 2024-09-17

Ahahah. I have tried enabling and disabling many of the options, but I guess disabling av1 encoding was not one of them... 🤦
That solved the problem. The CPU is much lower now.
Thanks a lot @gnattu


RE: Hardware Acceleration issue - TheDreadPirate - 2024-09-17

Also make sure that all the codec check boxes for decoding are set correctly.

https://developer.nvidia.com/video-encode-and-decode-gpu-support-matrix-new