Bug 56936

Summary: [r600-llvm] cube map array support breaks rendering on BARTS
Product: Mesa Reporter: Bruno Jacquet (Xaapyks) <maxijac>
Component: Drivers/Gallium/r600Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Hon garbage rendering
Hon garbage rendering bis

Description Bruno Jacquet (Xaapyks) 2012-11-09 21:51:56 UTC
Created attachment 69839 [details]
Hon garbage rendering

Possibly affects other cards.

I bisected and the first bad commit is eb44c36df842af010269eda1be77c4aea8ebe736 r600g: add initial cube map array support (v2).

It either displays plain black or garbage textures.

I tested with Heroes of Newerth and Unigine heaven.
Comment 1 Bruno Jacquet (Xaapyks) 2012-11-09 21:54:14 UTC
Created attachment 69840 [details]
Hon garbage rendering bis

What is wrong with this bugzilla seeing a png as text/plain?..
Comment 2 Dave Airlie 2012-11-09 23:10:42 UTC
with unigine heaven I get black textures even before this, I'm not sure what I could be going wrong running it here.

I'm testing on a caicos but I don't think barts will be too much different.
Comment 3 Dave Airlie 2012-11-09 23:19:38 UTC
some more questions:

can you make clean?

are these native apps or under wine?
Comment 4 Bruno Jacquet (Xaapyks) 2012-11-10 09:59:21 UTC
What do you mean about make clean ? between each git bisect I did a git clean -fdx ant full rebuild.

Both are native x64 apps.

And I'm using LLVM compiler.
Comment 5 Alex Deucher 2012-11-10 13:22:17 UTC
(In reply to comment #4)
> And I'm using LLVM compiler.

You'll need to use the old compiler for now.  Disable the llvm compiler or set R600_LLVM=0.
Comment 6 Bruno Jacquet (Xaapyks) 2012-11-10 15:22:26 UTC
Indeed, disabling the llvm compiler fixes the issue I'm facing.
Comment 7 Andreas Boll 2012-11-11 08:46:50 UTC
Does it help if you set the following envvar with enabled llvm compiler?

MESA_EXTENSION_OVERRIDE="-GL_ARB_texture_cube_map_array"
Comment 8 Bruno Jacquet (Xaapyks) 2012-11-11 17:19:37 UTC
(In reply to comment #7)
> Does it help if you set the following envvar with enabled llvm compiler?
> 
> MESA_EXTENSION_OVERRIDE="-GL_ARB_texture_cube_map_array"

No, it still fails to render correctly.
Comment 9 Michel Dänzer 2013-03-21 16:28:40 UTC
Is this still failing? I think Vincent fixed cube arrays with LLVM a while ago.
Comment 10 Bruno Jacquet (Xaapyks) 2013-03-21 16:49:06 UTC
It is fixed ! I forgot about this report, sorry.

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.