Media (Intel® Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools like Intel® oneAPI Video Processing Library and Intel® Media SDK
Announcements
The Intel Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.

Installing and Running Intel Media SDK on Linux

victor_e_
Beginner
1,020 Views

hi

the only installing and running instruction i could find are for Intel Media SDK 2014 R2 

i have Intel Media SDK 2015 R3 and am trying to use it on Centos

is there a more updated guide that is up to date with the 2015 package and environment?

 

victor

0 Kudos
10 Replies
Sravanthi_K_Intel
1,020 Views

Hello there -

You can find the R3 install guide from our Support page - https://software.intel.com/en-us/intel-media-server-studio-support, and Documentation page - https://software.intel.com/en-us/intel-media-server-studio-support/documentation

Additionally, when you download the Media Server Studio product and untar, you will find multiple compressed files in it - one of them being the SDK. Untar the SDK, and you will find the getting started guide inside. This has all the information you need for install. Let us know if you have more questions.

Can you let us know where you are seeing the documentation reflect MSDK 2014 R2 version? We will surely want to update it to reflect the latest release.

0 Kudos
Francois_C_1
Beginner
1,020 Views

Hi,

I just installed a fresh CentOS 7 on an Intel i7-4770. I followed the short steps described in "Intel Media Server Studio 2015 - Driver, SDK, Samples for Linux Getting Started Guide". I had to disable SecureBoot after rebooting, however.

I did check that an Intel VGA adapter is found.

$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation 4th Gen Core Processor DRAM Controller [8086:0c00] (rev 06)
00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0412] (rev 06)
00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06)
00:14.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI [8086:8c31] (rev 04)
00:16.0 Communication controller [0780]: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 [8086:8c3a] (rev 04)
00:19.0 Ethernet controller [0200]: Intel Corporation Ethernet Connection I217-LM [8086:153a] (rev 04)
00:1a.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 [8086:8c2d] (rev 04)
00:1b.0 Audio device [0403]: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20] (rev 04)
00:1c.0 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 [8086:8c10] (rev d4)
00:1c.1 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #2 [8086:8c12] (rev d4)
00:1c.2 PCI bridge [0604]: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 [8086:8c14] (rev d4)
00:1d.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 [8086:8c26] (rev 04)
00:1f.0 ISA bridge [0601]: Intel Corporation C226 Series Chipset Family Server Advanced SKU LPC Controller [8086:8c56] (rev 04)
00:1f.2 RAID bus controller [0104]: Intel Corporation 82801 SATA Controller [RAID mode] [8086:2822] (rev 04)
00:1f.3 SMBus [0c05]: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller [8086:8c22] (rev 04)
02:00.0 PCI bridge [0604]: Texas Instruments XIO2001 PCI Express-to-PCI Bridge [104c:8240]
04:00.0 PCI bridge [0604]: PLX Technology, Inc. Device [10b5:8603] (rev ab)
05:01.0 PCI bridge [0604]: PLX Technology, Inc. Device [10b5:8603] (rev ab)
05:02.0 PCI bridge [0604]: PLX Technology, Inc. Device [10b5:8603] (rev ab)
06:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 06)
07:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 06)

 

I can see that i915 is loaded.

$ lsmod | grep 'i915'
i915                  734314  5
i2c_algo_bit           13413  1 i915
drm_kms_helper         52758  1 i915
drm                   297577  4 i915,drm_kms_helper
i2c_core               40325  5 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit
video                  19267  1 i915

Even after double checking everything, I still cannot get the samples to work.

$ ./sample_decode_drm h264 -i content/test_stream.264 -o out.yuv
terminate called after throwing an instance of 'std::invalid_argument'
  what():  Loading of VA display was failed
Aborted (core dumped)

$ ./sample_decode_x11 h264 -i content/test_stream.264 -o out.yuv
No protocol specified
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
Aborted (core dumped)

Can you guys help out please? What am I missing?

Cheers,

Francois

 

0 Kudos
Jeffrey_M_Intel1
Employee
1,020 Views

Have you tried running as root?

0 Kudos
Francois_C_1
Beginner
1,020 Views

Yes, and I get the same behavior.

Right now, I got to the point where MFXQueryVersion returns 1.13, and MFXQueryIMPL returns Implemented Via VAAPI on hardware. I get that on CentOS 7. On Windows, I get implemented Via D3D9. Both machines are identical, except for the OS (CentOS 7 vs. Windows 8.1).

François

 

0 Kudos
Li_C_1
Beginner
1,020 Views

Is there a resolution. We also ran into similar problem as "Loading of VA display was failed" error message. Thanks. Li

 

pipeline_profile.cpp :175 [INFO] Track 0   : Video enabled

pipeline_manager.cpp :96 [INFO] Input     : ../renamed/zw1.mp4

