https://bugs.freedesktop.org/show_bug.cgi?id=28771
--- Comment #14 from Toni Spets toni.spets@iki.fi 2010-07-18 05:09:18 PDT --- (In reply to comment #13)
(In reply to comment #11)
(In reply to comment #10)
What is the real solution and why is this patch needed in DDX?
The real solution to what? The various GLX vsync/vblank extensions basically just expose frame counters and vertical retrace events to applications so they can use them for synchronization.
I guess what people want is a way to turn it off without patching, games don't seem to be able to.
Personally I am not that bothered about tearing in FPS type games and my old PC is often not able to render at refresh rate anyway - which means without triple buffering vsync hurts my already low framerate.
Yes, this is exactly what I'm talking about.
Quake-style games have options like gl_swapinterval and gl_ext_swapinterval but they do not seem to do anything. Honestly I don't even know what they should do, but on other platforms they used to disable vsync on some cards.
The code in the ddx you are asking about has nothing to do with the GLX vsync/vblank extensions; it is there to prevent tearing on GL buffer swaps.
And it hurts performance not being able to turn it off without a patch. I like tearing! ;-)
Btw. are we still on-topic on this bug when the actual fix for vblank_mode was already committed?