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: Thu, 22 Aug 2019 14:44:04 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1047984226==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 7722E6EB69 for ; Thu, 22 Aug 2019 14:44:04 +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 --===============1047984226== Content-Type: multipart/alternative; boundary="15664850440.b77d7bec.22297" Content-Transfer-Encoding: 7bit --15664850440.b77d7bec.22297 Date: Thu, 22 Aug 2019 14:44:04 +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 #39 from Nicholas Kazlauskas --- Disabling the compositor doesn't make a difference as far as stuttering goes for Hitman 2's DXVK - I don't see any commits in the log that are lock the connector and all the planes. I don't have Oblivion on my machine to test, but I tried running the DX9 version of Heaven under proton and I don't see stuttering or any gamma/color adjustment commits under that either. No issues with FreeSync when running = it either from what I can tell with vsync both on/off. Those commits are definitely what's causing your stuttering, but I'm not su= re what's actually creating them. My initial guess was something in the compatibility layer for DX9 games, but I don't see that on my setup. Is it only Oblivion that has this issue for you? I'm not sure how much of this can be a kernel level fix - I think we need to lock all the planes whenever gamma or color adjustments have been made and = that probably includes the cursor plane as well. If the cursor plane is included that will block asynchronous cursor updates from occurring until the color adjustments have been done. This is why the cursor causes stuttering. A check could potentially be made to not lock all the planes for redundant color management commits, but I'm not sure if the color adjustments request= ed are redundant or not. It could be the case that the application is requesti= ng different color adjustments every single time. --=20 You are receiving this mail because: You are the assignee for the bug.= --15664850440.b77d7bec.22297 Date: Thu, 22 Aug 2019 14:44:04 +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 # 39 on bug 11065= 9 from Nicholas Kazlauskas<= /a>
Disabling the compositor doesn't make a difference as far as s=
tuttering goes
for Hitman 2's DXVK - I don't see any commits in the log that are lock the
connector and all the planes.

I don't have Oblivion on my machine to test, but I tried running the DX9
version of Heaven under proton and I don't see stuttering or any gamma/color
adjustment commits under that either. No issues with FreeSync when running =
it
either from what I can tell with vsync both on/off.

Those commits are definitely what's causing your stuttering, but I'm not su=
re
what's actually creating them. My initial guess was something in the
compatibility layer for DX9 games, but I don't see that on my setup.

Is it only Oblivion that has this issue for you?

I'm not sure how much of this can be a kernel level fix - I think we need to
lock all the planes whenever gamma or color adjustments have been made and =
that
probably includes the cursor plane as well. If the cursor plane is included
that will block asynchronous cursor updates from occurring until the color
adjustments have been done. This is why the cursor causes stuttering.

A check could potentially be made to not lock all the planes for redundant
color management commits, but I'm not sure if the color adjustments request=
ed
are redundant or not. It could be the case that the application is requesti=
ng
different color adjustments every single time.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15664850440.b77d7bec.22297-- --===============1047984226== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1047984226==--