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: Tue, 17 Sep 2019 15:06:48 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0606674505==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id D54CA6ECD6 for ; Tue, 17 Sep 2019 15:06:47 +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 --===============0606674505== Content-Type: multipart/alternative; boundary="15687328071.4fbc0c55e.17574" Content-Transfer-Encoding: 7bit --15687328071.4fbc0c55e.17574 Date: Tue, 17 Sep 2019 15:06:47 +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 #81 from Andrew Eikum --- (In reply to Nicholas Kazlauskas from comment #74) > (In reply to Michel D=C3=A4nzer from comment #73) > > Looks like some client repeatedly calls XForceScreenSaver (probably to > > prevent the monitors from blanking), which results in the DPMS property > > getting re-set over and over. Nicholas, maybe the kernel could ignore s= uch > > no-op property "updates"? >=20 > Even if it's no-op update it's still going to be locking the connector and > potentially blocking other commits from occurring so ideally the client > userspace wouldn't be dong this. >=20 I've submitted a patch to Wine to throttle our calls to XResetScreenSaver to once every five seconds: https://source.winehq.org/patches/data/169958 However, I'd argue our previous behavior isn't obviously wrong. What we were doing was calling XResetScreenSaver each time we received user input on a joystick in order to delay the screensaver coming up despite no keyboard/mo= use input. It's not obvious that this behavior was incorrect. Are you sure you shouldn't be able to handle this behavior from a client? --=20 You are receiving this mail because: You are the assignee for the bug.= --15687328071.4fbc0c55e.17574 Date: Tue, 17 Sep 2019 15:06:47 +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 # 81 on bug 11065= 9 from Andrew Eikum
(In reply to Nicholas Kazlauskas from comment #74)
> (In reply to Michel D=C3=A4nzer from comment #73)
> > Looks like some client repeatedly calls XForceScreenSaver (probab=
ly to
> > prevent the monitors from blanking), which results in the DPMS pr=
operty
> > getting re-set over and over. Nicholas, maybe the kernel could ig=
nore such
> > no-op property "updates"?
>=20
> Even if it's no-op update it's still going to be locking the connector=
 and
> potentially blocking other commits from occurring so ideally the client
> userspace wouldn't be dong this.
> 

I've submitted a patch to Wine to throttle our calls to XResetScreenSaver to
once every five seconds: https://source.winehq.org/patches/data/169958

However, I'd argue our previous behavior isn't obviously wrong. What we were
doing was calling XResetScreenSaver each time we received user input on a
joystick in order to delay the screensaver coming up despite no keyboard/mo=
use
input. It's not obvious that this behavior was incorrect. Are you sure you
shouldn't be able to handle this behavior from a client?


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