[Bug 85144] i965 vaapi / opengl stops working or hangs gpu at least since git commit after git1406031225.081488

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Oct 21 13:42:48 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=85144

--- Comment #12 from Chris Wilson <chris at chris-wilson.co.uk> ---
The two xtraces (hanging in GetBuffers) look to be the result of SwapLimiting,
should be fixed by

diff --git a/src/sna/sna_dri2.c b/src/sna/sna_dri2.c
index 6359377..c8c71c5 100644
--- a/src/sna/sna_dri2.c
+++ b/src/sna/sna_dri2.c
@@ -309,6 +309,9 @@ sna_dri2_reuse_buffer(DrawablePtr draw, DRI2BufferPtr
buffer)

 static bool swap_limit(DrawablePtr draw, int limit)
 {
+       if (!xorg_can_triple_buffer())
+               return false;
+
        DBG(("%s: draw=%ld setting swap limit to %d\n", __FUNCTION__,
(long)draw->id, limit));
        DRI2SwapLimit(draw, limit);
        return true;

I think.

-- 
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/20141021/41e4215c/attachment.html>


More information about the intel-gfx-bugs mailing list