LuxCore: issues, problems, regressions

Discussion related to the implementation of new features & algorithms to the Core Engine.

Moderators: Dade, jromang, tomb, zcott, coordinators

Re: LuxCore: issues, problems, regressions

Postby jensverwiebe » Tue Nov 15, 2016 11:28 am

Jeanphi today changed some code that is c++11 exclusive and i adapted cmake accordingly.

Unfortunately i have now problems with lto in clang 3.9 and had to disable it. Anyway the unique_ptr seems to give
a good speedboost that smoothes my performance lost without lto. TODO

Also we have now: luxlex.cpp:1832:2: warning: 'register' storage class specifier is deprecated and incompatible with C++1z [-Wdeprecated-register]
Something to care about also.

EDIT: with clang3.7 lto works as before, with clang3.9 only with -flto=thin ( the new multithreaded, faster but a bit less effective lto ), so could be a compiler/linker bug.

Jens
User avatar
jensverwiebe
Developer
 
Posts: 3383
Joined: Wed Apr 02, 2008 4:34 pm

Re: LuxCore: issues, problems, regressions

Postby Piita » Sat Jan 28, 2017 3:00 am

Scattering volumes get very bright after a few minutes of rendering. It happens in path and bidir with homo- and heterogeneous volumes using multiscattering. Bidir will also show some black pixels after some time rendering. Using luxcore CPU. Multiscattering disabled seems to render correctly however.
Classic lux bidir as reference. It shows some artifacts too but never mind that. One thing at a time :)

scattering volume bug.rar
(4.52 MiB) Downloaded 49 times


scattering volume luxcore bidir.jpg
luxcore bidir


cattering volume classic lux.jpg
classic lux bidir
User avatar
Piita
 
Posts: 593
Joined: Sat Aug 06, 2011 2:09 pm
Location: Finland

Re: LuxCore: issues, problems, regressions

Postby sharlybg » Tue Jun 27, 2017 1:19 pm

Hi guys ! need your help. I'm expérimenting lot of crashes when i try to render with opencl device ( no matter it cpu or GPU ). here is the console message:

