From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 110659] pageflipping seems to cause jittering on mouse input when running Hitman 2 in Wine/DXVK with amdgpu.dc=1 Date: Mon, 27 May 2019 17:11:08 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0550224455==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 78E3789B33 for ; Mon, 27 May 2019 17:11:08 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0550224455== Content-Type: multipart/alternative; boundary="15589770682.c8E55Cd4e.16145" Content-Transfer-Encoding: 7bit --15589770682.c8E55Cd4e.16145 Date: Mon, 27 May 2019 17:11:08 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D110659 --- Comment #12 from Nicholas Kazlauskas --- 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 beca= use 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. --=20 You are receiving this mail because: You are the assignee for the bug.= --15589770682.c8E55Cd4e.16145 Date: Mon, 27 May 2019 17:11:08 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comme= nt # 12 on bug 11065= 9 from Nicholas Kazlauskas<= /a>
I'm wondering if this is the async cursor update bug again. Ma=
ybe 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 beca=
use
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.
= --15589770682.c8E55Cd4e.16145-- --===============0550224455== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0550224455==--