

Something very similar happens to me in some Windows games on Mint with Cinnamon, especially older games running using Proton. I’ve had it happen recently with Age of Mythology and Fallout New Vegas.
Unfortunately, I don’t have the answer for you, but I can tell you you’re not alone.
tail -f of vim