[FFmpeg-devel] Recent regression in VA-API compatibility (assertion in H.264 encode)
sw at jkqxz.net
Fri Dec 1 22:23:13 EET 2017
On 01/12/17 18:37, Devin Heitmueller wrote:
> Hi Mark,
>>> Here’s the vainfo output which provides the version info for the driver, va-api version, etc. This is on a Haswell system running Centos 7.
>>> libva info: VA-API version 0.34.0
>>> libva info: va_getDriverName() returns 0
>>> libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
>>> libva info: Found init function __vaDriverInit_0_34
>>> libva info: va_openDriver() returns 0
>>> vainfo: VA-API version: 0.34 (libva 1.2.1)
>>> vainfo: Driver version: Intel i965 driver - 1.2.2
>> Upgrading to a version less than four years old might be a plan - I admit we do notionally support that version because of old RHEL/CentOS, but it is not well tested (as you are finding).
> This is actually what you get with the very latest release of Centos 7.4 (downloaded yesterday). Hence while we could certainly argue that perhaps they’re shipping versions that are too old, it’s not like I’m running some archaic five-year-old copy of Centos I found a DVD for in the bottom of a drawer. :-)
Yeah, I'm aware that it is still current despite the archaic packages - if it weren't we would probably have dropped it already, at least for encode.
> And don’t misunderstand, I’m not against saying “Centos is dumb and should bundle newer versions of the library/driver/whatever” - I’m just trying to make clear that this is what the experience will be of any non-technical user who just does a binary install from the most recent versions of one of the more popular distros.
I'm not sure that's quite accurate - if you install on current hardware it will refuse to run at all because that version of the driver doesn't support anything newer than Haswell :P
But yes, it should definitely be fixed somehow. At some point that "fix" is to drop support for it, though.
More information about the ffmpeg-devel