Is there anyone that could help me out with this issue. I cannot get the HW transcoding working on Plex.
Things I have confirmed.
Latest Nvidia plugin.
GPU parameters on the docker.
Running latest Unraid 6.10-rc2
Running a EVGA GTX 1060 6GB
Using the standard plexinc docker with plex pass.
Followed the steps outlined at the beginning of this thread.
Here is my nvidia-smi output:
Mon Jan 10 16:50:03 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 495.46 Driver Version: 495.46 CUDA Version: 11.5 |
|-------------------------------+----------------------+----------------------+
| 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 NVIDIA GeForce ... Off | 00000000:09:00.0 Off | N/A |
| 0% 36C P0 24W / 120W | 0MiB / 6077MiB | 2% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+
But I'm also seeing these errors in my Plex Server.
Jan 10, 2022 16:33:47.889 [0x14d316557b38] DEBUG - [Transcode] Codecs: testing h264_vaapi (encoder)
Jan 10, 2022 16:33:47.889 [0x14d316557b38] DEBUG - [Transcode] Codecs: hardware transcoding: testing API vaapi
Jan 10, 2022 16:33:47.889 [0x14d316557b38] VERBOSE - [Transcode] [FFMPEG] - Cannot open DRM render node for device 0.
Jan 10, 2022 16:33:47.889 [0x14d316557b38] VERBOSE - [Transcode] [FFMPEG] - Cannot open a VA display from DRM device (null).
Jan 10, 2022 16:33:47.889 [0x14d316557b38] DEBUG - [Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Generic error in an external library
Jan 10, 2022 16:33:47.889 [0x14d316557b38] DEBUG - [Transcode] Could not create hardware context for h264_vaapi
Jan 10, 2022 16:33:47.889 [0x14d316557b38] DEBUG - [Transcode] Codecs: testing h264_nvenc (encoder)
Jan 10, 2022 16:33:47.889 [0x14d316557b38] DEBUG - [Transcode] Codecs: hardware transcoding: testing API nvenc
Jan 10, 2022 16:33:47.889 [0x14d316557b38] ERROR - [Transcode] [FFMPEG] - Cannot load libcuda.so.1
Jan 10, 2022 16:33:47.889 [0x14d316557b38] ERROR - [Transcode] [FFMPEG] - Could not dynamically load CUDA
Jan 10, 2022 16:33:47.889 [0x14d316557b38] DEBUG - [Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred
Jan 10, 2022 16:33:47.889 [0x14d316557b38] DEBUG - [Transcode] Could not create hardware context for h264_nvenc
Jan 10, 2022 16:33:47.891 [0x14d316557b38] DEBUG - [Transcode] Codecs: testing h264 (decoder) with hwdevice vaapi
Jan 10, 2022 16:33:47.891 [0x14d316557b38] VERBOSE - [Transcode] [FFMPEG] - Rescanning for external libs: '/config/Library/Application\ Support/Plex\ Media\ Server/Codecs/fb9eae3-4185-linux-x86_64/'
Jan 10, 2022 16:33:47.892 [0x14d316557b38] DEBUG - [Transcode] Codecs: hardware transcoding: testing API vaapi
Jan 10, 2022 16:33:47.892 [0x14d316557b38] VERBOSE - [Transcode] [FFMPEG] - Cannot open DRM render node for device 0.
Jan 10, 2022 16:33:47.892 [0x14d316557b38] VERBOSE - [Transcode] [FFMPEG] - Cannot open a VA display from DRM device (null).
Jan 10, 2022 16:33:47.892 [0x14d316557b38] DEBUG - [Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Generic error in an external library
Jan 10, 2022 16:33:47.892 [0x14d316557b38] DEBUG - [Transcode] Could not create hardware context for h264
Jan 10, 2022 16:33:47.893 [0x14d316557b38] DEBUG - [Transcode] Codecs: testing h264 (decoder) with hwdevice nvdec