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.