WARNING: Visibility map is all black ->acceess violation

Use this forum for general user support and related questions.
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Post Reply
User avatar
FarbigeWelt
Donor
Donor
Posts: 1046
Joined: Sun Jul 01, 2018 12:07 pm
Location: Switzerland
Contact:

WARNING: Visibility map is all black ->acceess violation

Post by FarbigeWelt »

May someone have a look at the file. I think I miss something but I cannot help my self here.
Viewport render works well but then run the render with F12 crashes at following line.

Short log

Code: Select all

[LuxCore][76.250] Visibility map done in 1.00 secs with 1000000 samples (1.00M samples/sec)
[LuxCore][76.266] WARNING: Visibility map is all black, reverting to importance sampling
Error: EXCEPTION_ACCESS_VIOLATION
Whole log

Code: Select all

==================================================
[Engine/Final] Rendering layer "RenderLayer"
[Exporter] Creating session
[SDL][57.141] Texture definition: 2680626944840IOR
[SDL][57.141] Volume definition: 2680608444376
[SDL][57.141] Camera type: perspective
[SDL][57.141] Camera position: Point[1.31482, -1.25572, 2.45319]
[SDL][57.141] Camera target: Point[0.552578, -0.670409, 2.1768]
[SDL][57.141] Camera clipping plane disabled
[SDL][62.406] Texture definition: 2680650166808IOR
[SDL][62.406] Texture definition: 2680650325096IOR
[SDL][62.406] Volume definition: 2680608448088
[SDL][62.406] Volume definition: 2680650376904
[SDL][62.406] Material definition: Surface_Air__Bubble_2680648858472
[SDL][62.406] Scene objects count: 1
[Blasen.007] Dupli export took 0.007 s
[SDL][62.406] Texture re-definition: 2680650166808IOR
[SDL][62.453] Texture re-definition: 2680650325096IOR
[SDL][62.453] Volume definition: 2680608448088
[SDL][62.469] Volume definition: 2680650376904
[SDL][62.469] Material re-definition: Surface_Air__Bubble_2680648858472
[SDL][62.469] Scene objects count: 1
[Blasen.006] Dupli export took 0.055 s
[SDL][62.469] Texture re-definition: 2680650166808IOR
[SDL][62.469] Texture re-definition: 2680650325096IOR
[SDL][62.469] Volume definition: 2680608448088
[SDL][62.469] Volume definition: 2680650376904
[SDL][62.469] Material re-definition: Surface_Air__Bubble_2680648858472
[SDL][62.469] Scene objects count: 1
[Blasen.005] Dupli export took 0.005 s
[SDL][62.469] Texture re-definition: 2680650166808IOR
[SDL][62.469] Texture re-definition: 2680650325096IOR
[SDL][62.469] Volume definition: 2680608448088
[SDL][62.469] Volume definition: 2680650376904
[SDL][62.469] Material re-definition: Surface_Air__Bubble_2680648858472
[SDL][62.469] Scene objects count: 1
[Blasen.004] Dupli export took 0.002 s
Unpacking image "Gebuerstet.png.001" to temp file "C:\Users\Michael\AppData\Local\Temp\tmpp1m165jr.png"
Unpacking image "Kacheln.png.001" to temp file "C:\Users\Michael\AppData\Local\Temp\tmpcj536i_0.png"
[SDL][66.110] Texture re-definition: 2680650166808IOR
[SDL][66.110] Texture re-definition: 2680650325096IOR
[SDL][66.110] Volume definition: 2680608448088
[SDL][66.110] Volume definition: 2680650376904
[SDL][66.110] Material re-definition: Surface_Air__Bubble_2680648858472
[SDL][66.125] Scene objects count: 1
[Blasen.001] Dupli export took 0.005 s
[SDL][66.125] Texture re-definition: 2680650166808IOR
[SDL][66.125] Texture re-definition: 2680650325096IOR
[SDL][66.125] Volume definition: 2680608448088
[SDL][66.125] Volume definition: 2680650376904
[SDL][66.125] Material re-definition: Surface_Air__Bubble_2680648858472
[SDL][66.125] Scene objects count: 1
[Blasen.002] Dupli export took 0.000 s
[SDL][66.125] Texture re-definition: 2680650166808IOR
[SDL][66.125] Texture re-definition: 2680650325096IOR
[SDL][66.125] Volume definition: 2680608448088
[SDL][66.125] Volume definition: 2680650376904
[SDL][66.125] Material re-definition: Surface_Air__Bubble_2680648858472
[SDL][66.125] Scene objects count: 1
[Blasen.003] Dupli export took 0.005 s
[SDL][66.172] Texture re-definition: 2680650166808IOR
[SDL][66.219] Texture re-definition: 2680650325096IOR
[SDL][66.219] Volume definition: 2680608448088
[SDL][66.219] Volume definition: 2680650376904
[SDL][66.219] Material re-definition: Surface_Air__Bubble_2680648858472
[SDL][66.219] Scene objects count: 1
[Blasen] Dupli export took 0.090 s
[SDL][71.328] Texture definition: 2680650228200IOR
[SDL][71.328] Texture re-definition: 2680626944840IOR
[SDL][71.328] Texture definition: 2680650287080IOR
[SDL][71.328] Texture definition: 2680650201112IOR
[SDL][71.328] Texture definition: 2680650170776IOR
[SDL][71.328] Texture definition: 2680650202104Color
[SDL][71.328] Texture definition: 2680650328072IOR
[SDL][71.328] Texture definition: 2680650170280IOR
[SDL][71.328] Texture definition: 2680650284104Fresnel
[SDL][71.328] Texture definition: 2680650289064Color
[SDL][71.328] Reading texture map: C:\Users\Michael\AppData\Local\Temp\tmpp1m165jr.png
[SDL][71.344] Texture definition: 2680650285592Bump
[SDL][71.344] Texture definition: 2680650336008Color
[SDL][71.344] Reading texture map: C:\Users\Michael\AppData\Local\Temp\tmpcj536i_0.png
[SDL][71.375] Texture definition: 2680650337000Bump
[SDL][71.375] Texture definition: 2680650282616Fresnel
[SDL][71.375] Texture definition: 2680650168792IOR
[SDL][71.375] Volume definition: 2680650180584
[SDL][71.375] Volume definition: 2680608444376
[SDL][71.375] Volume definition: 2680650175944
[SDL][71.375] Volume definition: 2680650178264
[SDL][71.375] Volume definition: 2680608448552
[SDL][71.375] Volume definition: 2680650375048
[SDL][71.375] Volume definition: 2680650177800
[SDL][71.375] Volume definition: 2680650181048
[SDL][71.375] Volume definition: 2680650181976
[SDL][71.375] Volume definition: 2680608449480
[SDL][71.375] Material definition: Lamp_Area__001_2680608612424_AREA_LIGHT_MAT
[SDL][71.375] Material definition: Surface_Matte__0__000_2680517659736
[SDL][71.375] Material definition: Lamp_Spot__002_2680627206360_AREA_LIGHT_MAT
[SDL][71.375] Material definition: Lamp_Spot__001_2680627201896_AREA_LIGHT_MAT
[SDL][71.375] Material definition: Surface_Material_2680517653528
[SDL][71.375] Material definition: Surface_Glass__Blue_2680648860024
[SDL][71.375] Material definition: Surface_Glass__Wine__001_2680648897512
[SDL][71.375] Material definition: Surface_Glass__Clear__001_2680648877992
[SDL][71.375] Material definition: Surface_Gold_2680517679912
[SDL][71.375] Material definition: Surface_Matte__Blau_2680648922872
[SDL][71.375] Material definition: Surface_Matte__0__7_2680517661288
[SDL][71.375] Material definition: Surface_Gold__002_2680517658184
[SDL][71.375] Material definition: Surface_Glass__Green_2680648895960
[SDL][71.375] Material definition: Lamp_Lamp_2680627133816_AREA_LIGHT_MAT
[SDL][71.375] Material definition: Surface_GlosyTL_2680517678360
[SDL][71.375] The Lamp_Area__001_2680608612424000 object is a light sources with 2 triangles
[SDL][71.375] The Lamp_Spot__002_2680627206360000 object is a light sources with 2 triangles
[SDL][71.375] The Lamp_Spot__001_2680627201896000 object is a light sources with 2 triangles
[SDL][71.375] The Mesh_Star__007_2680627289784000 object is a light sources with 136 triangles
[SDL][71.375] The Mesh_Star__006_2680627286808000 object is a light sources with 136 triangles
[SDL][71.391] The Mesh_Star__005_2680627292760000 object is a light sources with 136 triangles
[SDL][71.391] The Mesh_Star__004_2680627276392000 object is a light sources with 136 triangles
[SDL][71.391] The Mesh_Star__003_2680627291272000 object is a light sources with 136 triangles
[SDL][71.391] The Mesh_Star__002_2680627279368000 object is a light sources with 136 triangles
[SDL][71.391] The Mesh_Star__001_2680627285320000 object is a light sources with 136 triangles
[SDL][71.391] The Mesh_Star__000_2680627288296000 object is a light sources with 136 triangles
[SDL][71.391] The Lamp_Lamp_2680627133816000 object is a light sources with 2 triangles
[SDL][71.391] The Mesh_Star__011_2680627280856000 object is a light sources with 136 triangles
[SDL][71.391] Scene objects count: 32
[SDL][71.391] Light definition: Lamp_Spot__030_2680627283832
[SDL][71.391] Light definition: Lamp_Spot__029_2680627277880
[SDL][71.391] Light definition: Lamp_Spot__028_2680627282344
[SDL][71.391] Light definition: Lamp_Spot__027_2680627248072
[SDL][71.391] Light definition: Lamp_Spot__026_2680627245096
[SDL][71.391] Light definition: Lamp_Spot__025_2680627243608
[SDL][71.391] Light definition: Lamp_Spot__024_2680627239144
[SDL][71.391] Light definition: Lamp_Spot__003_2680627203384
[SDL][71.391] Light definition: Lamp_Spot__011_2680627251048
[SDL][71.391] Light definition: Lamp_Spot__010_2680627237656
[SDL][71.391] Light definition: Lamp_Spot__009_2680627242120
[SDL][71.391] Light definition: Lamp_Spot__008_2680627257000
[SDL][71.391] Light definition: Lamp_Spot__007_2680627255512
[SDL][71.391] Light definition: Lamp_Spot__006_2680627210824
[SDL][71.391] Light definition: Lamp_Spot__005_2680627209336
[SDL][71.391] Light definition: Lamp_Spot__004_2680627207848
[SDL][71.391] Light definition: Lamp_Spot_2680627198920
[SDL][71.391] Light definition: __WORLD_BACKGROUND_LIGHT__
WARNING: The scene contains a lot of light sources (1250), performance might suffer
[LuxCore][71.391] Configuration:
[LuxCore][71.391]   light.maxdepth = 12
[LuxCore][71.391]   path.maxdepth = 12
[LuxCore][71.391]   film.noiseestimation.warmup = 16
[LuxCore][71.391]   film.noiseestimation.step = 32
[LuxCore][71.391]   sampler.sobol.adaptive.strength = 0.94999998807907104
[LuxCore][71.391]   sampler.random.adaptive.strength = 0.94999998807907104
[LuxCore][71.391]   sampler.metropolis.largesteprate = 0.75
[LuxCore][71.391]   sampler.metropolis.maxconsecutivereject = 4096
[LuxCore][71.391]   sampler.metropolis.imagemutationrate = 0.050000000000000003
[LuxCore][71.391]   film.height = 2700
[LuxCore][71.391]   lightstrategy.type = "LOG_POWER"
[LuxCore][71.406]   renderengine.type = "BIDIRCPU"
[LuxCore][71.406]   scene.epsilon.max = 0.10000000149011612
[LuxCore][71.406]   film.filter.type = "NONE"
[LuxCore][71.406]   film.width = 2700
[LuxCore][71.406]   film.filter.width = 1.5
[LuxCore][71.406]   scene.epsilon.min = 9.9999997473787516e-06
[LuxCore][71.406]   sampler.type = "METROPOLIS"
[LuxCore][71.406]   film.opencl.enable = 0
[LuxCore][71.406]   path.clamping.variance.maxvalue = 2.000999927520752
[LuxCore][71.406]   path.forceblackbackground.enable = 0
[LuxCore][71.406]   native.threads.count = 7
[LuxCore][71.406]   renderengine.seed = 1
[LuxCore][71.406]   film.outputs.0.type = "RGB_IMAGEPIPELINE"
[LuxCore][71.406]   film.outputs.0.index = 0
[LuxCore][71.406]   film.outputs.0.filename = "RGB_IMAGEPIPELINE_0.png"
[LuxCore][71.406]   film.outputs.1.type = "ALBEDO"
[LuxCore][71.406]   film.outputs.1.filename = "ALBEDO.exr"
[LuxCore][71.406]   film.outputs.2.type = "AVG_SHADING_NORMAL"
[LuxCore][71.406]   film.outputs.2.filename = "AVG_SHADING_NORMAL.exr"
[LuxCore][71.406]   film.outputs.3.type = "RGB_IMAGEPIPELINE"
[LuxCore][71.406]   film.outputs.3.index = 1
[LuxCore][71.406]   film.outputs.3.filename = "RGB_IMAGEPIPELINE_1.png"
[LuxCore][71.406]   film.imagepipelines.1.0.type = "INTEL_OIDN"
[LuxCore][71.406]   film.imagepipelines.1.1.type = "NOP"
[LuxCore][71.406]   film.imagepipelines.1.2.type = "TONEMAP_REINHARD02"
[LuxCore][71.406]   film.imagepipelines.1.2.prescale = 0.016000000759959221
[LuxCore][71.406]   film.imagepipelines.1.2.postscale = 6
[LuxCore][71.406]   film.imagepipelines.1.2.burn = 6
[LuxCore][71.406]   film.imagepipelines.1.radiancescales.0.enabled = 1
[LuxCore][71.406]   film.imagepipelines.1.radiancescales.0.globalscale = 1
[LuxCore][71.406]   film.imagepipelines.1.radiancescales.0.rgbscale = 1 1 1
[LuxCore][71.406]   film.imagepipelines.0.0.type = "NOP"
[LuxCore][71.406]   film.imagepipelines.0.1.type = "TONEMAP_REINHARD02"
[LuxCore][71.406]   film.imagepipelines.0.1.prescale = 0.016000000759959221
[LuxCore][71.406]   film.imagepipelines.0.1.postscale = 6
[LuxCore][71.406]   film.imagepipelines.0.1.burn = 6
[LuxCore][71.406]   film.imagepipelines.0.radiancescales.0.enabled = 1
[LuxCore][71.406]   film.imagepipelines.0.radiancescales.0.globalscale = 1
[LuxCore][71.422]   film.imagepipelines.0.radiancescales.0.rgbscale = 1 1 1
[LuxCore][71.422]   batch.halttime = 0
[LuxCore][71.422]   batch.haltspp = 900
[LuxCore][71.422] File Name Resolver Configuration:
Export took 14.3 s
[LuxCore][71.422] Film resolution: 2700x2700
[SDL][71.422] Film output definition: RGB_IMAGEPIPELINE [image.png]
[SDL][71.422] Image pipeline: film.imagepipelines.0
[SDL][71.422] Image pipeline step 0: NOP
[SDL][71.422] Image pipeline step 1: TONEMAP_REINHARD02
[SDL][71.422] Image pipeline: film.imagepipelines.1
[SDL][71.422] Image pipeline step 0: INTEL_OIDN
[SDL][71.422] Image pipeline step 1: NOP
[SDL][71.422] Image pipeline step 2: TONEMAP_REINHARD02
[SDL][71.422] Film output definition: RGB_IMAGEPIPELINE [RGB_IMAGEPIPELINE_0.png]
[SDL][71.422] Film output definition: ALBEDO [ALBEDO.exr]
[SDL][71.422] Film output definition: AVG_SHADING_NORMAL [AVG_SHADING_NORMAL.exr]
[SDL][71.422] Film output definition: RGB_IMAGEPIPELINE [RGB_IMAGEPIPELINE_1.png]
[LuxRays][71.453] OpenCL Platform 0: Advanced Micro Devices, Inc.
[LuxRays][71.453] Device 0 name: NativeThread
[LuxRays][71.453] Device 0 type: NATIVE_THREAD
[LuxRays][71.453] Device 0 compute units: 1
[LuxRays][71.453] Device 0 preferred float vector width: 4
[LuxRays][71.453] Device 0 max allocable memory: 0MBytes
[LuxRays][71.453] Device 0 max allocable memory block size: 0MBytes
[LuxRays][71.453] Device 1 name: Hawaii
[LuxRays][71.453] Device 1 type: OPENCL_GPU
[LuxRays][71.453] Device 1 compute units: 40
[LuxRays][71.453] Device 1 preferred float vector width: 1
[LuxRays][71.453] Device 1 max allocable memory: 8192MBytes
[LuxRays][71.453] Device 1 max allocable memory block size: 4048MBytes
[LuxRays][71.453] Device 2 name: Hawaii
[LuxRays][71.453] Device 2 type: OPENCL_GPU
[LuxRays][71.453] Device 2 compute units: 40
[LuxRays][71.453] Device 2 preferred float vector width: 1
[LuxRays][71.453] Device 2 max allocable memory: 4096MBytes
[LuxRays][71.453] Device 2 max allocable memory block size: 3264MBytes
[LuxRays][71.453] Creating 7 intersection device(s)
[LuxRays][71.453] Allocating intersection device 0: NativeThread (Type = NATIVE_THREAD)
[LuxRays][71.453] Allocating intersection device 1: NativeThread (Type = NATIVE_THREAD)
[LuxRays][71.453] Allocating intersection device 2: NativeThread (Type = NATIVE_THREAD)
[LuxRays][71.453] Allocating intersection device 3: NativeThread (Type = NATIVE_THREAD)
[LuxRays][71.469] Allocating intersection device 4: NativeThread (Type = NATIVE_THREAD)
[LuxRays][71.469] Allocating intersection device 5: NativeThread (Type = NATIVE_THREAD)
[LuxRays][71.469] Allocating intersection device 6: NativeThread (Type = NATIVE_THREAD)
[LuxCore][71.469] Configuring 7 CPU render threads
[LuxRays][71.469] Preprocessing DataSet
[LuxRays][71.469] Total vertex count: 15370174
[LuxRays][71.469] Total triangle count: 19732794
[LuxRays][71.485] Preprocessing DataSet done
[LuxRays][71.485] Adding DataSet accelerator: EMBREE
[LuxRays][71.485] Total vertex count: 15370174
[LuxRays][71.485] Total triangle count: 19732794
[LuxRays][75.250] EmbreeAccel build time: 3764ms
[LuxCore][75.250] Building visibility map of light source: __WORLD_BACKGROUND_LIGHT__
[LuxCore][75.250] Using 8 threads for visibility map building
[LuxCore][76.250] Visibility map done in 1.00 secs with 1000000 samples (1.00M samples/sec)
[LuxCore][76.266] WARNING: Visibility map is all black, reverting to importance sampling
Error: EXCEPTION_ACCESS_VIOLATION

