# glfwSwapInterval not Working Linux

**URL:** <https://discourse.glfw.org/t/glfwswapinterval-not-working-linux/2914>\
**Category:** support\
**Created:** [April 13, 2025, 2:04pm UTC](https://discourse.glfw.org/t/glfwswapinterval-not-working-linux/2914 "2025-04-13T14:04:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![A1029384756](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/a1029384756/32/1023_2.png) [@A1029384756](https://discourse.glfw.org/u/A1029384756)\
**Post date:** [April 13, 2025, 2:04pm UTC](https://discourse.glfw.org/t/glfwswapinterval-not-working-linux/2914/1 "2025-04-13T14:04:23Z")

</div>

With GLFW 3.4 coming to my distributions packages recently, I decided to take a look at one of my older Raylib projects to see how it was impacted by the fractional scaling changes. When opening it however, I was greeted by my application running at thousands of FPS. I decided to dig a little deeper and set up the rotating triangle example to make sure that the issue wasn’t on my side. Even then, logging out the FPS, I saw figures in the thousands (even after calling `glfw.SwapInterval(1)`). I compared this to my SDL gpu application and saw that _it_ properly vsyncs but _does_ use Vulkan under the hood as opposed to OpenGL. Interestingly enough, applications running through xWayland _do_ work properly so this issue is seemingly limited to Wayland applications. Would anyone happen to know if this issue is due to some machine configuration on my end or driver issues on Nvidia’s end?

---

<div class="post-metadata">

**Author:** ![dougbinks](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/dougbinks/32/39_2.png) [@dougbinks](https://discourse.glfw.org/u/dougbinks)\
**Post date:** [April 13, 2025, 2:45pm UTC](https://discourse.glfw.org/t/glfwswapinterval-not-working-linux/2914/2 "2025-04-13T14:45:57Z")

</div>

Sadly OpenGL swap interval control is very dependent on driver/OS/window systems etc. and some do not honour the swap interval request. [Tearing control for Wayland](https://wayland.app/protocols/tearing-control-v1) is relatively new and may not be properly supported on your system.

---

<div class="post-metadata">

**Author:** ![A1029384756](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/a1029384756/32/1023_2.png) [@A1029384756](https://discourse.glfw.org/u/A1029384756)\
**Post date:** [April 13, 2025, 11:51pm UTC](https://discourse.glfw.org/t/glfwswapinterval-not-working-linux/2914/3 "2025-04-13T23:51:13Z")

</div>

Ah, thanks for letting me know. I’ll take a look at what Kitty does then and check, there’s probably something I can do to make resizing smoother and avoid even needing sync
