Headless Hardware Transcoding not working

Server Version#: 1.24.2.4973

Hello,
currently hardware transcoding does not work for me correctly.

Specs:
Ubuntu 20.04:
Linux 5.11.0-27-generic #29~20.04.1-Ubuntu SMP Wed Aug 11 15:58:17 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
NVIDIA Drivers: 470.57.02 (nvidia-headless-470-server)
NVIDIA Quadro P1000

/dev/dri:
card0 card1 renderD128 renderD129

Preferences.xml:
HardwareDevicePath="/dev/dri/renderD129"/

Logs:
Sep 01, 2021 01:28:36.833 [0x7f22ec220b38] DEBUG - [Transcode] Codecs: hardware transcoding: testing API vaapi
Sep 01, 2021 01:28:36.833 [0x7f22ec220b38] DEBUG - [Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: I/O error
Sep 01, 2021 01:28:36.833 [0x7f22ec220b38] DEBUG - [Transcode] Codecs: hardware transcoding: testing API nvdec
Sep 01, 2021 01:28:36.969 [0x7f22ec220b38] DEBUG - [Transcode] Codecs: hardware transcoding: testing API nvenc
Sep 01, 2021 01:28:37.104 [0x7f22ec220b38] DEBUG - [Transcode] Codecs: hardware transcoding: testing API vaapi
Sep 01, 2021 01:28:37.104 [0x7f22ec220b38] DEBUG - [Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: I/O error
Sep 01, 2021 01:28:37.104 [0x7f22ec220b38] DEBUG - [Transcode] Codecs: hardware transcoding: testing API nvdec
Sep 01, 2021 01:28:37.283 [0x7f22eb796b38] DEBUG - [Transcode] TPU: hardware transcoding: using hardware decode accelerator nvdec
Sep 01, 2021 01:28:37.283 [0x7f22eb796b38] DEBUG - [Transcode] TPU: hardware transcoding: zero-copy support not present
Sep 01, 2021 01:28:37.283 [0x7f22eb796b38] DEBUG - [Transcode] TPU: hardware transcoding: final decoder: nvdec, final encoder:

I can see via nvdia-smi dmon -s u that nvdev and nvenc are not utilised and CPU usage is extremly high. What am I doing wrong?

Monitor is attached.

Thanks for help and cheers.

Solved.

You’ve to install additionally:
apt-get install libnvidia-decode-470-server libnvidia-encode-470-server

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.