Compton: Compton & Vsync: reduce input latency (request)

Created on 29 Apr 2018  路  2Comments  路  Source: chjj/compton

As you might have noticed, Compton can add quite some input latency due to vsync.

There are differences between the available vsync settings. vsync=opengl seems to be better than other solutions. However, even with vsync=opengl, there is quite some more input latency than with e.g. Gnome-Mutter when moving windows.

Input latency can be reduced further by starting Compton with variable "vblank_mode=0", vsync=opengl will still continue to work and preventing tearing when moving windows or tearing inside of OpenGL windows.
Edit: Ok, not exactly true. I can spot a very small stripe of tearing at the very top of the screen.

However, tearing inside of Vulkan (radv) windows is not eliminated anymore by 100%, e.g. not when the application doesn't request its own vsync and fps fall below display's refresh rate.

So, it would be nice to have as low latency as with Gnome-Mutter, but without having negative side effects as described above.
It would be nice if someone could take a look at it ( @yshui @DelusionalLogic ...).
Thanks.

Most helpful comment

That's one of my major goals. There's still a lot to be done (Like stopping my fork from constantly crashing), but here's the current input latency comparison between my fork and mainline, using typometer into alacritty:

mainline vs neocomp

All 2 comments

That's one of my major goals. There's still a lot to be done (Like stopping my fork from constantly crashing), but here's the current input latency comparison between my fork and mainline, using typometer into alacritty:

mainline vs neocomp

That's one impressive reduction, really glad you put your efforts into it. :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

orschiro picture orschiro  路  3Comments

dnut picture dnut  路  3Comments

ghost picture ghost  路  14Comments

sainathadapa picture sainathadapa  路  3Comments

enbyss picture enbyss  路  4Comments