Step by step research into Intel Media SDK for Linux server 9


Intel release an alpha version of Media SDK for linux servers (Intel® Media SDK 2013 for Linux Servers) recently, here now I am researching on it. I will record my research details in this post, as usual,  can not guarantee everything I write here are exact true and right, only an experiment of it.

Introduction

Intel® Media SDK 2013 for Linux Servers is an SDK for optimizing datacenter and embedded media applications for Linux operating systems to utilize Intel HD Graphics hardware acceleration capabilities. Now, quickly and easily develop optimized media applications for Linux operating systems such as encode, decode, and transcode for real-time streaming, teleconferencing, and video analytics.

You can visit: http://software.intel.com/en-us/vcsource/tools/media-sdk-linux to get more informations from Intel’s official website of Media SDK

Features

  • For Intel Xeon® E3-1285Lv2 and Intel Core™ Processor-based Platforms with Intel HD Graphics
  • Encode, decode, and transcode for server-based streaming
  • Supports Ubuntu* and SUSE* Linux Enterprise Operating Systems
  • Supports H.264, MPEG-2, VC-1 formats

Experiments

Step by step to setup the develop environment, and get into works. My hardware environemts(CPU) is Core 3rd Generation Ivy, according to Intel’s introduction in it Release Notes, I can only choose ubuntu 12.04 server 64 with kernel 3.2.

1. OS Install
Related files:
1. ubuntu-12.04-server-amd64.iso
2. unetbootin-windows-581.exe

According to Intel’s Release Notes, target OS version match with MediaSDK is ubuntu 12.04 server 64 bit with kernel 3.2.
So we choose: ubuntu-12.04-server-amd64.iso(we can not download this version of ubuntu server on ubuntu.com, if you dont have it, you can mail me or call me)

1. Get yourself a USB flash(4G or bigger), use unetbootin-windows-581.exe to write the iso to the USB flash.
2. Plug the USB to 8000e, and power up, press DEL to get into BIOS, choose your newly plugged in USB as first boot option.
3. Install Ubuntu server.
4. Make sure your 8000e can access to the internet (Mail your 8000e’s ethernet MAC ADDR together with your pre-assigned IP addr to 黄阳)
5. I strongly recommend you to not do it on 8000e’s iCF4000 card(which has only 8 GB rom), because I was sucked here 2 times being told “no space left” while compiling the kernel.
2. Media SDK install
Related files:
1. haswell.rar which including but not limits to files:
a. intel-Linux-media_ubuntu_16.1.0.8778_64bit.tar.gz
b. kmd_patched_sources.tar.bz2

Upload haswell.rar to 8000e, and extract it, you will find a file named as intel-linux-media_ubuntu_16.1.0.8778_64bit.tar.gz
1. Extract intel-linux-media_ubuntu_16.1.0.8778_64bit.tar.gz
2. Locate to the extracted files, find and execute ./install_media.sh

As you can see, I was told to rebuild the kernel, so we do it. However it’s a long way to go…

3. Install a bunch of stuffs with rebuild kernel needed:
If you encounter with network setting & routing problems, you can refer to http://bbs.rosoo.net/forum.php?m … pid=24641&fromuid=3 for a guide.

4. Download kernel

5. Apply Intel Media SDK patch

6. Recompile kernel

 


Leave a comment

Your email address will not be published. Required fields are marked *

9 thoughts on “Step by step research into Intel Media SDK for Linux server

  • Jacky Wei Post author

    Intel Media SDK文章总汇
    自Media SDK发布以来,一直跟随其不停的学习。随着时间的流逝,陆陆续续的写了几十篇相关的blogs。因为它们散布在不同的网页,在查阅的时候非常的费时,所以在此做一次整理,便于与网友分享。也希望网友能够和蔼的提出建设性意见,以便日后提高。先谢过了!

    http://software.intel.com/zh-cn/blogs/2011/09/27/intel-media-sdk-2/

  • Bryce Xiao

    Can you send me the haswell.rar? I can’t find the link to download it on intel website. Thank you.

  • Duncan

    Hi Jacky:
    I have some questions.
    1.
    How Ubuntu 64-bit can install on 3rd Gen. Core,
    I have seen the website “http://releases.ubuntu.com/precise/” say it only support EM64T Xeon, Core 2.
    And i have tried also, my cpu is i7-3770.

    2.
    Could you give me the media SDK?
    Because i have send Intel e-mail to ask media SDK last two weeks ago, however the did not reply yet.
    I am very interesting the media SDK performance(encode/decode) on Linux, comparing to windows.

    Thanks a lot,
    Duncan

    • Jacky Wei Post author

      Dear Duncan,
      Question 1:
      Ubuntu 64-bit can be installed on 3rd Gen Core, and that’s just what I did weeks ago, I not sure what “http://releases.ubuntu.com/precise/” said, but it’s been comfirmed by my experience. BTW: my CPU is the same with you, Core ivy bridge i7-3770.

      And more, if you want research/test Intel Media SDK on it, you should install ubuntu-12.04.1-server, which was compiled base on kernel 3.2.0, rather than the latest release. You can visit http://software.intel.com/en-us/vcsource/tools/media-sdk-linux for more details.

      Question 2:
      We’ve signed a Confidentiality Agreement when we retrieved the Linux version of Media SDK, as part of that agreement, I’m not authorized to distribute it.
      So, I’m sorry to say I can’t. But I believe as long as you sent your request of Media SDK for Linux beta program, what you need to do is be more patient, you’ll have it soon.

      However, if you have any questions about how to build or how to use it, we can discuss and share the experience with each other, whenever you get your copy.

  • inqb

    Hi Jacky,

    I’m following your steps, but I have some issues.
    First of all – Intel patch uses some functions marked as static (e.g. drm_remove_magic, drm_edid_block_valid). After I change it manually, so they’re externally visible, I get the following error:
    “drivers/gpu/drm/i915/i915_dma.c:37:29: fatal error: linux/intel_ips.h: No such file or directory.”
    What am I missing?

  • AlexD

    Hi Jacky!

    Do you have Intel Media SDK 2014 R2 for Linux archive? Or a file described in your post: intel-linux-media_ubuntu_16.1.0.8778_64bit.tar.gz? Could you please share it via internet?

    Thanks a lot!