Created attachment 108416 [details] 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!
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?
Created attachment 108512 [details] stderr stderr
(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.
Created attachment 108544 [details] [review] radeon/llvm: Increase maximum branch depth Does this patch fix the problem?
(In reply to Michel Dänzer from comment #4) > Created attachment 108544 [details] [review] [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.
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?
(In reply to Michel Dänzer from comment #6) > Created attachment 108567 [details] [review] [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.
Module: Mesa Branch: master Commit: 402ab50bedf9fba7654e63a6f2e808714714284d URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=402ab50bedf9fba7654e63a6f2e808714714284d 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
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.