pipeline_manager.cpp :97 [INFO] NumTracks : 1

pipeline_manager.cpp :98 [INFO] Output    : ../al_transcode/mzw1.mp4

main.cpp :74 [ERROR] exception: Loading of VA display was failed

0 Kudos
Sravanthi_K_Intel
1,020 Views

Hi Li - Can you let us know what system (platform, OS and MSS version) you are running?

Hi Francois, - After you installed MSS on your system, did you reboot into the new MSS kernel? Can you ensure that with a uname -ar?

 

 

0 Kudos
Navjot_S_
Beginner
1,020 Views

I'm running into the same issue. Will appreciate any and all pointers. Thanks!

------------------------------------------------------------------------------------------------------------------

sudo ./sample_decode_drm h264 -i test_stream.264 -o out.yuv

terminate called after throwing an instance of 'std::invalid_argument'
  what():  Loading of VA display was failed

 

------------------------------------------------------------------------------------------------------------------

uname -ar
Linux mod03 3.10.0-123.9.3.29573.MSSr1.el7.x86_64 #1 SMP Tue Mar 17 22:34:13 PDT 2015 x86_64 x86_64 x86_64 GNU/Linux

------------------------------------------------------------------------------------------------------------------

lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Broadwell-U Host Bridge -OPI [8086:1604] (rev 09)
00:02.0 VGA compatible controller [0300]: Intel Corporation Broadwell-U Integrated Graphics [8086:1616] (rev 09)
00:03.0 Audio device [0403]: Intel Corporation Broadwell-U Audio Controller [8086:160c] (rev 09)
00:14.0 USB controller [0c03]: Intel Corporation Wildcat Point-LP USB xHCI Controller [8086:9cb1] (rev 03)
00:16.0 Communication controller [0780]: Intel Corporation Wildcat Point-LP MEI Controller #1 [8086:9cba] (rev 03)
00:19.0 Ethernet controller [0200]: Intel Corporation Ethernet Connection (3) I218-LM [8086:15a2] (rev 03)
00:1b.0 Audio device [0403]: Intel Corporation Wildcat Point-LP High Definition Audio Controller [8086:9ca0] (rev 03)
00:1d.0 USB controller [0c03]: Intel Corporation Wildcat Point-LP USB EHCI Controller [8086:9ca6] (rev 03)
00:1f.0 ISA bridge [0601]: Intel Corporation Wildcat Point-LP LPC Controller [8086:9cc3] (rev 03)
00:1f.2 SATA controller [0106]: Intel Corporation Wildcat Point-LP SATA Controller [AHCI Mode] [8086:9c83] (rev 03)
00:1f.3 SMBus [0c05]: Intel Corporation Wildcat Point-LP SMBus Controller [8086:9ca2] (rev 03)

------------------------------------------------------------------------------------------------------------------

cat /etc/redhat-release
CentOS Linux release 7.0.1406 (Core)

------------------------------------------------------------------------------------------------------------------

lsmod | grep i915
i915                  734314  0
i2c_algo_bit           13413  1 i915
drm_kms_helper         52758  1 i915
drm                   297577  2 i915,drm_kms_helper
i2c_core               40325  4 drm,i915,drm_kms_helper,i2c_algo_bit
video                  19267  1 i915

------------------------------------------------------------------------------------------------------------------

0 Kudos
Lee_g_
Beginner
1,020 Views

you guys should check whether quick sync video is available or not on your CPU.

0 Kudos
Navjot_S_
Beginner
1,020 Views

QuickSync is supported per:

http://ark.intel.com/products/85213/Intel-Core-i5-5300U-Processor-3M-Cache-up-to-2_90-GHz

 

cat /proc/cpuinfo | grep "model name"
model name	: Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz
model name	: Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz
model name	: Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz
model name	: Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz

 

0 Kudos
Li_C_1
Beginner
1,020 Views

Sravanthi,

Sorry for the delay of response. We are using Gigabyte Prix Pro running the latest CentOS 7. Here is the system info.

$ uname -ar
Linux localhost.localdomain 3.10.0-123.20.1.el7.x86_64 #1 SMP Thu Jan 29 18:05:33 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Guess for my case, I am able to narrow down the issue now. I can run Media SDK on the local machine from a regular user account. It works in a terminal in the desktop mode. It even works with pure command interface mode (from 'init 3') as well. However, the problem is with remote session from a Windows PC. I use secureCRT program to remotely log in to the Linux machine with shh2. Then, I have to log in as root in order to launch Media SDK program. If I use regular user mode, it has the same old libva error like

    libva error: va_getDriverName() failed with operation failed, driver_name=i965

    terminate called after throwing an instance of 'std::invalid_argument'

    what(): Loading of VA display was failed

Is there something unique about the remote login?

Thanks,

Li

 

0 Kudos
Reply