Input lag while gaming

Been gaming on linux for a while, and there’s an issue that has plagued me for a couple years now. For some reason Fedora based distro’s would have input lag during demanding sections of some games I play, mainly mmo’s. An example would be world boss or raids in World of Warcraft. Spamming macro’s would causing keyboard input to lag. This didn’t happen on Arch based distro’s.
Finally found the solution today and thought I would share.

Seems it has something to do with Ibus.
I added IBUS_ENABLE_SYNC_MODE=2 to /etc/environment and it completely fixed the lag.

Fedora uses the default value which is synchronous mode.

Value 0: Asynchronous mode.
Value 1: Synchronous mode (used by default, if not modified by distro).
Value 2: Hybrid asynchronous mode.

Posting in case anyone else runs into same problem.

1 Like