1
General / Re: Stutter Occurs In Application
« on: April 27, 2022, 04:48:15 pm »
Actually my initial problem comes from a game where I used a fixed time step for the physics update, and render each frame using the current time got from the globalClock and doing a linear interpolation between the previous physics state and the current one.
When reproducing the stutter problem with the little example I gave in this post, I tried to limit it to 60 fps while my computer is able to run it at 1000+ fps. When I print the fps in the terminal, they are perfectly stable, between 59.995 and 60.005, and there are no jumps in time at all. So I guess the problem can't come from there, or maybe I miss something here that you could explain?
However, today I tried to look at this bug again, and it seems to have disappeared. I can't reproduce it even with NVIDIA performance mode, that's really strange...
When reproducing the stutter problem with the little example I gave in this post, I tried to limit it to 60 fps while my computer is able to run it at 1000+ fps. When I print the fps in the terminal, they are perfectly stable, between 59.995 and 60.005, and there are no jumps in time at all. So I guess the problem can't come from there, or maybe I miss something here that you could explain?
However, today I tried to look at this bug again, and it seems to have disappeared. I can't reproduce it even with NVIDIA performance mode, that's really strange...