Summary: | Unigine Heaven 4.0 logging vm faults since radeon/llvm: Run LLVM's instruction combining pass | ||
---|---|---|---|
Product: | Mesa | Reporter: | Andy Furniss <adf.lists> |
Component: | Drivers/Gallium/radeonsi | Assignee: | 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: |
Heaven 4.0 R600_DEBUG=ps,vs,gs Bad
Heaven 4.0 R600_DEBUG=ps,vs,gs Good with mesa revert Possible Fix |
Description
Andy Furniss
2015-05-01 11:03:37 UTC
Created attachment 115494 [details]
Heaven 4.0 R600_DEBUG=ps,vs,gs Bad
Created attachment 115495 [details]
Heaven 4.0 R600_DEBUG=ps,vs,gs Good with mesa revert
i can confirm this on cape verde: dmesg: [ 956.234491] VM fault (0x01, vmid 4) at page 185033268, read from TC (4) [ 956.234500] radeon 0000:01:00.0: GPU fault detected: 147 0x06880401 [ 956.234500] radeon 0000:01:00.0: VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x0B076234 [ 956.234501] radeon 0000:01:00.0: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x08004001 [ 956.234502] VM fault (0x01, vmid 4) at page 185033268, read from TC (4) [ 956.234519] radeon 0000:01:00.0: GPU fault detected: 147 0x06880401 [ 956.234519] radeon 0000:01:00.0: VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x0B076234 [ 956.234520] radeon 0000:01:00.0: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x08004001 (In reply to Andy Furniss from comment #0) > Related to > > https://bugs.freedesktop.org/show_bug.cgi?id=90056 > > Unlike valley I thought heaven 4.0 wasn't affected by above as it runs and > looks OK. > > There is however an issue, again "fixed" by reverting mesa commit > Thanks for the report, I just have a few qustions: Are there any problems with Valley after the fix for Bug 90056 was committed? Does the problem reported in this bug for Heaven still happen if you keep the InsCombine pass enabled, but revert the fix from Bug 90056? (In reply to Tom Stellard from comment #4) > (In reply to Andy Furniss from comment #0) > > Related to > > > > https://bugs.freedesktop.org/show_bug.cgi?id=90056 > > > > Unlike valley I thought heaven 4.0 wasn't affected by above as it runs and > > looks OK. > > > > There is however an issue, again "fixed" by reverting mesa commit > > > > Thanks for the report, I just have a few qustions: > > Are there any problems with Valley after the fix for Bug 90056 was committed? No, Valley is OK > Does the problem reported in this bug for Heaven still happen if you keep > the InsCombine pass enabled, but revert the fix from Bug 90056? Yes with or without the fix Heaven logs the errors. Initially tested on an older llvm with and without the patch from - https://bugs.freedesktop.org/show_bug.cgi?id=90056#c14 and again just now by reverting "R600/SI: Fix verifier errors from the SIAnnotateControlFlow" on a more recent llvm. Created attachment 115625 [details] [review] Possible Fix This patch should fix the issue, can you test? (In reply to Tom Stellard from comment #6) > Created attachment 115625 [details] [review] [review] > Possible Fix > > This patch should fix the issue, can you test? Yes, this fixes it. thx Tom, heaven works as before Fix committed to LLVM: r237164 |
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.