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
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.

vainfo error with VPL

Priyanka_B_Intel
Employee
1,146 Views

Hi, 

I have setup the VPL and the required environmental setting on my Ubuntu Host. I ma trying to execute the "vainfo" utility but ending 

up with the below error :

bosepriy@bosepriy:/opt/intel/inteloneapi/vpl/2021.1-beta03/lib$ ./vainfo
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/inteloneapi/vpl/2021.1-beta03/lib/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_4
libva error: /opt/intel/inteloneapi/vpl/2021.1-beta03/lib/iHD_drv_video.so init failed
libva info: va_openDriver() returns 18
vaInitialize failed with error code 18 (invalid parameter),exit


bosepriy@bosepriy:/opt/intel/inteloneapi/vpl/2021.1-beta03/lib$ ls -lrt /opt/intel/inteloneapi/vpl/2021.1-beta03/lib/iHD_drv_video.so
-rwxrwxrwx 1 root root 105642088 Feb 26 23:35 /opt/intel/inteloneapi/vpl/2021.1-beta03/lib/iHD_drv_video.so

Any idea why this error code 18 is observed ?

Best Regards

Priyanka
 

 

 

0 Kudos
1 Solution
Mark_L_Intel1
Moderator
1,146 Views

Hi Priyanka,

Sorry for the late response, did you check the following environment?

After run "source /opt/intel/inteloneapi/setvars.sh", you should get:

LIBVA_DRIVERS_PATH="/opt/intel/inteloneapi/vpl/latest/lib"

LIBVA_DRIVER_NAME="iHD"

Mark

View solution in original post

1 Reply
Mark_L_Intel1
Moderator
1,147 Views

Hi Priyanka,

Sorry for the late response, did you check the following environment?

After run "source /opt/intel/inteloneapi/setvars.sh", you should get:

LIBVA_DRIVERS_PATH="/opt/intel/inteloneapi/vpl/latest/lib"

LIBVA_DRIVER_NAME="iHD"

Mark

Reply