Summary: | [HSW] Investigate why compacted control flow hangs the GPU | ||
---|---|---|---|
Product: | Mesa | Reporter: | Eero Tamminen <eero.t.tamminen> |
Component: | Drivers/DRI/i965 | Assignee: | Matt Turner <mattst88> |
Status: | RESOLVED WONTFIX | QA Contact: | Intel 3D Bugs Mailing List <intel-3d-bugs> |
Severity: | normal | ||
Priority: | medium | CC: | apinheiro, apuentes |
Version: | git | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
screenshot of broken Heaven
screenshot of broken Heaven |
Description
Eero Tamminen
2014-10-01 14:02:48 UTC
Created attachment 107192 [details]
screenshot of broken Heaven
Created attachment 107216 [details]
screenshot of broken Heaven
With latest (yesterday) version of Mesa, Heaven fails on BDW too. Failures are more random, sometimes there's the same error as on HSW, sometimes Heaven segfaults. Haven't tried whether reverting the patch fixes issue also on BDW. reproduced on IVB with ultra and high quality levels (medium and low render fine), the rendering result look different but probably the same issue in question Patch looks correct to me , else and endif are signed word integer per documentation. This change probably just causes something else. I noticed that if I disable opt_copy_propagate() I get almost correct rendering results and no hangs, there's still something wrong though. (In reply to Tapani Pälli from comment #5) > Patch looks correct to me , else and endif are signed word integer per > documentation. This change probably just causes something else. I noticed > that if I disable opt_copy_propagate() I get almost correct rendering > results and no hangs, there's still something wrong though. oops only now I noticed that it is not using word after all :) I don't know enough of the backend code but it seems a bit strange to me (should use w?) Thanks for finding this! I'm not going to have time to investigate before (or probably during XDC) so I'm just going to revert this commit for now. I'll leave the bug open so I remember to investigate when I get back. Reverted with 0d5c9bf1e46b2d4. (In reply to Matt Turner from comment #7) > Thanks for finding this! I'm not going to have time to investigate before > (or probably during XDC) so I'm just going to revert this commit for now. > I'll leave the bug open so I remember to investigate when I get back. Have you had time to check this yet? Or should the bug just be closed as revert fixed the issue? I reproduced the problem when the bug was reported. I'm planning to leave the bug open until I investigate further. I've retitled the bug. While we do not investigate this further and to be safe, I sent a patch to Mesa's mailing list to use W when emitting the JIP for instructions that were previously using UD: http://lists.freedesktop.org/archives/mesa-dev/2015-March/079328.html As far as I understand, we do not get any benefit from using UD and if we go against the HW specs, nothing guarantees us to not have undesired effects even when they have not been observed until now. However, the patch does not change the type of JIP in instructions that were already emitting it with D, as I understand from the comments in this bug that we do get a benefit from that, that is to have compacted instructions. I played with this a bit more, and initially thought I found the problem, but no such luck. |
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.