Linux: Solving screen tearing, one solution.

Monkey Archive Forums/Monkey Discussion/Linux: Solving screen tearing, one solution.

Richard Betson(Posted 2016) [#1]
Hi,

I have been sorting out screen tearing issues which have been plaguing my Monkey-X1 Linux GLFW apps. I did manage to workout a fair solution for those using Linux Mint 17.2 (I would think this works for Mint 17.3 and Ubuntu 14.xx). Adding the following to 'etc/environment' and switching off compositing (Shift+Alt+F12 in KDE to toggle on/off) seems to get things running smooth for my FGLRX AMD driver. Add the following to 'etc/environment' in the 'root' directory (most file managers allow you to right click and open text as root) and then save and reboot.

'Add this to etc/environment in your root directory.

CLUTTER_PAINT=disable-clipped-redraws:disable-culling
CLUTTER_VBLANK=true


I have tested this on Linux Mint 17.2 and it worked for me and works even when compositing is on although the best results have been with it off.

Source.

Edit: I should have probably posted this in 'Desktop'.