±----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| No running processes found |
±----------------------------------------------------------------------------+
The recommended driver version for the Cuadro P4000 is nvidia-390. I tried using an older version of the plex media server as well, to rule out compatibility issues. I get the same error.
Also tried installing higher versions of the nvidia driver. But if I install anything higher than 390 the computer would not boot.
the runtime is required unless you set it globally, but the dri bit is for intel transcoding, not nvidia. I think the OP didn’t read the instructions closely, but removing that bit and uncommenting what you told them to, should get them working, assuming there are no host issues or if the OP forgot to deploy the nvidia container.
I commented it out because it didn’t work for me. If I use “runtime”, then I can see the nVidia card in the container, by using nvidia-smi. If I use the part I commented, then I can’t see the GPU with nvidia-smi. In both cases, I can’t get the hardware transcoder going. Anyhow, I tested with the configuration you recommeded, and I get a different error in the plex media server.
DEBUG - [Req#48b/Transcode] Codecs: testing h264_vaapi (encoder)
DEBUG - [Req#48b/Transcode] Codecs: hardware transcoding: testing API vaapi for device '' ()
DEBUG - [Req#48b/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Generic error in an external library
DEBUG - [Req#48b/Transcode] Could not create hardware context for h264_vaapi
DEBUG - [Req#48b/Transcode] Codecs: testing h264_nvenc (encoder)
DEBUG - [Req#48b/Transcode] Codecs: hardware transcoding: testing API nvenc for device '' ()
ERROR - [Req#48b/Transcode] [FFMPEG] - Cannot load libcuda.so.1
ERROR - [Req#48b/Transcode] [FFMPEG] - Could not dynamically load CUDA
DEBUG - [Req#48b/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Operation not permitted
DEBUG - [Req#48b/Transcode] Could not create hardware context for h264_nvenc
DEBUG - [Req#48b/Transcode] Codecs: testing hevc (decoder) with hwdevice vaapi
DEBUG - [Req#48b/Transcode] Codecs: hardware transcoding: testing API vaapi for device '' ()
DEBUG - [Req#48b/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Generic error in an external library
DEBUG - [Req#48b/Transcode] Could not create hardware context for hevc
DEBUG - [Req#48b/Transcode] Codecs: testing hevc (decoder) with hwdevice nvdec
DEBUG - [Req#48b/Transcode] Codecs: hardware transcoding: testing API nvdec for device '' ()
ERROR - [Req#48b/Transcode] [FFMPEG] - Cannot load libcuda.so.1
ERROR - [Req#48b/Transcode] [FFMPEG] - Could not dynamically load CUDA
DEBUG - [Req#48b/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Operation not permitted
DEBUG - [Req#48b/Transcode] Could not create hardware context for hevc```
Hello @aflextwin The prerequisites did the trick, thanks!!
The driver version is what is recommended by Ubuntu sudo ubuntu-drivers install, when I tried to use driver more recent than those, my computer would not boot. The 390 would be the only one where I can get the PC to boot.