[Mesa-dev] [PATCH 1/2] st/va: enable dual instances encode by sync surface

Andy Furniss adf.lists at gmail.com
Sun Aug 21 21:13:46 UTC 2016


Andy Furniss wrote:
> Boyuan Zhang wrote:
>> This patch improves the performance of Vaapi Encode by enabling
>> dual instances encoding. flush function is not called after each
>> end_frame call. radeon/vce will do flush whenever 2 frames are
>> submitted for encoding. Implement sync surface function to flush
>> only if the frame hasn't been flushed yet.
>
> Sorry I didn't see this before it went in, but it breaks cqp encoding
> on tonga. cbr seems OK (but is slower than cqp).
>
> Not every run will be corrupt. On runs that are the corruption seems
> to be on/around IDR frames, though that's just a guess judging by
> frequency.

Oops - It is OK, the problem seems to be that I was testing UHD and that
needs a patch - which turns out to be useless in combination with this,
haven't worked out why yet.



More information about the mesa-dev mailing list