Bug 110471 - No Man Sky GPU hang
Summary: No Man Sky GPU hang
Status: NEW
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Vulkan/radeon (show other bugs)
Version: git
Hardware: Other All
: medium critical
Assignee: Samuel Pitoiset
QA Contact: mesa-dev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-19 14:05 UTC by Samuel Pitoiset
Modified: 2019-05-05 12:00 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
workaround (554 bytes, patch)
2019-04-19 14:09 UTC, Samuel Pitoiset
Details | Splinter Review
shaders dump (174.99 KB, text/plain)
2019-04-19 15:29 UTC, Samuel Pitoiset
Details

Note You need to log in before you can comment on or make changes to this bug.
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


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.