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.

MFXInit(MFX_IMPL_HARDWARE,{0,1},&session) fails,returning -3.

sam_p_
Beginner
660 Views

On a i7-4700eq running centos 7, I installed the rpms from "MediaSeverStudioEssentials2015R3.tar.gz" and the kernel modules, and whenever I try to run MFXInit i get -3.

dmesg is spitting out "[drm:i915_set_reset_status] *ERROR* render ring hung inside bo (0x1885000 ctx 1) at 0x1885274"

I did get the kernel source from http://vault.centos.org/7.0.1406/updates/Source/SPackages/kernel-3.10.0-123.9.3.el7.src.rpm and am running it. 

0 Kudos
10 Replies
Shaojuan_Z_Intel
Employee
660 Views

Did you run it as root?

0 Kudos
sam_p_
Beginner
660 Views

It dosn't work running as root or running as a normal user. 

0 Kudos
Sravanthi_K_Intel
660 Views

Hi Sam,

Can you ensure if you have the right kernel loaded and you have loaded the correct drm module? Please send us the output of the following commands:

- uname -ar

- lspci -nn | grep VGA

- lsmod | grep i915

Thanks.

 

0 Kudos
sam_p_
Beginner
660 Views
accidental duplicate post
0 Kudos
sam_p_
Beginner
660 Views
accidental duplicate post
0 Kudos
sam_p_
Beginner
660 Views
uname -ar

Linux stalker-swtb-2b-lx.aero.ball.com 3.10.0-123.9.3.29404.MSSr1.el7.x86_64 #1 SMP Wed Apr 22 20:26:12 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

lspci -nn | grep VGA

00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06)

lsmod | grep i915

i915                  734314  5 
drm_kms_helper         52758  1 i915
drm                   297577  4 i915,drm_kms_helper
i2c_algo_bit           13413  2 igb,i915
i2c_core               40325  6 drm,igb,i915,i2c_i801,drm_kms_helper,i2c_algo_bit
video                  19267  1 i915

 

0 Kudos
sam_p_
Beginner
660 Views
uname -ar

Linux stalker-swtb-2b-lx.aero.ball.com 3.10.0-123.9.3.29404.MSSr1.el7.x86_64 #1 SMP Wed Apr 22 20:26:12 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

lspci -nn | grep VGA

00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06)

lsmod | grep i915

i915                  734314  5 
drm_kms_helper         52758  1 i915
drm                   297577  4 i915,drm_kms_helper
i2c_algo_bit           13413  2 igb,i915
i2c_core               40325  6 drm,igb,i915,i2c_i801,drm_kms_helper,i2c_algo_bit
video                  19267  1 i915

 

0 Kudos
Sravanthi_K_Intel
660 Views

Based on this information, looks like your installation was successful.

Can you let us know what sample you are running, the command line being used and snapshot of the output? Also, please run the sample application as root (not sudo, but as root). 

Also, can you give more system details: processor and graphics for example.

0 Kudos
sam_p_
Beginner
660 Views

It appears as though even though rpm said it had installed libva, it had not, i apologise for wasting your time but it is working. 

0 Kudos
Sravanthi_K_Intel
660 Views

Thanks for getting back to us Sam. Glad it worked. Happy coding!

0 Kudos
Reply