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: Fri, 02 Nov 2018 10:48:44 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0401601160==" 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 C3B096E502 for ; Fri, 2 Nov 2018 10:48: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 --===============0401601160== Content-Type: multipart/alternative; boundary="15411557243.A7DcdD1.22844" Content-Transfer-Encoding: 7bit --15411557243.A7DcdD1.22844 Date: Fri, 2 Nov 2018 10:48: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 Michel D=C3=A4nzer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nicholas.kazlauskas@amd.com --- Comment #40 from Michel D=C3=A4nzer --- For the DC guys: We've now confirmed that the problem is due to some bad interaction between page flips and HW cursor updates. (In reply to tempel.julian from comment #37) > I think software cursor would also be unusable even if it left pageflippi= ng > on. It causes nasty issues like flickering cursor or other visual corrupt= ion. Yeah, that's why xf86-video-amdgpu disables DRI page flipping while there's= an SW cursor, as I said in comment 31. Note that the modesetting driver doesn'= t do this, allowing users to run into those issues. (In reply to grmat from comment #39) > (In reply to Michel D=C3=A4nzer from comment #34) > >=20 > > Right, you'd have to disable TearFree as well. >=20 > Then I think the logs should represent that, even when the manpage tells = me > that tearfree is using page flipping. If i set explicitly to off, and the > log says so, I expect it to be off. Patches or at least specific suggestions welcome, but I'm afraid it's trick= y to describe all possible interactions concisely and clearly. DRI page flipping= and TearFree are mostly separate things, but they use the same kernel page flip= ping mechanism, which is what matters for this issue. --=20 You are receiving this mail because: You are the assignee for the bug.= --15411557243.A7DcdD1.22844 Date: Fri, 2 Nov 2018 10:48: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 = Michel D=C3=A4nzer changed bug 10617= 5
What Removed Added
CC   nicholas.kazlauskas@amd.com

Comme= nt # 40 on bug 10617= 5 from Michel D=C3=A4nzer
For the DC guys: We've now confirmed that the problem is due t=
o some bad
interaction between page flips and HW cursor updates.


(In reply to tempel.julian from co=
mment #37)
> I think software cursor would also be unusable e=
ven if it left pageflipping
> on. It causes nasty issues like flickering cursor or other visual corr=
uption.

Yeah, that's why xf86-video-amdgpu disables DRI page flipping while there's=
 an
SW cursor, as I said in comment 31=
. Note that the modesetting driver doesn't do
this, allowing users to run into those issues.


(In reply to grmat from comment #3=
9)
> (In reply to Michel D=C3=A4nzer from comment #34)
> >=20
> > Right, you'd have to disable TearFree as well.
>=20
> Then I think the logs should represent that, even when the manpage tel=
ls me
> that tearfree is using page flipping.  If i set explicitly to off, and=
 the
> log says so, I expect it to be off.

Patches or at least specific suggestions welcome, but I'm afraid it's trick=
y to
describe all possible interactions concisely and clearly. DRI page flipping=
 and
TearFree are mostly separate things, but they use the same kernel page flip=
ping
mechanism, which is what matters for this issue.


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