Viewport stuttering/shaking while moving around

https://youtu.be/bk1tFdacxHY

In the video above which I recorded you can see that when I am moving in the viewport, it is appearing as if camera is shaking, and stuttering, and the same can be seen clearly when the motion blur visualizer is turned on later. the dots are not moving smoothly, and it appears as they are trying to jump in the direction in which my mouse is going but then coming back quickly. And this is causing the shake and stuttering in viewport.

How can I fix this? This problem wasn’t there from the beginning! please help!