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 
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
I don't find the /dev/dri/ directory.
I think that I don't have a driver for your iGPU or it is broken.
When I run "lscpu" command, I get this:
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
Address sizes: 39 bits physical, 48 bits virtual
On-line CPU(s) list: 0-11
Thread(s) per core: 2
Core(s) per socket: 6
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model name: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
CPU MHz: 800.037
CPU max MHz: 4600.0000
CPU min MHz: 800.0000
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 12288K
NUMA node0 CPU(s): 0-11
Could you give me more information?
Which Linux version, which Media SDK version?
No, /dev/dri is not the driver directory, it should be /opt/intel/mediasdk/lib64/iHD_drv_video.so, could you confirm if this file exists?
From error message, it looks like UMD or KMD issue, or environment issue.