HEVC x265 stutterfest, MPC-HC smooth as butter

What causes Kodi to play HEVC/x265 videos such badly that it drops hundreds of frames a minute? Other players like VLC or MPC-HC have no issues on my machine. I’ve tried every kodi settings possible, but no differences.
Active decoder: ff-hevc(SW)

AMD A4 5000
Radeon R7 240
Windows 10 x64
Kold 17 latest nightly