Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.

DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument


Dear Shubha,

When I run vainfo I get this error:

libva info: VA-API version 1.4.1
libva info: va_getDriverName() returns -1
libva info: User requested driver 'iHD'
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/
libva info: Found init function __vaDriverInit_1_4
DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument
Assuming 131072kB available aperture size.
May lead to reduced performance or incorrect rendering.
get chip id failed: -1 [22]
param: 4, val: 0
libva error: /usr/lib/x86_64-linux-gnu/dri/ init failed
libva info: va_openDriver() returns 1
vaInitialize failed with error code 1 (operation failed),exit


I use 19.04 linux version, How can I resolve this?

0 Kudos
1 Reply

We dont officially support 19.04 it could be an issue there especially with the kernel and default packages being different than we have built and validated against but I will help you as best as I can.

Can you tell me the steps you took to create this issue?

Did you simply install Openvino ? 

if so could you try doing this export LIBVA_DRIVERS_PATH=/opt/intel/mediasdk/lib64 and trying vainfo again and see if you get anything different. 


0 Kudos