Media (Intel® 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 Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.

vainfo error with VPL

Priyanka_B_Intel
Employee
2,050 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
2,050 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

0 Kudos
1 Reply
Mark_L_Intel1
Moderator
2,051 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

0 Kudos
Reply