<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Incorrect output panning with intel-virtual-output"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=71441#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Incorrect output panning with intel-virtual-output"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=71441">bug 71441</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>Can you please try:

diff --git a/tools/virtual.c b/tools/virtual.c
index 160d6a1..7957e58 100644
--- a/tools/virtual.c
+++ b/tools/virtual.c
@@ -1029,6 +1029,7 @@ err:
                        XRRSetCrtcConfig(dst->dpy, res, rr_crtc, CurrentTime,
                                         dst->x, dst->y, dst->mode.id,
dst->rotation,
                                         &dst->rr_output, 1);
+                       XRRSetPanning(dst->dpy, res, rr_crtc, NULL);
                        dst->rr_crtc = rr_crtc;
                }
                XUngrabServer(display->dpy);</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>