I previously had Plex running my Synology NAS (via Docker) with HW transcoding working well. It has been years since I originally set this up and don’t recall if I ran into challenges around transcoding. Lately the NAS has been bogged down from other containers and I decided to dedicate a system just to be a server and let the NAS do NAS things.
I purchased a NUC 12 Pro (Intel Core i5 12-Core w/ Integrated Intel Iris Xe Graphics) installed Ubuntu 22.04 server, docker (via snap) and have deployed plexinc/pms-docker:latest to it.
plex:
image: plexinc/pms-docker:latest
container_name: plex
volumes:
- /mnt/nas/media:/media:ro
- plex_data:/config
- plex_transcode:/transcode
networks:
media:
ipv4_address: 192.168.30.10
devices:
- /dev/dri:/dev/dri
hostname: plex.local
restart: always
I’m setting the appropriate env variables and everything seems to work as expected except HW transcoding.
Looking in the container, I do see dev/dri availble:
root@plex:/dev/dri# ls -l
total 0
crw-rw---- 1 root video 226, 0 Oct 22 11:47 card0
crw-rw---- 1 root video1 226, 128 Oct 22 11:47 renderD128
I installed lshw to see what was being seen and it appears to acknowledge the gpu
root@plex:/# lshw -c video
*-display
description: VGA compatible controller
product: Intel Corporation
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 0c
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: iomemory:600-5ff iomemory:400-3ff irq:183 memory:603c000000-603cffffff memory:4000000000-400fffffff ioport:3000(size=64) memory:c0000-dffff memory:4010000000-4016ffffff memory:4020000000-40ffffffff
I’ve tried changing permissions on /dev/dri without luck.
looking it the logs, I see the following lines:
Oct 22, 2023 17:46:33.472 [140640125545272] DEBUG - [GPU] Got device: Alder Lake-P Integrated Graphics Controller, intel@builtin, default true, best true, ID 8086:46a6:8086:3024@0000:00:02.0, DevID [8086:46a6:8086:3024], flags 0x3ae7
Oct 22, 2023 17:46:33.472 [140640125545272] INFO - Preemptively preparing driver imd for GPU Alder Lake-P Integrated Graphics Controller
Oct 22, 2023 17:46:33.472 [140640125545272] DEBUG - [DriverDL/imd] Skipping download; already exists
Oct 22, 2023 17:46:33.472 [140640125545272] INFO - Preemptively preparing driver icr for GPU Alder Lake-P Integrated Graphics Controller
Oct 22, 2023 17:46:33.472 [140640125545272] DEBUG - [DriverDL/icr] Skipping download; already exists
I don’t see anything specific the HW transcoding in the logs. (nothing that references dri, hardware, transcoding, etc.) I do see a few references in the transcoding logs. I have ensured that HW transcoding is on in the settings of the server. “Use hardware-accelerated video encoding”
What am I missing?
Server Version#: Ubuntu 22.04
Player Version#: Version 1.32.6.7557