Server Version#: 1.15.3.876
Player Version#: 3.83.1 (web)
Hi fellow Plex users.
I am using plex in LXD container for quite a few time. I decided to add an nvidia card (GTX 1050) in order to do hw encoding (cpu does not support it).
My card seems to be configure properly in the container and I am able to see detail
root@plex:~# nvidia-smi
Thu Apr 11 15:03:28 2019
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 390.116 Driver Version: 390.116 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 1050 Off | 00000000:03:00.0 Off | N/A |
| 45% 26C P0 N/A / 75W | 0MiB / 2000MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+
Unfortunatly, hardware encoding is not working properly and I get those errors in Plex log :
/mnt/Share/Services/Plex/Data/Application Support/Plex Media Server/Logs/Plex Media Server.log:Apr 11, 2019 14:49:30.441 [0x7f7fabfff700] ERROR - [FFMPEG] - The minimum required Nvidia driver for nvenc is 378.13 or newer
/mnt/Share/Services/Plex/Data/Application Support/Plex Media Server/Logs/Plex Media Server.log:Apr 11, 2019 14:49:30.441 [0x7f7fabfff700] WARN - avcodec_open2 returned -1313558101 for encoder 'h264_nvenc'
As you can see, this is telling me I need a newer nvidia driver but I am above minimum in the error msg. Also I try installing 418 driver and did the same error.
Anyone successfully made nvenc plex encoding works in LXD?
Thank You!
PS : If you need more inforamtion, please feel free to asks


