Hello there!
So this is fairly straightforward. I’ve got an incredibly basic program that I wrote up just to test to make sure things are working, as I recently installed a new Linux based OS.
Here is a pastebin of the code https://pastebin.com/pMmvW47v
When I use SDL_GL_SetSwapInterval( 0 ), the window will move around normally as I move it, however passing 1 instead will cause tremendous lag when trying to move it around.
This video can demonstrate what I mean a bit better https://www.youtube.com/watch?v=WvqDK7KfPc0
I would like to figure out why that is. It’s quite possible it’s an issue with my system in particular, but I want to verify.
I’m currently running on Manjaro 64 bit with the XFCE desktop environment, an Arch based Linux distro. I’m also using proprietary NVIDIA drivers with a NVIDIA GTX 980 Ti. So it’s quite puzzling why I would experience lag that bad.