Plex Docker won't run with nvidia runtime

Server Version#: 4.43.4
Player Version#: N/A

I’m attempting to get the plex docker to run using the nvidia docker runtime and I’m not having any luck. I can get the test container to work but no offloading to the gpu seems to be happening when I enable it in the PMS.

So the test command that I can use to verify that I can use the nvidia runtime on this linux machine is the following:

docker run --runtime=nvidia --rm nvidia/cuda:9.0-base nvidia-smi

This works as expected and provides the following output:

Fri Dec 11 19:30:17 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 450.80.02    Driver Version: 450.80.02    CUDA Version: 11.0     |
|-------------------------------+----------------------+----------------------+
| 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  GeForce GT 1030     Off  | 00000000:03:00.0 Off |                  N/A |
| 38%   31C    P0    N/A /  30W |      0MiB /  2000MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

So I’m at least a little confident some things are setup properly to get the plex docker to run on this system using the nvidia runtime.

I’m using portainer to start and configure the plex docker. It’ll run great using the default ‘runc’ runtime. But when I use the nvidia runtime, I get an error.

  1. I’m not sure how to get more information about the error when I try to launch it. I’d gladly provide logs if it would help, I’m just not sure where to get them.
  2. The error reported in portainer IU has something to do with ldconfig returning error 127.

I’m not sure where to start troubleshooting this or if this is even really the right place to be posting this. It’s plex related, but also nvidia runtime related and docker related. So many parts that it could be related to. So sorry if this is not the right place.

Any help to get started would be appreciated.

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