Hardware Accelerated Decode (Nvidia) for Linux

I just wrote a bash script that forces NVDEC on my Plex. What you need to do is to run the latest Plex 1.15 alpha from the thread I posted above and then rename the “Plex Transcoder” binary to “Plex Transcoder2”. After that create this file in it’s place called “Plex Transcoder” with these contents:

#!/bin/sh
/usr/lib/plexmediaserver/Plex\ Transcoder2 -hwaccel nvdec "$@"

Of course the path “/usr/lib/plexmediaserver/” will have to be modified to wherever Plex is installed.
After that chmod +x this file. Now transcoding is fully HW accellerated from your server (provided it has a supported Nvidia card installed with the offical drivers)! That’s how easy it is to enable at this point. Can we please have it officially soon?

Of course the brute force way I have done here does not report correctly on the Plex dashboard but clearly my CPUs don’t get pegged and the GPU usage reported by “nvidia-smi” now increases more than before.

6 Likes