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

simple_decode Error! Device operation failure. src/simple_decode.cpp 197

然_魏_
Beginner
342 Views

Hi, I tried to run few simple code on Linux CentOS 7, using MediaServerStudioEssentials2015R6. installed following
MediaServerStudioEssentials2015R6\SDK2015Production16.4.2.1\media_server_studio_getting_started_guide.pdf
and try running one example applications in
http://software.intel.com/sites/default/files/mediasdk-tutorials-0.0.3.tar.gz
but emerge some problems~

Platform:
——————————————————————————————————————————
[root@storm _build]# cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c
      8  Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
[root@storm _build]# lspci -nn -s 00:02.0
00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0412]

(rev 06)
——————————————————————————————————————————

Error:
——————————————————————————————————————————
[root@storm _build]# ./simple_decode test_stream.264 output_stream_de.yuv
libva info: VA-API version 0.35.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'iHD'
libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so
libva info: Found init function __vaDriverInit_0_32
libva info: va_openDriver() returns 0

 Device operation failure. src/simple_decode.cpp 197
——————————————————————————————————————————

What should I do? can anyone help me? Thanks~

0 Kudos
4 Replies
Jeffrey_M_Intel1
Employee
342 Views

This may be an install issue.

  • What do you see with 'uname -r' and 'ls /dev/dri'?
  • Are results different as root?
0 Kudos
然_魏_
Beginner
342 Views

Jeffrey Mcallister (Intel) wrote:

This may be an install issue.

  • What do you see with 'uname -r' and 'ls /dev/dri'?
  • Are results different as root?

Hi~Both normal user and root are:

——————————————————————

[root@storm _build]# uname -r
3.10.0-229.20.1.el7.x86_64
[root@storm _build]# ls /dev/dri
card0  controlD64

——————————————————————

Is anything wrong?

0 Kudos
Jeffrey_M_Intel1
Employee
342 Views

For Media Server Studio to work on Linux several updates to the graphics stack are required.  One important update is recompiling the kernel.

You should see something like  3.10.0-229.1.2.39163.MSSr6.el7.centos.x86_64 from uname -r.  When you are running this kernel you should see a renderD interface in /dev/dri.

  • Did you run the install_sdk_UMD_CentOS.sh and build_kernel_rpm_CentOS.sh scripts as described in the Getting Started Guide?
  • Did you install the newly built kernel?
  • Can you see it in the /boot directory?  Is it an option in your GRUB menu after reboot?

If the new kernel isn't the default in GRUB you may have to choose it manually when booting.

0 Kudos
然_魏_
Beginner
342 Views

Jeffrey Mcallister (Intel) wrote:

For Media Server Studio to work on Linux several updates to the graphics stack are required.  One important update is recompiling the kernel.

You should see something like  3.10.0-229.1.2.39163.MSSr6.el7.centos.x86_64 from uname -r.  When you are running this kernel you should see a renderD interface in /dev/dri.

  • Did you run the install_sdk_UMD_CentOS.sh and build_kernel_rpm_CentOS.sh scripts as described in the Getting Started Guide?
  • Did you install the newly built kernel?
  • Can you see it in the /boot directory?  Is it an option in your GRUB menu after reboot?

If the new kernel isn't the default in GRUB you may have to choose it manually when booting.

I have solved seral problems accroding  with what you said, and run the program successfully!

Thanks again and Happy Thanksgiving Day!  ^ ^

0 Kudos
Reply