[Bug 71345] intel-virtual-output only updates mouse
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Nov 8 04:31:37 PST 2013
https://bugs.freedesktop.org/show_bug.cgi?id=71345
--- Comment #15 from Chris Wilson <chris at chris-wilson.co.uk> ---
Hmm, do you mind applying this patch and attaching the new debug (can be from
just the startup once it has connected to bumblebee)?
diff --git a/tools/virtual.c b/tools/virtual.c
index 160d6a1..226f86d 100644
--- a/tools/virtual.c
+++ b/tools/virtual.c
@@ -1456,15 +1456,23 @@ static int record_mouse(struct context *ctx)
static int bad_visual(Visual *visual, int depth)
{
+ DBG(("%s? depth=%d, visual: bits_per_rgb=%d, red_mask=%08x,
green_mask=%08x, blue_mask=%08\n",
+ __func__, depth,
+ visual->bits_per_rgb,
+ visual->red_mask,
+ visual->green_mask,
+ visual->blue_mask));
switch (depth) {
- case 16: return (visual->bits_per_rgb != 6 ||
- visual->red_mask != 0x1f << 11 ||
- visual->green_mask != 0x3f << 5 ||
- visual->blue_mask != 0x1f << 0);
- case 24: return (visual->bits_per_rgb != 8 ||
- visual->red_mask != 0xff << 16 ||
- visual->green_mask != 0xff << 8 ||
- visual->blue_mask != 0xff << 0);
+ case 16: return (visual->bits_per_rgb != 6 ||
+ visual->red_mask != 0x1f << 11 ||
+ visual->green_mask != 0x3f << 5 ||
+ visual->blue_mask != 0x1f << 0);
+
+ case 24: return (visual->bits_per_rgb != 8 ||
+ visual->red_mask != 0xff << 16 ||
+ visual->green_mask != 0xff << 8 ||
+ visual->blue_mask != 0xff << 0);
+
default: return 0;
}
}
--
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/20131108/0443ea1d/attachment-0001.html>
More information about the intel-gfx-bugs
mailing list