Ok, this one has me stumped - mostly as I can’t see any logical reason for it.
I can’t seem to get plex to use hardware transcoding. I’ve tried nvidia drivers 430, 440 & 450 on a 5.6 kernel. Hardware is a ryzen 3600x with nvidia p620. I can see from the transcode statistics that the hardware is being requested but plex is deciding to use software. What’s odd from the logs is the following:
Aug 06, 2020 21:01:13.183 [0x7ff31a7fc700] ERROR - [FFMPEG] - The minimum required Nvidia driver for nvenc is 418.30 or newer
Aug 06, 2020 21:01:13.183 [0x7ff31a7fc700] VERBOSE - [FFMPEG] - Nvenc unloaded
Aug 06, 2020 21:01:13.293 [0x7ff31a7fc700] WARN - Codecs: avcodec_open2 returned -1 for encoder ‘h264_nvenc’
Aug 06, 2020 21:01:13.293 [0x7ff31a7fc700] DEBUG - MDE: Cannot direct stream video stream due to profile or setting limitations
Aug 06, 2020 21:01:13.293 [0x7ff31a7fc700] DEBUG - Codecs: testing hevc (decoder) with hwdevice vaapi
Aug 06, 2020 21:01:13.293 [0x7ff31a7fc700] VERBOSE - [FFMPEG] - Rescanning for external libs: ‘/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Codecs/5f603a2-3204-linux-x86_64/’
Aug 06, 2020 21:01:13.293 [0x7ff31a7fc700] DEBUG - Codecs: hardware transcoding: testing API vaapi
Aug 06, 2020 21:01:13.294 [0x7ff31a7fc700] VERBOSE - [FFMPEG] - libva: VA-API version 1.6.0
Aug 06, 2020 21:01:13.294 [0x7ff31a7fc700] VERBOSE - [FFMPEG] - Initialised VAAPI connection: version 1.6
Aug 06, 2020 21:01:13.294 [0x7ff31a7fc700] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Input/output error
Aug 06, 2020 21:01:13.294 [0x7ff31a7fc700] DEBUG - Codecs: testing hevc (decoder) with hwdevice nvdec
Aug 06, 2020 21:01:13.294 [0x7ff31a7fc700] VERBOSE - [FFMPEG] - Rescanning for external libs: ‘/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Codecs/5f603a2-3204-linux-x86_64/’
Aug 06, 2020 21:01:13.294 [0x7ff31a7fc700] DEBUG - Codecs: hardware transcoding: testing API nvdec
So, given I’m on drivers far past the minimum spec, how do I resolve this or is it a known driver issue / incompatibility with plex ?