[Bug 110659] pageflipping seems to cause jittering on mouse input when running Hitman 2 in Wine/DXVK with amdgpu.dc=1

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon May 27 17:11:08 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=110659

--- Comment #12 from Nicholas Kazlauskas <nicholas.kazlauskas at amd.com> ---
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190527/b939dba1/attachment.html>


More information about the dri-devel mailing list