Hardware transcoding on Qnap TVS-672XT

Specific to Docker:
I was able to finally solve this by passing dri device in docker, and changing the permissions on the /dev/dri. Transcoding now works in the docker. Here is what I did:

  1. chmod -R 777 /dev/dri to change permissions (critical step for use in Docker!)

  2. vim /share/docker/appdata/linuxserver-plex/config/Library/Application\ Support/Plex\ Media\ Server/Preferences.xml (this is my custom location for my docker). add VaapiDriver=“i965” to end of file as ChuckPa suggested.

Thanks a lot of the help @ChuckPa!

Code for my docker:

docker pull linuxserver/plex

docker run --restart unless-stopped -d
–name=“plex”
–restart always
–net=host
–cpus=“6”
-e TZ=“America/Chicago”
-e PLEX_CLAIM=“claim-not.for.real.dhVdBXssnjjZ”
-e VERSION=public
-e PUID=1010 -e PGID=100
-v /share/docker/appdata/linuxserver-plex/config:/config:rw
-v /share/docker/appdata/linuxserver-plex/transcode:/transcode:rw
-v /share/Movies/Movies:/share/Movies/Movies:ro
–device=/dev/dri:/dev/dri
linuxserver/plex