Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 916781

Summary: >=media-libs/libva-2.17 is broken with Intel drivers on X11
Product: Gentoo Linux Reporter: Ostashevskyi Viktor <ostash>
Component: Current packagesAssignee: VA-API Project <vaapi>
Status: UNCONFIRMED ---    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/intel/libva/issues/677
Whiteboard:
Package list:
Runtime testing required: ---

Description Ostashevskyi Viktor 2023-11-04 08:32:45 UTC
>=media-libs/libva-2.17 uses DRI3 X11 extension in order to setup X server / application / libva / media driver communication.

Unfortunately both media-libs/libva-intel-driver (https://github.com/intel/intel-vaapi-driver/issues/558) and media-libs/libva-intel-media-driver does not support such way of configuration via DRI3.

Effectively, clients using vaPutSurface API are broken, i.e. mpv:

[vo/vaapi] vaPutSurface() failed (invalid parameter)



Reproducible: Always
Comment 1 Ostashevskyi Viktor 2023-11-04 08:43:12 UTC
Workaround is possible: setting LIBVA_DRI3_DISABLE=1 environment variable fixes the problem.

However, I do not feel that stable package should require user to manually set any environment variables to be in the working state.