There is no way to get proper tear-free output on modern intel graphics (ironlake and newer) without an opengl compositor. XFCE's compositor only supports xrender which only makes the tearing worse. You may be able to get tear free video playback if you disable xfce's compositing and use mplayer with opengl output. Here's a quote from an intel driver developer:
First note that all Intel hardware up to SandyBridge has functional vsync support with no greater cost than stalling the GPU until the blit can proceed.
The problem is that with the agressive powersaving of SandyBridge and the greater decoupling between the display engine and the GPU, the ability to delay rendering until a particular scanline had passed was assumed to be a legacy feature and the GPU commands to do so were removed. By presuming that all updates would then be through a compositor using pageflipping (i.e. their primary target, Windows Vista/7/8), they were then able to make further power savings. If you use an OpenGL (really DRI2) compositor that only pageflips (i.e. doesn't try to take "advantage" of MESA_copy_sub_buffer), you will not see any tearing, suffer very little jitter, and maximise the power savings of the GPU.
The TearFree option (still in its infancy, and really only a proof-of-principle at this stage) is to make sure that even a bare X only ever pageflips. This is primarily because future hardware will have even more widespread aggressive power savings that assume a compositor, and worst case scenario, the display engine will only be functional with a pageflipping compositor.
Compton is a good way to get total tear-free output in lightweight de's that don't have opengl compositing. its a lightweight compositor that has an opengl backend that is capable of vsync on intel:
https://github.com/chjj/compton. I wrote a guide on using it here:
http://ubuntuforums.org/showthread.php?t=2144468Another option is the intel "TearFree" xorg option, but afiak this only works properly on recent kernel/drivers (this option requires SNA to work and I'm not sure if it will work with debian's rather old stock 3.2 kernel, and I've never tried it on debian), and the performance is rather atrocious which is why I prefer usng an opengl compositor: create a file "/usr/share/X11/xorg.conf.d/20-intel.conf" and add
- Code: Select all
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "AccelMethod" "sna"
Option "TearFree" "true"
EndSection