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, 10 Jan 2019 19:04:49 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0405963787==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 2BF2D6F419 for ; Thu, 10 Jan 2019 19:04:50 +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 --===============0405963787== Content-Type: multipart/alternative; boundary="15471470901.B68c2fbcB.722" Content-Transfer-Encoding: 7bit --15471470901.B68c2fbcB.722 Date: Thu, 10 Jan 2019 19:04:50 +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 #81 from Nicholas Kazlauskas --- (In reply to tempel.julian from comment #80) > It seems like the issue is actually not 100% resolved (linux 5.0-rc1). > The moving of windows is free of stutter now, but moving of windows can > still negatively affect performance of other windows as long as fullscreen > vsync is enabled (not necessarily via compositor, can also be done via > TearFree without a compositor). > Again, this is best seen on https://www.vsynctester.com/ . This seems to > happen mostly when mouse clicks occur, but sometimes also apart from this. > It can also happen when just moving the mouse cursor repeatedly on top of > shell elements which trigger pop ups, like the system tray of KDE Plasma. > As expected, setting amdgpu.dc=3D0 completely "fixes" the issue. I'm not sure how much of this is actually amdgpu or Plasma. I can reproduce what you're reporting - red lines and spikes in the graph on vsynctester.com. This happens whenever I do something like open the dock or volume widgets in the tray on Plasma with the compositor tearing prevention= set to automatic. However, moving the cursor or moving windows doesn't really seem to affect = this and you can verify that in Plasma and other compositors. As for the difference between dc=3D1 and dc=3D0, that might just be a diffe= rence in behavior on the DRM level for atomic vs non-atomic drivers. Or a difference= in userspace if they make a distinction there. It affects more than just amdgp= u at least. --=20 You are receiving this mail because: You are the assignee for the bug.= --15471470901.B68c2fbcB.722 Date: Thu, 10 Jan 2019 19:04:50 +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 10617= 5 from Nicholas Kazlauskas<= /a>
(In reply to tempel.julian from comment #80)
> It seems like the issue is actually not 100% res=
olved (linux 5.0-rc1).
> The moving of windows is free of stutter now, but moving of windows can
> still negatively affect performance of other windows as long as fullsc=
reen
> vsync is enabled (not necessarily via compositor, can also be done via
> TearFree without a compositor).
> Again, this is best seen on h=
ttps://www.vsynctester.com/ . This seems to
> happen mostly when mouse clicks occur, but sometimes also apart from t=
his.
> It can also happen when just moving the mouse cursor repeatedly on top=
 of
> shell elements which trigger pop ups, like the system tray of KDE Plas=
ma.
> As expected, setting amdgpu.dc=3D0 completely "fixes" the is=
sue.

I'm not sure how much of this is actually amdgpu or Plasma.

I can reproduce what you're reporting - red lines and spikes in the graph on
vsynctester.com. This happens whenever I do something like open the dock or
volume widgets in the tray on Plasma with the compositor tearing prevention=
 set
to automatic.

However, moving the cursor or moving windows doesn't really seem to affect =
this
and you can verify that in Plasma and other compositors.

As for the difference between dc=3D1 and dc=3D0, that might just be a diffe=
rence in
behavior on the DRM level for atomic vs non-atomic drivers. Or a difference=
 in
userspace if they make a distinction there. It affects more than just amdgp=
u at
least.


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