r/i3wm•
Floofkitty

Tearing

I am getting tearing dead in the center of my screen when I scroll down on a Firefox window, It isn't happening on other browsers like Chrome, and it isn't happening in evince when viewing pdf's. Any ideas?

Posted Jan 23, 2016, 9:56 PM UTC

86
pashtet04•

Thus did work for me

https://wiki.archlinux.org/index.php/I3#Tearing

https://wiki.archlinux.org/index.php/Compton

https://www.reddit.com/r/archlinux/comments/22v749/bad_performance_and_screen_tearing_in_i3wm/

~ $  cat ~/.config/compton.conf 
backend = "glx";
vsync = "opengl-swc";

glx-copy-from-front = true;
glx-swap-method = 2;
xrender-sync = true;
xrender-sync-fence = true;

~ $  cat ~/.config/i3/config | grep compton
exec compton --config ~/.config/compton.conf -b
4
FloofkittyOP•

Where do you find the options for compton? EDIT: that worked, but I slimmed mine down to backend = "glx"; vsync = "opengl-swc"; as it crashed after about 5 minutes of a YT vid with the full thing.

1
pashtet04•

https://github.com/chjj/compton/wiki

EDIT: I have resolved this issue just today EDIT2: One more thread for you https://bbs.archlinux.org/viewtopic.php?id=161403

2
indeedwatson•

I'm trying this and the screen "blinks" every time i get a steam message.

1
Lindhea•

Do you run multiple monitors with different orientations btw? I have tearing only when they are oriented differently (has something to do with how xrandr does vsync I think). These fixes does not work for me, but rotating/removing the secondary monitor does.

1
FloofkittyOP•

I have 2 monitors, they are the same resolution but different refresh rates. EDIT: I fixed the problem anyway, I turned off hardware acceleration and smooth scrolling in FF, fixed it straight away.

1