https://bugs.freedesktop.org/show_bug.cgi?id=91969
Bug ID: 91969 Summary: [radeonsi][bonaire] Stalls with Borderlands 2 Product: Mesa Version: git Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: shawn.starr@rogers.com QA Contact: dri-devel@lists.freedesktop.org
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]
https://bugs.freedesktop.org/show_bug.cgi?id=91969
--- Comment #1 from Shawn Starr shawn.starr@rogers.com --- Created attachment 118198 --> https://bugs.freedesktop.org/attachment.cgi?id=118198&action=edit GLSL Program #4086
https://bugs.freedesktop.org/show_bug.cgi?id=91969
--- Comment #2 from Shawn Starr shawn.starr@rogers.com --- Created attachment 118199 --> https://bugs.freedesktop.org/attachment.cgi?id=118199&action=edit For Call #25208614 - GLSL Program #4084 / 4085
https://bugs.freedesktop.org/show_bug.cgi?id=91969
--- Comment #3 from Shawn Starr shawn.starr@rogers.com --- Created attachment 118200 --> https://bugs.freedesktop.org/attachment.cgi?id=118200&action=edit apitrace profile graph
https://bugs.freedesktop.org/show_bug.cgi?id=91969
Andreas Hartmetz ahartmetz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kai@dev.carbon-project.org
--- Comment #4 from Andreas Hartmetz ahartmetz@gmail.com --- *** Bug 84570 has been marked as a duplicate of this bug. ***
https://bugs.freedesktop.org/show_bug.cgi?id=91969
Kai kai@dev.carbon-project.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|kai@dev.carbon-project.org |
--- Comment #5 from Kai kai@dev.carbon-project.org --- The other bug was done. Th
https://bugs.freedesktop.org/show_bug.cgi?id=91969
--- Comment #6 from Andreas Hartmetz ahartmetz@gmail.com --- 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...
https://bugs.freedesktop.org/show_bug.cgi?id=91969
Andreas Hartmetz ahartmetz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO
https://bugs.freedesktop.org/show_bug.cgi?id=91969
--- Comment #7 from Marek Olšák maraeo@gmail.com --- The stalls were reduced a lot in February 2016, but they didn't disappear completely.
https://bugs.freedesktop.org/show_bug.cgi?id=91969
Vedran Miletić vedran@miletic.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |77449
Referenced Bugs:
https://bugs.freedesktop.org/show_bug.cgi?id=77449 [Bug 77449] Tracker bug for all bugs related to Steam titles
https://bugs.freedesktop.org/show_bug.cgi?id=91969
Timothy Arceri t_arceri@yahoo.com.au changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Resolution|--- |WORKSFORME
--- Comment #8 from Timothy Arceri t_arceri@yahoo.com.au --- 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.
dri-devel@lists.freedesktop.org