Sublime Forum

How to increase Sublime Text frame rate from 60 Hz to 144 Hz

#22

I just tried ST4 again after initially avoiding it due to performance problems, but they seem to still be around so adding my issues to the mix in the hope they get fixed.

In my case, I have a single 100hz display and a single discrete GPU. Internal FPS of ST4 seems to be locked at 60, making it feel extremely stuttery and laggy compared to every other application which updates at 100hz.

Using build 4143.

OpenGL Context Information:
  GL API Version: 4.6 (Core Profile) Mesa 22.0.5
  GLSL Version: 4.60
  Vendor: AMD
  Renderer: AMD Radeon RX 6900 XT (sienna_cichlid, LLVM 13.0.1, DRM 3.42, 5.15.0-57-generic)

$ inxi -S
System:
  Host: desktop Kernel: 5.15.0-57-generic x86_64 bits: 64
    Desktop: MATE 1.26.0 Distro: Ubuntu 22.04.1 LTS (Jammy Jellyfish)

You can see here, glxgears has no trouble detecting and hitting 100hz, but for some reason ST4 is seemingly locked at 60hz.

0 Likes

#23

Do you have the same problem with other GTK-based apps like gedit?

0 Likes

#24

In some of them yes, gedit seemingly one of them:

Gdk-Message: 19:40:54.835:   510: interval=17.2 (sleep) smoothed= 0.0 / 17.2 layout_start=0.0  paint_start=0.7  frame_end=2.0  predicted=25.0
Gdk-Message: 19:40:54.852:   511: interval=17.2 (sleep) smoothed= 0.0 / 17.2 layout_start=0.0  paint_start=0.7  frame_end=2.2  predicted=25.0
Gdk-Message: 19:40:54.868:   512: interval=16.3 (sleep) smoothed= 0.0 / 16.3 layout_start=0.0  paint_start=0.7  frame_end=1.9  predicted=25.0
Gdk-Message: 19:40:54.886:   513: interval=17.0 (sleep) smoothed= 0.0 / 17.0 layout_start=0.0  paint_start=0.6  frame_end=2.3  predicted=25.0
Gdk-Message: 19:40:54.902:   514: interval=16.4 (sleep) smoothed= 0.0 / 16.4 layout_start=0.0  paint_start=0.6  frame_end=2.0  predicted=25.0
Gdk-Message: 19:40:54.919:   515: interval=17.1 (sleep) smoothed= 0.0 / 17.1 layout_start=0.0  paint_start=0.5  frame_end=1.9  predicted=25.0
Gdk-Message: 19:40:54.936:   516: interval=17.0 (sleep) smoothed= 0.0 / 17.0 layout_start=0.0  paint_start=0.6  frame_end=2.0  predicted=25.0

Firefox doesn’t have the issue, but it also doesn’t appear to use GTKs frame clock (I don’t see any debugging output from it when running with GDK_DEBUG=frames) I won’t claim to be a GTK or Firefox expert though.

0 Likes

#25

Yes firefox doesn’t use GTK frame timing; don’t think it uses it for the window at all. If it’s broken in other GTK apps there’s little to be done.

0 Likes