Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
120 Views

How to use Intel HW Accelerators

I followed the steps mentioned in the getting started guide for installing the Intel media server studio SDK.

Version used: MediaServerStudioEssentials2016.tar.gz

Here are details about system:

 x86_64 CPU op-mode(s): 32-bit, 64-bit 

Model name: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz (SKYLAKE PROCESSOR)

Skylake PC

CentOS Linux release 7.1.1503

I checked few basic steps like :

uname –r

checked booted into the correct kernel or not.

lspci –nn | grep VGA

Checked if the Intel® Integrated Graphics

lsmod | grep i915

Checked if the i915 DRM module is installed

I find some problem while running vainfo as follow.

[skylake@localhost user]$ vainfo
error: failed to initialize display
Aborted (core dumped)

How to solve above problem, can any one please help me ..

Thanks&Regards,

0 Kudos
6 Replies
Highlighted
120 Views

The Media Server Studio 2016 downloadable today does not include 6th Generation Core (Skylake) support.  It is intended for  4th and 5th Generation (Haswell and Broadwell) systems.  If you'd like you can use the client release of Media SDK for Windows on 6th Generation Core machines to preview new hardware features.  While we don't have any timeline specifics for Linux yet, this forum is one of the best places to watch for announcements.

BTW, Media Server Studio only supports 64 bit. 

Regards, Jeff

0 Kudos
Highlighted
Beginner
120 Views

Dear Jeffrey M,

Thank you very much,

I tried on 4th generation Haswell system,

i) my system details are as follows:

 - Intel(R) Core(TM) i7-4700MQ CPU @ 2.40GHz

 - Linux 7.1 version

 but still i am getting some issues like:

When i run vainfo , getting like:

1) [user@localhost ffmpeg-3.0]# vainfo

libva info: VA-API version 0.99.0
Xlib:  extension "XFree86-DRI" missing on display ":0".
libva info: va_getDriverName() returns -1
libva error: va_getDriverName() failed with unknown libva error,driver_name=(null)
vaInitialize failed with error code -1 (unknown libva error),exit

2) trying to decode using h264_qsv , getting like 

[user@localhost ffmpeg-3.0]$ ./ffmpeg -i /home/xyz/tractor.264 -vcodec h264_qsv /home/xyz/out1.yuv

ffmpeg version 3.0 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
  configuration: --enable-libmfx --enable-nonfree
  libavutil      55. 17.103 / 55. 17.103
  libavcodec     57. 24.102 / 57. 24.102
  libavformat    57. 25.100 / 57. 25.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 31.100 /  6. 31.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
[h264 @ 0x23a6380] Stream #0: not enough frames to estimate rate; consider increasing probesize
Input #0, h264, from '/home/xyz/tractor.264':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: h264 (High), yuv420p, 1280x720, 25 fps, 25 tbr, 1200k tbn, 50 tbc
[h264_qsv @ 0x245d4c0] mfx init: /dev/dri/renderD128 fd open failed
[h264_qsv @ 0x245d4c0] mfx init: /dev/dri/renderD129 fd open failed
[h264_qsv @ 0x245d4c0] mfx init: /dev/dri/renderD130 fd open failed
libva info: VA-API version 0.99.0
libva info: va_getDriverName() returns -1
libva error: va_getDriverName() failed with unknown libva error,driver_name=(null)
[h264_qsv @ 0x245d4c0] mfx init: /dev/dri/card0 vaInitialize failed
[h264_qsv @ 0x245d4c0] mfx init: /dev/dri/card1 fd open failed
[h264_qsv @ 0x245d4c0] mfx init: /dev/dri/card2 fd open failed
[h264_qsv @ 0x245d4c0] Selected ratecontrol mode is not supported by the QSV runtime. Choose a different mode.
Output #0, rawvideo, to '/home/xyz/out1.yuv':
    Stream #0:0: Video: h264, none, q=2-31, 128 kb/s, 25 fps
    Metadata:
      encoder         : Lavc57.24.102 h264_qsv
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_qsv))
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

can you please help me regarding above issues.

 

Regards,

Giri.

 

0 Kudos
Highlighted
Beginner
120 Views

 

* Linux CentOS 7.1 version

0 Kudos
Highlighted
Beginner
120 Views

one thing I forgot to mentioned that: 

Installing CentOS 7.1 in VM Ware Workstation 11.1.0 

HSW system, Intel(R) Core(TM) i7-4700MQ CPU @ 2.40GHz

 

0 Kudos
Highlighted
120 Views

Just closing out this thread.  As Surbhi mentioned here, VMWare workstation isn't a supported form of virtualization.  For more on virtualization support see https://software.intel.com/en-us/articles/how-to-setup-media-server-studio-r6-on-vt-d.

 

 

0 Kudos
Highlighted
Beginner
120 Views

hi,

I find the same problem.

Version used: MediaServerStudioEssentials2017.tar.gz

[test@localhost ~]$ vainfo
error: can't connect to X server!
libva info: VA-API version 0.99.0
libva info: va_getDriverName() returns -1
libva error: va_getDriverName() failed with unknown libva error,driver_name=(null)
vaInitialize failed with error code -1 (unknown libva error),exit

system :

 Intel(R) Xeon(R) CPU E5-2640 v4 @ 2.40GHz

[test@localhost ~]$ lspci -nn -s 0:02.0
00:02.0 PCI bridge [0604]: Intel Corporation Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon D PCI Express Root Port 2 [8086:6f04] (rev 01)

OS:CentOS 7.2 1511

Does not My system  support Media Server Studio 2017 R1?

0 Kudos