Server Version#: 1.25.2.5319
Player Version#: 4.66.1
I got a new Intel NUC with Proxmox installed and wanted to give PMS in an LXC container a go.
Followed the post on this topic: PMS installation guide when using a Proxmox 5.1 LXC container
and Plex HW acceleration in LXC container - anyone with success?
vainfo on host:
vainfo
error: can't connect to X server!
libva info: VA-API version 1.10.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_8
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.10 (libva 2.10.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Kaby Lake - 2.4.1
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Simple : VAEntrypointEncSlice
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointEncSlice
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointEncSliceLP
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointEncSliceLP
VAProfileH264MultiviewHigh : VAEntrypointVLD
VAProfileH264MultiviewHigh : VAEntrypointEncSlice
VAProfileH264StereoHigh : VAEntrypointVLD
VAProfileH264StereoHigh : VAEntrypointEncSlice
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointEncPicture
VAProfileVP8Version0_3 : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileVP9Profile2 : VAEntrypointVLD
Unfortunately, although the card is showing up in my host, it does not want to do HW transcoding.
crw-rw-rw- 1 root video 226, 128 Nov 18 20:11 renderD128
crw-rw-rw- 1 root video 226, 0 Nov 18 20:11 card0
drwxr-xr-x 2 root root 80 Jan 5 13:32 .
drwxr-xr-x 8 root root 520 Jan 5 13:32 ..
I noticed in the beginning the log said the following:
Jan 05, 2022 13:07:12.929 [0x7fcf0abd7b38] DEBUG - [Transcode/eccdc363921343cc-com-plexapp-android] TPU: hardware transcoding: enabled, but no hardware decode accelerator found
I fixed this issue with modifying the permissions so that plex could access it, however, now I’m getting the following errors:
Jan 05, 2022 13:20:38.129 [0x7f4e18698b38] DEBUG - [Transcode] Could not create hardware context for h264_vaapi
Jan 05, 2022 13:20:38.129 [0x7f4e18698b38] DEBUG - [Transcode] Codecs: testing h264_nvenc (encoder)
Jan 05, 2022 13:20:38.129 [0x7f4e18698b38] DEBUG - [Transcode] Codecs: hardware transcoding: testing API nvenc
Jan 05, 2022 13:20:38.129 [0x7f4e18698b38] ERROR - [Transcode] [FFMPEG] - Cannot load libcuda.so.1
Jan 05, 2022 13:20:38.129 [0x7f4e18698b38] ERROR - [Transcode] [FFMPEG] - Could not dynamically load CUDA
Jan 05, 2022 13:20:38.129 [0x7f4e18698b38] DEBUG - [Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred
Jan 05, 2022 13:20:38.129 [0x7f4e18698b38] DEBUG - [Transcode] Could not create hardware context for h264_nvenc
Jan 05, 2022 13:20:38.130 [0x7f4e18698b38] DEBUG - [Transcode] Codecs: testing hevc (decoder) with hwdevice vaapi
Jan 05, 2022 13:20:38.130 [0x7f4e18698b38] DEBUG - [Transcode] Codecs: hardware transcoding: testing API vaapi
Jan 05, 2022 13:20:38.130 [0x7f4e18698b38] DEBUG - [Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Generic error in an external library
Jan 05, 2022 13:20:38.130 [0x7f4e18698b38] DEBUG - [Transcode] Could not create hardware context for hevc
Jan 05, 2022 13:20:38.130 [0x7f4e18698b38] DEBUG - [Transcode] Codecs: testing hevc (decoder) with hwdevice nvdec
Jan 05, 2022 13:20:38.130 [0x7f4e18698b38] DEBUG - [Transcode] Codecs: hardware transcoding: testing API nvdec
Jan 05, 2022 13:20:38.130 [0x7f4e18698b38] ERROR - [Transcode] [FFMPEG] - Cannot load libcuda.so.1
Jan 05, 2022 13:20:38.130 [0x7f4e18698b38] ERROR - [Transcode] [FFMPEG] - Could not dynamically load CUDA
Jan 05, 2022 13:20:38.130 [0x7f4e18698b38] DEBUG - [Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred
Jan 05, 2022 13:20:38.130 [0x7f4e18698b38] DEBUG - [Transcode] Could not create hardware context for hevc
That led me to this post, without an answer: PMS Linux 1.19.2.2673 - Broken Hardware Transcoding with Intel iGPU - #4 by concastelo
Any ideas on your end? Logs below:
Plex Media Server Logs_2022-01-05_13-21-41.zip (2.8 MB)
Many thanks upfront!