Hi gang, the transcoding worked with my setup, CPU, AMD 2200G running OpenMediaVault with Plex in Docker. But the transcoding from 480p was all green tint.
Does anyone know how to fix this?
Thanks.
Hi gang, the transcoding worked with my setup, CPU, AMD 2200G running OpenMediaVault with Plex in Docker. But the transcoding from 480p was all green tint.
Does anyone know how to fix this?
Thanks.
Hello I’m trying to use hw transcoding with the custom plex docker container but it doesn’t work with me 
I’m using R9 270x as gpu, it’s a bit old now, maybe it could be the reason ?
Here is some logs I get when I try use transcoding
Apr 21, 2021 17:21:33.023 [0x7f5008ff9700] Debug — [Transcode] Codecs: testing h264_nvenc (encoder)
Apr 21, 2021 17:21:33.023 [0x7f5008ff9700] Debug — [Transcode] Codecs: hardware transcoding: testing API nvenc
Apr 21, 2021 17:21:33.024 [0x7f5008ff9700] Error — [Transcode] [FFMPEG] - Cannot load libcuda.so.1
Apr 21, 2021 17:21:33.024 [0x7f5008ff9700] Error — [Transcode] [FFMPEG] - Could not dynamically load CUDA
Apr 21, 2021 17:21:33.024 [0x7f5008ff9700] Debug — [Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred
Apr 21, 2021 17:21:33.024 [0x7f5008ff9700] Debug — [Transcode] Codecs: testing h264 (decoder) with hwdevice vaapi
Apr 21, 2021 17:21:33.024 [0x7f5008ff9700] Debug — [Transcode] Codecs: hardware transcoding: testing API vaapi
Apr 21, 2021 17:21:33.024 [0x7f5008ff9700] Error — [Transcode] [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).
Apr 21, 2021 17:21:33.026 [0x7f5008ff9700] Debug — [Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Input/output error
and this is my vainfo:
error: XDG_RUNTIME_DIR not set in the environment.
error: can't connect to X server!
libva info: VA-API version 1.7.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/r600_drv_video.so
libva info: Found init function __vaDriverInit_1_7
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.7 (libva 2.6.0)
vainfo: Driver version: Mesa Gallium driver 21.2.0-devel for AMD PITCAIRN (DRM 2.50.0, 5.9.0-0.bpo.5-amd64, LLVM 12.0.0)
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileNone : VAEntrypointVideoProc
any suggestion ? 
Worked here on HP Micro Gen 10 with Opteron X3418 (4 compute cores/6 graphic core).
As I’m running Ubuntu Server 20.04LTS without the graphic interface, I need some modifications to your script to make it work.
First, I installed the Plex Media Server version: 1.22.3.4392
Next, I installed the packages:
$ sudo apt install beignet-opencl-icd mesa-va-drivers mesa-vdpau-drivers \
vainfo libdrm-amdgpu1 libavutil56 jq ocl-icd-libopencl1 libdrm-amdgpu1
So, let’s check the information that you said that’s important:
$ sudo vainfo
error: XDG_RUNTIME_DIR not set in the environment.
error: can't connect to X server!
libva info: VA-API version 1.7.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_7
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.7 (libva 2.6.0)
vainfo: Driver version: Mesa Gallium driver 21.2.0-devel for AMD Radeon R6 Graphics (CARRIZO, DRM 3.35.0, 5.4.0-70-generic, LLVM 12.0.0)
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileHEVCMain : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
Next, I stop the service:
$ sudo systemctl stop plexmediaserver
Now, copy the necessary files:
$ sudo cp /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so /usr/lib/plexmediaserver/lib/dri/
$ sudo cp /usr/lib/x86_64-linux-gnu/libstdc++.so.6.* /usr/lib/plexmediaserver/lib/libstdc++.so.6
$ sudo cp /usr/lib/x86_64-linux-gnu/libdrm_amdgpu.so.1.* /usr/lib/plexmediaserver/lib/libdrm_amdgpu.so.1
$ sudo cp /usr/lib/x86_64-linux-gnu/libdrm.so.2.* /usr/lib/plexmediaserver/lib/libdrm.so.2
$ sudo cp /usr/lib/x86_64-linux-gnu/libva-drm.so.2.* /usr/lib/plexmediaserver/lib/libva-drm.so.2
$ sudo cp /usr/lib/x86_64-linux-gnu/libva.so.2.* /usr/lib/plexmediaserver/lib/libva.so.2
Next, start again the service:
$ sudo systemctl start plexmediaserver
Finally, disable on Transcoder menu: Enable HDR tone mapping. That’s it. Will work.

This was working for me previously but seems to have broken after recent Plex versions. I’ve been using the fork at GitHub - djsv23/docker-plex to enable auto-updating the latest Plex versions.
On the latest Plex version, it shows:
May 01, 2021 15:51:53.632 [0x7f0e778a6b38] DEBUG - [Transcode] Codecs: testing h264_vaapi (encoder)
May 01, 2021 15:51:53.632 [0x7f0e778a6b38] DEBUG - [Transcode] Codecs: hardware transcoding: testing API vaapi
May 01, 2021 15:51:53.700 [0x7f0e778a6b38] ERROR - [Transcode] [FFMPEG] - libva: dlopen of /usr/lib/plexmediaserver/lib/dri/radeonsi_drv_video.so failed: Error relocating /usr/lib/plexmediaserver/lib/dri/radeonsi_drv_video.so: fcntl64: symbol not found
May 01, 2021 15:51:53.700 [0x7f0e778a6b38] ERROR - [Transcode] [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).
May 01, 2021 15:51:53.700 [0x7f0e778a6b38] DEBUG - [Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: I/O error
It would suck if I had to choose between HW transcoding working or being on a recent Plex version.
It looks like 1.22.2.4282-a97b03fad was the last good version to work with HW transcoding.
The latest version up at Docker Hub is 1.22.3.4392 which is working fine for me on a 4700U and HW transcoding enabled.
Why? As long as you have a version that works, who cares if it isn’t the very latest?
Same thing here, Plex HW transcoding stopped to work with this workaround, after update.
Using an obsolete version is possible until the client allows it, so it is not a valuable option.
Any hints or news from Plex developers about this issue?
Thankyou
Version 1.22.3.4392 is running fine for me.
The key here is to pull the new plex image with the same patch applied, relying on built-in update mechanisms likely just wipe out the custom .so files.
Now on 1.23.0.4497 - hw transcoding is still not working any more, for sure I apply the patch after every update.
The error in the console is: “Cannot load libcuda.so.1”, by the way it used to work before.
I have your latest container running (hosted by Unraid) but a recent version of the Plex application broke hardware decoding and transcoding again so I reverted to version 1.21.2.3939-3945797bd to get hardware acceleration working again.
AMD GPUs will never try to use libcuda.
I agree that the error shown is inconsistent, but that’s it
I’m going to try to find the most recent version that I can use reliably.
Thank you so much!
Working fine for me with an AMD Ryzen 3 2200G.
Following this thread closely. Just installed PMS on an ASRock 4x4 4800U mini system. Running Ubuntu Server 21.04. I have the docker container up and running but so far I’m not seeing HW encode/decode. Seeing this in the .log:
(I’m wondering if the fact that I have this box running headless with no monitor has anything to do with it…)
May 17, 2021 07:26:32.647 [0x7f0952ffd700] DEBUG - [Transcode] Codecs: testing h264_vaapi (encoder)
May 17, 2021 07:26:32.649 [0x7f0952ffd700] DEBUG - [Transcode] Codecs: hardware transcoding: testing API vaapi
May 17, 2021 07:26:32.653 [0x7f0952ffd700] ERROR - [Transcode] [FFMPEG] - libva: /usr/lib/plexmediaserver/lib/dri/i965_drv_video.so has no function __vaDriverInit_1_0
May 17, 2021 07:26:32.653 [0x7f0952ffd700] ERROR - [Transcode] [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).
May 17, 2021 07:26:32.653 [0x7f0952ffd700] DEBUG - [Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Input/output error
May 17, 2021 07:26:32.653 [0x7f0952ffd700] DEBUG - [Transcode] Codecs: testing h264_nvenc (encoder)
May 17, 2021 07:26:32.653 [0x7f0952ffd700] DEBUG - [Transcode] Codecs: hardware transcoding: testing API nvenc
May 17, 2021 07:26:32.653 [0x7f0952ffd700] ERROR - [Transcode] [FFMPEG] - Cannot load libcuda.so.1
May 17, 2021 07:26:32.653 [0x7f0952ffd700] ERROR - [Transcode] [FFMPEG] - Could not dynamically load CUDA
May 17, 2021 07:26:32.653 [0x7f0952ffd700] DEBUG - [Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred
May 17, 2021 07:26:32.653 [0x7f0952ffd700] DEBUG - [Transcode] Codecs: testing hevc (decoder) with hwdevice vaapi
May 17, 2021 07:26:32.653 [0x7f0952ffd700] DEBUG - [Transcode] Codecs: hardware transcoding: testing API vaapi
May 17, 2021 07:26:32.653 [0x7f0952ffd700] ERROR - [Transcode] [FFMPEG] - libva: /usr/lib/plexmediaserver/lib/dri/i965_drv_video.so has no function __vaDriverInit_1_0
May 17, 2021 07:26:32.653 [0x7f0952ffd700] ERROR - [Transcode] [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).
May 17, 2021 07:26:32.653 [0x7f0952ffd700] DEBUG - [Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Input/output error
May 17, 2021 07:26:32.653 [0x7f0952ffd700] DEBUG - [Transcode] Codecs: testing hevc (decoder) with hwdevice nvdec
May 17, 2021 07:26:32.653 [0x7f0952ffd700] DEBUG - [Transcode] Codecs: hardware transcoding: testing API nvdec
May 17, 2021 07:26:32.653 [0x7f0952ffd700] ERROR - [Transcode] [FFMPEG] - Cannot load libcuda.so.1
May 17, 2021 07:26:32.653 [0x7f0952ffd700] ERROR - [Transcode] [FFMPEG] - Could not dynamically load CUDA
May 17, 2021 07:26:32.653 [0x7f0952ffd700] DEBUG - [Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred
What version of PMS are you using? Since you’re following the thread, you’ll know that certain recent versions are broken. Make sure you’re using one of the known good versions.
After a lot of experimenting, I can say that as of today, the latest version of PMS that works with HW decoding and transcoding for me is 1.22.3.4392-d7c624def.
That’s the version I’m running (.4392). Literally pulled down from the docker image yesterday.
Downgraded my Ubuntu installation to Server 20.04.2 LTS with HWE kernel enablement. Kernel is 5.8.0-53. I have the latest mesa drivers installed. Here’s my kernel boot log:
[ 1.418419] [drm] amdgpu kernel modesetting enabled.
[ 1.418529] Virtual CRAT table created for CPU
[ 1.418541] amdgpu: Topology: Add CPU node
[ 1.418603] amdgpu 0000:05:00.0: vgaarb: deactivate vga console
[ 1.418629] amdgpu 0000:05:00.0: enabling device (0006 -> 0007)
[ 1.418688] [drm] initializing kernel modesetting (RENOIR 0x1002:0x1636 0x1002:0x0123 0xC1).
[ 1.418691] amdgpu 0000:05:00.0: amdgpu: Trusted Memory Zone (TMZ) feature disabled as experimental (default)
[ 1.418699] [drm] register mmio base: 0xFE500000
[ 1.418700] [drm] register mmio size: 524288
[ 1.418702] [drm] PCIE atomic ops is not supported
[ 1.418707] [drm] add ip block number 0 <soc15_common>
[ 1.418709] [drm] add ip block number 1 <gmc_v9_0>
[ 1.418710] [drm] add ip block number 2 <vega10_ih>
[ 1.418711] [drm] add ip block number 3 <psp>
[ 1.418712] [drm] add ip block number 4 <smu>
[ 1.418713] [drm] add ip block number 5 <gfx_v9_0>
[ 1.418715] [drm] add ip block number 6 <sdma_v4_0>
[ 1.418716] [drm] add ip block number 7 <dm>
[ 1.418717] [drm] add ip block number 8 <vcn_v2_0>
[ 1.418718] [drm] add ip block number 9 <jpeg_v2_0>
[ 1.418753] amdgpu: ATOM BIOS: 113-RENOIR-026
[ 1.418772] [drm] VCN decode is enabled in VM mode
[ 1.418773] [drm] VCN encode is enabled in VM mode
[ 1.418774] [drm] JPEG decode is enabled in VM mode
[ 1.418789] [drm] vm size is 262144 GB, 4 levels, block size is 9-bit, fragment size is 9-bit
[ 1.418795] amdgpu 0000:05:00.0: amdgpu: VRAM: 512M 0x000000F400000000 - 0x000000F41FFFFFFF (512M used)
[ 1.418797] amdgpu 0000:05:00.0: amdgpu: GART: 1024M 0x0000000000000000 - 0x000000003FFFFFFF
[ 1.418799] amdgpu 0000:05:00.0: amdgpu: AGP: 267419648M 0x000000F800000000 - 0x0000FFFFFFFFFFFF
[ 1.418803] [drm] Detected VRAM RAM=512M, BAR=512M
[ 1.418804] [drm] RAM width 128bits DDR4
[ 1.418916] [TTM] Zone kernel: Available graphics memory: 16176412 KiB
[ 1.418919] [TTM] Zone dma32: Available graphics memory: 2097152 KiB
[ 1.418920] [TTM] Initializing pool allocator
[ 1.418923] [TTM] Initializing DMA pool allocator
[ 1.418961] [drm] amdgpu: 512M of VRAM memory ready
[ 1.418963] [drm] amdgpu: 3072M of GTT memory ready.
[ 1.418966] [drm] GART: num cpu pages 262144, num gpu pages 262144
[ 1.419092] [drm] PCIE GART of 1024M enabled (table at 0x000000F400900000).
[ 1.421282] [drm] Loading DMUB firmware via PSP: version=0x00000000
[ 1.421400] [drm] Found VCN firmware Version ENC: 1.4 DEC: 3 VEP: 0 Revision: 0
[ 1.421408] [drm] PSP loading VCN firmware
[ 1.520670] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x19e5825948e, max_idle_ns: 440795216460 ns
[ 2.090528] clocksource: Switched to clocksource tsc
[ 2.110426] [drm] reserve 0x400000 from 0xf41fc00000 for PSP TMR
[ 2.148488] usb 4-3: new full-speed USB device number 2 using xhci_hcd
[ 2.148690] usb 2-1: new high-speed USB device number 2 using xhci_hcd
[ 2.304961] amdgpu: SMU is initialized successfully!
[ 2.306264] [drm] kiq ring mec 2 pipe 1 q 0
[ 2.307111] [drm] Display Core initialized with v3.2.84!
[ 2.310701] [drm] DMUB hardware initialized: version=0x00000001
[ 2.312814] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 2.325913] [drm] VCN decode and encode initialized successfully(under DPG Mode).
[ 2.325966] [drm] JPEG decode initialized successfully.
[ 2.327965] kfd kfd: Allocated 3969056 bytes on gart
[ 2.329016] Virtual CRAT table created for GPU
[ 2.329155] amdgpu: Topology: Add dGPU node [0x1636:0x1002]
[ 2.329164] kfd kfd: added device 1002:1636
[ 2.329170] amdgpu 0000:05:00.0: amdgpu: SE 1, SH per SE 1, CU per SH 8, active_cu_number 8
[ 2.329224] amdgpu 0000:05:00.0: [drm] Cannot find any crtc or sizes
[ 2.329349] amdgpu 0000:05:00.0: amdgpu: ring gfx uses VM inv eng 0 on hub 0
[ 2.329353] amdgpu 0000:05:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
[ 2.329356] amdgpu 0000:05:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
[ 2.329360] amdgpu 0000:05:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 5 on hub 0
[ 2.329364] amdgpu 0000:05:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 6 on hub 0
[ 2.329367] amdgpu 0000:05:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 7 on hub 0
[ 2.329371] amdgpu 0000:05:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 8 on hub 0
[ 2.329375] amdgpu 0000:05:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 9 on hub 0
[ 2.329378] amdgpu 0000:05:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 10 on hub 0
[ 2.329382] amdgpu 0000:05:00.0: amdgpu: ring kiq_2.1.0 uses VM inv eng 11 on hub 0
[ 2.329386] amdgpu 0000:05:00.0: amdgpu: ring sdma0 uses VM inv eng 0 on hub 1
[ 2.329389] amdgpu 0000:05:00.0: amdgpu: ring vcn_dec uses VM inv eng 1 on hub 1
[ 2.329393] amdgpu 0000:05:00.0: amdgpu: ring vcn_enc0 uses VM inv eng 4 on hub 1
[ 2.329397] amdgpu 0000:05:00.0: amdgpu: ring vcn_enc1 uses VM inv eng 5 on hub 1
[ 2.329400] amdgpu 0000:05:00.0: amdgpu: ring jpeg_dec uses VM inv eng 6 on hub 1
Here’s my vainfo output from within the docker container:
root@asrock:/# vainfo
error: XDG_RUNTIME_DIR not set in the environment.
error: can't connect to X server!
libva info: VA-API version 1.7.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_7
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.7 (libva 2.6.0)
vainfo: Driver version: Mesa Gallium driver 21.2.0-devel for AMD RENOIR (DRM 3.38.0, 5.8.0-53-generic, LLVM 12.0.0)
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointEncSlice
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileHEVCMain10 : VAEntrypointEncSlice
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileVP9Profile2 : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
And here’s what PMS 1.22.3.4392 reports in the log when I try to launch a stream that needs transcoding:
May 18, 2021 21:11:43.581 [0x7f4a28ff9700] Debug — [Transcode] Found session GUID of y3rx0dzt8ecweu6dqi2dv84i in session start.
May 18, 2021 21:11:43.581 [0x7f4a28ff9700] Debug — [Transcode] TranscodeUniversalRequest: using augmented profile Firefox
May 18, 2021 21:11:43.581 [0x7f4a28ff9700] Debug — [Transcode] Downloading document http://127.0.0.1:32400/library/metadata/47?includeBandwidths=1&offset=-1&X-Plex-Incomplete-Segments=1&X-Plex-Session-Identifier=2xtwdpsbiecyk77dx598qp97
May 18, 2021 21:11:43.581 [0x7f4a28ff9700] Debug — [Transcode] Auth: authenticated user 1 as xxxxxxxx@yahoo.com
May 18, 2021 21:11:43.590 [0x7f4a28ff9700] Debug — [Transcode] It took 10.000000 ms to retrieve 101 items.
May 18, 2021 21:11:43.596 [0x7f4a28ff9700] Debug — [Transcode] It took 0.000000 ms to retrieve 101 items.
May 18, 2021 21:11:43.597 [0x7f4a28ff9700] Debug — [Transcode] We're going to try to auto-select an audio stream for account 1.
May 18, 2021 21:11:43.597 [0x7f4a28ff9700] Debug — [Transcode] Selecting best audio stream for part ID 47 (autoselect: 1 language: en)
May 18, 2021 21:11:43.597 [0x7f4a28ff9700] Debug — [Transcode] Audio Stream: 3247, Subtitle Stream: -1
May 18, 2021 21:11:43.597 [0x7f4a28ff9700] Debug — [Transcode] Codecs: testing h264_nvenc (encoder)
May 18, 2021 21:11:43.597 [0x7f4a28ff9700] Debug — [Transcode] Codecs: hardware transcoding: testing API nvenc
May 18, 2021 21:11:43.597 [0x7f4a28ff9700] Error — [Transcode] [FFMPEG] - Cannot load libcuda.so.1
May 18, 2021 21:11:43.597 [0x7f4a28ff9700] Error — [Transcode] [FFMPEG] - Could not dynamically load CUDA
May 18, 2021 21:11:43.597 [0x7f4a28ff9700] Debug — [Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred
May 18, 2021 21:11:43.597 [0x7f4a28ff9700] Debug — [Transcode] Codecs: testing hevc (decoder) with hwdevice vaapi
May 18, 2021 21:11:43.597 [0x7f4a28ff9700] Debug — [Transcode] Codecs: hardware transcoding: testing API vaapi
May 18, 2021 21:11:43.597 [0x7f4a28ff9700] Error — [Transcode] [FFMPEG] - libva: /usr/lib/plexmediaserver/lib/dri/i965_drv_video.so has no function __vaDriverInit_1_0
May 18, 2021 21:11:43.597 [0x7f4a28ff9700] Error — [Transcode] [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).
May 18, 2021 21:11:43.598 [0x7f4a28ff9700] Debug — [Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Input/output error
May 18, 2021 21:11:43.598 [0x7f4a28ff9700] Debug — [Transcode] Codecs: testing hevc (decoder) with hwdevice nvdec
May 18, 2021 21:11:43.598 [0x7f4a28ff9700] Debug — [Transcode] Codecs: hardware transcoding: testing API nvdec
May 18, 2021 21:11:43.598 [0x7f4a28ff9700] Error — [Transcode] [FFMPEG] - Cannot load libcuda.so.1
May 18, 2021 21:11:43.598 [0x7f4a28ff9700] Error — [Transcode] [FFMPEG] - Could not dynamically load CUDA
May 18, 2021 21:11:43.598 [0x7f4a28ff9700] Debug — [Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred
Does anyone know how to debug the statements regarding VAAPI failure? Why is it trying to load the Intel and Nvidia libraries?