Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server
I did a further testing with the OpenELEC build in post #2 and Braswell N3050 hardware with 2 gigs of RAM. I was able to play 20+ videos and when starting a new one, kodi crashed with following in dmesg:

[ 381.202509] Out of memory: Kill process 663 (kodi.bin) score 282 or sacrifice child
[ 381.202513] Killed process 663 (kodi.bin) total-vm:2558768kB, anon-rss:532540kB, file-rss:0kB

Logs that I collected are stored here:

Not sure if this helps, but at least now I have something more to indicate that it indeed is memory related. Though last time when I tried this, it kind of froze without kodi restarting, but today I've done this now 3 times and have reached the same result: kodi crash and restart.

It seems everytime I skip inside the video, the amount of free memory goes down. This can be seen easily if you enable debug logging, as the amount of free memory is all the time on the screen. Then skip 10 seconds forward repeatedly and watch the figure.

For comparison, if VAAPI is disabled, the memory consumption figure does not change significantly when skipping inside the video.

I'll do the valgrind testing in Ubuntu next.

Messages In This Thread
RE: New Era: VAAPI with EGL interoperation - by trsqr - 2015-08-18, 21:54
Live TV broken again? - by schamane - 2016-02-29, 19:56
Random crashes - by hal2100 - 2016-03-08, 22:03