I recently did some work to upgrade World of Goo for 2D Boy to modern systems. However one issue that is outstanding after the release is that on Windows some users are experiencing a periodic lag every 1-2 seconds of around 100ms -> 300ms. I’ve isolated it down to an issue with the SDL2 event pump as it’ll take 100->300ms sometimes to run SDL_PollEvent and returning 0 actual events to process!.
Right now we are using SDL 2.0.9 I’m having the users test with the oldest I can use (2.0.7) due to SDL2 mixer and other APIs we are using (GetDisplayUsableBounds)…
Does anyone have suggestions about what might be impacting things here? Or how I can help triage things better on customers system? (as I can not recreate the issue on my system, nor can Kyle @ 2D Boy recreate it on his systems)
The macOS and Linux ports are smooth as butter running on SDL 2.0.9