intel / intel/libva

va_openDriver() returns 18 invalid parameters on CentOS7 Docker Image

Open
#562 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
784
Forks
314
PR merge metrics
No merged PRs in 30d

Description

Hi team,
I was trying to install Gstreamer to read RTSP stream, I followed this guide [Linux VAAPI Video Stack Basic Packages](https://01.org/node/30758) and everything was built fine with Clang v7.0.1 and GCC v9.3.1

I'm using CentOS7 Docker image ```Linux 5.4.72-microsoft-standard-WSL2 #1 SMP Wed Oct 28 23:40:43 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux```

With hardware information:
```
# hwinfo --short
cpu:
Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz, 1992 MHz
Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz, 1992 MHz
Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz, 1992 MHz
Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz, 1992 MHz
Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz, 1992 MHz
Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz, 1992 MHz
Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz, 1992 MHz
Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz, 1992 MHz
storage:
Floppy disk controller
Virtual Storage 0
network:
Virtual Ethernet Card 0
network interface:
sit0 Network Interface
eth0 Ethernet network interface
lo Loopback network interface
disk:
/dev/ram2 Disk
/dev/sdd Msft Virtual Disk
/dev/ram0 Disk
/dev/sdb Msft Virtual Disk
/dev/ram9 Disk
/dev/ram14 Disk
/dev/ram7 Disk
/dev/ram12 Disk
/dev/ram5 Disk
/dev/ram10 Disk
/dev/ram3 Disk
/dev/sde Msft Virtual Disk
/dev/ram1 Disk
/dev/sdc Msft Virtual Disk
/dev/ram15 Disk
/dev/sda Msft Virtual Disk
/dev/ram8 Disk
/dev/ram13 Disk
/dev/ram6 Disk
/dev/ram11 Disk
/dev/ram4 Disk
bios:
BIOS
memory:
Main Memory
unknown:
FPU
DMA controller
PIC
Keyboard controller
```

And here is error that I got:

```
# vainfo --display drm --device $ROOT_INSTALL_DIR/lib/dri/iHD_drv_video.so
libva info: VA-API version 1.14.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /opt/media/lib/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_14
DRM_IOCTL_I915_GEM_APERTURE failed: Inappropriate ioctl for device
Assuming 131072kB available aperture size.
May lead to reduced performance or incorrect rendering.
get chip id failed: -1 [25]
param: 4, val: 0
libva error: /opt/media/lib/dri/iHD_drv_video.so init failed
libva info: va_openDriver() returns 18
vaInitialize failed with error code 18 (invalid parameter),exit
```

P/s: I'm using libva 2.14.0.pre1 commit ```453002ce69779c713f6f8315bedce140d34ba805```

Please take a look, thank you so much!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.