Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Luxcore crashes with renderengine.type=FILESAVER and visibility map #61

Closed
neo2068 opened this issue Feb 9, 2018 · 1 comment
Closed
Assignees
Labels

Comments

@neo2068
Copy link
Member

neo2068 commented Feb 9, 2018

Under windows Luxcore crashes if the renderengine.type = FILESAVER and it tries to create a visibility map.
To reproduce the error export a scene with a light source which support visibility map in LuxCoreUI or select 'Only write LuxCore scene' in BlendLuxCore and hit F12. blender exits with EXCEPTION_ACCESS_VIOLATION. LuxcoreUI crashes during 'Building visibility map...'

Export current scene to file in binary format: C:\tmp\test
[SDL][46.171] Saving serialized mesh: room-nowall.ply
[SDL][46.171] Saving serialized mesh: luxball-inner.ply
[SDL][46.203] Saving serialized mesh: luxball-text.ply
[SDL][46.203] Saving serialized mesh: luxball-shell.ply
[SDL][46.468] Saving serialized mesh: blacktext.ply
[SDL][46.781] Saving serialized image map: ../simple-mat/sky.exr
[LuxCore][47.546] Render configuration saved: 5712 Kbytes
[LuxCore][49.281] Convergence test first pass
Export current scene to directory in text format: C:\tmp\texttest
[LuxCore][60.375] [GeForce GTX 1080 Intersect] Memory used for OpenCL image pipeline: 20552Kbytes
[SDL][60.406] Camera type: perspective
[SDL][60.406] Camera position: Point[1.1, -2.1, 1]
[SDL][60.406] Camera target: Point[0, 0, 0.4]
[SDL][60.406] Camera clipping plane disabled
Film size adjusted: 960x540 (Frame buffer size: 960x540)
[LuxCore][60.406] Film resolution: 960x540
[SDL][60.406] Film output definition: RGB_IMAGEPIPELINE [image.png]
[SDL][60.421] Image pipeline: film.imagepipeline
[SDL][60.421] Image pipeline step 0: TONEMAP_LINEAR
[SDL][60.421] Image pipeline step 1: GAMMA_CORRECTION
[SDL][60.421] Film output definition: RGB_TONEMAPPED [luxball_RGB_TONEMAPPED.png]
[LuxRays][60.437] OpenCL Platform 0: NVIDIA Corporation
[LuxRays][60.437] OpenCL Platform 1: Intel(R) Corporation
[LuxRays][60.437] OpenCL Platform 2: Advanced Micro Devices, Inc.
[LuxRays][60.437] Device 0 name: NativeThread
[LuxRays][60.437] Device 0 type: NATIVE_THREAD
[LuxRays][60.453] Device 0 compute units: 1
[LuxRays][60.453] Device 0 preferred float vector width: 4
[LuxRays][60.453] Device 0 max allocable memory: 0MBytes
[LuxRays][60.453] Device 0 max allocable memory block size: 0MBytes
[LuxRays][60.453] Device 1 name: GeForce GTX 1080
[LuxRays][60.453] Device 1 type: OPENCL_GPU
[LuxRays][60.468] Device 1 compute units: 20
[LuxRays][60.468] Device 1 preferred float vector width: 1
[LuxRays][60.468] Device 1 max allocable memory: 8192MBytes
[LuxRays][60.468] Device 1 max allocable memory block size: 2048MBytes
[LuxRays][60.468] Device 2 name: GeForce GTX 780
[LuxRays][60.468] Device 2 type: OPENCL_GPU
[LuxRays][60.468] Device 2 compute units: 12
[LuxRays][60.468] Device 2 preferred float vector width: 1
[LuxRays][60.484] Device 2 max allocable memory: 3072MBytes
[LuxRays][60.484] Device 2 max allocable memory block size: 768MBytes
[LuxRays][60.484] Device 3 name: Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz
[LuxRays][60.500] Device 3 type: OPENCL_CPU
[LuxRays][60.500] Device 3 compute units: 12
[LuxRays][60.500] Device 3 preferred float vector width: 8
[LuxRays][60.500] Device 3 max allocable memory: 32668MBytes
[LuxRays][60.500] Device 3 max allocable memory block size: 8167MBytes
[LuxRays][60.515] Device 4 name: Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz
[LuxRays][60.515] Device 4 type: OPENCL_CPU
[LuxRays][60.515] Device 4 compute units: 12
[LuxRays][60.515] Device 4 preferred float vector width: 8
[LuxRays][60.515] Device 4 max allocable memory: 32668MBytes
[LuxRays][60.515] Device 4 max allocable memory block size: 8167MBytes
[LuxRays][60.531] Preprocessing DataSet
[LuxRays][60.531] Total vertex count: 223352
[LuxRays][60.531] Total triangle count: 260780
[LuxRays][60.531] Preprocessing DataSet done
[LuxCore][60.609] Building visibility map of light source: infinitelight
[LuxCore][69.328] Visibility samples: 0/1000000 (0%)

=> Crash

@neo2068 neo2068 added the bug label Feb 9, 2018
@Dade916 Dade916 self-assigned this Feb 9, 2018
@Dade916 Dade916 added this to To Do in LuxCoreRender v2.0 via automation Feb 9, 2018
@Dade916
Copy link
Member

Dade916 commented Feb 9, 2018

I should have fixed the problem.

@Dade916 Dade916 closed this as completed Feb 12, 2018
LuxCoreRender v2.0 automation moved this from To Do to Done Feb 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Development

No branches or pull requests

2 participants