LLVM ERROR in batch rendering - Vray next (bucket cpu mode)

Hello I’ ve this error “LLVM ERROR” in batch rendering (bucket cpu mode) and I don’t use GLSL shaders , an idea ?

2019-02-27 12:44:34: 0: STDOUT: LLVM ERROR: Cannot select: 0x21915933d50: f32 = X86ISD::FSETCCss 0x21915936f80, 0x219151c0800, 0x219159296b0

2019-02-27 12:44:34: 0: STDOUT: 0x21915936f80: f32 = X86ISD::FMIN 0x21915938ca0, 0x219159292b0

2019-02-27 12:44:34: 0: STDOUT: 0x21915938ca0: f32,ch = load 0x218da3e4728, 0x21915940320, 0x219151bb4b0<LD4>

2019-02-27 12:44:34: 0: STDOUT: 0x21915940320: i64 = X86ISD::Wrapper 0x219151ba3a0

2019-02-27 12:44:34: 0: STDOUT: 0x219151ba3a0: i64 = TargetConstantPool<float 0x3FEFAE1480000000> 0

2019-02-27 12:44:34: 0: STDOUT: 0x219151bb4b0: i64 = undef

2019-02-27 12:44:34: 0: STDOUT: 0x219159292b0: f32,ch = load 0x21915930e20:1, 0x219159291b0, 0x219151bb4b0<LD4[%138](align=8)>

2019-02-27 12:44:34: 0: STDOUT: 0x219159291b0: i64 = add 0x219151b6460, 0x219151bbeb0

2019-02-27 12:44:34: 0: STDOUT: 0x219151b6460: i64 = FrameIndex<0>

2019-02-27 12:44:34: 0: STDOUT: 0x219151bbeb0: i64 = Constant<8>

2019-02-27 12:44:34: 0: STDOUT: 0x219151bb4b0: i64 = undef

2019-02-27 12:44:34: 0: STDOUT: 0x219151c0800: f32 = ConstantFP<0.000000e+00>

2019-02-27 12:44:34: 0: STDOUT: 0x219159296b0: i8 = Constant<6>

2019-02-27 12:44:34: 0: STDOUT: In function: Layer Name : 00000218D9E0DEF8_2

2019-02-27 12:44:34: 0: STDOUT: [2019/Feb/27|12:44:34] V-Ray error: There was a fatal error rendering the scene.

2019-02-27 12:44:34: 0: Done executing plugin command of type ‘Render Task’

Hello gaia, do you have any OSL/MDL materials in the scene? Also, what is your CPU? It would be helpful if you attach a dump file as well.

Best regards,
Ivan

Hello ikomitov,

I use this OSL file : https://docs.chaosgroup.com/display/…in+Film+Shader and CPU "Xeon Silver 4114 "

Thank you.

I add this informations. :slight_smile:

OSL file use : https://docs.chaosgroup.com/display/…in+Film+Shader on reflection color slot of vray mtl
vray version : “vray next for maya, hotfix 1 V.4.04.03.28767 from Dec 7 2018”
Windows 7 x64
CPU “Xeon Silver 4114”

Thanks for the details, gaia. That reminds me of a similar bug we discovered in our GLSL implementation which was caused by the LLVM’s inability to generate proper code for some modern Skylake processors, like your Xeon Silver. This is going to be fixed in the upcoming weeks as we plan to switch to the latest LLVM release which knows how to deal with such processors.

Best regards,
Ivan

Thank you very much ikometov.

Is the current work around for this not to use osl shaders?

thanks,

VMiller