Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).
1146 Discussions

How to enable Intel® Media Server Studio on Ubuntu14.04 LTS

Chunbo_H_Intel1
Employee
337 Views

Intel® Media Server Studio and Graphics Driver Installation on Ubuntu14.04 LTS ==========================================================

Note that some steps need to be performed as root and some as a non-root user. Look for [root@host] or [user@host] in the steps below to determine which is which.

Prerequisite: Download 2015 R6 community version from: https://software.intel.com/en-us/intel-media-server-studio/try-buy, then package mediaserverstudioessentials2015r6.tar.gz is downloaded

Steps:

1) Extract && Install Intel® Media Server Studio:

[user@host]$ mkdir -p ~/msdk_install

[user@host]$ cd ~/msdk_install

[user@host msdk_install]$ cp mediaserverstudioessentials2015r6.tar.gz

[user@host msdk_install]$ tar xzvf mediaserverstudioessentials2015r6.tar.gz

[user@host msdk_install]$ cd MediaServerStudioEssentials2015R6

[user@host msdk_install]$ tar zxvf SDK2015Production16.4.2.1.tar.gz

[user@host msdk_install]$ cd SDK2015Production16.4.2.1/Generic

[user@host msdk_install]$ tar zxvf intel-linux-media-ocl_generic_16.4.2.1-39163_64bit.tar.gz

[root@host msdk_install]$ bash install_media.sh

[user@host msdk_install]$ source /etc/profile

2) Apply Intel Media kernel patches:

[user@host]$ mkdir -p ~/kernel_install

[user@host]$ cd ~/kernel_install

[root@host kernel_install]$ wget https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.14.5.tar.gz

[user@host kernel_install]$ tar xzvf linux-3.14.5.tar.gz

[user@host kernel_install]$ cp -rf /opt/intel/mediasdk/opensource/patches/kmd/3.14.5/intel-kernel-patches.tar.bz2 .

[user@host kernel_install]$ tar xjvf intel-kernel-patches.tar.bz2

[user@host kernel_install]$ cd linux-3.14.5

[user@host linux-3.14.5]$ cp apply_patches.py . #It's in the same folder of this README

[user@host linux-3.14.5]$ python apply_patches.py ../intel-kernel-patches

[user@host linux-3.14.5]$ cp -f Ubuntu1404_BDW.config .config #It's in the same folder of this README

[user@host linux-3.14.5]$ make -j16

[root@host linux-3.14.5]# make modules_install

[root@host linux-3.14.5]# make install

[root@host linux-3.14.5]# reboot #To the new 3.14.5 kernel

3) Set these environment variables LD_LIBRARY_PATH=/usr/local/lib:/usr/lib64:/opt/intel/mediasdk/lib64:/opt/intel/common/mdf/lib64:$LD_LIBRARY_PATH

LIBVA_DRIVER_NAME=iHD

LIBVA_DRIVERS_PATH=/opt/intel/mediasdk/lib64

4) Sanity check the process:

    [user@host]$ vainfo

If everything is OK, you should be able to see something like following:

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

vainfo: VA-API version: 0.35 (libva 1.3.1)

vainfo: Driver version: 16.4.2.1.39163-ubit

0 Kudos
0 Replies
Reply