Hardware Transcoding not working - Linux Mint, Plex in Docker

Server Version#:1.19.3.2764
Player Version#:

Hi Guys,
Would appreciate some help and insight. I have Plex installed on Linux mint 19.3
Cpu : Intel® Core™ i5-6400 CPU @ 2.70GHz
Gpu : Intel Corporation HD Graphics 530

I also have a plex pass, and enabled both options
*Use hardware acceleration when available
*Use hardware-accelerated video encoding

When I lower my bitrate from multiple devices, I dont see the HW indicating that hardware transcoding is being utilised.
My cpu usage spikes a little for couple of seconds then it comes down and idles around 15% or so,
Also when I run intel_gpu_top on the intel tools, I dont see any activity or activity.
Any suggestions would be greatly appreciated.

Don’t run Linux Mint. (ok got that out of the way)

At a command prompt what is the output of:

ls -l /dev/dri
id plex

Why dont run Mint? Whats so bad about it that you had to express the concern lol

christopher@mintsrv:~$ ls -l /dev/dri
total 0
drwxr-xr-x 2 root root 80 May 20 16:07 by-path
crw-rw----+ 1 root video 226, 0 May 20 16:07 card0
crw-rw----+ 1 root video 226, 128 May 20 16:07 renderD128

christopher@mintsrv:~$ id plex
id: ‘plex’: no such user

I have no in turn realised and found out with some help from a few guys that there is a parameter to allow quicksync, I am busy adding this to my compose file to see what happens.
–device=/dev/dri:/dev/dri

The officially supported distributions are RHEL\Centos\Fedora and Debian\Ubuntu (no derivatives) If you don’t need support feel free to explore.

So the plex user inside the docker needs to be a member of the video group on the host. If you started with a working Plex install and then dockerized it, it would have been less confusing. In this case aside from --device /dev/dri:/dev/dri you need to add the user running docker to the video group if not already.

Yeah thats exactly what I just did, and it sorted it out!! Thanks doe the help buddy, appreciate it!! Keep up the good work!! I didnt touch any users or groups though

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.