Solve video tearing on Intel + Ubuntu (XFCE 4)

For the Unity and GNOME Shell version, check this out.

Having tried out a bunch of DE’s in the past, I find myself moving towards minimalism and speed, and IMO nothing is better suited than XFCE to fulfill those requirements. But just when I thought everything was fine and dandy on my shiny new Xubuntu 13.10 install, video tearing reared its ugly head again. Compositing and tear-free playback just don’t play nice, but Docky (yeah I don’t like the default XFCE panels) requires compositing for all its fancy effects! There is a workaround for this though, and it’s easier than you might think, at least on Intel chipsets. I’ve tested the following fix on an HP laptop running an i5-3210M (with the HD 4000) and 8 gigs of RAM, and used VLC for playback. Before we move any further, let’s get this out of the way – this fix isn’t guaranteed to work, and there’s always a small chance that you might end up breaking your install. If you’re fine with that, read on! Continue reading