Skip to contentSkip to conversation

Stalls with Borderlands 2

Bug 91969 [email protected] 1 participant 11 messages Sep 11, 2015 – Apr 3, 2018

lore
Share & tools
lore
#0 lore raw

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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

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]

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

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

--- Comment #1 from Shawn Starr <[email protected]> --- Created attachment 118198
--> https://bugs.freedesktop.org/attachment.cgi?id=118198&action=edit
GLSL Program #4086

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

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

--- Comment #2 from Shawn Starr <[email protected]> --- Created attachment 118199
--> https://bugs.freedesktop.org/attachment.cgi?id=118199&action=edit
For Call #25208614 - GLSL Program #4084 / 4085

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

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

--- Comment #3 from Shawn Starr <[email protected]> --- Created attachment 118200
--> https://bugs.freedesktop.org/attachment.cgi?id=118200&action=edit
apitrace profile graph

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

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

Andreas Hartmetz <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #4 from Andreas Hartmetz <[email protected]> --- *** Bug 84570 has been marked as a duplicate of this bug. ***

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to [email protected]

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

Kai <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC|[email protected] |

--- Comment #5 from Kai <[email protected]> --- The other bug was done. Th

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to [email protected]

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

--- Comment #6 from Andreas Hartmetz <[email protected]> ---
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...

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw
In reply to [email protected]

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

Andreas Hartmetz <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw
In reply to [email protected]

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

--- Comment #7 from Marek Olšák <[email protected]> ---
The stalls were reduced a lot in February 2016, but they didn't disappear completely.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw
In reply to [email protected]

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

Vedran Miletić <[email protected]> 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

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw
In reply to [email protected]

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

Timothy Arceri <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #8 from Timothy Arceri <[email protected]> --- 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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel