Community
cancel
Showing results for 
Search instead for 
Did you mean: 
sam_p_
Beginner
95 Views

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

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

Did you run it as root?

sam_p_
Beginner
95 Views

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

95 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.

 

sam_p_
Beginner
95 Views

accidental duplicate post
sam_p_
Beginner
95 Views

accidental duplicate post
sam_p_
Beginner
95 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

 

sam_p_
Beginner
95 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

 

95 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.

sam_p_
Beginner
95 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. 

95 Views

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

Reply