vainfo needs sudo on Ubuntu20.04
Open
- Dominant language
- C
- Stars
- 784
- Forks
- 314
- PR merge metrics
- No merged PRs in 30d
Description
I faced an issue using libva functions on Ubuntu20.04. Without sudo the output of vainfo will be follow:
libva info: VA-API version 1.8.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_8
libva error: /opt/intel/mediasdk/lib64/iHD_drv_video.so init failed
libva info: va_openDriver() returns 18
vaInitialize failed with error code 18 (invalid parameter),exit
I found workaround to change owner group of renderD128 from 'render' to 'video' but maybe this problem can be somehow solved on your side.
Thanks,
Yuliya
Contributor guide
Assessment
This issue has not been assessed yet.