The i3 FAQ has migrated to All content here is read-only.
Ask Your Question

Workspace switching causes screen tearing

asked 2012-12-14 20:10:37 +0000

aliasbind gravatar image

updated 2012-12-14 20:31:02 +0000

Considering I have a terminal occupying a whole workspace and another terminal in another, switching quickly between these two workspaces will cause screen tearing with some white rectangles "blending in" with the terminal background color.

I have an Nvidia GTS 450 graphics card, with the Nvidia driver version 310.19. I've also set up the following attributes in /etc/X11/xorg.conf:

Option         "Composite" "Disable"
Option         "TrippleBuffering"    "true"
Option         "DynamicTwinView"     "false"
Option         "UseEvents"           "true"
Option         "FlatPanelProperties" "Scaling = Native"

While this may not be an issue with i3, I was wondering if there was something that could be done in order to wait for all the windows to be rendered in a workspace before switching to it so that no more tearing will appear. This seems to occur also with the Nouveau driver.

Later Edit:

Tearing does not occur when using xterm or urxvt, however. It seems that this happens on xfce4-terminal and gnome-terminal, therefore a possible solution will be to change the terminal emulator. I guess I answered my own question.

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted

answered 2014-05-30 22:40:11 +0000

AladW gravatar image

updated 2015-10-11 10:23:04 +0000

Michael gravatar image

For me it only happens when switching with the mouse (intel E3-1200). Terminal emulator is lxterminal

also see:

edit flag offensive delete link more

answered 2012-12-14 20:22:06 +0000

Michael gravatar image

In my experience, any form of tearing/lags/corruption occuring in i3 was caused by faulty graphic drivers and/or graphics hardware.

I have never once heard of a problem with Intel graphic cards, so I recommend these.

I am not aware of anything we can do in i3 to fix this from our side, but that doesn’t mean that there is nothing we can do…

edit flag offensive delete link more


Thank you for your quick answer. It seems that there is no tearing with most applications that I tried until now, except for those two given in my post above (`gnome-terminal` and `xfce4-terminal`).

aliasbind gravatar imagealiasbind ( 2012-12-14 20:47:08 +0000 )edit

Question Tools


Asked: 2012-12-14 20:10:37 +0000

Seen: 1,057 times

Last updated: Oct 11