Open kkartaltepe opened 1 year ago
Can you confirm that one can still use VAAPI when relevant ?
Can you confirm that one can still use VAAPI when relevant ?
If you mean other implementations on top of vaapi, for example ffmpeg's vaapi backend? Then yes it works as expected.
I happen to be on an i3-7100U and can use both the legacy intel-vaapi-driver/i945 and the mediasdk/iHD driver. It seems that when trying to use oneVPL/mfx/QSV EncodeFrameAsync/SyncOperation will fail on this driver but encoding succeeds when run on mediasdk/iHD.
Example pipeline was the oneVPL sample at https://github.com/oneapi-src/oneVPL in
tools/legacy/sample_encode
This sample can be run with
LIBVA_DRIVER_NAME=i965 ./sample_encode h264 -i bbb.yuv -o bbb.h264 -f 25 -w 1280 -h 720 -vaapi -api_ver_init::1x
to show the broken behavior.You can run the same command without overriding the driver to successfully encode data (or force via LIBVA_DRIVER_NAME=iHD).
Though this legacy driver seems mostly unmaintained, due to the nature of intel's driver naming many users on transitional hardware may still be on it. It would be nice if the driver could be made to support oneVPL/mfx/QSV.
Example output: