[SOLVED] OpenCL crash - blendLuxCore build 25th October

Use this forum for general user support and related questions.
Post Reply
marcatore
Donor
Donor
Posts: 327
Joined: Wed Jan 10, 2018 8:04 am

[SOLVED] OpenCL crash - blendLuxCore build 25th October

Post by marcatore » Fri Oct 25, 2019 3:22 pm

I've downloaded the BlendLuxCore addon of today (25th of October).
I've opened a scene I've successfully rendered at the beginning of October.
Launch a render and now I have this error during the OpenCL compilation

Code: Select all

[LuxRays][385.603] [Device Quadro K5200 Intersect] DirectLightVolumeInfo buffer
size: 22528Kbytes
[LuxRays][385.603] [Device Quadro K5200 Intersect] Pixel Filter Distribution buf
fer size: 33Kbytes
[LuxCore][385.635] [PathOCLBaseRenderThread::0] Defined symbols:  -D LUXRAYS_OPE
NCL_KERNEL -D SLG_OPENCL_KERNEL -D RENDER_ENGINE_PATHOCL -D PARAM_RAY_EPSILON_MI
N=1.000000e-05f -D PARAM_RAY_EPSILON_MAX=1.000000e-01f -D PARAM_LIGHT_WORLD_RADI
US_SCALE=1.050000e+00f -D PARAM_ACCEL_MBVH -D PARAM_FILM_RADIANCE_GROUP_0 -D PAR
AM_FILM_RADIANCE_GROUP_COUNT=1 -D PARAM_FILM_CHANNELS_HAS_ALPHA -D PARAM_FILM_CH
ANNELS_HAS_ALBEDO -D PARAM_FILM_CHANNELS_HAS_AVG_SHADING_NORMAL -D PARAM_FILM_CH
ANNELS_HAS_NOISE -D PARAM_ENABLE_TEX_CONST_FLOAT -D PARAM_ENABLE_TEX_CONST_FLOAT
3 -D PARAM_ENABLE_TEX_IMAGEMAP -D PARAM_ENABLE_TEX_SCALE -D PARAM_ENABLE_TEX_MIX
 -D PARAM_ENABLE_TEX_NORMALMAP -D PARAM_ENABLE_TEX_FRESNELCOLOR -D PARAM_ENABLE_
TEX_FRESNELCONST -D PARAM_ENABLE_TEX_HSV -D PARAM_ENABLE_TEX_OBJECTID -D PARAM_E
NABLE_TEX_GREATER_THAN -D PARAM_ENABLE_TEX_LESS_THAN -D PARAM_ENABLE_MAT_MATTE -
D PARAM_ENABLE_MAT_MIRROR -D PARAM_ENABLE_MAT_ARCHGLASS -D PARAM_ENABLE_MAT_MIX
-D PARAM_ENABLE_MAT_NULL -D PARAM_ENABLE_MAT_GLOSSY2 -D PARAM_ENABLE_MAT_METAL2
-D PARAM_ENABLE_MAT_METAL2_ANISOTROPIC -D PARAM_ENABLE_MAT_CLOTH -D PARAM_ENABLE
_MAT_CLEAR_VOL -D PARAM_ENABLE_MAT_DISNEY -D PARAM_CAMERA_TYPE=0 -D PARAM_HAS_TR
IANGLELIGHT -D PARAM_HAS_MAPSPHERELIGHT -D PARAM_HAS_IMAGEMAPS -D PARAM_IMAGEMAP
S_PAGE_0 -D PARAM_IMAGEMAPS_COUNT=1 -D PARAM_HAS_IMAGEMAPS_BYTE_FORMAT -D PARAM_
HAS_IMAGEMAPS_FLOAT_FORMAT -D PARAM_HAS_IMAGEMAPS_1xCHANNELS -D PARAM_HAS_IMAGEM
APS_3xCHANNELS -D PARAM_HAS_IMAGEMAPS_WRAP_REPEAT -D PARAM_HAS_VOLUMES -D SCENE_
DEFAULT_VOLUME_INDEX=4294967295 -D PARAM_MAX_PATH_DEPTH=7 -D PARAM_MAX_PATH_DEPT
H_DIFFUSE=5 -D PARAM_MAX_PATH_DEPTH_GLOSSY=5 -D PARAM_MAX_PATH_DEPTH_SPECULAR=6
-D PARAM_RR_DEPTH=3 -D PARAM_RR_CAP=5.000000e-01f -D PARAM_SQRT_VARIANCE_CLAMP_M
AX_VALUE=6.266505e+03f -D PARAM_IMAGE_FILTER_TYPE=5 -D PARAM_IMAGE_FILTER_WIDTH_
X=1.500000e+00f -D PARAM_IMAGE_FILTER_WIDTH_Y=1.500000e+00f -D PARAM_IMAGE_FILTE
R_PIXEL_WIDTH_X=1 -D PARAM_IMAGE_FILTER_PIXEL_WIDTH_Y=1 -D PARAM_FORCE_BLACK_BAC
KGROUND -D PARAM_HYBRID_BACKFORWARD -D PARAM_HYBRID_BACKFORWARD_GLOSSINESSTHRESH
OLD=0.000000e+00f -D PARAM_SAMPLER_TYPE=2 -D PARAM_SAMPLER_SOBOL_STARTOFFSET=32
-D PARAM_PGIC_ENABLED -D PARAM_PGIC_DEBUG_NONE -D PARAM_PGIC_INDIRECT_ENABLED -D
 LUXCORE_NVIDIA_OPENCL
[LuxCore][385.635] [PathOCLBaseRenderThread::0] Compiling kernels
[LuxCore][386.071] [PathOCLBaseRenderThread::0] PathOCL kernel compilation error

ERROR clBuildProgram[CL_BUILD_PROGRAM_FAILURE]:
<kernel>:18477:2: error: #endif without #if
#endif
 ^
<kernel>:24927:27: warning: incompatible pointer types passing '__global float *
' to parameter of type '__global Matrix4x4 *'
        Matrix4x4_IdentityGlobal(&bsdf->hitPoint.localToWorld.m.m[0][0]);
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<kernel>:1776:71: note: passing argument to parameter 'm' here
OPENCL_FORCE_INLINE void Matrix4x4_IdentityGlobal(__global Matrix4x4 *m) {
                                                                      ^

What should be?

Only CPU renders fine.
Last edited by marcatore on Mon Oct 28, 2019 9:19 am, edited 1 time in total.

User avatar
Dade
Developer
Developer
Posts: 3241
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: OpenCL crash - blendLuxCore build 25th October

Post by Dade » Fri Oct 25, 2019 3:37 pm

I should have fixed this problem.
Support LuxCoreRender project with salts and bounties

marcatore
Donor
Donor
Posts: 327
Joined: Wed Jan 10, 2018 8:04 am

Re: [SOLVED] OpenCL crash - blendLuxCore build 25th October

Post by marcatore » Mon Oct 28, 2019 9:20 am

yes. Confirmed.
Download today build and it's fine.

Post Reply