dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 97340] POSTAL 2 poor performance at certain times, RadeonSI driver
Date: Sat, 20 Aug 2016 02:20:45 +0000	[thread overview]
Message-ID: <bug-97340-502-OEm6H1cfaX@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-97340-502@http.bugs.freedesktop.org/>


[-- Attachment #1.1: Type: text/plain, Size: 1054 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=97340

--- Comment #1 from Daniel Scharrer <daniel@constexpr.org> ---
Created attachment 125916
  --> https://bugs.freedesktop.org/attachment.cgi?id=125916&action=edit
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 compiler
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.

[-- Attachment #1.2: Type: text/html, Size: 2082 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  reply	other threads:[~2016-08-20  2:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-14  9:52 [Bug 97340] POSTAL 2 poor performance at certain times, RadeonSI driver bugzilla-daemon
2016-08-20  2:20 ` bugzilla-daemon [this message]
2016-08-26 23:58 ` bugzilla-daemon
2016-08-29 15:08 ` [Bug 97340] [radeonsi] POSTAL 2 freezes during shader compilation bugzilla-daemon
2016-08-29 15:09 ` bugzilla-daemon
2017-02-14  2:45 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-97340-502-OEm6H1cfaX@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox