Install MSS for Streambuilder with Intel Xeon v5 Family processors¶
Default installation through mss_install.sh script supports processors
Intel® Xeon® Processor E3-128x v3
Intel® Xeon® Processor E3-128x v4
and does not work with new processors v5 series. The work around for this problem is the installation of Intel® Media Server Studio 2017 R3. The SDK supports the following platforms with the integrated graphics:
Intel® Xeon® E3-1200 v4 Family with C226 chipset
Intel® Xeon® E3-1200 and E3-1500 v5 Family with C236 chipset
5th Generation Intel® CoreTM
6th Generation Intel® CoreTM
Note: chipset must have processor graphics enabled. To enable processor graphics, follow the instructions in your motherboard manual.
This release is validated with CentOS 7.3.1611 using patches to its default kernel (3.10.0-514.el7.x86_64), referred as “Gold”.
Please note: 7.3.1611 is no longer the most recent CentOS 7 release, and may not be the default download from www.centos.org. Please select 7.3.1611 from your local mirror.
Check that an Intel VGA adapter can be found with lspci:
$ lspci -nn -s 0:02.0
00:02.0 VGA compatible controller [0300]: Intel Corporation Broadwell-U Integrated Graphics [8086:193b] (rev 09)
The command output above shows 193b as the graphics device ID. The ID reported by lspci may be different for your machine. The main thing to look for is that an Intel graphics adapter is available. If not, you may need to check your BIOS settings and hardware configuration.
CentOS 7.3 “Gold” installs¶
These steps are intended for use with the CentOS 7.3.1611 kernel (3.10.0-514.el7.x86_64). Please avoid automatic updates, especially for the kernel, libva, and libdrm.
Install Intel® Media Server Studio SDK¶
Download Intel® Media Server Studio 2017 R3 Community edition from the Intel site: https://software.intel.com/en-us/intel-media-server-studio. Intel requires to register before downloading the Community edition.
Commands to install:
$ tar xf MediaServerStudioEssentials2017R3.tar.gz
$ cd MediaServerStudioEssentials2017R3
$ tar xf SDK2017Production16.5.2.tar.gz
$ cd SDK2017Production16.5.2/CentOS
$ tar xf install_scripts_centos_16.5.2-64009.tar.gz
$ su
# ./install_sdk_CentOS.sh
Verify the installation of Intel GPU driver and Intel MSS SDK¶
Commands
[root@server ~]# ls /opt/intel/mediasdk/
[root@server ~]# lsmod | grep i915
[root@server ~]# ls -l /dev/dri/
crw-rw---- 1 root video 226, 0 mar 18 15:58 card0
crw------- 1 root video 226, 64 mar 18 15:58 controlD64
crw-rw---- 1 root video 226, 128 mar 18 15:58 renderD128
reboot after installation
# reboot
Troubleshooting¶
An error may occur after reboot
[root@server ~]# ls -l /dev/dri/
ls: cannot access /dev/dri/: No such file or directory
If you see the above error of missing /dev/dri directory, but the driver seems loaded it is because by default on some systems the modsetting is off (KMS – https://en.wikipedia.org/wiki/Mode_setting) and now the driver is half working. So you need to remove the driver and load it with a parameter:
[root@server ~]# rmmod i915
[root@server ~]# modprobe i915 modeset=1
[root@server ~]# ls -l /dev/dri/
If you see the “/dev/dri/renderD128” the Intel GPU driver is loaded correctly and you can use hardware video decoding and encoding.
In case of metrics_monitor error
/opt/intel/mediasdk/tools/metrics_monitor/_bin/metrics_monitor: error while loading shared libraries: libcttmetrics.so: cannot open shared object file: No such file or directory
need to execute several actions
ln -s /opt/intel/mediasdk/tools/metrics_monitor/_bin/libcttmetrics.so /usr/lib64 cd /opt/intel/mediasdk/tools/metrics_monitor/_bin/ setcap cap_sys_admin+ep ./metrics_monitor