Bug 97038 - OpenArena couple times slower using llvm 3.9
Summary: OpenArena couple times slower using llvm 3.9
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-22 03:12 UTC by smoki
Modified: 2016-09-07 06:24 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description smoki 2016-07-22 03:12:10 UTC
Actually happens in basically any ioquake3 game i tried, but i guess everybody has OA. Distro current Debian Sid, driver radeon, hardware kabini, mesa self compiled...

 So problem is that is several times slower, 2-3 times slower maybe when compared to same mesa using llvm 3.8.
Comment 1 Nicolai Hähnle 2016-07-22 08:06:23 UTC
Could you bisect LLVM to find out where the degraded performance comes from?
Comment 2 smoki 2016-07-23 01:28:07 UTC
 It is major PITA to do that on this low power APU... but if someone can't reproduce it or figure it out without bisecting i might do that i have time.
Comment 3 smoki 2016-07-23 01:48:43 UTC
 BTW not all but many apps runs in slowmo mode with llvm 3.9, not just ioquake3 based games.

 Should i start llvm bisect or not i dunno, as 3.9 enable GL 4.3 instead of 4.1 with llvm 3.8, i guess it might be mesa just set up something wrong too :) I might start banning some of those new extensions to found offender or so.
Comment 4 smoki 2016-07-24 11:00:03 UTC
 OK got it, here is a llvm bisect result - svn272292

 AMDGPU/SI: Fix 32-bit fdiv lowering
Comment 5 Matt Arsenault 2016-07-25 16:11:04 UTC
Is it better on trunk since r276051?
Comment 6 Nicolai Hähnle 2016-07-25 16:12:36 UTC
Which version of Mesa are you using?
Comment 7 smoki 2016-07-25 16:24:24 UTC
 Mesa was latest git at moment, but i also tried something around that time and same problem.

 Will try later against r276051 i am not on that machine currently...
Comment 8 smoki 2016-07-25 17:46:18 UTC
 Yup, on r276051 perf is fine.
Comment 9 Vedran Miletić 2016-07-26 15:48:00 UTC
(In reply to smoki from comment #8)
>  Yup, on r276051 perf is fine.

Marking as fixed.
Comment 10 smoki 2016-07-26 18:14:50 UTC
(In reply to Vedran Miletić from comment #9)
> (In reply to smoki from comment #8)
> >  Yup, on r276051 perf is fine.
> 
> Marking as fixed.

 If you say so, OK.
Comment 11 smoki 2016-07-29 10:22:05 UTC
 I think i will reopen this one until it is fixed with llvm 3.9 or if someone commented that it would not be fixed in llvm 3.9.
Comment 12 smoki 2016-09-07 06:24:23 UTC
 Current mesa git and llvm 3.9 now works fine... bug somehow getting fixed by mesa instead.


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.