C:\Users\Michael\Desktop>
Champagne Bottle_crash_access violation.zip
Light and Word designing Creator - www.farbigewelt.ch - aka quantenkristall || #luxcorerender
MacBook Air with M1
kintuX
Posts: 810
Joined: Wed Jan 10, 2018 2:37 am

Re: WARNING: Visibility map is all black ->acceess violation

Post by kintuX »

Properties > World (Env. Light) is set to HDRI without texture!
;)
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: WARNING: Visibility map is all black ->acceess violation

Post by B.Y.O.B. »

Thank you for the report.
Are you using the very latest daily build? https://github.com/LuxCoreRender/LuxCor ... tag/latest
It might have been already fixed (I had a similar case recently).
Properties > World (Env. Light) is set to HDRI without texture!
That is not a problem, it will behave the same as if "Flat Color" was selected.
kintuX
Posts: 810
Joined: Wed Jan 10, 2018 2:37 am

Re: WARNING: Visibility map is all black ->acceess violation

Post by kintuX »

B.Y.O.B. wrote: Sat Jun 08, 2019 12:49 pm
Properties > World (Env. Light) is set to HDRI without texture!
That is not a problem, it will behave the same as if "Flat Color" was selected.
With World set to "None" or "HDRI" (as it was set in the file) but with texture, everything was fine.
Just chimed in, of course you sure know more.
PS. using dailies / Windows
Last edited by kintuX on Sat Jun 08, 2019 3:59 pm, edited 1 time in total.
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: WARNING: Visibility map is all black ->acceess violation

