Skip to content

vaapidecode,vaapipostproc: Disable DMAbuf from caps negotiation.

This is a forward port of !2459 (merged) to 1.22

Given the amount of complains about artifacts when negotiating dmabuf given incompatible drm-formats, and that there's no enough bandwidth for a proper and quick fix in gstreamer-vaapi, this patch disables, from decoders and postprocessor, the DMABuf caps feature.

For those who needs DMABuf can use the va elements in -bad, increasing their ranking for autoplugging by using the environment variable GST_PLUGIN_FEATURE_RANK=vah264dec:MAX, for example.

This can be considered a first step to the deprecation of gstreamer-vaapi in favor of the va plugin in -bad.

Fixes: #1137 (closed)

On an Intel UHD 630 (i9-9900k) with mesa 23.1.3.

Before patch, using today's 1.22 branch:

Screenshot_from_2023-07-10_15-50-46

After patch:

Screenshot_from_2023-07-10_15-51-34

CC: @vjaquez

Merge request reports