From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 28771] Vsync always on Date: Mon, 19 Jul 2010 10:29:31 -0700 (PDT) Message-ID: <20100719172931.5DBEC1300E5@annarchy.freedesktop.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from annarchy.freedesktop.org (annarchy.freedesktop.org [131.252.210.176]) by gabe.freedesktop.org (Postfix) with ESMTP id 7FC8C9E76E for ; Mon, 19 Jul 2010 10:29:31 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org https://bugs.freedesktop.org/show_bug.cgi?id=28771 --- Comment #17 from Alex Deucher 2010-07-19 10:29:31 PDT --- (In reply to comment #13) > Can GL have a switch like XV has - or should games in theory be able to turn > off, but are prevented by a bug? I'm not sure how you'd expose it. You could make it a driver option, but then you'd have to restart X to change it. There's no GLX extension to cover tearing as far as I know. > > Digression - I notice that XV with vsync on can't live with frame rate = > refresh rate, which I sometimes use for "proper" deinterlaced TV. GL vsync is > fine and GL wait vline is much better that XV. Is this a driver issue or is it > just that mplayers gl driver makes mplayer behave differently to it's xv > driver? Xv in general does not provide any mechanism for application synchronization. I.e., here's no vblank events provided by Xv for app synchronization. That's what the GLX vsync extensions do. The driver uses the vline wait for avoid tearing for both Xv and GL buffer swaps, they have nothing to do with the GLX vsync extensions. Those extensions only provide events that the application can use for synchronization. If you remove the vline wait code, you can still synchronize your application to the refresh rate, but you might still get tearing depending when the GL buffer swap happens. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.