Code: Select all
[LuxRays][43.438] BVH Dataset preprocessing time: 0ms
[LuxRays][43.438] BVH builder: EMBREE_BINNED_SAH
[LuxRays][43.438] BVH build hierarchy time: 0ms
[LuxRays][43.438] BVH total build time: 0ms
[LuxRays][43.438] Total BVH memory usage: 97Kbytes
[LuxRays][43.438] BVH Dataset preprocessing time: 0ms
[LuxRays][43.438] BVH builder: EMBREE_BINNED_SAH
[LuxRays][43.453] BVH build hierarchy time: 15ms
[LuxRays][43.453] BVH total build time: 15ms
[LuxRays][43.453] Total BVH memory usage: 371Kbytes
[LuxRays][43.453] BVH Dataset preprocessing time: 0ms
[LuxRays][43.453] BVH builder: EMBREE_BINNED_SAH
[LuxRays][43.453] BVH build hierarchy time: 0ms
[LuxRays][43.453] BVH total build time: 0ms
[LuxRays][43.453] Total BVH memory usage: 1537Kbytes
[LuxRays][43.469] Building BVH for MBVH leaf: 100186/101009
[LuxRays][43.469] BVH Dataset preprocessing time: 0ms
[LuxRays][43.469] BVH builder: EMBREE_BINNED_SAH
[LuxRays][43.469] BVH build hierarchy time: 0ms
[LuxRays][43.469] BVH total build time: 0ms
[LuxRays][43.469] Total BVH memory usage: 724Kbytes
[LuxRays][43.469] BVH Dataset preprocessing time: 0ms
[LuxRays][43.469] BVH builder: EMBREE_BINNED_SAH
[LuxRays][43.469] BVH build hierarchy time: 0ms
[LuxRays][43.469] BVH total build time: 0ms
[LuxRays][43.469] Total BVH memory usage: 27Kbytes
[LuxRays][43.469] BVH Dataset preprocessing time: 0ms
[LuxRays][43.469] BVH builder: EMBREE_BINNED_SAH
[LuxRays][43.516] BVH build hierarchy time: 47ms
[LuxRays][43.516] BVH total build time: 47ms
[LuxRays][43.516] Total BVH memory usage: 8506Kbytes
[LuxRays][43.516] BVH Dataset preprocessing time: 0ms
[LuxRays][43.516] BVH builder: EMBREE_BINNED_SAH
[LuxRays][43.531] BVH build hierarchy time: 15ms
[LuxRays][43.531] BVH total build time: 15ms
[LuxRays][43.531] Total BVH memory usage: 468Kbytes
[LuxRays][43.531] BVH Dataset preprocessing time: 0ms
[LuxRays][43.531] BVH builder: EMBREE_BINNED_SAH
[LuxRays][43.531] BVH build hierarchy time: 0ms
[LuxRays][43.531] BVH total build time: 0ms
[LuxRays][43.531] Total BVH memory usage: 3Kbytes
[LuxRays][43.531] BVH Dataset preprocessing time: 0ms
[LuxRays][43.531] BVH builder: EMBREE_BINNED_SAH
[LuxRays][43.531] BVH build hierarchy time: 0ms
[LuxRays][43.531] BVH total build time: 0ms
[LuxRays][43.531] Total BVH memory usage: 13Kbytes
[LuxRays][43.531] BVH Dataset preprocessing time: 0ms
[LuxRays][43.531] BVH builder: EMBREE_BINNED_SAH
[LuxRays][43.531] BVH build hierarchy time: 0ms
[LuxRays][43.531] BVH total build time: 0ms
[LuxRays][43.531] Total BVH memory usage: 11Kbytes
[LuxRays][43.531] BVH Dataset preprocessing time: 0ms
[LuxRays][43.531] BVH builder: EMBREE_BINNED_SAH
[LuxRays][43.531] BVH build hierarchy time: 0ms
[LuxRays][43.531] BVH total build time: 0ms
[LuxRays][43.531] Total BVH memory usage: 27Kbytes
[LuxRays][43.531] BVH Dataset preprocessing time: 0ms
[LuxRays][43.531] BVH builder: EMBREE_BINNED_SAH
[LuxRays][43.531] BVH build hierarchy time: 0ms
[LuxRays][43.531] BVH total build time: 0ms
[LuxRays][43.531] Total BVH memory usage: 1Kbytes
[LuxRays][43.531] BVH Dataset preprocessing time: 0ms
[LuxRays][43.531] BVH builder: EMBREE_BINNED_SAH
[LuxRays][43.547] BVH build hierarchy time: 15ms
[LuxRays][43.547] BVH total build time: 15ms
[LuxRays][43.547] Total BVH memory usage: 610Kbytes
[LuxRays][43.547] BVH Dataset preprocessing time: 0ms
[LuxRays][43.547] BVH builder: EMBREE_BINNED_SAH
[LuxRays][43.547] BVH build hierarchy time: 0ms
[LuxRays][43.547] BVH total build time: 0ms
[LuxRays][43.547] Total BVH memory usage: 8Kbytes
[LuxRays][43.547] BVH Dataset preprocessing time: 0ms
[LuxRays][43.547] BVH builder: EMBREE_BINNED_SAH
[LuxRays][43.563] BVH build hierarchy time: 16ms
[LuxRays][43.563] BVH total build time: 16ms
[LuxRays][43.563] Total BVH memory usage: 2252Kbytes
[LuxRays][43.563] BVH Dataset preprocessing time: 0ms
[LuxRays][43.563] BVH builder: EMBREE_BINNED_SAH
[LuxRays][43.609] BVH build hierarchy time: 46ms
[LuxRays][43.609] BVH total build time: 46ms
[LuxRays][43.609] Total BVH memory usage: 7794Kbytes
[LuxRays][43.609] BVH Dataset preprocessing time: 0ms
[LuxRays][43.609] BVH builder: EMBREE_BINNED_SAH
[LuxRays][43.609] BVH build hierarchy time: 0ms
[LuxRays][43.609] BVH total build time: 0ms
[LuxRays][43.609] Total BVH memory usage: 20Kbytes
[LuxRays][43.609] BVH Dataset preprocessing time: 0ms
[LuxRays][43.609] BVH builder: EMBREE_BINNED_SAH
[LuxRays][43.609] BVH build hierarchy time: 0ms
[LuxRays][43.609] BVH total build time: 0ms
[LuxRays][43.609] Total BVH memory usage: 165Kbytes
[LuxRays][43.609] BVH Dataset preprocessing time: 0ms
[LuxRays][43.609] BVH builder: EMBREE_BINNED_SAH
[LuxRays][43.609] BVH build hierarchy time: 0ms
[LuxRays][43.609] BVH total build time: 0ms
[LuxRays][43.609] Total BVH memory usage: 36Kbytes
[LuxRays][43.609] BVH Dataset preprocessing time: 0ms
[LuxRays][43.609] BVH builder: EMBREE_BINNED_SAH
[LuxRays][43.625] BVH build hierarchy time: 15ms
[LuxRays][43.625] BVH total build time: 15ms
[LuxRays][43.625] Total BVH memory usage: 186Kbytes
[LuxRays][43.625] BVH Dataset preprocessing time: 0ms
[LuxRays][43.625] BVH builder: EMBREE_BINNED_SAH
[LuxRays][43.625] BVH build hierarchy time: 0ms
[LuxRays][43.625] BVH total build time: 0ms
[LuxRays][43.625] Total BVH memory usage: 36Kbytes
[LuxRays][43.625] BVH Dataset preprocessing time: 0ms
[LuxRays][43.625] BVH builder: EMBREE_BINNED_SAH
[LuxRays][43.625] BVH build hierarchy time: 0ms
[LuxRays][43.625] BVH total build time: 0ms
[LuxRays][43.625] Total BVH memory usage: 20Kbytes
[LuxRays][43.625] BVH Dataset preprocessing time: 0ms
[LuxRays][43.625] BVH builder: EMBREE_BINNED_SAH
[LuxRays][43.625] BVH build hierarchy time: 0ms
[LuxRays][43.625] BVH total build time: 0ms
[LuxRays][43.625] Total BVH memory usage: 15Kbytes
[LuxRays][43.625] BVH Dataset preprocessing time: 0ms
[LuxRays][43.625] BVH builder: EMBREE_BINNED_SAH
[LuxRays][43.625] BVH build hierarchy time: 0ms
[LuxRays][43.625] BVH total build time: 0ms
[LuxRays][43.625] Total BVH memory usage: 165Kbytes
[LuxRays][43.625] BVH Dataset preprocessing time: 0ms
[LuxRays][43.625] BVH builder: EMBREE_BINNED_SAH
[LuxRays][43.625] BVH build hierarchy time: 0ms
[LuxRays][43.625] BVH total build time: 0ms
[LuxRays][43.625] Total BVH memory usage: 20Kbytes
[LuxRays][43.625] BVH Dataset preprocessing time: 0ms
[LuxRays][43.625] BVH builder: EMBREE_BINNED_SAH
[LuxRays][43.641] BVH build hierarchy time: 16ms
[LuxRays][43.641] BVH total build time: 16ms
[LuxRays][43.641] Total BVH memory usage: 20Kbytes
[LuxRays][43.641] BVH Dataset preprocessing time: 0ms
[LuxRays][43.641] BVH builder: EMBREE_BINNED_SAH
[LuxRays][43.641] BVH build hierarchy time: 0ms
[LuxRays][43.641] BVH total build time: 0ms
[LuxRays][43.641] Total BVH memory usage: 15Kbytes
[LuxRays][43.641] BVH Dataset preprocessing time: 0ms
[LuxRays][43.641] BVH builder: EMBREE_BINNED_SAH
[LuxRays][43.641] BVH build hierarchy time: 0ms
[LuxRays][43.641] BVH total build time: 0ms
[LuxRays][43.641] Total BVH memory usage: 165Kbytes
[LuxRays][43.641] BVH Dataset preprocessing time: 0ms
[LuxRays][43.641] BVH builder: EMBREE_BINNED_SAH
[LuxRays][43.641] BVH build hierarchy time: 0ms
[LuxRays][43.641] BVH total build time: 0ms
[LuxRays][43.641] Total BVH memory usage: 20Kbytes
[LuxRays][43.641] BVH Dataset preprocessing time: 0ms
[LuxRays][43.641] BVH builder: EMBREE_BINNED_SAH
[LuxRays][43.641] BVH build hierarchy time: 0ms
[LuxRays][43.641] BVH total build time: 0ms
[LuxRays][43.641] Total BVH memory usage: 15Kbytes
[LuxRays][43.641] BVH Dataset preprocessing time: 0ms
[LuxRays][43.641] BVH builder: EMBREE_BINNED_SAH
[LuxRays][43.641] BVH build hierarchy time: 0ms
[LuxRays][43.641] BVH total build time: 0ms
[LuxRays][43.641] Total BVH memory usage: 165Kbytes
[LuxRays][43.641] BVH Dataset preprocessing time: 0ms
[LuxRays][43.656] BVH builder: EMBREE_BINNED_SAH
[LuxRays][43.656] BVH build hierarchy time: 0ms
[LuxRays][43.656] BVH total build time: 15ms
[LuxRays][43.656] Total BVH memory usage: 40Kbytes
[LuxRays][43.656] BVH Dataset preprocessing time: 0ms
[LuxRays][43.656] BVH builder: EMBREE_BINNED_SAH
[LuxRays][43.656] BVH build hierarchy time: 0ms
[LuxRays][43.656] BVH total build time: 0ms
[LuxRays][43.656] Total BVH memory usage: 843Kbytes
[LuxRays][43.656] BVH Dataset preprocessing time: 0ms
[LuxRays][43.656] BVH builder: EMBREE_BINNED_SAH
[LuxRays][43.656] BVH build hierarchy time: 0ms
[LuxRays][43.656] BVH total build time: 0ms
[LuxRays][43.656] Total BVH memory usage: 20Kbytes
[LuxRays][43.656] BVH Dataset preprocessing time: 0ms
[LuxRays][43.656] BVH builder: EMBREE_BINNED_SAH
[LuxRays][43.656] BVH build hierarchy time: 0ms
[LuxRays][43.656] BVH total build time: 0ms
[LuxRays][43.656] Total BVH memory usage: 164Kbytes
[LuxRays][43.656] BVH Dataset preprocessing time: 0ms
[LuxRays][43.656] BVH builder: EMBREE_BINNED_SAH
[LuxRays][43.672] BVH build hierarchy time: 15ms
[LuxRays][43.672] BVH total build time: 15ms
[LuxRays][43.672] Total BVH memory usage: 20Kbytes
[LuxRays][43.672] BVH Dataset preprocessing time: 0ms
[LuxRays][43.672] BVH builder: EMBREE_BINNED_SAH
[LuxRays][43.672] BVH build hierarchy time: 0ms
[LuxRays][43.672] BVH total build time: 0ms
[LuxRays][43.672] Total BVH memory usage: 80Kbytes
[LuxRays][43.672] BVH Dataset preprocessing time: 0ms
[LuxRays][43.672] BVH builder: EMBREE_BINNED_SAH
[LuxRays][43.672] BVH build hierarchy time: 0ms
[LuxRays][43.672] BVH total build time: 0ms
[LuxRays][43.672] Total BVH memory usage: 401Kbytes
[LuxRays][43.672] Building Multilevel Bounding Volume Hierarchy root tree
[LuxRays][43.672] MBVH root tree builder: EMBREE_BINNED_SAH
[LuxRays][43.719] MBVH build time: 2265ms
[LuxRays][43.719] Total Multilevel BVH memory usage: 274538Kbytes
[LuxCore][43.719] Configuring 2 CPU render threads
[Lux 2017-Jun-27 19:46:43] Starting the rendering process...
[LuxRays][43.922] [Device Hawaii Intersect] MBVH mesh vertices buffer size: 58702Kbytes
[LuxRays][44.125] [Device Hawaii Intersect] MBVH nodes buffer size: 274538Kbytes
[LuxRays][44.234] [Device Hawaii Intersect] MBVH leaf transformations buffer size: 6303Kbytes
[LuxRays][44.484] [Device Hawaii Intersect] MBVH mesh vertices buffer size: 58702Kbytes
[LuxRays][44.703] [Device Hawaii Intersect] MBVH nodes buffer size: 274538Kbytes
[LuxRays][44.797] [Device Hawaii Intersect] MBVH leaf transformations buffer size: 6303Kbytes
[LuxCore][44.875] [PathOCLRenderEngine] OpenCL task count: 524288
[LuxCore][44.875] [PathOCLBaseRenderEngine] OpenCL max. page memory size: 4145152Kbytes
[LuxCore][44.875] Compile Geometry
[LuxCore][45.141] Scene geometry compilation time: 266ms
[LuxCore][45.141] Compile 184 Textures
[LuxCore][45.141] Textures compilation time: 0ms
[LuxCore][45.141] Compile 134 Materials
[LuxCore][45.141] Material compilation time: 0ms
[LuxCore][45.156] Compile Lights
[LuxCore][45.313] Lights compilation time: 156ms
[LuxCore][45.313] Compile ImageMaps
[LuxCore][45.391] Image maps page(s) count: 1
[LuxCore][45.391]  RGB channel page 0 size: 218012Kbytes
[LuxCore][45.391] Texture maps compilation time: 77ms
[LuxCore][45.391] Always enabled OpenCL code:
[LuxCore][45.391] Compile Geometry
[LuxCore][45.469] Scene geometry compilation time: 77ms
[LuxCore][45.469] Compile 184 Textures
[LuxCore][45.469] Textures compilation time: 0ms
[LuxCore][45.484] Compile 134 Materials
[LuxCore][45.484] Material compilation time: 0ms
[LuxCore][45.484] Compile Lights
[LuxCore][45.609] Lights compilation time: 125ms
[LuxCore][45.609] Compile ImageMaps
[LuxCore][45.703] Image maps page(s) count: 1
[LuxCore][45.703]  RGB channel page 0 size: 218012Kbytes
[LuxCore][45.703] Texture maps compilation time: 78ms
[LuxCore][45.703] Starting 2 PathOCL render threads
[LuxRays][45.734] [Device Hawaii Intersect] RADIANCE_PER_PIXEL_NORMALIZEDs[0] buffer size: 25110Kbytes
[LuxRays][45.750] [Device Hawaii Intersect] RADIANCE_PER_PIXEL_NORMALIZEDs[0] buffer size: 25110Kbytes
[LuxRays][45.750] [Device Hawaii Intersect] Camera buffer size: 5444bytes
[LuxRays][45.750] [Device Hawaii Intersect] Normals buffer size: 58701Kbytes
[LuxRays][45.766] [Device Hawaii Intersect] UVs buffer size: 38253Kbytes
[LuxRays][45.781] [Device Hawaii Intersect] Colors buffer size: 127Kbytes
[LuxRays][45.781] [Device Hawaii Intersect] Vertices buffer size: 58702Kbytes
[LuxRays][45.797] [Device Hawaii Intersect] Triangles buffer size: 50293Kbytes
[LuxRays][45.813] [Device Hawaii Intersect] Mesh description buffer size: 14993Kbytes
[LuxRays][45.813] [Device Hawaii Intersect] ImageMap descriptions buffer size: 144bytes
[LuxRays][45.813] [Device Hawaii Intersect] ImageMaps buffer size: 218012Kbytes
[LuxRays][45.859] [Device Hawaii Intersect] Textures buffer size: 48Kbytes
[LuxRays][45.875] [Device Hawaii Intersect] Materials buffer size: 17Kbytes
[LuxRays][45.875] [Device Hawaii Intersect] Scene objects buffer size: 789Kbytes
[LuxRays][45.875] [Device Hawaii Intersect] Lights buffer size: 698Kbytes
[LuxRays][45.875] [Device Hawaii Intersect] Env. light indices buffer size: 4bytes
[LuxRays][45.875] [Device Hawaii Intersect] Light offsets buffer size: 394Kbytes
[LuxRays][45.875] [Device Hawaii Intersect] InfiniteLight distributions buffer size: 135982Kbytes
[LuxRays][45.906] [Device Hawaii Intersect] LightsDistribution buffer size: 17Kbytes
[LuxRays][45.906] [Device Hawaii Intersect] InfiniteLightSourcesDistribution buffer size: 17Kbytes
[LuxRays][45.906] [Device Hawaii Intersect] Ray buffer size: 24576Kbytes
[LuxRays][45.906] [Device Hawaii Intersect] RayHit buffer size: 10240Kbytes
[LuxCore][45.906] [PathOCLStateKernelBaseRenderThread::0] Size of a GPUTask: 356bytes
[LuxRays][45.906] [Device Hawaii Intersect] GPUTask buffer size: 182272Kbytes
[LuxCore][45.906] [PathOCLStateKernelBaseRenderThread::0] Size of a GPUTask DirectLight: 72bytes
[LuxRays][45.906] [Device Hawaii Intersect] GPUTaskDirectLight buffer size: 36864Kbytes
[LuxCore][45.906] [PathOCLStateKernelBaseRenderThread::0] Size of a GPUTask State: 232bytes
[LuxRays][45.906] [Device Hawaii Intersect] GPUTaskState buffer size: 118784Kbytes
[LuxRays][45.906] [Device Hawaii Intersect] GPUTask Stats buffer size: 2048Kbytes
[LuxCore][45.906] [PathOCLStateKernelBaseRenderThread::0] Size of a Sample: 116bytes
[LuxRays][45.906] [Device Hawaii Intersect] Sample buffer size: 59392Kbytes
[LuxCore][45.906] [PathOCLStateKernelBaseRenderThread::0] Sample dimensions: 87
[LuxCore][45.922] [PathOCLStateKernelBaseRenderThread::0] Size of a SampleData: 696bytes
[LuxRays][45.922] [Device Hawaii Intersect] SampleData buffer size: 356352Kbytes
[LuxRays][45.922] [Device Hawaii Intersect] PathVolumeInfo buffer size: 22528Kbytes
[LuxRays][45.922] [Device Hawaii Intersect] DirectLightVolumeInfo buffer size: 22528Kbytes
[LuxRays][45.922] [Device Hawaii Intersect] Pixel Filter Distribution buffer size: 132Kbytes
Error: EXCEPTION_ACCESS_VIOLATION

F:\blender soft\blender-2.78c-windows64>
i7 6700k + 32 Gb DDR4 + 2X R9 390 sapphir nitro.
User avatar
sharlybg
 
Posts: 648
Joined: Tue Nov 02, 2010 10:22 am
Location: Ivory coast

Re: LuxCore: issues, problems, regressions

Postby Dade » Wed Jun 28, 2017 10:35 am

sharlybg wrote:Hi guys ! need your help. I'm expérimenting lot of crashes when i try to render with opencl device ( no matter it cpu or GPU ). here is the console message:


It is hard to say without having a test scene, you seem to have a lot of instances and the problem may be related to that aspect of the scene (i.e. disabling instances support may be a work around to the problem).
User avatar
Dade
Developer
 
Posts: 8312
Joined: Sat Apr 19, 2008 6:04 pm
Location: Italy

Previous

Return to Architecture & Design

Who is online

Users browsing this forum: No registered users and 1 guest