<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - pageflipping seems to cause jittering on mouse input when running Hitman 2 in Wine/DXVK with amdgpu.dc=1"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=110659#c12">Comment # 12</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - pageflipping seems to cause jittering on mouse input when running Hitman 2 in Wine/DXVK with amdgpu.dc=1"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=110659">bug 110659</a>
              from <span class="vcard"><a class="email" href="mailto:nicholas.kazlauskas@amd.com" title="Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>"> <span class="fn">Nicholas Kazlauskas</span></a>
</span></b>
        <pre>I'm wondering if this is the async cursor update bug again. Maybe something
with WINE or the game is trying to swap cursor buffers frequently and it's
interacting with the cursor double buffering in xf86-video-amdgpu.

We still can't do fast cursor updates for swapping cursor framebuffers because
we'll hit page faults that can kill the driver due to the cursor framebuffer
not being properly refcounted.

The fix for this particular bug is still under review in DRM. I plan on
removing the restriction I added in amdgpu DM after the fix has been merged.

But for now, whenever the cursor swaps framebuffers we can't perform fast
cursor updates so we're forced to wait for the previous flip to finish and the
vblank event to be sent back to userspace. This can cause small jitters
depending on how often the cursor is updating and when it updates during the
vblank interval.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>