Skip to contentSkip to conversation

New: flightgear has absymal performance with the llvm shader compiler

Bug 50360 [email protected] 1 participant 4 messages May 25, 2012 – Aug 24, 2012

lore
Share & tools
lore
#0 lore raw

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

Bug #: 50360
Summary: flightgear has absymal performance with the llvm
shader compiler
Classification: Unclassified
Product: Mesa
Version: git
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/r600
AssignedTo: [email protected]
ReportedBy: [email protected]

I get ~3 fps with the LLVM compiler, while I get ~20 fps with R600_LLVM=0 fgfs. The only setting on the 'rendering options' dialog that affects framerate is 'material shaders', when it's off, I get ~50 fps with both compilers.

Other games perform around the same with the two compilers.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 50360] flightgear has absymal performance with the llvm shader compiler

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

--- Comment #1 from Vadim Girlin <[email protected]> 2012-05-25 15:21:57 PDT --- Created attachment 62113
--> https://bugs.freedesktop.org/attachment.cgi?id=62113
patch

Does this patch help?

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

[Bug 50360] flightgear has absymal performance with the llvm shader compiler

In reply to [email protected]

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

--- Comment #2 from almos <[email protected]> 2012-05-26 03:15:04 PDT --- (In reply to comment #1)

Quoted 4 lines

Created attachment 62113 [details] [review]
patch

Does this patch help?

Yes, it helps a lot. Now I get ~40 fps with both compilers.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 50360] flightgear has absymal performance with the llvm shader compiler

In reply to [email protected]

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

Vadim Girlin <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Vadim Girlin <[email protected]> 2012-08-24 08:02:59 UTC --- Fix pushed with commit 4acf71f01ea1edb253cd38cc059d4af1a2a40bf4

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.