I'm using the Ubuntu 10.10 with both VLC player and MPlayer and already installed the ATI drivers. I watched the same videos on Windows 7 and Ubuntu. But on Ubuntu the images have a lot of tearing. I tried some newbish-configs on my ATI config tool, but nothing changed.

I tried videos in mkv, avi, rmvb... and in all kinds of resolutions. I would love to see some tips or maybe a solution to this problem.

5 Answers
5

Tearing in videos is caused by the video drawing not being synchronised with the refresh-rate of the display. This results in displaying the top part of one frame and the bottom half on the previous frame at the same time, which is particularly noticeable on sections of video with horizontal panning.

The open-source drivers, with DRI2, should be able to synchronise their drawing with the screen refresh properly, even when running with desktop effects enabled¹. The proprietary nVidia and ATi drivers may not do this properly.

Finally, disabling desktop effects should eliminate the tearing regardless of what driver you're using - all (sensible) drivers can sync-to-vblank for video in this case.

¹: Technically, the problem is having a compositing manager running, because that means that all windows are first drawn off-screen and then composited to the display by the compositing manager. Since the video is first “drawn” offscreen, it's not possible to synchronise this to the screen refresh.

Ty RAOF for all the info. Just one more thing, do you know a good manager/program/app that I can use to easily/fastly enable and disable my compositing manager? (Once I used one that stayed on the traybar but I never found it again)
–
Leonardo TMOct 15 '10 at 5:37

This might be useful for switching effects on/off (I haven't used it myself).
–
JanCOct 15 '10 at 8:13

I dont have compiz and still i have tearing in ubuntu unity 2d, xubuntu,lubuntu,cinammon,mate,gnome shell everywhere ! And i tested many nvidia graphic cards the only way that i suceed to not have tearing is by using an ATI card and selecting the antitearing choice.
–
digitalcrowAug 21 '12 at 20:42

The easiest way to get rid of the tearing is to use the open source drivers (so, remove the closed source driver). Provided that your card works with them of course, but most cards do work (including 3D) with the open source drivers nowadays...

ATI has always been problematic for me in regards to video play when Compiz is active. In fact, I ended up dropping my beloved ATI's for nVidia because of it. But, I digress.

From a terminal run gstreamer-properties. Under the Video tab, try adjusting the Plugin for Default Output. You may lose some abilities to adjust size of viewing, but you may be able to fix most of the tearing.

In the past, I believed I used "X Window System (No Xv)", but I was not able to scale my videos in mplayer.

There's no way to have tearing using an ati graphics card ! it has AntiTearing choice on control panel, ask me with my nvidia i have tearing when i dont use compiz , when i use compiz gaming sucks i have half of the fps and bad performance.
I can say now that compiz and xorg sucks .... and some people believe that linux can reach the desktop pcs .... well dream on.