Hi,
I’m using PMS in a Ubuntu server 20.04.2 setup on a ESXi 6.7 with passthrough mode for my video card to allow HW transcoding but for some reason it’s not working properly.
Plex Version: 1.23.2.4625
mkandalaf@sea1-ubu01-plex:/usr/lib/plexmediaserver/lib/dri$ ls -la /dev/dri
total 0
drwxr-xr-x 3 root root 140 Jun 3 05:47 .
drwxr-xr-x 20 root root 4380 Jun 3 05:49 ..
drwxr-xr-x 2 root root 120 Jun 3 05:47 by-path
crw-rw---- 1 root render 226, 0 Jun 3 05:49 card0
crw-rw---- 1 root render 226, 1 Jun 3 05:49 card1
crw-rw---- 1 root render 226, 128 Jun 3 05:49 renderD128
crw-rw---- 1 root render 226, 129 Jun 3 05:49 renderD129
mkandalaf@sea1-ubu01-plex:~$ sudo tail -f /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Logs/Plex\ Media\ Server.log | fgrep -a -i -e TPU -e hardware
Jun 03, 2021 06:29:21.117 [0x7fd41c707b38] DEBUG - [Transcode] Codecs: hardware transcoding: testing API vaapi
Jun 03, 2021 06:29:21.124 [0x7fd41c707b38] DEBUG - [Transcode] Codecs: hardware transcoding: testing API nvdec
Jun 03, 2021 06:29:21.124 [0x7fd41c707b38] DEBUG - [Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred
Jun 03, 2021 06:29:21.124 [0x7fd41c707b38] DEBUG - [Transcode] Codecs: hardware transcoding: testing API vaapi
Jun 03, 2021 06:29:21.140 [0x7fd41c707b38] DEBUG - [Transcode] Codecs: hardware transcoding: testing API nvdec
Jun 03, 2021 06:29:21.140 [0x7fd41c707b38] DEBUG - [Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred
Jun 03, 2021 06:29:21.141 [0x7fd41c707b38] DEBUG - [Transcode] Codecs: hardware transcoding: testing API vaapi
Jun 03, 2021 06:29:21.157 [0x7fd41c707b38] DEBUG - [Transcode] Codecs: hardware transcoding: testing API nvdec
Jun 03, 2021 06:29:21.157 [0x7fd41c707b38] DEBUG - [Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred
Jun 03, 2021 06:29:21.158 [0x7fd41c707b38] DEBUG - [Transcode] Codecs: hardware transcoding: testing API vaapi
Jun 03, 2021 06:29:21.174 [0x7fd41c707b38] DEBUG - [Transcode] Codecs: hardware transcoding: testing API nvdec
Jun 03, 2021 06:29:21.174 [0x7fd41c707b38] DEBUG - [Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred
Jun 03, 2021 06:29:21.174 [0x7fd41c707b38] DEBUG - [Transcode] Codecs: hardware transcoding: testing API vaapi
Jun 03, 2021 06:29:21.190 [0x7fd41c707b38] DEBUG - [Transcode] Codecs: hardware transcoding: testing API nvdec
Jun 03, 2021 06:29:21.190 [0x7fd41c707b38] DEBUG - [Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred
Jun 03, 2021 06:29:21.191 [0x7fd41c707b38] DEBUG - [Transcode] Codecs: hardware transcoding: testing API vaapi
Jun 03, 2021 06:29:21.207 [0x7fd41c707b38] DEBUG - [Transcode] Codecs: hardware transcoding: testing API nvdec
Jun 03, 2021 06:29:21.207 [0x7fd41c707b38] DEBUG - [Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred
Jun 03, 2021 06:29:21.403 [0x7fd41bf7eb38] DEBUG - [Transcode/3692F296-E8A9-420B-8D18-7574F30C6651] TPU: hardware transcoding: enabled, but no hardware decode accelerator found
Jun 03, 2021 06:29:21.404 [0x7fd41bf7eb38] DEBUG - [Transcode/3692F296-E8A9-420B-8D18-7574F30C6651] Codecs: hardware transcoding: testing API vaapi
Jun 03, 2021 06:29:21.407 [0x7fd41bf7eb38] DEBUG - [Transcode/3692F296-E8A9-420B-8D18-7574F30C6651] TPU: hardware transcoding: final decoder: , final encoder: vaapi
Jun 03, 2021 06:29:21.407 [0x7fd41bf7eb38] DEBUG - [Transcode/3692F296-E8A9-420B-8D18-7574F30C6651/JobRunner] Job running: FFMPEG_EXTERNAL_LIBS='/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Codecs/fa235d6-3858-linux-x86_64/' LIBVA_DRIVERS_PATH='/usr/lib/plexmediaserver/lib/dri' X_PLEX_TOKEN='xxxxxxxxxxxxxxxxxxxx' '/usr/lib/plexmediaserver/Plex Transcoder' '-codec:0' 'hevc' '-codec:1' 'aac' '-analyzeduration' '20000000' '-probesize' '20000000' '-i' '/mnt/timecapsule/Descargas/2001 A Space Odyssey (1968) [2160p] [4K] [BluRay] [5.1] [YTS.MX]/2001.A.Space.Odyssey.1968.2160p.4K.BluRay.x265.10bit.AAC5.1-[YTS.MX].mkv' '-filter_complex' '[0:0]scale=w=1280:h=582[0];[0]format=pix_fmts=nv12[1];[1]hwupload[2]' '-map' '[2]' '-codec:0' 'h264_vaapi' '-b:0' '2531k' '-maxrate:0' '3375k' '-bufsize:0' '6750k' '-r:0' '23.975999999999999' '-force_key_frames:0' 'expr:gte(t,n_forced*5)' '-filter_complex' '[0:1] aresample=async=1:ocl='\''stereo'\'':rematrix_maxval=0.000000dB:osr=48000[3]' '-map' '[3]' '-codec:1' 'libopus' '-b:1' '140k' '-map' '0:2' '-metadata:s:2' 'language=eng' '-codec:2' 'copy' '-map' '0:t?' '-codec:t' 'copy' '-segment_format' 'matroska' '-f' 'ssegment' '-individual_header_trailer' '0' '-flags' '+global_header' '-segment_format_options' 'output_ts_offset=10' '-segment_header_filename' 'header' '-segment_time' '5' '-segment_start_number' '0' '-segment_copyts' '1' '-segment_time_delta' '0.0625' '-segment_list' 'http://127.0.0.1:32400/video/:/transcode/session/3692F296-E8A9-420B-8D18-7574F30C6651/82aab9eb-e722-40cb-9cc8-637d44dc7ea7/manifest?X-Plex-Http-Pipeline=infinite' '-segment_list_type' 'csv' '-segment_list_size' '5' '-segment_list_separate_stream_times' '1' '-segment_list_unfinished' '1' '-max_delay' '5000000' '-avoid_negative_ts' 'disabled' '-map_metadata:g' '-1' '-map_metadata:c' '-1' '-map_chapters' '-1' 'media-%05d.ts' '-start_at_zero' '-copyts' '-vsync' 'cfr' '-init_hw_device' 'vaapi=vaapi:/dev/dri/renderD129' '-filter_hw_device' 'vaapi' '-y' '-nostats' '-loglevel' 'quiet' '-loglevel_plex' 'error' '-progressurl' 'http://127.0.0.1:32400/video/:/transcode/session/3692F296-E8A9-420B-8D18-7574F30C6651/82aab9eb-e722-40cb-9cc8-637d44dc7ea7/progress'
Jun 03, 2021 06:29:26.218 [0x7fd41c707b38] DEBUG - [Transcode/3692F296-E8A9-420B-8D18-7574F30C6651] TPU: hardware transcoding: enabled, but no hardware decode accelerator found
Jun 03, 2021 06:29:26.225 [0x7fd41c707b38] DEBUG - [Transcode/3692F296-E8A9-420B-8D18-7574F30C6651] Codecs: hardware transcoding: testing API vaapi
Jun 03, 2021 06:29:26.226 [0x7fd41c707b38] DEBUG - [Transcode/3692F296-E8A9-420B-8D18-7574F30C6651] TPU: hardware transcoding: final decoder: , final encoder: vaapi
Please let me know what information you need to help me troubleshooting this issue.