From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97340] POSTAL 2 poor performance at certain times, RadeonSI driver Date: Sat, 20 Aug 2016 02:20:45 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1719132174==" 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 C574E6E32B for ; Sat, 20 Aug 2016 02:20:45 +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 --===============1719132174== Content-Type: multipart/alternative; boundary="14716596450.aFDC.24838"; charset="UTF-8" --14716596450.aFDC.24838 Date: Sat, 20 Aug 2016 02:20:45 +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=3D97340 --- Comment #1 from Daniel Scharrer --- Created attachment 125916 --> https://bugs.freedesktop.org/attachment.cgi?id=3D125916&action=3Dedit GALLIUM_HUD graphs for the scene I can reproduce this on VI. According to GALLIUM_HUD, the frame drops correspond to shader compilations. apitrace profiling shows the slowest calls are glDrawRangeElements, many of which take over 80ms (!). The calls don't use any user shaders so the compilations must be for internal shaders generated by Mesa to implement fixed-function functionality. Trace: http://constexpr.org/tmp/POSTAL2-radeonsi.2.trace.xz (73 MiB) Not sure if there is a good way to fix this (besides making the shader comp= iler faster). Maybe there could be a lighting super-shader that can be used while more optimized variants are compiled. Kernel: 4.7.0-gentoo Mesa: git-a73116e LLVM: r278309 GPU: R9 380X CPU: FX 8350 --=20 You are receiving this mail because: You are the assignee for the bug.= --14716596450.aFDC.24838 Date: Sat, 20 Aug 2016 02:20:45 +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

Comment= # 1 on bug 97340<= /a> from Daniel Scharrer
Created attachm=
ent 125916 [details]
GALLIUM_HUD graphs for the scene

I can reproduce this on VI.

According to GALLIUM_HUD, the frame drops correspond to shader compilations.
apitrace profiling shows the slowest calls are glDrawRangeElements, many of
which take over 80ms (!). The calls don't use any user shaders so the
compilations must be for internal shaders generated by Mesa to implement
fixed-function functionality.

Trace:
 http://co=
nstexpr.org/tmp/POSTAL2-radeonsi.2.trace.xz (73 MiB)

Not sure if there is a good way to fix this (besides making the shader comp=
iler
faster). Maybe there could be a lighting super-shader that can be used while
more optimized variants are compiled.

Kernel: 4.7.0-gentoo
Mesa: git-a73116e
LLVM: r278309
GPU: R9 380X
CPU: FX 8350


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