Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server
(2015-08-18, 21:54)trsqr Wrote: 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: http://trsqr.net/kodi_crash/

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.

I can verify this, but I don't know yet - if that's a leak or normal buffer management. Whenever I seek Memory usage increases, it always goes up and never down - top shows that easily.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply


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