[MPlayer-users] __GL_SYNC_TO_VBLANK=1 doesn't work

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Wed Jul 25 17:31:14 CEST 2007


Hello,
On Wed, Jul 25, 2007 at 05:51:44PM +0400, Vladimir Mosgalin wrote:
>  On 2007.07.25 at 11:59:53 +0200, Reimar Döffinger wrote next:
> > > > my gfx-card is i945G, while useing -vo gl/gl2 tearing is clearly visible.
> > > > 
> > > > export __GL_SYNC_TO_VBLANK=1 doesn't work.
> > > 
> > > Who said it should? It's nvidia-specific way of setting gl options.
> > > There is standart DRI way which should work for everybody, run driconf
> > > and either turn on global vsync or just for mplayer.
> > 
> > See the swapinterval suboption for -vo gl. If you have tearing issues,
> 
> Isn't it nvidia-only too?

Certainly not, the extension is named GLX_SGI_swap_control, so at least
some SGI stuff will support it. And there certainly is no reason why
everyone else could not support it.

> > your OpenGL does not fully support vsync (no idea if this can be fixed
> > with driconf).
> 
> swapinterval has nothing to do with general vsync control, I can
> perfectly turn on/off system-wide vsync or tweak per-application
> settings with driconf on intel and ati cards. As long as driver obeys
> standart dri vsync-related setting, it'll work, it doesn't rely on any
> gl extension for doing that.

I simplified things a bit and considered a missing GLX_SGI_swap_control
as "your OpenGL does not fully support vsync".

Greetings,
Reimar Döffinger



More information about the MPlayer-users mailing list