[Bug 76271] intel-virtual-output: one remote head fails to update

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Mar 25 03:26:03 PDT 2014


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

--- Comment #15 from Chris Wilson <chris at chris-wilson.co.uk> ---
Make sure you undo the DBG, then tell me what "top" and "perf top" look like.
At this point, it is more than likely that the pixel transfer is significant.
If it is the pixel transfer, you can try:

diff --git a/tools/virtual.c b/tools/virtual.c
index df92516..e0ecdae 100644
--- a/tools/virtual.c
+++ b/tools/virtual.c
@@ -74,6 +74,7 @@
 #endif

 #define FORCE_FULL_REDRAW 0
+#define FORCE_16BIT_XFER 1

 struct display {
        Display *dpy;
@@ -1462,7 +1463,7 @@ static int clone_output_init(struct clone *clone, struct
output *output,
        DBG(("%s-%s use shm? %d (use shm pixmap? %d)\n",
             DisplayString(dpy), name, display->has_shm,
display->has_shm_pixmap));

-       depth = output->use_shm ? display->depth : 16;
+       depth = output->use_shm && !FORCE_16BIT_XFER ? display->depth : 16;
        if (depth < clone->depth)
                clone->depth = depth;

-- 
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/20140325/33a884d9/attachment.html>


More information about the intel-gfx-bugs mailing list