[MPlayer-users] Tearing problems - waiting for vsync doesn't work with vo_xv

Haakon Riiser haakon.riiser at netview.no
Sun Jun 15 23:27:23 CEST 2008

[Justin Randall]

> On Sun, Jun 15, 2008 at 5:02 PM, Haakon Riiser <haakon.riiser at fys.uio.no> wrote:
> > Stumbled on the solution to the tearing problem by blind luck:
> > My xorg.conf contained
> >
> > Section "Extensions"
> >        Option      "Composite" "Enable"
> > EndSection
> >
> > When I changed this to "Disable", the tearing problem was gone!
> > I still have no idea why my own media player had no problems with
> > tearing despite having Composite enabled and using xv, but mplayer
> > and vlc apparently doesn't like it. :-/
> Anyone feel free to correct me if I'm wrong, but I believe that you
> can have mplayer running without tearing if composite is enabled, you
> just cannot be using xv for output.  I don't seem to be having a
> problem with my composite enabled and running mplayer.  Of course I am
> using the nvidia drivers to render mplayer's output as opposed to xv.

You're not wrong -- I could use -vo sdl to get video without
tearing with Composite enabled, but mplayer's startup and
shutdown delay became unbearable (displaying a black screen for
over a second on both startup and shutdown, as if the system was
changing resolutions or something).  I also tried -vo x11 (which
is really slow since it needs software scaling to go fullscreen),
but the x11 driver always has tearing problems, regardless of
the Composite setting.

Which output drivers are you using, btw?  Nvidia's drivers
implement the xv accelerated video output, so it sounds a little
strange when you refer to xv as if it were in opposition to using
Nvidia's drivers. :-)


More information about the MPlayer-users mailing list