From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97260] [bisected] R9 290 low performance in Linux 4.7 Date: Tue, 16 Aug 2016 03:52:54 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0074718392==" 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 B048B6E16B for ; Tue, 16 Aug 2016 03:52:55 +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 --===============0074718392== Content-Type: multipart/alternative; boundary="14713195742.fb4D767C.12474"; charset="UTF-8" --14713195742.fb4D767C.12474 Date: Tue, 16 Aug 2016 03:52:54 +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=3D97260 --- Comment #18 from Michel D=C3=A4nzer --- Created attachment 125808 --> https://bugs.freedesktop.org/attachment.cgi?id=3D125808&action=3Dedit radeon: Add some page flip debugging output Well, that's a surprising result of the bisection. I can imagine two possible causes, or possibly some combination thereof: * The processing of asynchronous flips or the corresponding completion interrupts is delayed for some reason * Using flips instead of blits for buffer swaps lowers the load on the GPU = 3D engine, so the SMU doesn't switch to higher clocks The attached debugging patch should give us more information about the form= er. With it applied, run the following while an affected application is running= in fullscreen: sudo sh -c 'echo 2 >/sys/module/drm/parameters/debug'; sleep 1; sudo sh -c 'echo 0 >/sys/module/drm/parameters/debug' Then attach the resulting dmesg output. BTW, does the problem still happen with Alex's current drm-next-4.9-wip bra= nch? --=20 You are receiving this mail because: You are the assignee for the bug.= --14713195742.fb4D767C.12474 Date: Tue, 16 Aug 2016 03:52:54 +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

Commen= t # 18 on bug 97260<= /a> from Michel D=C3=A4nzer
Created attachment 125808 [details] [review]
radeon: Add some page flip debugging output

Well, that's a surprising result of the bisection.

I can imagine two possible causes, or possibly some combination thereof:

* The processing of asynchronous flips or the corresponding completion
interrupts
  is delayed for some reason
* Using flips instead of blits for buffer swaps lowers the load on the GPU =
3D
  engine, so the SMU doesn't switch to higher clocks

The attached debugging patch should give us more information about the form=
er.
With it applied, run the following while an affected application is running=
 in
fullscreen:

sudo sh -c 'echo 2 >/sys/module/drm/parameters/debug'; sleep 1; sudo sh =
-c
'echo 0 >/sys/module/drm/parameters/debug'

Then attach the resulting dmesg output.

BTW, does the problem still happen with Alex's current drm-next-4.9-wip bra=
nch?


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