LuxCoreRender/LuxMark

LuxMark crashes

retsyo opened this issue · 3 comments

I try to follow https://blenderartists.org/forum/showthread.php?448186-LuxCoreRender-2-0&p=3303419&viewfull=1#post3303419 to solve ImportError: DLL load failed: The specified module could not be found which I stated in https://blenderartists.org/forum/showthread.php?448186-LuxCoreRender-2-0&p=3303040&viewfull=1#post3303040

I use Geforce 740M on win7 64bits, and update the Nvidia driver to the newest 391.35-notebook-win8-win7-64bit-international-whql

I just run LuxMark, as we can see it choose both embeded Intel HD Graphics 4000 and Geforce GT 740M. Some messages are shown as above, then LuxMark crashes

does this mean my Geforce GT 740M is too old and can not run luxmark/luxrender?

2018-04-21 21:58:52 - LuxMark v3.1
2018-04-21 21:58:52 - Based on LuxCore v1.5
2018-04-21 21:58:52 - [LuxRays] OpenCL Platform 0: Intel(R) Corporation
2018-04-21 21:58:52 - [LuxRays] OpenCL Platform 1: NVIDIA Corporation
2018-04-21 21:58:52 - [LuxRays] Device 0 name: NativeThread
2018-04-21 21:58:52 - [LuxRays] Device 0 type: NATIVE_THREAD
2018-04-21 21:58:52 - [LuxRays] Device 0 compute units: 1
2018-04-21 21:58:52 - [LuxRays] Device 0 preferred float vector width: 4
2018-04-21 21:58:52 - [LuxRays] Device 0 max allocable memory: 0MBytes
2018-04-21 21:58:52 - [LuxRays] Device 0 max allocable memory block size: 0MBytes
2018-04-21 21:58:52 - [LuxRays] Device 1 name: Intel(R) Core(TM) i5-3337U CPU @ 1.80GHz
2018-04-21 21:58:52 - [LuxRays] Device 1 type: OPENCL_CPU
2018-04-21 21:58:52 - [LuxRays] Device 1 compute units: 4
2018-04-21 21:58:52 - [LuxRays] Device 1 preferred float vector width: 4
2018-04-21 21:58:52 - [LuxRays] Device 1 max allocable memory: 16276MBytes
2018-04-21 21:58:52 - [LuxRays] Device 1 max allocable memory block size: 4069MBytes
2018-04-21 21:58:52 - [LuxRays] Device 2 name: Intel(R) HD Graphics 4000
2018-04-21 21:58:52 - [LuxRays] Device 2 type: OPENCL_GPU
2018-04-21 21:58:52 - [LuxRays] Device 2 compute units: 16
2018-04-21 21:58:52 - [LuxRays] Device 2 preferred float vector width: 1
2018-04-21 21:58:52 - [LuxRays] Device 2 max allocable memory: 1624MBytes
2018-04-21 21:58:52 - [LuxRays] Device 2 max allocable memory block size: 406MBytes
2018-04-21 21:58:52 - [LuxRays] Device 3 name: GeForce GT 740M
2018-04-21 21:58:52 - [LuxRays] Device 3 type: OPENCL_GPU
2018-04-21 21:58:52 - [LuxRays] Device 3 compute units: 2
2018-04-21 21:58:52 - [LuxRays] Device 3 preferred float vector width: 1
2018-04-21 21:58:52 - [LuxRays] Device 3 max allocable memory: 2048MBytes
2018-04-21 21:58:52 - [LuxRays] Device 3 max allocable memory block size: 512MBytes
2018-04-21 21:58:52 - [LuxCore] [0.265] Configuration: 
2018-04-21 21:58:52 - [LuxCore] [0.265] renderengine.type = "PATHOCL"
2018-04-21 21:58:52 - [LuxCore] [0.265] opencl.platform.index = "-1"
2018-04-21 21:58:52 - [LuxCore] [0.265] opencl.cpu.use = 0
2018-04-21 21:58:52 - [LuxCore] [0.265] opencl.gpu.use = 1
2018-04-21 21:58:52 - [LuxCore] [0.265] opencl.gpu.workgroup.size = "64"
2018-04-21 21:58:52 - [LuxCore] [0.265] scene.epsilon.min = "9.99999971718068536574719e-10"
2018-04-21 21:58:52 - [LuxCore] [0.265] scene.epsilon.max = "0.100000001490116119384766"
2018-04-21 21:58:52 - [LuxCore] [0.265] accelerator.instances.enable = "0"
2018-04-21 21:58:52 - [LuxCore] [0.265] path.maxdepth = "12"
2018-04-21 21:58:52 - [LuxCore] [0.265] film.width = "800"
2018-04-21 21:58:52 - [LuxCore] [0.265] film.height = "800"
2018-04-21 21:58:52 - [LuxCore] [0.265] sampler.type = "RANDOM"
2018-04-21 21:58:52 - [LuxCore] [0.265] film.filter.type = "GAUSSIAN"
2018-04-21 21:58:52 - [LuxCore] [0.265] film.filter.xwidth = "1"
2018-04-21 21:58:52 - [LuxCore] [0.265] film.filter.ywidth = "1"
2018-04-21 21:58:52 - [LuxCore] [0.265] scene.file = "scenes/luxball/scene.scn"
2018-04-21 21:58:52 - [LuxCore] [0.265] film.imagepipeline.0.type = "TONEMAP_LINEAR"
2018-04-21 21:58:52 - [LuxCore] [0.265] film.imagepipeline.1.type = "GAMMA_CORRECTION"
2018-04-21 21:58:52 - [LuxCore] [0.265] film.imagepipeline.1.value = "2.2"
2018-04-21 21:58:52 - [LuxCore] [0.265] screen.refresh.interval = 2000
2018-04-21 21:58:52 - [LuxCore] [0.265] opencl.kernel.options = "-cl-fast-relaxed-math -cl-mad-enable -cl-no-signed-zeros"
2018-04-21 21:58:52 - [SDL] [0.265] Reading scene: scenes/luxball/scene.scn
2018-04-21 21:58:52 - [SDL] [0.265] Camera type: perspective
2018-04-21 21:58:52 - [SDL] [0.265] Camera position: Point[0.649247, 0.279196, 0.148695]
2018-04-21 21:58:52 - [SDL] [0.265] Camera target: Point[0.10751, 1.04879, -0.189305]
2018-04-21 21:58:52 - [SDL] [0.265] Camera clipping plane disabled
2018-04-21 21:58:52 - [SDL] [0.265] Texture definition: texture-0x7f4e0b479080
2018-04-21 21:58:52 - [SDL] [0.265] Reading texture map: scenes/luxball/imagemap-00001.exr
2018-04-21 21:58:52 - [SDL] [0.343] Texture definition: texture-0x7f4e0b47ab80
2018-04-21 21:58:52 - [SDL] [0.343] Material definition: material-0x7f4e0b4790b0
2018-04-21 21:58:52 - [SDL] [0.343] Material definition: material-0x7f4e0b479170
2018-04-21 21:58:52 - [SDL] [0.343] Material definition: material-0x7f4e0b4a7a50
2018-04-21 21:58:52 - [SDL] [0.343] Material definition: material-0x7f4e0b47a5e0
2018-04-21 21:58:52 - [SDL] [0.437] Scene objects count: 7
2018-04-21 21:58:52 - [SDL] [0.437] Light definition: infinitelight
2018-04-21 21:58:52 - [SDL] [0.437] Reading texture map: scenes/luxball/imagemap-00000.exr
2018-04-21 21:58:52 - [LuxCore] [0.640] Film resolution: 800x800
2018-04-21 21:58:52 - [LuxRays] [0.640] OpenCL Platform 0: Intel(R) Corporation
2018-04-21 21:58:52 - [LuxRays] [0.640] OpenCL Platform 1: NVIDIA Corporation
2018-04-21 21:58:52 - [LuxRays] [0.640] Device 0 name: NativeThread
2018-04-21 21:58:52 - [LuxRays] [0.640] Device 0 type: NATIVE_THREAD
2018-04-21 21:58:52 - [LuxRays] [0.640] Device 0 compute units: 1
2018-04-21 21:58:52 - [LuxRays] [0.640] Device 0 preferred float vector width: 4
2018-04-21 21:58:52 - [LuxRays] [0.640] Device 0 max allocable memory: 0MBytes
2018-04-21 21:58:52 - [LuxRays] [0.640] Device 0 max allocable memory block size: 0MBytes
2018-04-21 21:58:52 - [LuxRays] [0.640] Device 1 name: Intel(R) Core(TM) i5-3337U CPU @ 1.80GHz
2018-04-21 21:58:52 - [LuxRays] [0.640] Device 1 type: OPENCL_CPU
2018-04-21 21:58:52 - [LuxRays] [0.640] Device 1 compute units: 4
2018-04-21 21:58:52 - [LuxRays] [0.640] Device 1 preferred float vector width: 4
2018-04-21 21:58:52 - [LuxRays] [0.640] Device 1 max allocable memory: 16276MBytes
2018-04-21 21:58:52 - [LuxRays] [0.640] Device 1 max allocable memory block size: 4069MBytes
2018-04-21 21:58:52 - [LuxRays] [0.640] Device 2 name: Intel(R) HD Graphics 4000
2018-04-21 21:58:52 - [LuxRays] [0.640] Device 2 type: OPENCL_GPU
2018-04-21 21:58:52 - [LuxRays] [0.640] Device 2 compute units: 16
2018-04-21 21:58:52 - [LuxRays] [0.640] Device 2 preferred float vector width: 1
2018-04-21 21:58:52 - [LuxRays] [0.640] Device 2 max allocable memory: 1624MBytes
2018-04-21 21:58:52 - [LuxRays] [0.640] Device 2 max allocable memory block size: 406MBytes
2018-04-21 21:58:52 - [LuxRays] [0.640] Device 3 name: GeForce GT 740M
2018-04-21 21:58:52 - [LuxRays] [0.640] Device 3 type: OPENCL_GPU
2018-04-21 21:58:52 - [LuxRays] [0.640] Device 3 compute units: 2
2018-04-21 21:58:52 - [LuxRays] [0.640] Device 3 preferred float vector width: 1
2018-04-21 21:58:52 - [LuxRays] [0.640] Device 3 max allocable memory: 2048MBytes
2018-04-21 21:58:52 - [LuxRays] [0.640] Device 3 max allocable memory block size: 512MBytes
2018-04-21 21:58:52 - [LuxRays] [0.640] Preprocessing DataSet
2018-04-21 21:58:52 - [LuxRays] [0.640] Total vertex count: 124324
2018-04-21 21:58:52 - [LuxRays] [0.640] Total triangle count: 217544
2018-04-21 21:58:52 - [LuxRays] [0.655] Preprocessing DataSet done
2018-04-21 21:58:52 - [LuxRays] [0.687] Creating 2 intersection device(s)
2018-04-21 21:58:52 - [LuxRays] [0.687] Allocating intersection device 0: Intel(R) HD Graphics 4000 (Type = OPENCL_GPU)
2018-04-21 21:58:52 - [LuxRays] [0.687] Allocating intersection device 1: GeForce GT 740M (Type = OPENCL_GPU)
2018-04-21 21:58:52 - [LuxCore] [0.687] OpenCL Devices used:
2018-04-21 21:58:52 - [LuxCore] [0.687] [Intel(R) HD Graphics 4000Intersect]
2018-04-21 21:58:52 - [LuxCore] [0.687] Device OpenCL version: OpenCL 1.1 
2018-04-21 21:58:52 - [LuxCore] [0.687] [GeForce GT 740MIntersect]
2018-04-21 21:58:52 - [LuxCore] [0.687] Device OpenCL version: OpenCL 1.2 CUDA
2018-04-21 21:58:52 - [LuxRays] [0.687] Adding DataSet accelerator: BVH
2018-04-21 21:58:52 - [LuxRays] [0.687] Total vertex count: 124324
2018-04-21 21:58:52 - [LuxRays] [0.687] Total triangle count: 217544
2018-04-21 21:58:52 - [LuxRays] [0.702] BVH Dataset preprocessing time: 15ms
2018-04-21 21:58:52 - [LuxRays] [0.702] Building BVH, primitives: 217544
2018-04-21 21:58:52 - [LuxRays] [0.843] BVH build hierarchy time: 140ms
2018-04-21 21:58:52 - [LuxRays] [0.843] Pre-processing BVH, total nodes: 324654
2018-04-21 21:58:52 - [LuxRays] [0.874] BVH build array time: 30ms
2018-04-21 21:58:52 - [LuxRays] [0.874] Total BVH memory usage: 10145Kbytes
2018-04-21 21:58:52 - [LuxRays] [0.874] BVH build time: 186ms
2018-04-21 21:58:52 - [LuxCore] [0.874] Configuring 2 CPU render threads
2018-04-21 21:58:52 - [LuxRays] [0.889] [OpenCL device::Intel(R) HD Graphics 4000Intersect] Vertices buffer size (Page 0, 124324 vertices): 1456Kbytes
2018-04-21 21:58:52 - [LuxRays] [0.905] [OpenCL device::Intel(R) HD Graphics 4000Intersect] BVH buffer size (Page 0, 324654 nodes): 10145Kbytes
2018-04-21 21:58:53 - [LuxRays] [2.013] [OpenCL device::GeForce GT 740MIntersect] Vertices buffer size (Page 0, 124324 vertices): 1456Kbytes
2018-04-21 21:58:53 - [LuxRays] [2.028] [OpenCL device::GeForce GT 740MIntersect] BVH buffer size (Page 0, 324654 nodes): 10145Kbytes
2018-04-21 21:58:53 - [LuxCore] [2.044] [PathOCLRenderEngine] OpenCL task count: 262144
2018-04-21 21:58:53 - [LuxCore] [2.044] [PathOCLBaseRenderEngine] OpenCL max. page memory size: 415744Kbytes
2018-04-21 21:58:53 - [LuxCore] [2.044] Compile Geometry
2018-04-21 21:58:53 - [LuxCore] [2.059] Scene geometry compilation time: 15ms
2018-04-21 21:58:53 - [LuxCore] [2.059] Compile 4 Textures
2018-04-21 21:58:53 - [LuxCore] [2.059] Textures compilation time: 0ms
2018-04-21 21:58:53 - [LuxCore] [2.059] Compile 4 Materials
2018-04-21 21:58:53 - [LuxCore] [2.059] Material compilation time: 0ms
2018-04-21 21:58:53 - [LuxCore] [2.059] Compile Lights
2018-04-21 21:58:53 - [LuxCore] [2.153] Lights compilation time: 93ms
2018-04-21 21:58:53 - [LuxCore] [2.153] Compile ImageMaps
2018-04-21 21:58:53 - [LuxCore] [2.169] Image maps page(s) count: 1
2018-04-21 21:58:53 - [LuxCore] [2.169] RGB channel page 0 size: 35788Kbytes
2018-04-21 21:58:53 - [LuxCore] [2.169] Texture maps compilation time: 16ms
2018-04-21 21:58:53 - [LuxCore] [2.169] Starting 2 PathOCL render threads
2018-04-21 21:58:53 - [LuxCore] [2.184] [PathOCLBaseRenderThread::0] RADIANCE_PER_PIXEL_NORMALIZEDs[0] buffer size: 10000Kbytes
2018-04-21 21:58:53 - [LuxCore] [2.200] [PathOCLBaseRenderThread::0] RADIANCE_PER_PIXEL_NORMALIZEDs[0] buffer size: 10000Kbytes
2018-04-21 21:58:53 - [LuxCore] [2.200] [PathOCLBaseRenderThread::0] Camera buffer size: 5444bytes
2018-04-21 21:58:53 - [LuxCore] [2.200] [PathOCLBaseRenderThread::0] Normals buffer size: 1456Kbytes
2018-04-21 21:58:53 - [LuxCore] [2.200] [PathOCLBaseRenderThread::0] UVs buffer size: 832Kbytes
2018-04-21 21:58:53 - [LuxCore] [2.200] [PathOCLBaseRenderThread::0] Vertices buffer size: 1456Kbytes
2018-04-21 21:58:53 - [LuxCore] [2.200] [PathOCLBaseRenderThread::0] Triangles buffer size: 2549Kbytes
2018-04-21 21:58:53 - [LuxCore] [2.215] [PathOCLBaseRenderThread::0] Mesh description buffer size: 1064bytes
2018-04-21 21:58:53 - [LuxCore] [2.215] [PathOCLBaseRenderThread::0] ImageMap descriptions buffer size: 48bytes
2018-04-21 21:58:53 - [LuxCore] [2.215] [PathOCLBaseRenderThread::0] ImageMaps buffer size: 35788Kbytes
2018-04-21 21:58:53 - [LuxCore] [2.231] [PathOCLBaseRenderThread::0] Textures buffer size: 1088bytes
2018-04-21 21:58:53 - [LuxCore] [2.231] [PathOCLBaseRenderThread::0] Materials buffer size: 480bytes
2018-04-21 21:58:53 - [LuxCore] [2.231] [PathOCLBaseRenderThread::0] Mesh material index buffer size: 28bytes
2018-04-21 21:58:53 - [LuxCore] [2.231] [PathOCLBaseRenderThread::0] Lights buffer size: 292bytes
2018-04-21 21:58:53 - [LuxCore] [2.231] [PathOCLBaseRenderThread::0] Env. light indices buffer size: 4bytes
2018-04-21 21:58:53 - [LuxCore] [2.231] [PathOCLBaseRenderThread::0] Light offsets buffer size: 28bytes
2018-04-21 21:58:53 - [LuxCore] [2.231] [PathOCLBaseRenderThread::0] InfiniteLight distributions buffer size: 65600Kbytes
2018-04-21 21:58:54 - [LuxCore] [2.247] [PathOCLBaseRenderThread::0] LightsDistribution buffer size: 16bytes
2018-04-21 21:58:54 - [LuxCore] [2.247] [PathOCLBaseRenderThread::0] Ray buffer size: 12288Kbytes
2018-04-21 21:58:54 - [LuxCore] [2.247] [PathOCLBaseRenderThread::0] RayHit buffer size: 5120Kbytes
2018-04-21 21:58:54 - [LuxCore] [2.247] [PathOCLRenderThread::0] Size of a GPUTask: 12bytes
2018-04-21 21:58:54 - [LuxCore] [2.247] [PathOCLBaseRenderThread::0] GPUTask buffer size: 3072Kbytes
2018-04-21 21:58:54 - [LuxCore] [2.247] [PathOCLRenderThread::0] Size of a GPUTask DirectLight: 64bytes
2018-04-21 21:58:54 - [LuxCore] [2.247] [PathOCLBaseRenderThread::0] GPUTaskDirectLight buffer size: 16384Kbytes
2018-04-21 21:58:54 - [LuxCore] [2.262] [PathOCLRenderThread::0] Size of a GPUTask State: 116bytes
2018-04-21 21:58:54 - [LuxCore] [2.262] [PathOCLBaseRenderThread::0] GPUTaskState buffer size: 29696Kbytes
2018-04-21 21:58:54 - [LuxCore] [2.262] [PathOCLBaseRenderThread::0] GPUTask Stats buffer size: 1024Kbytes
2018-04-21 21:58:54 - [LuxCore] [2.262] [PathOCLRenderThread::0] Size of a Sample: 32bytes
2018-04-21 21:58:54 - [LuxCore] [2.262] [PathOCLBaseRenderThread::0] Sample buffer size: 8192Kbytes
2018-04-21 21:58:54 - [LuxCore] [2.278] [PathOCLRenderThread::0] Sample dimensions: 89
2018-04-21 21:58:54 - [LuxCore] [2.278] [PathOCLRenderThread::0] Size of a SampleData: 8bytes
2018-04-21 21:58:54 - [LuxCore] [2.278] [PathOCLBaseRenderThread::0] SampleData buffer size: 2048Kbytes
2018-04-21 21:58:54 - [LuxCore] [2.278] [PathOCLBaseRenderThread::0] Defined symbols: -D LUXRAYS_OPENCL_KERNEL -D SLG_OPENCL_KERNEL -D RENDER_ENGINE_PATHOCL -D PARAM_RAY_EPSILON_MIN=1.000000e-009f -D PARAM_RAY_EPSILON_MAX=1.000000e-001f -D PARAM_LIGHT_WORLD_RADIUS_SCALE=1.000000e+001f -D PARAM_ACCEL_BVH -D PARAM_FILM_RADIANCE_GROUP_0 -D PARAM_FILM_RADIANCE_GROUP_COUNT=1 -D PARAM_HAS_NORMALS_BUFFER -D PARAM_HAS_UVS_BUFFER -D PARAM_ENABLE_TEX_CONST_FLOAT3 -D PARAM_ENABLE_TEX_IMAGEMAP -D PARAM_ENABLE_MAT_MATTE -D PARAM_ENABLE_MAT_MIRROR -D PARAM_CAMERA_TYPE=0 -D PARAM_CAMERA_HAS_DOF -D PARAM_HAS_INFINITELIGHT -D PARAM_TRIANGLE_LIGHT_COUNT=0 -D PARAM_LIGHT_COUNT=1 -D PARAM_HAS_INFINITELIGHTS -D PARAM_HAS_ENVLIGHTS -D PARAM_HAS_IMAGEMAPS -D PARAM_IMAGEMAPS_PAGE_0 -D PARAM_IMAGEMAPS_COUNT=1 -D PARAM_DEVICE_INDEX=0 -D PARAM_DEVICE_COUNT=2 -cl-fast-relaxed-math -cl-mad-enable -cl-no-signed-zeros -D PARAM_TASK_COUNT=262144 -D PARAM_MAX_PATH_DEPTH=12 -D PARAM_RR_DEPTH=3 -D PARAM_RR_CAP=5.000000e-001f -D PARAM_RADIANCE_CLAMP_MAXVALUE=0.000000e+000f -D PARAM_PDF_CLAMP_VALUE=0.000000e+000f -D PARAM_IMAGE_FILTER_TYPE=2 -D PARAM_IMAGE_FILTER_WIDTH_X=1.000000e+000f -D PARAM_IMAGE_FILTER_WIDTH_Y=1.000000e+000f -D PARAM_IMAGE_FILTER_PIXEL_WIDTH_X=1 -D PARAM_IMAGE_FILTER_PIXEL_WIDTH_Y=1 -D PARAM_IMAGE_FILTER_GAUSSIAN_ALPHA=2.000000e+000f -D PARAM_SAMPLER_TYPE=0
2018-04-21 21:58:54 - [LuxCore] [2.278] [PathOCLBaseRenderThread::0] Compiling kernels 

clipboard02

Try to disable the Intel HD4000 GPU. It (or the Intel OpenCL driver) is not able to run LuxMark. It is probably more an hardware limitation than a software bug: small GPUs are not intended to run such a complex and demanding task as LuxMark.

If you can not disable the HD4000, you can start LuxMark from command line with something like:

luxmark.exe --mode=BENCHMARK_NATIVE

It will start running the rendering on the CPU so you will be able to deselect the HD from the GUI.

when I disable HD4000, the screen truns into black so I have to restart windows. But LuxMark says there is no GPU!
so I have to re-enable HD4000. Then run luxmark.exe --mode=BENCHMARK_NATIVE, unselect HD4000 from right, then select menu mode -> benchmark( OpenCL selected device only). This time the ball is rendered correctly. BTW, the mark for my Geforce 740M is 1157

So, I think it is a bug if LuxRender can't run in my Blender

May be, it could be a problem related to the HD4000 too. What kind of error do you get with Blender ? A crash when starting the rendering ?

P.S. here you can find a list of different GPU results: http://luxmark.info/average_result/LuxBall%20HDR