I just setup Plex on a mini PC (Core i5 12450H) running Fedora Workstation 41, using Docker compose. I’m using the linuxserver/plex:latest image, and I set it up with pretty much the basic compose file from Docker hub.
I had been running Plex on an old file server I built 10 years ago, but it couldn’t do transcoding because of the CPU and lack of GPU. It was a direct service install and not any sort of container. This is my first go at Docker.
What I need to know is what more do I need to do to the docker compose file to enable hardware transcoding vi the 12th gen Core i5 processor?
Next, you’ll need to make sure the UID you run the container as is a member of the group which owns render
– This is how Plex is configured. It looks at who owns the GPU then adds itself to that group
[chuck@lizum docker.2007]$ ls -la /dev/dri
total 0
drwxr-xr-x 3 root root 140 Nov 8 18:21 ./
drwxr-xr-x 22 root root 5800 Nov 19 13:28 ../
drwxr-xr-x 2 root root 140 Nov 19 13:28 by-path/
crw-rw----+ 1 root render 226, 1 Nov 19 13:28 card1
crw-rw----+ 1 root render 226, 2 Nov 19 13:28 card2
crw-rw----+ 1 root render 226, 128 Nov 19 13:28 renderD128
crw-rw----+ 1 root render 226, 129 Nov 19 13:28 renderD129
[chuck@lizum docker.2008]$ groups plex
plex : plex render
[chuck@lizum docker.2009]$
This tells me that the UID I run this container as must be a member of group render