Post by B.Y.O.B. »

With a debug build I get the following SIGABRT crash because of a failed assertion:

Code: Select all

[LuxCore][106.024] Visibility map done in 5.71 secs with 1000000 samples (0.18M samples/sec)
[LuxCore][106.028] WARNING: Visibility map is all black, reverting to importance sampling
Session started in 9.9 s
blender: /home/simon/Projekte/luxcore_build/LinuxCompile/LuxCore-opencl/src/slg/engines/bidircpu/bidircputhread.cpp:587: void slg::BiDirCPURenderThread::RenderFunc(): Assertion `SampleResult::IsAllValid(sampleResults)' failed.
Fox
Posts: 437
Joined: Sat Mar 31, 2018 11:17 am

Re: WARNING: Visibility map is all black ->acceess violation

Post by Fox »

I may have had related issue in Luxcore ui.

As with:

Code: Select all

scene.lights.<light source name>.visibilitymapcache.visibility.radius = 0.0
The radius was auto set to 0.14

Now when i do manual value like 0.014
The scene does not load up.
User avatar
FarbigeWelt
Donor
Donor
Posts: 1046
Joined: Sun Jul 01, 2018 12:07 pm
Location: Switzerland
Contact:

Issue fixed with latest build 004d2aa

Post by FarbigeWelt »

As B.Y.O.B. mentioned, the issue I had with the scene is fixed with latest build 004d2aa.
This is fantastic. The developers' team make an unbelievable great job. Thank you very much!
Light and Word designing Creator - www.farbigewelt.ch - aka quantenkristall || #luxcorerender
MacBook Air with M1
Post Reply