https://bugs.freedesktop.org/show_bug.cgi?id=85454
Bug ID: 85454 Summary: Unigine Sanctuary with Wine crashes on Mesa Git Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: commendsarnex@gmail.com
Created attachment 108416 --> https://bugs.freedesktop.org/attachment.cgi?id=108416&action=edit backtrace
Hi guys,
When testing the Unigine Sanctuary windows benchmark, it crashes during the inital loading screen with normal wined3d, with a crash in radeonsi.so. With gallium nine, it works perfectly with no crashes.
I am using Mesa Git on a Radeon HD 7950. I can test any patches.
The backtrace is attached.
Thanks!
https://bugs.freedesktop.org/show_bug.cgi?id=85454
--- Comment #1 from Michel Dänzer michel@daenzer.net --- Can you run it with the environment variable R600_DEBUG=vs,ps and attach the stderr output from that?
P.S. Any particular reason for not using the Linux version of Unigine Sanctuary?
https://bugs.freedesktop.org/show_bug.cgi?id=85454
--- Comment #2 from sarnex commendsarnex@gmail.com --- Created attachment 108512 --> https://bugs.freedesktop.org/attachment.cgi?id=108512&action=edit stderr
stderr
https://bugs.freedesktop.org/show_bug.cgi?id=85454
--- Comment #3 from sarnex commendsarnex@gmail.com --- (In reply to Michel Dänzer from comment #1)
Can you run it with the environment variable R600_DEBUG=vs,ps and attach the stderr output from that?
P.S. Any particular reason for not using the Linux version of Unigine Sanctuary?
Hi Michel, thanks for your response. The stderr output is attached.
PS. The crash does NOT occur in native Linux Sanctuary, it works perfectly. I was testing the preformance of wine d3d9 vs gallium nine.
https://bugs.freedesktop.org/show_bug.cgi?id=85454
--- Comment #4 from Michel Dänzer michel@daenzer.net --- Created attachment 108544 --> https://bugs.freedesktop.org/attachment.cgi?id=108544&action=edit radeon/llvm: Increase maximum branch depth
Does this patch fix the problem?
https://bugs.freedesktop.org/show_bug.cgi?id=85454
--- Comment #5 from sarnex commendsarnex@gmail.com --- (In reply to Michel Dänzer from comment #4)
Created attachment 108544 [details] [review] radeon/llvm: Increase maximum branch depth
Does this patch fix the problem?
Wow, that did it. Great job and thanks.
If you need this, Tested-by: Nick Sarnie commendsarnex@gmail.com
Thanks again.
https://bugs.freedesktop.org/show_bug.cgi?id=85454
Michel Dänzer michel@daenzer.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #108544|0 |1 is obsolete| |
--- Comment #6 from Michel Dänzer michel@daenzer.net --- Created attachment 108567 --> https://bugs.freedesktop.org/attachment.cgi?id=108567&action=edit radeon/llvm: Dynamically allocate branch/loop stack arrays
This should be an even better fix, does it work as well?
https://bugs.freedesktop.org/show_bug.cgi?id=85454
--- Comment #7 from sarnex commendsarnex@gmail.com --- (In reply to Michel Dänzer from comment #6)
Created attachment 108567 [details] [review] radeon/llvm: Dynamically allocate branch/loop stack arrays
This should be an even better fix, does it work as well?
Hi Michel,
That patch works for me also.
Thanks again.
https://bugs.freedesktop.org/show_bug.cgi?id=85454
Michel Dänzer michel@daenzer.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #8 from Michel Dänzer michel@daenzer.net --- Module: Mesa Branch: master Commit: 402ab50bedf9fba7654e63a6f2e808714714284d URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=402ab50bedf9fba7654e63a6f2e...
Author: Michel Dänzer michel.daenzer@amd.com Date: Tue Oct 28 11:28:29 2014 +0900
radeon/llvm: Dynamically allocate branch/loop stack arrays
dri-devel@lists.freedesktop.org