Bug 91969 - [radeonsi][bonaire] Stalls with Borderlands 2
Summary: [radeonsi][bonaire] Stalls with Borderlands 2
Status: RESOLVED WORKSFORME
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 77449
  Show dependency treegraph
 
Reported: 2015-09-11 00:42 UTC by Shawn Starr
Modified: 2018-04-03 05:48 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
GLSL Program #4086 (11.63 KB, text/plain)
2015-09-11 00:43 UTC, Shawn Starr
Details
For Call #25208614 - GLSL Program #4084 / 4085 (11.13 KB, text/plain)
2015-09-11 00:47 UTC, Shawn Starr
Details
apitrace profile graph (209.05 KB, image/png)
2015-09-11 00:49 UTC, Shawn Starr
Details

Description Shawn Starr 2015-09-11 00:42:04 UTC
kernel 4.3.0-rc0 (Fedora snapshot)
mesa git master / with also experimental radeonsi shader cache (still stalls with it even)
LLVM trunk (Sept 10th, 2015 build)

I've done some profiling of Borderlands 2 (just the menu intro) and discovered what may be causing the stalls.

Apitrace: https://drive.google.com/open?id=0Bze7CJKD12nORWQ4RTdIbk4zT1k

Results from profile show the following calls with spikes:

25208614 [glDrawRangeElements]
25208651 [glLinkProgram]
29526799 [glDrawRangeElements]
29526657 [glDrawRangeElements]
Comment 1 Shawn Starr 2015-09-11 00:43:04 UTC
Created attachment 118198 [details]
GLSL Program #4086
Comment 2 Shawn Starr 2015-09-11 00:47:34 UTC
Created attachment 118199 [details]
For Call #25208614 - GLSL Program #4084 / 4085
Comment 3 Shawn Starr 2015-09-11 00:49:35 UTC
Created attachment 118200 [details]
apitrace profile graph
Comment 4 Andreas Hartmetz 2015-09-12 14:31:23 UTC
*** Bug 84570 has been marked as a duplicate of this bug. ***
Comment 5 Kai 2015-09-12 15:17:09 UTC
The other bug was done. Th
Comment 6 Andreas Hartmetz 2016-08-25 14:14:01 UTC
Is this fixed now? I've had the same or a similar problem and it's fixed now. I thought it wasn't fixed for a while until I discovered that limiting the frame rate to 60 is really bad for performance in Borderlands 2...
Comment 7 Marek Olšák 2016-08-25 18:55:45 UTC
The stalls were reduced a lot in February 2016, but they didn't disappear completely.
Comment 8 Timothy Arceri 2018-04-03 05:48:44 UTC
radeonsi now has an end-to-end shader cache and glthreading which is enabled by default for Borderlands 2. These issues should now be mostly gone, there is not too much more that can be done. Closing.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.