Server Version#: 1.14.0.5470
Hardware decode / encode works fine for H.264 videos, but I can’t seem to get hardware HEVC decoding working on a fresh install of Ubuntu 18.04 and the latest Plex Media Server version w/ Plexpass. Processor is i5-7500 with Intel HD 630 graphics. Incidentally, this also doesn’t work on Windows with the latest Intel drivers.
media info for test video:
Video #1
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
Codec ID : V_MPEGH/ISO/HEVC
Duration : 2 h 22 min
Bit rate : 66.3 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.334
Stream size : 65.9 GiB (75%)
HD.MA.TrueHD.7.1.Atmos-FGT
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : Display P3
Mastering display luminance : min: 0.0001 cd/m2, max: 1000 cd/m2
vainfo output:
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_1
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.1 (libva 2.1.0)
vainfo: Driver version: Intel i965 driver for Intel® Kaby Lake - 2.1.0
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
VAProfileVP8Version0_3 : VAEntrypointEncSlice
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointEncSlice
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileHEVCMain10 : VAEntrypointEncSlice
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileVP9Profile0 : VAEntrypointEncSlice
VAProfileVP9Profile2 : VAEntrypointVLD
Log info:
Dec 13, 2018 20:10:08.843 [0x7f453a3fd700] DEBUG - Found session GUID of 3B8F7290-55FD-4C85-9E0C-8C2C74C76E08 in session start.
Dec 13, 2018 20:10:08.843 [0x7f453a3fd700] DEBUG - Starting a transcode session 3B8F7290-55FD-4C85-9E0C-8C2C74C76E08 at offset -1.0 (state=3)
Dec 13, 2018 20:10:08.845 [0x7f453a3fd700] DEBUG - TPU: hardware transcoding: enabled, but no hardware decode accelerator found
Dec 13, 2018 20:10:08.845 [0x7f453a3fd700] DEBUG - [Universal] Using local file path instead of URL: [redacted]
Dec 13, 2018 20:10:08.846 [0x7f453a3fd700] DEBUG - TPU: hardware transcoding: zero-copy support not present
Dec 13, 2018 20:10:08.846 [0x7f453a3fd700] DEBUG - TPU: hardware transcoding: final decoder: , final encoder: vaapi
Any ideas?

