Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 916781 - >=media-libs/libva-2.17 is broken with Intel drivers on X11
Summary: >=media-libs/libva-2.17 is broken with Intel drivers on X11
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: VA-API Project
URL: https://github.com/intel/libva/issues...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-04 08:32 UTC by Ostashevskyi Viktor
Modified: 2023-11-05 21:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.