HW encode: vaapi memory leak

3cells3cells New Member Posts: 9

I am trying to encode video using ffmpeg and H264-vaapi. On both the UP Board and UP2 I have, there appears to be a memory leak. Video encodes for between 12 to 15 minutes before the system (4GByte boards) runs out of RAM and locks up. Using conky to monitor memory usage I start off with ~600MBytes out of 3.7 GBytes used which gets eaten up over time.
Using libx264 to encode the video doesn't have the memory leakage problem and video encodes happily. Problem with libx264 is it hammers CPU usage (and battery) so a GPU based option is preferable.
Is there a patch or fix for the memory leakage?



  • DCleriDCleri Administrator, AAEON Posts: 642 admin

    It could be an issue with the Intel graphics driver i915.

    You could submit the issue to the kernel mailing list: https://lkml.org

    What kernel version and Linux OS are you using?

Sign In or Register to comment.