Quick Sync not working

Hi all,
I think I’m loosing my mind. Plex for some reason is not using the Intel HD Graphics for Quick Sync, this has been passed through using Proxmox and is accessible by the virtual machine.

I can see the following in clinfo:

clinfo.txt (35.2 KB)

In the server logs I see:


Jun 21, 2021 17:59:59.683 [0x7fbee8aafb38] DEBUG - Request: [192.168.0.4:54238 (Subnet)] GET /video/:/transcode/universal/decision?hasMDE=1&path=%2Flibrary%2Fmetadata%2F4958&mediaIndex=0&partIndex=0&protocol=dash&fastSeek=1&directPlay=0&directStream=1&subtitleSize=50&audioBoost=700&location=lan&addDebugOverlay=0&autoAdjustQuality=0&directStreamAudio=1&mediaBufferSize=102400&session=u46h78kwyfavbkfzvwc9dj02&subtitles=burn&Accept-Language=en-GB (23 live) TLS GZIP Signed-in Token (jamietees@gmail.com)
Jun 21, 2021 17:59:59.683 [0x7fbee8aafb38] DEBUG - [Transcode] Found session GUID of u46h78kwyfavbkfzvwc9dj02 in session start.
Jun 21, 2021 17:59:59.683 [0x7fbee8aafb38] DEBUG - [Transcode] TranscodeUniversalRequest: using augmented profile Web
Jun 21, 2021 17:59:59.683 [0x7fbee8aafb38] DEBUG - [Transcode] Downloading document http://127.0.0.1:32400/library/metadata/4958?includeBandwidths=1&offset=-1&X-Plex-Incomplete-Segments=1&X-Plex-Session-Identifier=tnmvxjpvnl8kycwgdzqp4tf1
Jun 21, 2021 17:59:59.684 [0x7fbee8aafb38] DEBUG - [Transcode] Auth: authenticated user 1 as jamietees@gmail.com
Jun 21, 2021 17:59:59.694 [0x7fbee8aafb38] DEBUG - [Transcode] We're going to try to auto-select an audio stream for account 1.
Jun 21, 2021 17:59:59.694 [0x7fbee8aafb38] DEBUG - [Transcode] Selecting best audio stream for part ID 10692 (autoselect: 0 language: en)
Jun 21, 2021 17:59:59.694 [0x7fbee8aafb38] DEBUG - [Transcode] Audio Stream: 22253, Subtitle Stream: -1
Jun 21, 2021 17:59:59.696 [0x7fbee8aafb38] DEBUG - [Transcode] Codecs: testing h264_vaapi (encoder)
Jun 21, 2021 17:59:59.697 [0x7fbee8aafb38] DEBUG - [Transcode] Codecs: hardware transcoding: testing API vaapi
Jun 21, 2021 17:59:59.727 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x41524742 -> bgra.
Jun 21, 2021 17:59:59.727 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x42475241 -> argb.
Jun 21, 2021 17:59:59.727 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x41424752 -> rgba.
Jun 21, 2021 17:59:59.727 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x52474241 -> abgr.
Jun 21, 2021 17:59:59.727 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x58524742 -> bgr0.
Jun 21, 2021 17:59:59.727 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x42475258 -> 0rgb.
Jun 21, 2021 17:59:59.727 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x58424752 -> rgb0.
Jun 21, 2021 17:59:59.727 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x52474258 -> 0bgr.
Jun 21, 2021 17:59:59.727 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x30335241 -> unknown.
Jun 21, 2021 17:59:59.727 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x30334241 -> unknown.
Jun 21, 2021 17:59:59.727 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x30335258 -> unknown.
Jun 21, 2021 17:59:59.727 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x30334258 -> unknown.
Jun 21, 2021 17:59:59.727 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x36314752 -> unknown.
Jun 21, 2021 17:59:59.727 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x50424752 -> unknown.
Jun 21, 2021 17:59:59.727 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x50524742 -> unknown.
Jun 21, 2021 17:59:59.727 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x56555941 -> unknown.
Jun 21, 2021 17:59:59.727 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x30303859 -> gray.
Jun 21, 2021 17:59:59.727 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x3231564e -> nv12.
Jun 21, 2021 17:59:59.727 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x3132564e -> unknown.
Jun 21, 2021 17:59:59.727 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x32595559 -> yuyv422.
Jun 21, 2021 17:59:59.727 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x59565955 -> uyvy422.
Jun 21, 2021 17:59:59.727 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x32315659 -> yuv420p.
Jun 21, 2021 17:59:59.727 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x30323449 -> yuv420p.
Jun 21, 2021 17:59:59.727 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x50313134 -> yuv411p.
Jun 21, 2021 17:59:59.727 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x48323234 -> yuv422p.
Jun 21, 2021 17:59:59.727 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x56323234 -> yuv440p.
Jun 21, 2021 17:59:59.727 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x50343434 -> yuv444p.
Jun 21, 2021 17:59:59.727 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x33434d49 -> unknown.
Jun 21, 2021 17:59:59.727 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x30313050 -> p010le.
Jun 21, 2021 17:59:59.727 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Created surface 0.
Jun 21, 2021 17:59:59.727 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Direct mapping possible.
Jun 21, 2021 17:59:59.728 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Driver supports RC modes CQP, CBR, VBR, ICQ, QVBR, AVBR.
Jun 21, 2021 17:59:59.728 [0x7fbee8aafb38] WARN - [Transcode] [FFMPEG] - No quality level set; using default (20).
Jun 21, 2021 17:59:59.728 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Using nv12 as format of reconstructed frames.
Jun 21, 2021 17:59:59.728 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Created surface 0x1.
Jun 21, 2021 17:59:59.728 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Direct mapping possible.
Jun 21, 2021 17:59:59.799 [0x7fbee8aafb38] DEBUG - [Transcode] Codecs: testing hevc (decoder) with hwdevice vaapi
Jun 21, 2021 17:59:59.799 [0x7fbee8aafb38] DEBUG - [Transcode] Codecs: hardware transcoding: testing API vaapi
Jun 21, 2021 17:59:59.800 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x41524742 -> bgra.
Jun 21, 2021 17:59:59.800 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x42475241 -> argb.
Jun 21, 2021 17:59:59.800 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x41424752 -> rgba.
Jun 21, 2021 17:59:59.800 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x52474241 -> abgr.
Jun 21, 2021 17:59:59.800 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x58524742 -> bgr0.
Jun 21, 2021 17:59:59.800 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x42475258 -> 0rgb.
Jun 21, 2021 17:59:59.800 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x58424752 -> rgb0.
Jun 21, 2021 17:59:59.800 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x52474258 -> 0bgr.
Jun 21, 2021 17:59:59.800 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x30335241 -> unknown.
Jun 21, 2021 17:59:59.800 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x30334241 -> unknown.
Jun 21, 2021 17:59:59.800 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x30335258 -> unknown.
Jun 21, 2021 17:59:59.800 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x30334258 -> unknown.
Jun 21, 2021 17:59:59.800 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x36314752 -> unknown.
Jun 21, 2021 17:59:59.800 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x50424752 -> unknown.
Jun 21, 2021 17:59:59.800 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x50524742 -> unknown.
Jun 21, 2021 17:59:59.800 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x56555941 -> unknown.
Jun 21, 2021 17:59:59.800 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x30303859 -> gray.
Jun 21, 2021 17:59:59.800 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x3231564e -> nv12.
Jun 21, 2021 17:59:59.800 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x3132564e -> unknown.
Jun 21, 2021 17:59:59.800 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x32595559 -> yuyv422.
Jun 21, 2021 17:59:59.800 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x59565955 -> uyvy422.
Jun 21, 2021 17:59:59.800 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x32315659 -> yuv420p.
Jun 21, 2021 17:59:59.800 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x30323449 -> yuv420p.
Jun 21, 2021 17:59:59.800 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x50313134 -> yuv411p.
Jun 21, 2021 17:59:59.800 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x48323234 -> yuv422p.
Jun 21, 2021 17:59:59.800 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x56323234 -> yuv440p.
Jun 21, 2021 17:59:59.800 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x50343434 -> yuv444p.
Jun 21, 2021 17:59:59.800 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x33434d49 -> unknown.
Jun 21, 2021 17:59:59.800 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x30313050 -> p010le.
Jun 21, 2021 17:59:59.800 [0x7fbee8aafb38] DEBUG - [Transcode] Codecs: Testing with profile 'Main 10'
Jun 21, 2021 17:59:59.801 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
Jun 21, 2021 17:59:59.801 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
Jun 21, 2021 17:59:59.801 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
Jun 21, 2021 17:59:59.801 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - nal_unit_type: 20(IDR_N_LP), nuh_layer_id: 0, temporal_id: 0
Jun 21, 2021 17:59:59.801 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Decoding VPS
Jun 21, 2021 17:59:59.801 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Main 10 profile bitstream
Jun 21, 2021 17:59:59.801 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Decoding SPS
Jun 21, 2021 17:59:59.801 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Main 10 profile bitstream
Jun 21, 2021 17:59:59.801 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Decoding VUI
Jun 21, 2021 17:59:59.801 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Decoding PPS
Jun 21, 2021 17:59:59.801 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format vaapi_vld chosen by get_format().
Jun 21, 2021 17:59:59.801 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format vaapi_vld requires hwaccel initialisation.
Jun 21, 2021 17:59:59.801 [0x7fbee8aafb38] ERROR - [Transcode] [FFMPEG] - Failed setup for format vaapi_vld: hwaccel initialisation returned error.
Jun 21, 2021 17:59:59.801 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format vaapi_vld not usable, retrying get_format() without it.
Jun 21, 2021 17:59:59.801 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format yuv420p10le chosen by get_format().
Jun 21, 2021 17:59:59.801 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Decoded frame with POC 0.
Jun 21, 2021 17:59:59.801 [0x7fbee8aafb38] DEBUG - [Transcode] Codecs: 10-bit HEVC test returned software frame
Jun 21, 2021 17:59:59.832 [0x7fbee8aafb38] WARN - [Transcode] Codecs: avcodec_open2 returned -95 for decoder 'hevc'
Jun 21, 2021 17:59:59.832 [0x7fbee8aafb38] DEBUG - [Transcode] Codecs: testing hevc (decoder) with hwdevice nvdec
Jun 21, 2021 17:59:59.833 [0x7fbee8aafb38] DEBUG - [Transcode] Codecs: hardware transcoding: testing API nvdec
Jun 21, 2021 17:59:59.833 [0x7fbee8aafb38] ERROR - [Transcode] [FFMPEG] - Cannot load libcuda.so.1
Jun 21, 2021 17:59:59.833 [0x7fbee8aafb38] ERROR - [Transcode] [FFMPEG] - Could not dynamically load CUDA
Jun 21, 2021 17:59:59.833 [0x7fbee8aafb38] DEBUG - [Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred
Jun 21, 2021 17:59:59.833 [0x7fbee8aafb38] DEBUG - [Transcode] Scaled up video bitrate to 75316Kbps based on 4.500000x fudge factor.
Jun 21, 2021 17:59:59.833 [0x7fbee8aafb38] DEBUG - [Transcode] Scaled maximum bitrate for resolution reduction to 26453Kbps.
Jun 21, 2021 17:59:59.833 [0x7fbee8aafb38] DEBUG - [Transcode] MDE: Selected protocol dash; container: mp4
Jun 21, 2021 17:59:59.833 [0x7fbee8aafb38] DEBUG - [Transcode] MDE: analyzing media item 10684
Jun 21, 2021 17:59:59.833 [0x7fbee8aafb38] DEBUG - [Transcode] MDE: Raya and the Last Dragon (2021): Direct Play is disabled
Jun 21, 2021 17:59:59.833 [0x7fbee8aafb38] DEBUG - [Transcode] MDE: Raya and the Last Dragon (2021): media must be transcoded in order to use the dash protocol
Jun 21, 2021 17:59:59.833 [0x7fbee8aafb38] DEBUG - [Transcode] MDE: Raya and the Last Dragon (2021): no direct play video profile exists for http/mkv/hevc
Jun 21, 2021 17:59:59.833 [0x7fbee8aafb38] DEBUG - [Transcode] MDE: Raya and the Last Dragon (2021): no direct play video profile exists for http/mkv/hevc/eac3
Jun 21, 2021 17:59:59.833 [0x7fbee8aafb38] DEBUG - [Transcode] Raya and the Last Dragon - video.bitDepth limitation applies: 10 > 8
Jun 21, 2021 17:59:59.833 [0x7fbee8aafb38] DEBUG - [Transcode] MDE: Raya and the Last Dragon (2021): no remuxable profile found, so video stream will be transcoded
Jun 21, 2021 17:59:59.834 [0x7fbee8aafb38] DEBUG - [Transcode] MDE: Cannot direct stream video stream due to profile or setting limitations
Jun 21, 2021 17:59:59.834 [0x7fbee8aafb38] DEBUG - [Transcode] Codecs: testing hevc (decoder) with hwdevice vaapi
Jun 21, 2021 17:59:59.834 [0x7fbee8aafb38] DEBUG - [Transcode] Codecs: hardware transcoding: testing API vaapi
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x41524742 -> bgra.
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x42475241 -> argb.
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x41424752 -> rgba.
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x52474241 -> abgr.
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x58524742 -> bgr0.
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x42475258 -> 0rgb.
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x58424752 -> rgb0.
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x52474258 -> 0bgr.
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x30335241 -> unknown.
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x30334241 -> unknown.
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x30335258 -> unknown.
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x30334258 -> unknown.
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x36314752 -> unknown.
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x50424752 -> unknown.
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x50524742 -> unknown.
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x56555941 -> unknown.
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x30303859 -> gray.
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x3231564e -> nv12.
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x3132564e -> unknown.
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x32595559 -> yuyv422.
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x59565955 -> uyvy422.
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x32315659 -> yuv420p.
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x30323449 -> yuv420p.
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x50313134 -> yuv411p.
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x48323234 -> yuv422p.
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x56323234 -> yuv440p.
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x50343434 -> yuv444p.
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x33434d49 -> unknown.
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format 0x30313050 -> p010le.
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] Codecs: Testing with profile 'Main 10'
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - nal_unit_type: 20(IDR_N_LP), nuh_layer_id: 0, temporal_id: 0
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Decoding VPS
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Main 10 profile bitstream
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Decoding SPS
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Main 10 profile bitstream
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Decoding VUI
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Decoding PPS
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format vaapi_vld chosen by get_format().
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format vaapi_vld requires hwaccel initialisation.
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] ERROR - [Transcode] [FFMPEG] - Failed setup for format vaapi_vld: hwaccel initialisation returned error.
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format vaapi_vld not usable, retrying get_format() without it.
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Format yuv420p10le chosen by get_format().
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] [FFMPEG] - Decoded frame with POC 0.
Jun 21, 2021 17:59:59.835 [0x7fbee8aafb38] DEBUG - [Transcode] Codecs: 10-bit HEVC test returned software frame
Jun 21, 2021 17:59:59.858 [0x7fbee9111b38] DEBUG - Auth: authenticated user 1 as jamietees@gmail.com
Jun 21, 2021 17:59:59.858 [0x7fbee8a51b38] DEBUG - Request: [192.168.0.4:56584 (Subnet)] GET /status/sessions (23 live) TLS GZIP Signed-in Token (jamietees@gmail.com)
Jun 21, 2021 17:59:59.858 [0x7fbee8a51b38] DEBUG - [Now] Adding 3 sessions.
Jun 21, 2021 17:59:59.859 [0x7fbee9111b38] DEBUG - Completed: [192.168.0.4:56584] 200 GET /status/sessions (23 live) TLS GZIP 0ms 482 bytes (pipelined: 6)
Jun 21, 2021 17:59:59.866 [0x7fbee8aafb38] WARN - [Transcode] Codecs: avcodec_open2 returned -95 for decoder 'hevc'
Jun 21, 2021 17:59:59.866 [0x7fbee8aafb38] DEBUG - [Transcode] Codecs: testing hevc (decoder) with hwdevice nvdec
Jun 21, 2021 17:59:59.866 [0x7fbee8aafb38] DEBUG - [Transcode] Codecs: hardware transcoding: testing API nvdec
Jun 21, 2021 17:59:59.866 [0x7fbee8aafb38] ERROR - [Transcode] [FFMPEG] - Cannot load libcuda.so.1
Jun 21, 2021 17:59:59.866 [0x7fbee8aafb38] ERROR - [Transcode] [FFMPEG] - Could not dynamically load CUDA
Jun 21, 2021 17:59:59.866 [0x7fbee8aafb38] DEBUG - [Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred
Jun 21, 2021 17:59:59.866 [0x7fbee8aafb38] DEBUG - [Transcode] Scaled up video bitrate to 75316Kbps based on 4.500000x fudge factor.
Jun 21, 2021 17:59:59.866 [0x7fbee8aafb38] DEBUG - [Transcode] Scaled maximum bitrate for resolution reduction to 26453Kbps.
Jun 21, 2021 17:59:59.866 [0x7fbee8aafb38] DEBUG - [Transcode] MDE: Cannot direct stream audio stream due to codec eac3 when profile only allows aac
Jun 21, 2021 17:59:59.866 [0x7fbee8aafb38] DEBUG - [Transcode] MDE: Raya and the Last Dragon (2021): selected media 0 / 10684
Jun 21, 2021 17:59:59.866 [0x7fbee8aafb38] DEBUG - [Transcode] Streaming Resource: Adding session 0x7fbee879be68:tnmvxjpvnl8kycwgdzqp4tf1 which is using transcoder slot.  Used slots is now 1
Jun 21, 2021 17:59:59.866 [0x7fbee8aafb38] DEBUG - [Transcode] Streaming Resource: Added session 0x7fbee879be68:tnmvxjpvnl8kycwgdzqp4tf1
Jun 21, 2021 17:59:59.867 [0x7fbee8aafb38] DEBUG - [Transcode] Streaming Resource: Reached Decision id=4958 codes=(General=1001,Direct play not available; Conversion OK. Direct Play=3000,App cannot direct play this item. Direct play is disabled. Transcode=1001,Direct play not available; Conversion OK.) media=(id=10684 part=(id=10692 decision=transcode container=mp4 protocol=dash streams=(Video=(id=22252 decision=transcode bitrate=26453 encoder=h264_vaapi width=2276 height=1280) Audio=(id=22253 decision=transcode bitrate=256 encoder=aac channels=2 rate=48000))))
Jun 21, 2021 17:59:59.869 [0x7fbee9111b38] DEBUG - Completed: [192.168.0.4:54238] 200 GET /video/:/transcode/universal/decision?hasMDE=1&path=%2Flibrary%2Fmetadata%2F4958&mediaIndex=0&partIndex=0&protocol=dash&fastSeek=1&directPlay=0&directStream=1&subtitleSize=50&audioBoost=700&location=lan&addDebugOverlay=0&autoAdjustQuality=0&directStreamAudio=1&mediaBufferSize=102400&session=u46h78kwyfavbkfzvwc9dj02&subtitles=burn&Accept-Language=en-GB (23 live) TLS GZIP 185ms 2829 bytes (pipelined: 6)

It looks to be trying to use nvidia instead of intel quicksync and I do not have a nvidia card at all in this machine. I could be looking at the logs incorrectly though.

I’d love to get some input as I’ve been trying to get hardware transcoding working and no matter what I’ve tried it won’t work.

On the server I’m using latest version of debian server, ive installed the intel neo drivers.
I’ve attached full logs here:
Plex Media Server Logs_2021-06-21_18-05-41.zip (2.7 MB)

I’ve also tried forcing the GPU via the preferences but nothing changed in terms of what the logs were showing. I’ve also switched off HDR tonemapping, and to test I’ve used 4K HDR and 1080 P SDR content scaled to the lowest setting with the same issue happening on all of it. No (hw) is showing in the dashboard and the CPU usage goes to 100% on 4 CPU cores.
Server Version#: 1.23.3.4706
Player Version#: web player

Being in the KVM is not allowing the hardware to come through properly.

It’s using SW decode because HEVC HDR decode is not being detected.
It thinks it can see HW encode but then fails to encode using hardware and falls back

Jun 21, 2021 18:00:01.151 [0x7fbee856fb38] ERROR - [Transcoder] [h264_vaapi @ 0x7f1f18c49dc0] Encode failed: -5.
Jun 21, 2021 18:00:01.152 [0x7fbee8509b38] ERROR - [Transcoder] Video encoding failed
Jun 21, 2021 18:00:01.166 [0x7fbeeb023b38] DEBUG - Jobs: '/usr/lib/plexmediaserver/Plex Transcoder' exit code for process 6789 is 1 (failure)
Jun 21, 2021 18:00:01.166 [0x7fbee83eeb38] DEBUG - Streaming Resource: Changing client to use software decoding
Jun 21, 2021 18:00:01.166 [0x7fbee83eeb38] DEBUG - Found session GUID of u46h78kwyfavbkfzvwc9dj02 in session start.
Jun 21, 2021 18:00:01.167 [0x7fbee83eeb38] DEBUG - TranscodeUniversalRequest: using augmented profile Web
Jun 21, 2021 18:00:01.167 [0x7fbee83eeb38] DEBUG - Downloading document http://127.0.0.1:32400/library/metadata/4958?includeBandwidths=1&offset=-1&X-Plex-Incomplete-Segments=1&X-Plex-Session-Identifier=tnmvxjpvnl8kycwgdzqp4tf1
  1. What is the real CPU ?
  2. What is being passed through to the VM ? (Passing QSV through to VMs requires a manual step)

Hiya, it’s a i7-6700
The PCI device for the GPU has been passed through and blacklisted on the proxmox host, I’m passing the entire GPU through and not using GVT-g.
I’ve attached a lspci -v from the VM it self.
log.txt (9.2 KB)

The i7-6700 does have HEVC decode but only 8-bit (SDR) capability.
If you want HEVC HDR, you need to drop in the i7-7700 (pin for pin replacement).

I previously had an i7-6700 and got an i7-7700 for precisely that reason.
(SkyLake vs KabyLake)

Damn, that’s annoying either way though it should still work with transcoding from 4K to 1080P SDR right?

What happens if it does have HDR will it just convert to SDR?

Would you know anything that I can check to see if I can get this working via GPU passthrough ? Would prefer to virtualize it but tempted at this stage to put it on baremetal on the VM host

ONLY if you have 4K SDR (8 bit) source material.

Okay, might have to get multiple copies of some files temporarily till I can afford another CPU (only just bout the 6700 the other day to upgrade a 6500 xD )

if you just got it, maybe see if you can exchange for the bigger ?

Not sure if the board I have supports the CPU, will take a look to see if it will and source if necessary

if the board supports the 6700, it will support the 7700 .

Pin out and voltages exactly the same.

QNAP offered the TVS-1282-i7 (6700 in the US, 7700 when ordered). Both are the same motherboard.

Do check the firmware and double check EVERYTHING for your sake.

1 Like

It seems to also do the same with standard HD content without HDR. Is there anything else that I can check also? I’ll look at the CPU in the next few days.

If you do not get HW transcode of H.264 then your KVM is abstracting the hardware too far.

VirtualBox ?

Jun 21, 2021 17:59:38.167 [0x7fbeeb05fb38] INFO - Plex Media Server v1.23.3.4706-f48049cad - Debian GNU/Linux PC x86_64 - build: linux-x86_64 debian - GMT 01:00
Jun 21, 2021 17:59:38.167 [0x7fbeeb05fb38] INFO - Linux version: 10 (buster), language: en-US
Jun 21, 2021 17:59:38.167 [0x7fbeeb05fb38] INFO - Processor Common KVM processor
Jun 21, 2021 17:59:38.167 [0x7fbeeb05fb38] INFO - Compiler is - Clang 11.0.1 (https://plex.tv e0c29d5827bc4eaaa2ceb882cbeed224b0960173)

If uncertain about what can be seen,

run the installer again and share the /tmp/plexinstaller.log.

It will tell us all the important details.

plexinstaller.log (1010 Bytes)

I’m using proxmox

Thank you but there is your answer.

You will need speak to those using ProxMox to resolve.
By Default, ProxMox abstracts the hardware too far
ProxMox is not officially supported.

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