3

When using the Sawfish window manager, there is screen tearing in videos in Firefox. How to fix this?

1 Answers1

1

To fix this, run a compositor (these provide off-screen buffers for each window) alongside your non-compositing window manager. Compton seems to do the trick.

Install the needed packages and add this to .gnomerc:

# To get tearing-free video in Firefox
hsetroot -solid '#000000'
compton --backend glx &             # Worked for me in Ubuntu 16.04
compton --backend xr_glx_hybrid &   # Works for me in Ubuntu 18.04

The hsetroot line is needed if the background goes gray.

My setup:
Software: Ubuntu 16.04.4 LTS, Firefox 59.0.1, Sawfish 1.11, and Compton 0.1~beta2.
Graphics: RADEON(0): Chipset: "CAICOS" (ChipID = 0x6779)

Tearing tests:

More information:

Some related questions: