How to get rid of background flickering when switching workspaces?
6
votes
2
answers
2187
views
I am using
There is no issue when compton is disabled or root window is solid color. None of this is acceptable for me. Since the solid color does not cause an issue I was thinking that using low-level tool should fix the problem. I have replaced
compton
as my composite manager with i3
. When compton is enabled and there is an image (png) on the root X window, you can see flickering while switching workspaces.

feh
with hsetroot
but nothing has changed. I have also tested xloadimage
but when compton is enabled it does not work (X root reflects current workspace for unknown reason). Gui app nitrogen
produces the same effect.
Official repository seems to be too overloaded and issues wait for months to be answered. Compton with i3 (or any other lightweight wm) is quite popular tear-free decision and I do not think that people do not set wallpapers or ignore such annoying things. I start compton (v0.1_beta2.5) with the following command.
compton --daemon \
--config /dev/null \
--vsync opengl-swc \
--xrender-sync \
--xrender-sync-fence \
--fading \
--fade-in-step 0.2 \
--fade-out-step 0.2 \
--unredir-if-possible \
--paint-on-overlay \
--backend glx
Disabling fading do not solve the problem.
Asked by Evgeniy
(183 rep)
Feb 3, 2018, 11:08 AM
Last activity: Jun 22, 2022, 07:59 PM
Last activity: Jun 22, 2022, 07:59 PM