<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - intel-virtual-output only updates mouse"
href="https://bugs.freedesktop.org/show_bug.cgi?id=71345#c15">Comment # 15</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - intel-virtual-output only updates mouse"
href="https://bugs.freedesktop.org/show_bug.cgi?id=71345">bug 71345</a>
from <span class="vcard"><a class="email" href="mailto:chris@chris-wilson.co.uk" title="Chris Wilson <chris@chris-wilson.co.uk>"> <span class="fn">Chris Wilson</span></a>
</span></b>
<pre>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;
}
}</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>