Brush Lagging/Dragging

In the past when I've used Paint Tool SAI and Clip studio I had this problem where when I used any tool it would start off not lagging but as I used it more (like every 30 seconds) the lag would get worse. I fixed it by switching to tabletPC api from winPC api. Im having the same issue in Gimp now but cannot find anything on tabletPC api and none of the solutions from other forum posts work. Does anyone know how to fix this/ know where I can switch to tabletPC api? Im using a computer with an i3, 8bg ram and a cintiq 12wx.