I started using the game window provided by opentk and my updates stutter pretty badly. I have multiple threads doing work in the update loop and the cpu usage is fairly high but my fps is generally around 30. If i move my update logic to my main render loop everything runs silky smooth. I alleviated the problem a bit by changing the GameWindow RaiseUpdateFrame method. I introduced a MaxUpdates Variable:
if (++num_updates >= maxUpdates || TargetUpdateFrequency == 0.0)break;
if (++num_updates >= 10 || TargetUpdateFrequency == 0.0)break;
and set it to 0. This got rid of the large stutters that happened every couple of seconds but things are still pretty choppy. The animation also seems to run slightly slower when using the update loop, which is odd since i've got both the update and render frequency locked at 30. Any recomendations? It seems like it's running choppy since the updates are running at 30 hz but they're not syncing with the frame rate. For now i've got my logic running in my render loop and i'm capping the fps at 30 to keep update speed consistent. def not an ideal solution.