intel / libva-utils

Libva-utils is a collection of tests for VA-API (VIdeo Acceleration API)
https://01.org/linuxmedia
Other
195 stars 162 forks source link

DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument #174

Open alontrais opened 5 years ago

alontrais commented 5 years ago

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/iHD_drv_video.so 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/iHD_drv_video.so 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?

uartie commented 5 years ago

@alontrais Please have a read here: https://github.com/intel/media-driver/issues/195 to see if any of that can solve your issue.

uartie commented 5 years ago

Also, here: #120

mahsoommoosa42 commented 4 years ago

Facing this issue across multiple applications. Check https://github.com/intel/media-driver/issues/816 .

RarogCmex commented 3 years ago

This is happening because with discrete graphic card order of devices is misleading, so you should fix it manually: vainfo --display drm --device /dev/dri/renderD129