Libnvidia-encode.so.1 missing from Docker image

Server Version#: 1.24.0.4897

Docker image: plexinc/pms-docker:plexpass

Finally got hardware transcoding with my Quadro P620 working this morning.

I have the latest 470.x drivers installed on the server (Debian 10), but up until an hour ago I was only able to get hw transcode on the decode side. In the log files I was seeing

ERROR - [Transcode] [FFMPEG] - Cannot load libnvidia-encode.so.1
ERROR - [Transcode] [FFMPEG] - The minimum required Nvidia driver for nvenc is 418.30 or newer

despite having the latest drivers installed. After much digging, I determined that Plex is using libcuda.so.1 for nvdec decode, and that is present in /usr/lib/x86_64-linux-gnu/, but for nvenc encoding it requires libnvidia-encode.so.1. This file is present in the host OS, but missing from the docker container.

I manually installed the libnvidia-encode-470-server 470.57.02-0ubuntu0.20.04.2 package inside the docker container and I now have GPU hardware encoding as well.

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