Sublime Forum

Noticeable input lag on a 4k display (Linux/X11)

#1

I’m running Sublime Text 3 (3211) on Linux with a HiDPI monitor (4K, 163DPI), and I’ve experienced noticeable (but not unusable) input lag when typing in a fullscreen window. Smaller windows don’t seem to be affected, or are maybe affected minimally.

I’m using "ui_scale": 1.63 to scale Sublime Text’s GUI. However, the lag persists even when I reset the UI scale to 1.00.

Some system details:

  • Sublime Text 3 (3211), running on a vertical 27" 4K monitor with nearly fullscreen dimensions
  • Linux (Ubuntu 20.04), with i3wm as the window manager
  • Compton for compositing (I can share the specific invocation, if it’s relevant)

Please let me know if there’s any additional information or tests I can run to help. I’m fairly competent when it comes to profiling, and I have a lot of experience with X11’s internals.

0 Likes

#2

This is likely due to ST using CPU based rendering. ST4 will ship with optional GPU rendering on Linux for fixing this issue.

0 Likes