Video freezes, then fast forwards to catch up (Ubuntu on Chromebox)

Hello, I’ve been running Kodi on Ubuntu on a Chromebox for a while without problems. When Kodi 17.2 came out, it wasn’t working on Ubuntu 14.04, I thought something was wrong with my setup and went about messing with everything. I ended up starting fresh by getting rid of all my user data and even upgraded to Ubuntu 16.04.

Now Kodi runs, but when I’m watching video (local files), the video will sometimes freeze for about 30 seconds or a minute, then it will fast forward itself to catch up. During the time it’s frozen the subtitles continue to play fine and the CPU doesn’t seem to be higher than normal. Some files cause freezes while some don’t, it seems consistent that the ones that do freeze are .mkv. Sometimes 20 minutes will pass without a freeze, other times only 3 minutes.

I’ve tried tinkering with all the rendering options and video settings I can think of but haven’t been able to change the behavior.

My setup details are below followed by a pastebin link of a debug log that ran during a freeze+fast forward event. Any help would be appreciated, let me know if more information is needed. Thanks.

Kodi version: 17.3 (installed from team-xbmc/ppa using apt)
Version information:
Build: Kodi 17.3 Git: 20170525-nogitfound
Compiled: Nov 4 2012
Ubuntu version: 16.04
Architecture (output of uname -m): x86_64
Kernel (output of uname -r): 4.4.0-78-generic
Memory:1.8 GiB
Processor: Intel Celeron 2955U @ 1.40GHz x 2
Graphics: Intel Haswell Mobile
Disk: 13.6 GB

pastebin: https://pastebin.com/mHU2GgZN