Media (Intel® oneAPI 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

intel_gpu_top not compatible with Pro Graphics P580

benjamin_d_3
New Contributor I
936 Views

intel_gpu_top is having issues with Pro Graphics P580 (CPU E3-1585 v5)
OS Fedora 25,  4.4.0 with all intel patches. 

I'm getting this when running the command intel_gpu_top:
Test assertion failure function init_instdone_definitions, file instdone.c:599:
Failed assertion: IS_GEN2(devid)
Last errno: 2, No such file or directory

I also tried to install it from source but im getting this error when trying to compile.

  CC       aubdump.lo
aubdump.c: In function ‘ioctl’:
aubdump.c:636:8: error: ‘DRM_IOCTL_I915_GEM_EXECBUFFER2_WR’ undeclared (first use in this function)
   case DRM_IOCTL_I915_GEM_EXECBUFFER2_WR: {
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aubdump.c:636:8: note: each undeclared identifier is reported only once for each function it appears in
Makefile:1147: recipe for target 'aubdump.lo' failed
make[3]: *** [aubdump.lo] Error 1

 

 

0 Kudos
5 Replies
Dmitry_E_Intel
Employee
936 Views

You need to update libdrm. The latest libdrm has DRM_IOCTL_I915_GEM_EXECBUFFER2_WR:

https://cgit.freedesktop.org/mesa/drm/tree/include/drm/i915_drm.h

BTW, why are you not using metrics_monitor? 

 

0 Kudos
benjamin_d_3
New Contributor I
936 Views

Thank you Dmitry for pointing metrics_monitor. 

0 Kudos
benjamin_d_3
New Contributor I
936 Views

We have tried metrics_monitor, it doesn't work on CPU E3-1585 v5, but it works on 1245 v5 so im assuming something is wrong with just P580, 

im getting this when running it.
 

ERROR: Failed to subscribe for metrics, error code 1

 

0 Kudos
ViCue_S_
New Contributor I
936 Views

you are not alone. welcome to the club!

https://software.intel.com/en-us/forums/intel-media-sdk/topic/731340

my guess that everything ok with P580, those measuring software tools were not adjuster to some P580 ring buffer specific

0 Kudos
benjamin_d_3
New Contributor I
936 Views

Yea the P580 works fine we are doing a lot's of transcoding on it, it's just that we are using it blindly by not being able to tell what's the load on it.

0 Kudos
Reply