Server Version: Debian 11 (64 bit)
Docker Version: 20.10.17, build 100c701
Server Version: 1.28.0.5998
Player Version: Multiple
I’m running Plex via Docker on my Debian host. My host has a P400 that at some point was working for hardware transcoding. I recently noticed that Tautulli no longer reported hardware transcoding for items being transcoded. I verified this with nvtop, which shows no load from Plex on the P400.
My compose is:
version: "3.4"
services:
pms-docker:
container_name: plex
hostname: plex
image: plexinc/pms-docker:plexpass
deploy:
resources:
reservations:
devices:
- capabilities: [gpu]
ports:
- "3005:3005"
- "8324:8324"
- "32400:32400"
- "32469:32469"
- "1900:1900/udp"
- "32410:32410/udp"
- "32412:32412/udp"
- "32413:32413/udp"
- "32414:32414/udp"
environment:
- "ADVERTISE_IP=http://192.168.2.100:32400/"
- "PLEX_UID=1003"
- "PLEX_GID=998"
- "TZ=America/New_York"
- "NVIDIA_DRIVER_CAPABILITIES=compute,video,utility"
- "NVIDIA_VISIBLE_DEVICES=all"
volumes:
- "/dev:/dev"
- "/docker/config/plex:/config"
- "/mnt/zpool/plex/localhost:/config/Library/Application Support/Plex Media Server/Media/localhost"
- "/mnt/zpool/media:/media:ro"
- "/etc/localtime:/etc/localtime:ro"
- "/docker/config/certbot/etc-letsencrypt:/etc/letsencrypt:ro"
devices:
- "/dev/dvb:/dev/dvb"
- "/dev/dri:/dev/dri"
restart: unless-stopped
labels:
- "com.ouroboros.enable=true"
logging:
driver: json-file
options:
max-file: "3"
max-size: "10M"
network_mode: VergilNet
I have “Enable HDR tone mapping”, “Use hardware acceleration when available”, and “Use hardware-accelerated video encoding” enabled in the server settings. Notably, the container is able to see the P400:
[goose@Vergil: ~ ] $ docker exec -it plex nvidia-smi
Sat Jul 23 23:39:59 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.129.06 Driver Version: 470.129.06 CUDA Version: N/A |
|-------------------------------+----------------------+----------------------+
| 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:05:00.0 Off | N/A |
| 58% 54C 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 |
+-----------------------------------------------------------------------------+
[goose@Vergil: ~ ] $
I’m not sure what changed/at what point hardware transcoding stopped working. Any idea where I need to adjust things to get it back?
Edited to fix the block text formatting
