[FFmpeg-devel] [PATCH 5/5] lavd: Add KMS frame grabber
adf.lists at gmail.com
Wed Sep 20 19:10:57 EEST 2017
Mark Thompson wrote:
> On 19/09/17 22:21, Andy Furniss wrote:
>> That point being around 7k frames it will run out of something.
>> [AVHWFramesContext @ 0x31ed880] Failed to create surface from DRM object: 2 (resource allocation failed).
>> [Parsed_hwmap_0 @ 0x3114c40] Failed to map frame: -5.
>> I see that memory is reducing before this although I still have spare - is this the same issue you explained on users WRT leaking on decode?
> Yeah, I also run out of ... something ... at around 7200 frames. It's not fds or memory. I don't think it's the buffer problem (which, incidentally, should finally be fixable sensibly in libva2 soon), because that ended up manifesting as leaking memory. It's also not a problem for Intel (I've already been running that for a long time to test). Maybe some other sort of handle on the Mesa side? I'll investigate further tomorrow.
Leo has fixed the leak.
More information about the ffmpeg-devel