Created attachment 62162 [details]
wine output and backtrace
OpenGL renderer string: Gallium 0.4 on AMD RV770
OpenGL version string: 2.1 Mesa 8.1-devel (git-6404095)
OpenGL shading language version string: 1.30
* uname -a
Linux archMain 3.4.0-1-ARCH #1 SMP PREEMPT Mon May 21 10:10:13 CEST 2012 x86_64 GNU/Linux
Created attachment 62163 [details]
output with R600_DUMP_SHADER=1
I've been seeing a few strange crashes in the LLVM backend when using wine. What version of wine are you using? Does it work with an older version of wine?
This isn't just another instance of "Clang is broken" / bug 44466, right?
(In reply to comment #2)
> I've been seeing a few strange crashes in the LLVM backend when using wine.
> What version of wine are you using? Does it work with an older version of
I've tried with several version of wine without much success
(In reply to comment #3)
> This isn't just another instance of "Clang is broken" / bug 44466, right?
llvm and mesa are all built with a multilib gcc, perhaps it's the culprit ? Another bug similer to https://bugs.freedesktop.org/show_bug.cgi?id=44466 ?
I've had to force host and target to i386-pc-linux-gnu to get a proper lib32 llvm.....
related ? http://llvm.org/bugs/show_bug.cgi?id=11145
Does it crash with DRAW_USE_LLVM=0?
If not, please try whether this patch can provide more information:
Created attachment 69350 [details]
furmark output with llvm-3.1 and r600-llvm-compiler enabled
Wine doesn't fail anymore, now rendering only garbage, so there is progress!
I don't know if it's related, but etqw gives me also similar garbaged output
The culprit for broken output is (after bisecting):
5ab82e0ccf84855e9311ebfc58d1b57b437ed991 is the first bad commit
Author: Vincent Lejeune <email@example.com>
Date: Fri Oct 19 15:49:06 2012 +0200
r600g: tgsi-to-llvm emits right input intrinsics
Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
:040000 040000 e678b643c10733ff7ef7163f3e21aee0a16ebb6e 4d10bf29f966beb56e12c385529284c53db1f950 M src
No more crash, so closing, a new bug is opened for broken output.