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.
3058 Discussions

Installing the SDK 2016 on Linux: kernel v3.14.5 supposed to support skylake?

vacha1
Beginner
327 Views

Hello, I am the very happy owner of a shiny new NUC6i7KYB carrying a 8086:193b = Iris Pro Graphics 580

I now dream of hardware accelerated video processing in linux...

My problem is trying to install the media SDK (MediaServerStudioEssentials2016.tar.gz) on linux (custom compiled distro), I followed the install procedures from:
media_server_studio_essentials_release_notes.pdf
media_server_studio_getting_started_guide.pdf
media_server_studio_sdk_release_notes.pdf
and read with a particular attention the post from Jeffrey M. in topic https://software.intel.com/en-us/forums/intel-media-sdk/topic/543365

My problem is with the kernel version: using a 4.6.4 kernel, logs in dmesg at startup show:

[    0.980107] [drm] Initialized drm 1.1.0 20060810
[    0.980615] [drm] Found 128MB of eLLC
[    0.981137] [drm] Memory usable by graphics device = 4096M
[    0.981139] [drm] Replacing VGA console driver
[    0.988903] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    0.988904] [drm] Driver supports precise vblank timestamp query.
[    0.993023] [drm] Finished loading i915/skl_dmc_ver1.bin (v1.26)
[    1.036414] [drm] failed to retrieve link info, disabling eDP
[    1.044552] [drm] Initialized i915 1.6.0 20160229 for 0000:00:02.0 on minor 0

And the GPU works fine (X starts, the console is modeset... Only thing is I would like to use qsv_h264 codecs and get libmfx to work of course)

So, my problem is at the kernel patch stage:

I followed the kernel patch procedure to install the SDK (no errors reported during patch), and rebooted my freshly compiled 3.14.5 kernel, and the log gives:

[    0.761333] [drm] Initialized drm 1.1.0 20060810

the console doesn't modeset, and X refuses to start

Firmware is available in both kernels, but in the 3.14.5 the i915 driver doesn't even try to load

 

The thing is: This 3.14.5 kernel (even if it is patched) does not seem to support the GPU from the NUC... The [drm] in syslog just loads but sees nothing, which doesn't surprise me given the fact that looking at the kernel sources in drivers/gpu/drm/i915 and in particular in i915_drv.h I see no mention of "skylake" in 3.14.5 whereas it is (of course) mentioned in 4.6.4.

In other words: I do not understand how using a 3.14.5 kernel, which was released at a time when skylake was not supported by the kernel, is supposed to run its GPU, if the patches don't help it.

Thanking you in advance for reading through this entire post!!

 

Vincent

 

 

0 Kudos
2 Replies
Jiandong_Z_Intel
Employee
327 Views

Hi Vincent,

Kernel v3.14.5 in MSS 2016 doesn't support skylake, and Skylake will be support in MSS 2017, it will coming soon.

 

Thanks,

Zachary

0 Kudos
Liu__Chao
Beginner
327 Views

Hi Vincent,

Kernel 4.6.4 should already has the patches. Try to follow media_server_studio_getting_started_guide.pdf and ignore the kernel part.

For me, kernel 4.4 (from Ubuntu 16.04) works on 5th gen CORE with IRIS pro 6200.

However, it doesn't work on 4th gen COER with HD graphics 4400. The decoder always returns green frames. I am waiting for Intel's help in another thread...

0 Kudos
Reply