[Bug 84252] [SNA/HSW] DRI3 rendering gets stuck waiting for present idle notify event

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 24 04:25:32 PDT 2014


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

--- Comment #9 from Chris Wilson <chris at chris-wilson.co.uk> ---
I still find the reused Pixmap suspicious. It is only used in conjunction with
Present, so I can't see a reason for an extra refcount inside the Xserver, and
for mesa to reallocate the same buffer means it must have freed it and the
Pixmap.

I would be interested to see if:

diff --git a/src/mesa/drivers/dri/i965/brw_context.c
b/src/mesa/drivers/dri/i965/brw_context.c
index fa0210c..c8c2dfe 100644
--- a/src/mesa/drivers/dri/i965/brw_context.c
+++ b/src/mesa/drivers/dri/i965/brw_context.c
@@ -586,7 +586,7 @@ brw_process_driconf_options(struct brw_context *brw)
    case DRI_CONF_BO_REUSE_DISABLED:
       break;
    case DRI_CONF_BO_REUSE_ALL:
-      intel_bufmgr_gem_enable_reuse(brw->bufmgr);
+      //intel_bufmgr_gem_enable_reuse(brw->bufmgr);
       break;
    }
(there's also a drirc option bo_reuse=0)

prevents "sna_dri3_pixmap_from_fd: imported fd matches existing DRI3 pixmap"

I haven't seen that with a radeon hd7700/snb combo yet.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20140924/11792578/attachment.html>


More information about the intel-gfx-bugs mailing list