Unigine Heaven 4.0 logging vm faults since radeon/llvm: Run LLVM's instruction combining pass
https://bugs.freedesktop.org/show_bug.cgi?id=90266
Bug ID: 90266
Summary: Unigine Heaven 4.0 logging vm faults since
radeon/llvm: Run LLVM's instruction combining pass
Product: Mesa
Version: git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
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
commit c6d79ed289a75f13c65f011be870f7e43a0fedc7
Author: Tom Stellard <[email protected]> Date: Fri Apr 10 17:07:16 2015 +0000
radeon/llvm: Run LLVM's instruction combining pass
This issue is thousands of lines of logging like below.
This happens with or without the llvm fix in the valley bug.
Will attach R600_DEBUG=ps,vs,gs with and without above mesa commit reverted. The debug logs were done with todays llvm,mesa so the valley fix in in llvm.
The errors -
[ 7288.184664] VM fault (0x01, vmid 14) at page 185032279, read from TC (4) [ 7288.184667] radeon 0000:01:00.0: GPU fault detected: 147 0x0afc0401 [ 7288.184668] radeon 0000:01:00.0: VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x0B075E57 [ 7288.184670] radeon 0000:01:00.0: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x1C004001 [ 7288.184671] VM fault (0x01, vmid 14) at page 185032279, read from TC (4) [ 7288.184695] radeon 0000:01:00.0: GPU fault detected: 147 0x0afc0401 [ 7288.184696] radeon 0000:01:00.0: VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x0B075E57 [ 7288.184698] radeon 0000:01:00.0: VM_CONTEXT1_PROTECTION_FAULT_STATUS
0x1C004001
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=90266
--- Comment #1 from Andy Furniss <[email protected]> --- Created attachment 115494
--> https://bugs.freedesktop.org/attachment.cgi?id=115494&action=edit
Heaven 4.0 R600_DEBUG=ps,vs,gs Bad
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=90266
--- Comment #2 from Andy Furniss <[email protected]> --- Created attachment 115495
--> https://bugs.freedesktop.org/attachment.cgi?id=115495&action=edit
Heaven 4.0 R600_DEBUG=ps,vs,gs Good with mesa revert
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=90266
--- Comment #3 from Arek Ruśniak <[email protected]> --- 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
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=90266
--- Comment #4 from Tom Stellard <[email protected]> --- (In reply to Andy Furniss from comment #0)
Quoted 9 lines
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?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=90266
--- Comment #5 from Andy Furniss <[email protected]> --- (In reply to Tom Stellard from comment #4)
Quoted 8 lines
(In reply to Andy Furniss from comment #0)
Quoted 7 lines
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.
Quoted 6 lines
Quoted 2 lines
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
Quoted 2 lines
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.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=90266
--- Comment #6 from Tom Stellard <[email protected]> --- Created attachment 115625
--> https://bugs.freedesktop.org/attachment.cgi?id=115625&action=edit
Possible Fix
This patch should fix the issue, can you test?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=90266
--- Comment #7 from Andy Furniss <[email protected]> --- (In reply to Tom Stellard from comment #6)
Quoted 4 lines
Created attachment 115625 [details] [review]
Possible FixThis patch should fix the issue, can you test?
Yes, this fixes it.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=90266
--- Comment #8 from Arek Ruśniak <[email protected]> --- thx Tom, heaven works as before
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=90266
--- Comment #9 from Tom Stellard <[email protected]> --- Fix committed to LLVM: r237164
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=90266
Tom Stellard <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXEDSignature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel