[Bug 78992] [regression] DRI2 races
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed May 28 03:26:14 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=78992
Chris Wilson <chris at chris-wilson.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |NEEDINFO
--- Comment #43 from Chris Wilson <chris at chris-wilson.co.uk> ---
I still haven't hit this myself yet. With the GetBuffers() assert that the back
buffer we hand back is not on the scanout, I can be reasonably certain that the
error is not that.
Two things can I ask you to double check:
1. That
diff --git a/src/sna/sna_dri2.c b/src/sna/sna_dri2.c
index ac73680..daf1d08 100644
--- a/src/sna/sna_dri2.c
+++ b/src/sna/sna_dri2.c
@@ -211,7 +211,7 @@ sna_dri2_window_get_chain(WindowPtr win)
#error DRI2 version supported by the Xserver is too old
#endif
-#if DRI2INFOREC_VERSION < 6
+#if DRI2INFOREC_VERSION < 6 || 1
#define XORG_CAN_TRIPLE_BUFFER 0
#define swap_limit(d, l) false
#else
still restores the old behaviour, and
2. whether
diff --git a/src/sna/sna_dri2.c b/src/sna/sna_dri2.c
index 78c4069..ac73680 100644
--- a/src/sna/sna_dri2.c
+++ b/src/sna/sna_dri2.c
@@ -898,6 +898,8 @@ __sna_dri2_copy_region(struct sna *sna, DrawablePtr draw,
RegionPtr region,
if (priv)
src_bo = priv->gpu_bo;
}
+ if (src_bo != src_priv->bo)
+ ErrorF("applying stale buffer fixup to Window source!\n");
dst_bo = dst_priv->bo;
if (dst->attachment == DRI2BufferFrontLeft) {
@@ -916,6 +918,9 @@ __sna_dri2_copy_region(struct sna *sna, DrawablePtr draw,
RegionPtr region,
} else
sync = false;
+ if (dst_bo != dst_priv->bo)
+ ErrorF("applying stale buffer fixup to Window destination!\n");
+
if (!wedged(sna)) {
xf86CrtcPtr crtc;
issues any warnings when you see the errors?
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20140528/0a71e5b3/attachment.html>
More information about the intel-gfx-bugs
mailing list