[MPlayer-users] Tearing and VSync [WAS: Re: Mplayer picture question]

Ilkka Karvinen kartsan at gmail.com
Mon Apr 28 23:40:50 CEST 2008


On Tuesday 22 April 2008 01:06, Martin Emrich wrote:
> Hi!
>
> Martin Emrich schrieb:
> > I'll take a look at what nvidia-settings has to offer...
>
> nvidia-settings is linked against GTK+, which i don't have on my media
> player box. But the solution was sooo simple:
>
> xvattr -a XV_SYNC_TO_VBLANK -v 1
>
> and all is well.

Just an update to this. Previously I was happily reporting that all my
tearing/vsync problems were over. Unfortunately that was based on
only a few films which seemed ok. Afterwards I realised that other
films still caused tearing. I don't know why..

Anyways, I started to use mythtv with DVB card which showed tearing all the
time. I used opengl, and vsync was enabled everywhere, still tearing. 
I tried all kinds of setting combinations. Then I found one interesting
xorg.conf in nvidia forum and this guy with the same video card (8500gt)
was reported in that forum that setting a certain value like this:

nvidia-settings -a XVideoSyncToDisplay=DFP-0 (or 0x10000)

Which means "synchronise to display DFP-0" helped him. He used (like me)
DFP-0 screen to show videos. I tried that also but I found out that disabling 
Composite:

    Option         "Composite" "Disable"

removed all the tearing in my system despite of the other setting. Why is
that? Composite extension slows the system so much?

Ilkka



More information about the MPlayer-users mailing list