Community
cancel
Showing results for 
Search instead for 
Did you mean: 
然_魏_
Beginner
42 Views

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

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
42 Views

This may be an install issue.

  • What do you see with 'uname -r' and 'ls /dev/dri'?
  • Are results different as root?
然_魏_
Beginner
42 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?

Jeffrey_M_Intel1
Employee
42 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.

然_魏_
Beginner
42 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!  ^ ^