[Bug 97340] POSTAL 2 poor performance at certain times, RadeonSI driver

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Aug 20 02:20:45 UTC 2016


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

--- Comment #1 from Daniel Scharrer <daniel at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160820/9dbc0791/attachment.html>


More information about the dri-devel mailing list