Bug 30356

Summary: VA-API: vainfo returns errors about vaapi-driver-intel(-media). Please update/Backport it to Release - 21.1.3
Product: Mageia Reporter: Frédéric "LpSolit" Buclin <LpSolit>
Component: RPM PackagesAssignee: All Packagers <pkg-bugs>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: Normal    
Version: 8   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: vaapi-driver-intel(-media) CVE:
Status comment:

Description Frédéric "LpSolit" Buclin 2022-05-01 02:19:03 CEST
Installed:

libva-utils-2.10.0-1.mga8
vaapi-driver-intel-media-20.2.0-1.mga8
vaapi-driver-intel-2.4.1-1.mga8
lib64intel-gmmlib11-20.3.3-1.mga8

Running vainfo returns errors:

$ LIBVA_DRIVER_NAME=i965 vainfo
libva info: VA-API version 1.10.0
libva info: User environment variable requested driver 'i965'
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_7
libva error: /usr/lib64/dri/i965_drv_video.so init failed
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit


$ LIBVA_DRIVER_NAME=iHD vainfo
libva info: VA-API version 1.10.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_8
libva error: /usr/lib64/dri/iHD_drv_video.so init failed
libva info: va_openDriver() returns 1
vaInitialize failed with error code 1 (operation failed),exit


Could it be a dependency version mismatch?
Comment 1 sturmvogel 2022-05-01 05:38:57 CEST
https://github.com/intel/media-driver/issues/1298
Comment 2 Frédéric "LpSolit" Buclin 2022-05-01 12:41:53 CEST
If I read https://www.phoronix.com/scan.php?page=news_item&px=Intel-Media-Driver-Alder-Lake-S correctly, Alder Lake support has been added to intel-media-driver 21.1, but the version in Mageia 8 is 20.2. As I have an Intel i7-12700 Alder Lake CPU, could this explain my problem? Would it be possible to build a newer version in Backports testing to see if this fixes my problem?
Comment 3 Frédéric "LpSolit" Buclin 2022-05-01 12:43:40 CEST
https://github.com/intel/media-driver/releases/tag/intel-media-21.1.3 is the first release to mention ADL-S (Alder Lake for Desktop)
Comment 4 Frédéric "LpSolit" Buclin 2022-05-01 12:59:38 CEST
@kekepower: would you agree to backports newer releases to see if this fixes my problem on Alder Lake, please? :)

CC: (none) => smelror

Comment 5 Lewis Smith 2022-05-01 21:25:10 CEST
This request seems quite reasonable.
> intel-media-21.1.3 is the first release to mention ADL-S:
"Supported Platforms
BDW/SKL/APL(BXT)/KBL/CFL/WHL/CML/ICL/EHL/JSL/TGL/RKL/DG1/SG1/ADL-S/ADL-P"

What made you pinpoint kekepower to do it? I can find no connection between this SRPM & him. If he *is* willing, so much the better; otherwise it will have to be assigned globally.

Summary: VA-API: vainfo returns errors about vaapi-driver-intel(-media) => VA-API: vainfo returns errors about vaapi-driver-intel(-media). Please update/Backport it to Release - 21.1.3
CC: (none) => lewyssmith

Comment 6 Frédéric "LpSolit" Buclin 2022-05-01 21:28:11 CEST
(In reply to Lewis Smith from comment #5)
> What made you pinpoint kekepower to do it? I can find no connection between
> this SRPM & him.

In the changelog, kekepower is the last one to update it on Cauldron. :)
Comment 7 Lewis Smith 2022-05-01 21:31:03 CEST
You are ahead of me! I see him not.

Assigning to Stig; please re-assign it if you wish.

Assignee: bugsquad => smelror
CC: lewyssmith, smelror => (none)

Frédéric "LpSolit" Buclin 2022-05-25 15:04:49 CEST

Assignee: smelror => pkg-bugs

Comment 8 Frédéric "LpSolit" Buclin 2023-10-26 02:35:20 CEST
Mageia 9 has version 23.1.3, which works.

Status: NEW => RESOLVED
Resolution: (none) => WONTFIX