what are these parameters for? “–device /dev/dri:/dev/dri” . Where do you put them?
This goes in the Extra Parameters in the Plex Docker config (you have to enable Advanced View on the docker edit page to see this). Note: this is for the linuxserver.io Plex docker (others Plex dockers may be different):
Also, you need some entries in your go file like this (after entering these commands in the CLI):
#Setup drivers for hardware transcoding in Plex
modprobe i915
chmod -R 777 /dev/dri
And in your Plex server Transcoder Settings page you need to enable hardware acceleration