I’ve hunted down the issue which was causing the Intel NUC hardware from not performing hardware transcoding and using a significant amount of CPU time.
The issue comes down to the plex user not being added to the render group of the server.
After adding the plex user to the render group and restarting the Plex Media Server, the Plex server successfully hardware transcodes along with a great reduction in CPU usage.
It is adding itself to the video group but not the render group. Plex needs to be added to the render group to correctly access the video encoders.
Using Debian Buster and Plex version 1.16.2.1297-4b7ace214 of the Ubuntu / Debian x64
When I initially found the problem, I thought it was a codec issue where I removed all the codecs, got Plex to download them all again, refreshed all the metadata, restarted the Plex Media Server service, restarted the Linux server multiple times between changes and even re-installed Plex.
After going through all these issues, I dug into the OS and checked that the right Intel drivers were installed and being accessed correctly.
After that I turned on Plex debug and verbose logging where I finally found where Plex was attempting to access /dev/dri/renderD128 but that required group rights to the render group.
As soon as I corrected the Plex permissions by adding it to the render group, it successfully connected to the renderer and stopped complaining about not being able to access the device.
Grabbed the new 1311 build and it installs wonderfully.
Render group and HW transcoding is detected at install. Super awesome change to the install regime!
The only thing which I have spotted is that the temp directory that it quotes doesn’t exist. Should it attempt to create at install and/or starting of the service?
The new installer will create what it needs for new installations.
For existing installations, it will validate what it finds.
It will show the override file it used in making the decisions.
Part of the fail-safe I built in prevents it from breaking an existing. It sounds like you’re seeing that in action?