From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 106175] amdgpu.dc=1 shows performance issues with Xorg compositors when moving windows Date: Thu, 22 Nov 2018 15:32:44 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0260059266==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 429386E3A4 for ; Thu, 22 Nov 2018 15:32:44 +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 --===============0260059266== Content-Type: multipart/alternative; boundary="15429007640.0CBB.27542" Content-Transfer-Encoding: 7bit --15429007640.0CBB.27542 Date: Thu, 22 Nov 2018 15:32:44 +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=3D106175 --- Comment #59 from bmilreu@gmail.com --- (In reply to Nicholas Kazlauskas from comment #58) > (In reply to Brandon Wright from comment #55) > > Created attachment 142558 [details] [review] [review] > > Patch that "fixes" the problem. > >=20 > > I've attached a patch that fixes the problem for me. It copies parts fr= om > > the intel patch and uses the existing async infrastructure for the curs= or.=20 > >=20 > > It's really tiny, so I hope this is helpful enough to get this problem = fixed > > quick. >=20 > This is a nice attempt but it only resolves the problem because it relies= on > the blocking behavior in atomic check that amdgpu_dm currently does (and > shouldn't be doing). >=20 > Asynchronous updates can and will occur in parallel with other commits on > worker threads. Without the wait in atomic_check you'll see the IGT legacy > cursor tests break with this patch (and there will probably be system fau= lts > as well). >=20 > There are larger problems within amdgpu_dm's commit tail that if addressed > should resolve this issue for compton I'd imagine. Since you've been working on Freesync, you should know your patches are also affected by this bug on some wine games. Any chance you could you kindly tr= y to tackle this?=20 btw, I don't have igt on my system atm, nor got any system fault yet with t= he patch. I really need dc for the extra headphone jack, mine is broken atm :( --=20 You are receiving this mail because: You are the assignee for the bug.= --15429007640.0CBB.27542 Date: Thu, 22 Nov 2018 15:32:44 +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 # 59 on bug 10617= 5 from bmilreu@gmail.co= m
(In reply to Nicholas Kazlauskas from comment #58)
> (In reply to Brandon Wright from comment #55)
> > Created a=
ttachment 142558 [details]=
 [review] [review] [review]
> > Patch that "fixes" the problem.
> >=20
> > I've attached a patch that fixes the problem for me. It copies pa=
rts from
> > the intel patch and uses the existing async infrastructure for th=
e cursor.=20
> >=20
> > It's really tiny, so I hope this is helpful enough to get this pr=
oblem fixed
> > quick.
>=20
> This is a nice attempt but it only resolves the problem because it rel=
ies on
> the blocking behavior in atomic check that amdgpu_dm currently does (a=
nd
> shouldn't be doing).
>=20
> Asynchronous updates can and will occur in parallel with other commits=
 on
> worker threads. Without the wait in atomic_check you'll see the IGT le=
gacy
> cursor tests break with this patch (and there will probably be system =
faults
> as well).
>=20
> There are larger problems within amdgpu_dm's commit tail that if addre=
ssed
> should resolve this issue for compton I'd imagine.

Since you've been working on Freesync, you should know your patches are also
affected by this bug on some wine games. Any chance you could you kindly tr=
y to
tackle this?=20

btw, I don't have igt on my system atm, nor got any system fault yet with t=
he
patch. I really need dc for the extra headphone jack, mine is broken atm :(=


You are receiving this mail because:
  • You are the assignee for the bug.
= --15429007640.0CBB.27542-- --===============0260059266== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0260059266==--