Bug 98777

Summary: GPU lockup in Guns of Icarus Online
Product: Mesa Reporter: Daniel Scharrer <daniel>
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: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Glitched ship

Description Daniel Scharrer 2016-11-19 07:18:08 UTC
Guns of Icarus Online consistently locks up my GPU with radeonsi while loading a specific map.

Apitrace reproducing the GPU lockup:
 http://constexpr.org/tmp/GoIO-radeonsi.3.trace.xz (568 MiB)

GPU: R9 380X (tonga)
Kernel: 4.8.7-gentoo
Mesa: git-0c85d2f
LLVM: r287273
Comment 1 Daniel Scharrer 2016-11-19 07:36:20 UTC
Created attachment 128068 [details]
Glitched ship

The trace also contains a screen of a misrendered ship. Not sure if these glitches are a related to the lockup.

Here is another, shorter trace showing rendering glichtes recorded with lower graphics settings and using llvmpipe:
 http://constexpr.org/tmp/GoIO-llvmpipe.trace.xz (188 MiB)

There are no glitches with llvmpipe, but when replaying the trace using radeonsi parts of the terrain in the menu background are misrendered.

While the glitches look somewhat similar to those in bug #98776, they (and the lockup) are not fixed by reverting commit 74e39de.
Comment 2 Daniel Scharrer 2016-11-19 09:16:13 UTC
Reverting LLVM r286766 "AMDGPU: Implement SGPR spilling with scalar stores" (while not reverting anything in Mesa) fixes the glitches and lockup - so this is likely related to bug #98776 and bug #98761 after all.
Comment 3 Daniel Scharrer 2016-12-08 19:26:29 UTC
Everything renders fine and there are not GPU lockups with LLVM r289080 and Mesa git-31f988a9d6.

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.