- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 /opt/intel/mediasdk/lib64/iHD_drv_video.so
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit
I use 19.04 linux version, How can I resolve this?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does file /opt/intel/mediasdk/lib64/iHD_drv_video.so exists? Does command "ldd /opt/intel/mediasdk/lib64/iHD_drv_video.so" works? Does your user have access to devices in "/dev/dri/" directory?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Maksim!
I did some changes and now 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 /opt/intel/mediasdk/lib64/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: /opt/intel/mediasdk/lib64/iHD_drv_video.so init failed
libva info: va_openDriver() returns 1
vaInitialize failed with error code 1 (operation failed),exit
file /opt/intel/mediasdk/lib64/iHD_drv_video.so exists,
The command "ldd /opt/intel/mediasdk/lib64/iHD_drv_video.so" works and the output is:
linux-vdso.so.1 (0x00007ffd7e1ff000)
libpciaccess.so.0 => /lib/x86_64-linux-gnu/libpciaccess.so.0 (0x00007fdff342b000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fdff340a000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fdff3404000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fdff33f9000)
libigdgmm.so.5 => /lib/x86_64-linux-gnu/libigdgmm.so.5 (0x00007fdff33ab000)
libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fdff31c7000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fdff3079000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fdff305f000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fdff2e74000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fdff2e58000)
/lib64/ld-linux-x86-64.so.2 (0x00007fdff3a5d000)
I don't find the /dev/dri/ directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't find the /dev/dri/ directory.
Looks like you don't have a driver for your iGPU or it is broken. What does "lscpu" command prints? Try to ask in specialized forum: https://software.intel.com/en-us/forums/intel-media-sdk

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page