Bug 97413

Summary: BioShock Infinite crashes on startup with Mesa Git version, R7 370
Product: Mesa Reporter: Declan Hoare <webexamples>
Component: Drivers/Gallium/radeonsiAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact: Default DRI bug account <dri-devel>
Severity: normal    
Priority: medium    
Version: git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: eon.txt - game log from ~/.local/share/irrationalgames/bioshockinfinite

Description Declan Hoare 2016-08-20 03:42:49 UTC
Created attachment 125917 [details]
eon.txt - game log from ~/.local/share/irrationalgames/bioshockinfinite

Hello.

BioShock Infinite no longer works with the latest Git version of Mesa on my Radeon R7 370, with the RadeonSI driver. The startup videos will play, then after a black screen for a while, the game abruptly closes. I'm running Arch stable, Linux 4.7.1, Xorg 1.18.4, LLVM 3.8.1, and Mesa which I compiled today from Git. If I use Mesa 12.0.1, with the rest of my package base exactly the same, the game works fine, albeit with poor performance.

I've attached eon.txt, which seems to be the game log, although I can't see any relevant errors in there.

Help would be much appreciated.
Comment 1 Marek Olšák 2016-08-25 18:37:26 UTC
The fix was sent to mesa-dev:
"radeonsi: don't use allocas for arrays with LLVM 3.8"
Comment 2 Marek Olšák 2016-08-25 21:08:06 UTC
Pushed as a491b9e945423a81f785220b85a9b395060952aa.

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.