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

Vladimir Mosgalin mosgalin at VM10124.spb.edu
Wed Jul 25 15:51:44 CEST 2007


Hi Reimar Döffinger!

 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?

> 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.

Of course, there are things such as buggy ati drivers which ignore dri
settings on certain cards, but as of latest driver, it is fixed.

-- 

Vladimir



More information about the MPlayer-users mailing list