I followed this tutorial here
[HowTo] Nvidia hardware transcoding on OMV 5 in a Plex docker container
Everything seems to go well. I have this as my compose
Code
version: "3.4"
services:
plex:
image: plexinc/pms-docker
container_name: plex_app
network_mode: "host"
runtime: nvidia
devices:
- /dev/dri:/dev/dri
restart: unless-stopped
environment:
- TZ=America/New_York
- PLEX_CLAIM=xxxxxxxxxxxxxxxxxxxxx
- PLEX_UID=1001
- NVIDIA_DRIVER_CAPABILITIES=compute,video,utility
- NVIDIA_VISIBLE_DEVICES=all
- CUDA_DRIVER_CAPABILITIES=compute,video,utility
volumes:
- /opt/plex/config:/config
- /opt/plex/transcode:/transcode
- /data/Media/Movies:/mnt/movies
- /data/Media/TV_Shows:/mnt/tv
- /data/Media/Anime:/mnt/anime
Alles anzeigen
Everything seems to be good, nvidia-smi from docker shows the following:
Code
docker run --rm --gpus 'all,"capabilities=compute,utility"' nvidia/cuda:11.0-base nvidia-smi
Fri Aug 13 16:16:00 2021
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.73.01 Driver Version: 460.73.01 CUDA Version: 11.2 |
|-------------------------------+----------------------+----------------------+
| 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 Quadro P400 Off | 00000000:07:00.0 Off | N/A |
| 25% 42C P0 N/A / N/A | 0MiB / 2000MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+
Alles anzeigen
But no dice on the the GPU being used.