Bug 110471

Summary: No Man Sky GPU hang
Product: Mesa Reporter: Samuel Pitoiset <samuel.pitoiset>
Component: Drivers/Vulkan/radeonAssignee: Samuel Pitoiset <samuel.pitoiset>
Status: RESOLVED WORKSFORME QA Contact: mesa-dev
Severity: critical    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: workaround
shaders dump

Description Samuel Pitoiset 2019-04-19 14:05:07 UTC
No Man Sky hangs with mesa-git, it works fine with Mesa 19.0.1 or 19.0.2.
Comment 1 Samuel Pitoiset 2019-04-19 14:09:20 UTC
Created attachment 144046 [details] [review]
workaround

This fixes the GPU hang.
The split_alu_of_phi NIR pass seems correct to me. The generated NIR and LLVM IR (for the shader that hangs) also seem correct to me, so this likely triggers a bug in LLVM.
Comment 2 Samuel Pitoiset 2019-04-19 15:29:06 UTC
Created attachment 144047 [details]
shaders dump
Comment 3 Benedikt 2019-05-05 10:40:29 UTC
For me the game hangs as well (Radeon VII, Mesa 19.0.3), but it's not a GPU hang as I can tab out and clsoe the game. Will try that fix and report back
Comment 4 Benedikt 2019-05-05 12:00:27 UTC
oh, this may be a different thing - I am trying the Vulkan branch - doh!
Sorry about the confusion
Comment 5 Haxk20 2019-08-13 18:17:03 UTC
That workaround works for me but has huge graphical artifacts. Like blue triangles all over the screen. Basically unplayable.
Comment 6 Haxk20 2019-08-14 18:04:13 UTC
This is issue of ACO and not mesa in general. But UI is still unusable. Like 5 fps UI.
Comment 7 Samuel Pitoiset 2019-08-20 12:00:57 UTC
Since the last update of No Man Sky, the game no longer hangs with RADV. The old issue probably still remains in LLVM but it got "fixed" by the game itself.

As for the other issues, we are working on.

Closing this ticket as it refers to an old GPU hang.

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.