Bug 88879

Summary: [radeonsi] [llvm] unigine-heaven won't start with high or ultra quality
Product: Mesa Reporter: Arek Ruśniak <arek.rusi>
Component: Drivers/Gallium/radeonsiAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact: Default DRI bug account <dri-devel>
Severity: normal    
Priority: medium    
Version: git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: unigine-heaven full output (nothing special)
Unigine Heaven GL_ARB_gpu_shader5

Description Arek Ruśniak 2015-01-30 20:07:10 UTC
Created attachment 112986 [details]
unigine-heaven full output (nothing special)

Problem is when i set high or above settings. It stops work, just after the loading process with message:
LLVM ERROR: Not supported instr: <MCInst 2210 <MCOperand Reg:3171> <MCOperand Imm:24> <MCOperand Reg:2044> <MCOperand Reg:74>>

llvm-r227384 - is good one.
llvm-r227463 - is bad one

If you need i can bisect this, but not now. 

Low or medium quality works good. 


GPU: Cape Verde XT
ArchLinux x86_64
linux: 1.19rc6
libdrm-git: d2e0f55
mesa-git: 604ae33
ddx: 7.5.0
xorg: 1.6.3
llvm-svn: r227384/r227463
Comment 1 commiethebeastie 2015-01-30 21:44:14 UTC
Run as MESA_GL_VERSION_OVERRIDE=4.0 MESA_GLSL_VERSION_OVERRIDE=400 ./heaven and and you will see that at high settings required shader5
Comment 2 commiethebeastie 2015-01-30 21:45:42 UTC
Created attachment 112992 [details]
Unigine Heaven GL_ARB_gpu_shader5
Comment 3 commiethebeastie 2015-01-30 22:12:21 UTC
Oh sorry It`s was my mistake. UH4 does not require shaders 5.
Comment 4 Arek Ruśniak 2015-01-30 23:29:14 UTC
Maybe it wasn't clearly enough, it looks like llvm regression.

Radeonsi doesn't even support shader5. 

Could you try if UH4 works for you with high/ultra(without override GL4)? And what revision of llvm do you use?
Comment 5 Arek Ruśniak 2015-02-01 08:29:25 UTC
Ok, problem is fixed. Everything works good ok by now. 
Thx Tom
Comment 6 Arek Ruśniak 2015-02-01 08:38:27 UTC
this bug is fixed by llvm/trunk@227618

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.