LuxCoreRender / BlendLuxCore

Blender Integration for LuxCore
GNU General Public License v3.0
740 stars 92 forks source link

Setting a light group to clear volume emission crashes blender during render initialization #217

Closed FarbigeWelt closed 6 years ago

FarbigeWelt commented 6 years ago

System Information

Win 10 Pro., 32 GB, AMD R9 290x, R9 390x

Software Version

Blender 2.79b LuxCoreRender 2.1 alpha 4

Error message from Blender console

Start blender from command line otherwise you miss the message because of blender crash after pressing F12

C:\Program Files\Blender Foundation\Blender>blender
Read prefs: C:\Users\Michael\AppData\Roaming\Blender Foundation\Blender\2.79\config\userpref.blend
found bundled python: C:\Program Files\Blender Foundation\Blender\2.79\python
cmolcore imported with success! v1.01
pyluxcore version: 2.1alpha4
archipack: ready
archimesh: Imported multifiles
Running updater reg
modular_tree updater verbose is enabled
modular_tree Updater: Read in json settings from file
Updating OpenCL device list
Read blend: T:\_Render Art\Scenes\Test Lamp Groups,  2.1 alpha 4.blend
==================================================
[Engine/Final] Rendering layer "RenderLayer"
[Exporter] Creating session
[SDL][236.532] Camera type: perspective
[SDL][236.547] Camera position: Point[4.66654, -6.50764, 3.1849]
[SDL][236.547] Camera target: Point[4.12998, -5.75561, 2.80209]
[SDL][236.547] Camera clipping plane disabled
[SDL][236.594] Volume definition: 2498040176120
[SDL][236.594] Volume definition: 2498040177976
[SDL][236.594] Material definition: Surface_Material_2498297140136
[Test Lamp Groups,  2.1 alpha 4.blend.zip](https://github.com/LuxCoreRender/BlendLuxCore/files/2430412/Test.Lamp.Groups.2.1.alpha.4.blend.zip)

[SDL][236.594] Scene objects count: 1
[SDL][236.594] Light definition: Lamp_Lamp__014_2498299164184
[SDL][236.594] Light definition: Lamp_Lamp__013_2498299187992
[SDL][236.594] Light definition: Lamp_Lamp__012_2498299179064
[SDL][236.594] Light definition: Lamp_Lamp__011_2498299182040
[SDL][236.594] Light definition: Lamp_Lamp__010_2498299177576
[SDL][236.594] Light definition: Lamp_Lamp__009_2498299167160
[SDL][236.594] Light definition: Lamp_Lamp__008_2498299180552
[SDL][236.594] Light definition: Lamp_Lamp__007_2498299174600
[SDL][236.594] Light definition: Lamp_Lamp__006_2498299158232
[SDL][236.594] Light definition: Lamp_Lamp__005_2498299186504
[SDL][236.594] Light definition: Lamp_Lamp__004_2498284783880
[SDL][236.594] Light definition: Lamp_Lamp__003_2498293085640
[SDL][236.594] Light definition: Lamp_Lamp__002_2498293076712
[SDL][236.610] Light definition: Lamp_Lamp__001_2498293084152
[SDL][236.610] Light definition: Lamp_Lamp_2498293081176
[SDL][236.610] Light definition: __WORLD_BACKGROUND_LIGHT__
[LuxCore][236.625] Configuration:
[LuxCore][236.625]   path.pathdepth.total = 7
[LuxCore][236.625]   path.pathdepth.diffuse = 5
[LuxCore][236.625]   path.pathdepth.glossy = 5
[LuxCore][236.625]   path.pathdepth.specular = 6
[LuxCore][236.625]   sampler.sobol.adaptive.strength = 0.69999998807907104
[LuxCore][236.625]   sampler.random.adaptive.strength = 0.69999998807907104
[LuxCore][236.625]   sampler.metropolis.largesteprate = 0.40000000000000002
[LuxCore][236.625]   sampler.metropolis.maxconsecutivereject = 512
[LuxCore][236.625]   sampler.metropolis.imagemutationrate = 0.10000000000000001
[LuxCore][236.625]   film.opencl.enable = 1
[LuxCore][236.625]   film.filter.type = "BLACKMANHARRIS"
[LuxCore][236.625]   film.width = 960
[LuxCore][236.625]   sampler.type = "SOBOL"
[LuxCore][236.625]   scene.epsilon.max = 0.10000000149011612
[LuxCore][236.625]   film.filter.width = 1.5
[LuxCore][236.625]   lightstrategy.type = "LOG_POWER"
[LuxCore][236.625]   film.height = 540
[LuxCore][236.625]   scene.epsilon.min = 9.9999997473787516e-06
[LuxCore][236.625]   renderengine.type = "PATHCPU"
[LuxCore][236.625]   path.forceblackbackground.enable = 0
[LuxCore][236.625]   renderengine.seed = 1
[LuxCore][236.625]   film.outputs.0.type = "RGB_IMAGEPIPELINE"
[LuxCore][236.625]   film.outputs.0.index = 0
[LuxCore][236.625]   film.outputs.0.filename = "RGB_IMAGEPIPELINE_0.png"
[LuxCore][236.625]   film.outputs.1.type = "RGB_IMAGEPIPELINE"
[LuxCore][236.625]   film.outputs.1.index = 1
[LuxCore][236.625]   film.outputs.1.filename = "RGB_IMAGEPIPELINE_1.png"
[LuxCore][236.625]   film.outputs.2.type = "RGB_IMAGEPIPELINE"
[LuxCore][236.625]   film.outputs.2.index = 2
[LuxCore][236.625]   film.outputs.2.filename = "RGB_IMAGEPIPELINE_2.png"
[LuxCore][236.625]   film.outputs.3.type = "RGB_IMAGEPIPELINE"
[LuxCore][236.625]   film.outputs.3.index = 3
[LuxCore][236.625]   film.outputs.3.filename = "RGB_IMAGEPIPELINE_3.png"
[LuxCore][236.625]   film.outputs.4.type = "RGB_IMAGEPIPELINE"
[LuxCore][236.625]   film.outputs.4.index = 4
[LuxCore][236.641]   film.outputs.4.filename = "RGB_IMAGEPIPELINE_4.png"
[LuxCore][236.641]   film.outputs.5.type = "RGB_IMAGEPIPELINE"
[LuxCore][236.641]   film.outputs.5.index = 5
[LuxCore][236.641]   film.outputs.5.filename = "RGB_IMAGEPIPELINE_5.png"
[LuxCore][236.641]   film.outputs.6.type = "RGB_IMAGEPIPELINE"
[LuxCore][236.641]   film.outputs.6.index = 6
[LuxCore][236.641]   film.outputs.6.filename = "RGB_IMAGEPIPELINE_6.png"
[LuxCore][236.641]   film.outputs.7.type = "RGB_IMAGEPIPELINE"
[LuxCore][236.641]   film.outputs.7.index = 7
[LuxCore][236.641]   film.outputs.7.filename = "RGB_IMAGEPIPELINE_7.png"
[LuxCore][236.641]   film.imagepipelines.1.radiancescales.0.enabled = 1
[LuxCore][236.641]   film.imagepipelines.1.radiancescales.1.enabled = 0
[LuxCore][236.641]   film.imagepipelines.1.radiancescales.2.enabled = 0
[LuxCore][236.641]   film.imagepipelines.1.radiancescales.3.enabled = 0
[LuxCore][236.641]   film.imagepipelines.1.radiancescales.4.enabled = 0
[LuxCore][236.641]   film.imagepipelines.1.radiancescales.5.enabled = 0
[LuxCore][236.641]   film.imagepipelines.1.radiancescales.6.enabled = 0
[LuxCore][236.641]   film.imagepipelines.1.0.type = "NOP"
[LuxCore][236.641]   film.imagepipelines.1.1.type = "TONEMAP_LINEAR"
[LuxCore][236.641]   film.imagepipelines.1.1.scale = 9.9999997473787516e-06
[LuxCore][236.641]   film.imagepipelines.2.radiancescales.0.enabled = 0
[LuxCore][236.641]   film.imagepipelines.2.radiancescales.1.enabled = 1
[LuxCore][236.641]   film.imagepipelines.2.radiancescales.2.enabled = 0
[LuxCore][236.641]   film.imagepipelines.2.radiancescales.3.enabled = 0
[LuxCore][236.641]   film.imagepipelines.2.radiancescales.4.enabled = 0
[LuxCore][236.641]   film.imagepipelines.2.radiancescales.5.enabled = 0
[LuxCore][236.641]   film.imagepipelines.2.radiancescales.6.enabled = 0
[LuxCore][236.641]   film.imagepipelines.2.0.type = "NOP"
[LuxCore][236.641]   film.imagepipelines.2.1.type = "TONEMAP_LINEAR"
[LuxCore][236.641]   film.imagepipelines.2.1.scale = 9.9999997473787516e-06
[LuxCore][236.641]   film.imagepipelines.3.radiancescales.0.enabled = 0
[LuxCore][236.641]   film.imagepipelines.3.radiancescales.1.enabled = 0
[LuxCore][236.641]   film.imagepipelines.3.radiancescales.2.enabled = 1
[LuxCore][236.641]   film.imagepipelines.3.radiancescales.3.enabled = 0
[LuxCore][236.641]   film.imagepipelines.3.radiancescales.4.enabled = 0
[LuxCore][236.641]   film.imagepipelines.3.radiancescales.5.enabled = 0
[LuxCore][236.641]   film.imagepipelines.3.radiancescales.6.enabled = 0
[LuxCore][236.641]   film.imagepipelines.3.0.type = "NOP"
[LuxCore][236.641]   film.imagepipelines.3.1.type = "TONEMAP_LINEAR"
[LuxCore][236.641]   film.imagepipelines.3.1.scale = 9.9999997473787516e-06
[LuxCore][236.657]   film.imagepipelines.4.radiancescales.0.enabled = 0
[LuxCore][236.657]   film.imagepipelines.4.radiancescales.1.enabled = 0
[LuxCore][236.657]   film.imagepipelines.4.radiancescales.2.enabled = 0
[LuxCore][236.657]   film.imagepipelines.4.radiancescales.3.enabled = 1
[LuxCore][236.657]   film.imagepipelines.4.radiancescales.4.enabled = 0
[LuxCore][236.657]   film.imagepipelines.4.radiancescales.5.enabled = 0
[LuxCore][236.657]   film.imagepipelines.4.radiancescales.6.enabled = 0
[LuxCore][236.657]   film.imagepipelines.4.0.type = "NOP"
[LuxCore][236.657]   film.imagepipelines.4.1.type = "TONEMAP_LINEAR"
[LuxCore][236.657]   film.imagepipelines.4.1.scale = 9.9999997473787516e-06
[LuxCore][236.657]   film.imagepipelines.5.radiancescales.0.enabled = 0
[LuxCore][236.657]   film.imagepipelines.5.radiancescales.1.enabled = 0
[LuxCore][236.657]   film.imagepipelines.5.radiancescales.2.enabled = 0
[LuxCore][236.657]   film.imagepipelines.5.radiancescales.3.enabled = 0
[LuxCore][236.657]   film.imagepipelines.5.radiancescales.4.enabled = 1
[LuxCore][236.657]   film.imagepipelines.5.radiancescales.5.enabled = 0
[LuxCore][236.657]   film.imagepipelines.5.radiancescales.6.enabled = 0
[LuxCore][236.657]   film.imagepipelines.5.0.type = "NOP"
[LuxCore][236.657]   film.imagepipelines.5.1.type = "TONEMAP_LINEAR"
[LuxCore][236.657]   film.imagepipelines.5.1.scale = 9.9999997473787516e-06
[LuxCore][236.657]   film.imagepipelines.6.radiancescales.0.enabled = 0
[LuxCore][236.657]   film.imagepipelines.6.radiancescales.1.enabled = 0
[LuxCore][236.657]   film.imagepipelines.6.radiancescales.2.enabled = 0
[LuxCore][236.657]   film.imagepipelines.6.radiancescales.3.enabled = 0
[LuxCore][236.657]   film.imagepipelines.6.radiancescales.4.enabled = 0
[LuxCore][236.657]   film.imagepipelines.6.radiancescales.5.enabled = 1
[LuxCore][236.657]   film.imagepipelines.6.radiancescales.6.enabled = 0
[LuxCore][236.657]   film.imagepipelines.6.0.type = "NOP"
[LuxCore][236.657]   film.imagepipelines.6.1.type = "TONEMAP_LINEAR"
[LuxCore][236.657]   film.imagepipelines.6.1.scale = 9.9999997473787516e-06
[LuxCore][236.657]   film.imagepipelines.7.radiancescales.0.enabled = 0
[LuxCore][236.657]   film.imagepipelines.7.radiancescales.1.enabled = 0
[LuxCore][236.657]   film.imagepipelines.7.radiancescales.2.enabled = 0
[LuxCore][236.657]   film.imagepipelines.7.radiancescales.3.enabled = 0
[LuxCore][236.657]   film.imagepipelines.7.radiancescales.4.enabled = 0
[LuxCore][236.657]   film.imagepipelines.7.radiancescales.5.enabled = 0
[LuxCore][236.657]   film.imagepipelines.7.radiancescales.6.enabled = 1
[LuxCore][236.657]   film.imagepipelines.7.0.type = "NOP"
[LuxCore][236.657]   film.imagepipelines.7.1.type = "TONEMAP_LINEAR"
[LuxCore][236.657]   film.imagepipelines.7.1.scale = 9.9999997473787516e-06
[LuxCore][236.657]   film.imagepipelines.0.0.type = "NOP"
[LuxCore][236.657]   film.imagepipelines.0.1.type = "TONEMAP_LINEAR"
[LuxCore][236.657]   film.imagepipelines.0.1.scale = 9.9999997473787516e-06
[LuxCore][236.657]   film.imagepipelines.0.radiancescales.0.enabled = 1
[LuxCore][236.657]   film.imagepipelines.0.radiancescales.0.globalscale = 1
[LuxCore][236.657]   film.imagepipelines.0.radiancescales.0.rgbscale = 1 1 1
[LuxCore][236.657]   film.imagepipelines.0.radiancescales.1.enabled = 1
[LuxCore][236.657]   film.imagepipelines.0.radiancescales.1.globalscale = 1
[LuxCore][236.657]   film.imagepipelines.0.radiancescales.1.rgbscale = 1 1 1
[LuxCore][236.657]   film.imagepipelines.0.radiancescales.2.enabled = 1
[LuxCore][236.657]   film.imagepipelines.0.radiancescales.2.globalscale = 1
[LuxCore][236.657]   film.imagepipelines.0.radiancescales.2.rgbscale = 1 1 1
[LuxCore][236.657]   film.imagepipelines.0.radiancescales.3.enabled = 1
[LuxCore][236.657]   film.imagepipelines.0.radiancescales.3.globalscale = 1
[LuxCore][236.657]   film.imagepipelines.0.radiancescales.3.rgbscale = 1 1 1
[LuxCore][236.657]   film.imagepipelines.0.radiancescales.4.enabled = 1
[LuxCore][236.657]   film.imagepipelines.0.radiancescales.4.globalscale = 1
[LuxCore][236.657]   film.imagepipelines.0.radiancescales.4.rgbscale = 1 1 1
[LuxCore][236.672]   film.imagepipelines.0.radiancescales.5.enabled = 1
[LuxCore][236.672]   film.imagepipelines.0.radiancescales.5.globalscale = 1
[LuxCore][236.672]   film.imagepipelines.0.radiancescales.5.rgbscale = 1 1 1
[LuxCore][236.672]   film.imagepipelines.0.radiancescales.6.enabled = 1
[LuxCore][236.672]   film.imagepipelines.0.radiancescales.6.globalscale = 1
[LuxCore][236.672]   film.imagepipelines.0.radiancescales.6.rgbscale = 1 1 1
[LuxCore][236.672]   batch.halttime = 0
[LuxCore][236.672]   batch.haltthreshold = 0.0001
[LuxCore][236.672]   batch.haltspp = 0
[LuxCore][236.672]   batch.haltthreshold.stoprendering.enable = 0
Export took 0.1 s
[LuxCore][236.672] Film resolution: 960x540
[SDL][236.672] Film output definition: RGB_IMAGEPIPELINE [image.png]
[SDL][236.672] Image pipeline: film.imagepipelines.0
[SDL][236.672] Image pipeline step 0: NOP
[SDL][236.672] Image pipeline step 1: TONEMAP_LINEAR
[SDL][236.672] Image pipeline: film.imagepipelines.1
[SDL][236.672] Image pipeline step 0: NOP
[SDL][236.672] Image pipeline step 1: TONEMAP_LINEAR
[SDL][236.688] Image pipeline: film.imagepipelines.2
[SDL][236.688] Image pipeline step 0: NOP
[SDL][236.688] Image pipeline step 1: TONEMAP_LINEAR
[SDL][236.688] Image pipeline: film.imagepipelines.3
[SDL][236.688] Image pipeline step 0: NOP
[SDL][236.688] Image pipeline step 1: TONEMAP_LINEAR
[SDL][236.688] Image pipeline: film.imagepipelines.4
[SDL][236.688] Image pipeline step 0: NOP
[SDL][236.688] Image pipeline step 1: TONEMAP_LINEAR
[SDL][236.688] Image pipeline: film.imagepipelines.5
[SDL][236.688] Image pipeline step 0: NOP
[SDL][236.688] Image pipeline step 1: TONEMAP_LINEAR
[SDL][236.688] Image pipeline: film.imagepipelines.6
[SDL][236.688] Image pipeline step 0: NOP
[SDL][236.688] Image pipeline step 1: TONEMAP_LINEAR
[SDL][236.688] Image pipeline: film.imagepipelines.7
[SDL][236.688] Image pipeline step 0: NOP
[SDL][236.688] Image pipeline step 1: TONEMAP_LINEAR
[SDL][236.688] Film output definition: RGB_IMAGEPIPELINE [RGB_IMAGEPIPELINE_0.png]
[SDL][236.688] Film output definition: RGB_IMAGEPIPELINE [RGB_IMAGEPIPELINE_1.png]
[SDL][236.688] Film output definition: RGB_IMAGEPIPELINE [RGB_IMAGEPIPELINE_2.png]
[SDL][236.688] Film output definition: RGB_IMAGEPIPELINE [RGB_IMAGEPIPELINE_3.png]
[SDL][236.688] Film output definition: RGB_IMAGEPIPELINE [RGB_IMAGEPIPELINE_4.png]
[SDL][236.688] Film output definition: RGB_IMAGEPIPELINE [RGB_IMAGEPIPELINE_5.png]
[SDL][236.688] Film output definition: RGB_IMAGEPIPELINE [RGB_IMAGEPIPELINE_6.png]
[SDL][236.688] Film output definition: RGB_IMAGEPIPELINE [RGB_IMAGEPIPELINE_7.png]
[LuxRays][236.688] OpenCL Platform 0: Advanced Micro Devices, Inc.
[LuxRays][236.688] Device 0 name: NativeThread
[LuxRays][236.688] Device 0 type: NATIVE_THREAD
[LuxRays][236.688] Device 0 compute units: 1
[LuxRays][236.688] Device 0 preferred float vector width: 4
[LuxRays][236.688] Device 0 max allocable memory: 0MBytes
[LuxRays][236.688] Device 0 max allocable memory block size: 0MBytes
[LuxRays][236.688] Device 1 name: Hawaii
[LuxRays][236.688] Device 1 type: OPENCL_GPU
[LuxRays][236.688] Device 1 compute units: 40
[LuxRays][236.703] Device 1 preferred float vector width: 1
[LuxRays][236.703] Device 1 max allocable memory: 8192MBytes
[LuxRays][236.703] Device 1 max allocable memory block size: 4048MBytes
[LuxRays][236.703] Device 2 name: Hawaii
[LuxRays][236.703] Device 2 type: OPENCL_GPU
[LuxRays][236.703] Device 2 compute units: 40
[LuxRays][236.703] Device 2 preferred float vector width: 1
[LuxRays][236.703] Device 2 max allocable memory: 4096MBytes
[LuxRays][236.703] Device 2 max allocable memory block size: 3264MBytes
[LuxRays][236.703] Device 3 name: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
[LuxRays][236.703] Device 3 type: OPENCL_CPU
[LuxRays][236.703] Device 3 compute units: 8
[LuxRays][236.703] Device 3 preferred float vector width: 8
[LuxRays][236.703] Device 3 max allocable memory: 32706MBytes
[LuxRays][236.703] Device 3 max allocable memory block size: 8176MBytes
[LuxRays][236.703] Creating 8 intersection device(s)
[LuxRays][236.703] Allocating intersection device 0: NativeThread (Type = NATIVE_THREAD)
[LuxRays][236.703] Allocating intersection device 1: NativeThread (Type = NATIVE_THREAD)
[LuxRays][236.703] Allocating intersection device 2: NativeThread (Type = NATIVE_THREAD)
[LuxRays][236.703] Allocating intersection device 3: NativeThread (Type = NATIVE_THREAD)
[LuxRays][236.703] Allocating intersection device 4: NativeThread (Type = NATIVE_THREAD)
[LuxRays][236.703] Allocating intersection device 5: NativeThread (Type = NATIVE_THREAD)
[LuxRays][236.703] Allocating intersection device 6: NativeThread (Type = NATIVE_THREAD)
[LuxRays][236.703] Allocating intersection device 7: NativeThread (Type = NATIVE_THREAD)
[LuxCore][236.703] Configuring 8 CPU render threads
[LuxRays][236.703] Preprocessing DataSet
[LuxRays][236.703] Total vertex count: 24
[LuxRays][236.703] Total triangle count: 12
[LuxRays][236.703] Preprocessing DataSet done
[LuxRays][236.703] Adding DataSet accelerator: EMBREE
[LuxRays][236.703] Total vertex count: 24
[LuxRays][236.703] Total triangle count: 12
[LuxRays][236.719] EmbreeAccel build time: 16ms
[LuxCore][236.797] Building visibility map of light source: __WORLD_BACKGROUND_LIGHT__
[LuxCore][236.797] Using 8 threads for visibility map building
Error: EXCEPTION_ACCESS_VIOLATION

Short description of error

If for clear volume emission is used and related to a light group blender crashes after or during visibility map building. This error is very reproducible if several ligt groups are defined and in use.

Exact steps for others to reproduce the error

Download the simple zipped blender file attached, unzip file and load it with blender then start render with F12. (preconditions: blender 2.79 and luxcorerender addon 2.1 alpha 4 are installed and able render correctly other scenes. blender has been started from the command line.)

Please tell us which render engine you used and if it was in OpenCL or CPU mode.

Default settings are defined in test file. But F12 start render crashes blender also with different modes.

Theverat commented 6 years ago

Did you forget the zip file?

FarbigeWelt commented 6 years ago

No, obviously there was an upload issue :) .blend was not accepted then i‘ve uploaded the .zip and it appeared as attachment. I’ll upload it late this evening..

FarbigeWelt commented 6 years ago

Test Lamp Groups, 2.1 alpha 4.blend.zip

Theverat commented 6 years ago

Hm, I can't reproduce the problem on Linux.

Theverat commented 6 years ago

I can not reproduce this problem with latest v2.1beta1 on Windows. It was probably fixed in the meantime. Please reopen the issue if you can still reproduce it.