Went through the installation a few times, and finally got it working by following Jiandong Z. suggestion in https://software.intel.com/en-us/forums/topic/543365 thread. Confirmed proper operation by the following:
./sample_multi_transcode_drm -i::h264 ~ubuntu/in.h264 -o::h264 ~ubuntu/test_out.h264 -hw
Multi Transcoding Sample Version 6.0.16043166.166
libva info: VA-API version 0.35.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'iHD'
libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so
libva info: Found init function __vaDriverInit_0_32
libva info: va_openDriver() returns 0
Pipeline surfaces number: 12
MFX HARDWARE Session 0 API ver 1.16 parameters:
Input video: AVC
Output video: AVC
Session 0 was NOT joined with other sessions
Common transcoding time is 1.43 sec
MFX session 0 transcoding PASSED:
Processing time: 1.43 sec
Number of processed frames: 750
The test PASSED
The only peculiarity is that the typical "MSS" postfix in kernel name seems to be missing:
# uname -ar
Linux lab-gpu02 3.14.5 #1 SMP Tue Jul 21 16:19:39 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Is this expected or am I missing something?
By default, '$ uname -r' will output like following, if you don't change Makefile in kernel tree.
$ uname -r
if you want '$ uname -r' output "3.14.5-MSSr6", you can modify Makefile in kernel tree like below
EXTRAVERSION = -> EXTRAVERSION =-MSSr6
SUBLEVEL = 5 -> SUBLEVEL = 5-MSSr6
Then rebuild the kernel and reboot.
$ uname -r