Framerate is stuck at 60fps on linux but Windows gives 3000

I coded up a basic Game Engine using GLFW and OpenGL.
However it gets stuck at 60fps on Linux while it gives 3000 fps on windows.

The code can be found at

Any help is appreciated

Hi Dr-42,

Welcome to the GLFW forum.

This issue is likely due to how the driver/system handles the buffer swapping interval (vertical sync). As noted in the glfwSwapInterval documentation:

Some GPU drivers do not honor the requested swap interval, either because of a user setting that overrides the application’s request or due to bugs in the driver.

You may be able to alter this behaviour in a driver control panel or configuration file.