Can't get Plex to do HW Transcoding with Quadro P600

Server Version#: 1.14.1.5488
Platform: Ubuntu Server 18.04
Kernel: 4.15.0-45-generic
GPU: Nvidia Quadro P600
Drivers: 390.87
Logs: attached

i can’t get HW transcoding to work! not sure what it is i am missing here. help is truly appreciatedPlex Media Server Logs_2019-02-27_14-05-18.zip (1.8 MB)

Thanks for including the logs

They do show

Feb 27, 2019 13:09:54.788 [0x7fe4dfbef700] ERROR - [FFMPEG] - No NVENC capable devices found
Feb 27, 2019 13:09:54.788 [0x7fe4dfbef700] WARN - avcodec_open2 returned -542398533 for encoder 'h264_nvenc'

I don’t use nVidia on Linux workstations but do have it in the NAS. The nVidia GPU drivers must be on the LD_LIBRARY_PATH somewhere for it to work.

If you are doing a normal installation, they should show up in /lib or /lib64 (system defaults).

Thanks allot for your response, could you please elaborate on what it is I’m supposed to do to get Plex to recognize the drivers? (Copy or point Plex towards them) I installed the drivers the usual way through the official Nvidia PPA. Also rolled them back a couple of times to eliminate doubt. Lspci shows Nvidia properly and it’s the prime vga the system is using. nvidia-ims reports positive output.

Another note, I’m not sure if it’s important, I can’t get a video signal out of the quadro

Thx

The nvidia drivers should be on the default /lib64 and /lib LD_LIBRARY paths
If they aren’t installed there anymore, we’ll need to symlink them in.

Did you rerun ldconfig to have it update the links after installing and then reboot ?

On the QNAP boxes, which I just did this for 2 weeks ago, I appended the path to the drivers on LD_LIBRARY_PATH. This was an unusual but necessary step due to how QNAP does things. Their drivers end up in /opt

Hmmm … interesting, I didn’t ldconfig, I’ll also check the paths and will report back. Appreciate the tip.

The drivers aren’t there, Could you be kind enough to guide me symlink the drivers to lib64 and /lib LD_LIBRARY paths? I’m unable to get it done. Thanks a million

Does nvidia-smi report the card properly? Did you reboot after installing the drivers?

Example nvidia-smi output:

# nvidia-smi
Wed Feb 27 17:52:54 2019
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 410.79       Driver Version: 410.79       CUDA Version: 10.0     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  Quadro P2000        Off  | 00000000:13:00.0 Off |                  N/A |
| 53%   47C    P0    18W /  75W |    149MiB /  5059MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0       649      C   /usr/lib/plexmediaserver/Plex Transcoder      62MiB |
|    0      4573      C   /usr/lib/plexmediaserver/Plex Transcoder      77MiB |
+-----------------------------------------------------------------------------+

Edit: You should not need to do anything after installing the drivers successfully and nvdia-smi reporting the card is there. Everything should be put into the proper paths.

Thanks for the feedback, nvidia-smi reports that the device and the driver are installed properly but still no go. i also tried modifying the path as chuck suggested with

export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib/nvidia-390"
but i still can’t seem to be able to add a symlink for the drivers to lib and lib64

any assistance would be appreciated.

Have you tried using a newer diver?

410 downloaded from nvidia says that Quadro P600 isn’t supported, detected or something similar i really can’t remember.

i attempted a clean ubuntu server 18.04 install, still not getting anywhere.

You may want to verify that the older diver works properly with 18.04.

what ChuckPA mentioned makes total sense, the driver is well installed and recognized by the system, it’s Plex that can’t seem to link to it.

i’m holding for his wisdom on how to link the drivers properly with /lib64 and /lib LD_LIBRARY

but hey! thanks allot for your input and don’t hold back if you have any other ideas.

p600 is listed as a supported device on the even the latest nvidia drivers, so if you had errors involved with a newer driver then you should probably investigate that first.

Version: 418.43
Release Date: 2019.2.22
Operating System: Linux 64-bit
Language: English (US)
File Size: 101.71 MB

Quadro Series:

Quadro GV100, Quadro GP100, Quadro P6000, Quadro P5200, Quadro P5000, Quadro P4000, Quadro P2000, Quadro P1000, Quadro P620, Quadro P600, Quadro P400, Quadro M6000 24GB, Quadro M6000, Quadro M5000, Quadro M4000, Quadro M2000, Quadro K6000, Quadro K5200, Quadro K5000, Quadro K4000, Quadro K4200, Quadro K2200, Quadro K2000, Quadro K2000D, Quadro K1200, Quadro K620, Quadro K600, Quadro K420, Quadro 410

edit; sorry p600 is supported
and for what it is worth, p400 is what I have and works fine with latest driver.

i saw that and that’s why i attempted the installation but the driver installer prompt says the device is going to be ignored :confused:

is that normal? should i bite and proceed anyway?

if there is some message the driver installer is telling you, you should probably write it down and google it.

if it says something about 32bit compatibility then that can be safely ignored if you are on a 64bit os.

I’ve been googling to my heart’s content for the past two days. although nvidia says it is compatible, the installer mentions that the Quadro P600 is supported through the legact 380.xx driver. i tried the 418 driver a few minutes ago just to confirm

no i didn’t get any 32bit compatibility issues, i’m running a 64bit system anyway.

very weird.

you might try @ https://github.com/keylase/nvidia-patch and start with the newest driver listed and go backwards.

(don’t worry about the patch itself until you can get the card working)

The drivers link back to the official nvidia repositories, I guess they are all about the patch, I’ll give the patch a shot, maybe the replacement libraries would override whatever is holding the system back. Thanks for the tip. Cheers.

the patch is not going to fix it if the driver install says it doesn’t support the card.

the patch is a very simply modification of a few bit of data related only to the encoder code. the patch does not replace any libraries, it modified a file (making a backup copy first), thats it.

what I meant by providing the link was a list of known good linux drivers.

start with the newer ones if they dont’ work, uninstall and install the next older.

or start with the oldest and go forward, either way, you should be able to see what driver starts giving you the error.

What’s bugging me is that I don’t have any issues with the card nor the latest driver supported, it is Plex that can’t seem to recognize the card or see the drivers. I have tried to install the drivers from both the Official Ubuntu PPA and direct .run file versions from the nvidia website.

Good to know how the patch works though and I’ll try the drivers they provide, fingers crossed and thanks allot once again.