Skip to content

H264 encoding crashes in vaEndPicture, since 21.x.x #1189

Closed
@artlav

Description

@artlav

H264 encoding crashes in vaEndPicture, since 21.x.x or thereabout.

Tested on:

i5-6260U (Iris Graphics 540)
m5-6Y54 (HD Graphics 515)

Version 20.4.5 works fine, version 21.1.3 crashes, all else being the same.

Reproduction:

Run h264encode from libva-utils.

On 20.4.5 it would work fine.

On 21.1.3 it would segfault after printing "Loading data into surface 15.....Complete surface loading", while calling vaEndPicture.

Full log of the crash on m5-6Y54 (current git built with debug): log.txt

I was not able to reproduce it with ffmpeg's h264_vaapi codec, and curiously enough about one time in 10 running h264encode after ffmpeg makes h264encode work once.

Metadata

Metadata

Assignees

Labels

Encodevideo encode relatedP2Medium priority

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions