<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 shows different resolutions under certain conditions"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=74800#c14">Comment # 14</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - intel-virtual-output shows different resolutions under certain conditions"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=74800">bug 74800</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>One thing I did notice was that we discard a few output notifies as they have
duplicate timestamps. Maybe that upset things?

Try:

diff --git a/tools/virtual.c b/tools/virtual.c
index 2539425..238ec76 100644
--- a/tools/virtual.c
+++ b/tools/virtual.c
@@ -939,7 +939,7 @@ static int context_update(struct context *ctx)
                return 0;

        DBG(("%s timestamp %ld (last %ld)\n", DisplayString(dpy),
res->timestamp, ctx->display->timestamp));
-       if (res->timestamp == ctx->display->timestamp &&
+       if (res->timestamp == ctx->display->timestamp && 0 &&
            res->timestamp != res->configTimestamp) { /* mutter be damned */
                XRRFreeScreenResources(res);
                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>