From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 28771] Vsync always on
Date: Sat, 17 Jul 2010 22:36:25 -0700 (PDT)
Message-ID: <20100718053625.EEE491300DB@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 480EC9E747
for ;
Sat, 17 Jul 2010 22:36:26 -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 #10 from Toni Spets 2010-07-17 22:36:22 PDT ---
(In reply to comment #9)
> (In reply to comment #8)
> > I can confirm that setting vblank_mode=0 in drirc doesn't work here either.
> >
> > Can't reproduce the other problem though, window or fullscreen doesn't make a
> > difference.
>
> Maybe the wait for vline type vsync I get is r600 specific.
I can also confirm .drirc gets ignored but env vblank_mode works.
To disable vsync completely you currently (and before) need a DDX hack along
with vblank_mode=0.
With this patch interestingly glxgears goes from ~1400 fps to ~2100 fps and
Quake 2 can run uncapped.
What is the real solution and why is this patch needed in DDX?
>>From 311d4c299ed8de4f28d3fd637a7bde8176db245b Mon Sep 17 00:00:00 2001
From: Toni Spets
Date: Wed, 17 Feb 2010 17:37:49 +0200
Subject: [PATCH] Disable vsync
---
src/radeon_dri2.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/radeon_dri2.c b/src/radeon_dri2.c
index a0ed085..b74a18b 100644
--- a/src/radeon_dri2.c
+++ b/src/radeon_dri2.c
@@ -315,7 +315,7 @@ radeon_dri2_copy_region(DrawablePtr drawable,
}
vsync = info->accel_state->vsync;
- info->accel_state->vsync = TRUE;
+ info->accel_state->vsync = FALSE;
(*gc->ops->CopyArea)(src_drawable, dst_drawable, gc,
0, 0, drawable->width, drawable->height, 0, 0);
--
1.7.1
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.