Compacted BVH sizes error.

Please note: Should you experience issues with Enscape or your subscription, and in case of any urgent inquiries/questions (e.g. regarding our upcoming licensing changes) please reach out to our dedicated support team via the Help Center or Support button as detailed here.
  • We have a Revit file that is throwing this error in the log before it crashes.


    I will say that despite us telling users to no longer store texture images to the network drives while they WFH, they still do. Which makes for long load times rather than having them store the textures local to a BIM360 folder. Is this a timeout error on Enscape's part for a too long to load texture? There is also a ray traced shadows log file in blue towards the bottom. It's not a error or warning, but are they maxing out on ray traced shadows?


    9-18 14:47:22.158 7ce0 [INFO] Downscaled texture: xxxxxxxx\Seamless stone texture.jpg - cat(2) from (1500,1500) to (1024,1024)

    9-18 14:49:08.015 370c [ERROR] Timeout when waiting for high priority tasks.

    9-18 14:49:08.015 370c [WARN] High priority meshlet unwrapping timed out.

    9-18 14:49:08.704 370c [INFO] Use a maximum of 648.51 MiB as scratch memory during BVH build (out of 3.17 GiB available).

    9-18 14:49:10.509 370c [ERROR] Querying compacted BVH sizes failed.

    9-18 14:49:10.509 370c [ERROR] Querying compacted BVH sizes returned zero for substructure 3787.

    9-18 14:49:10.509 370c [ERROR] Querying compacted BVH sizes returned zero for substructure 3788.

    9-18 14:49:10.509 370c [ERROR] Querying compacted BVH sizes returned zero for substructure 3789

    (then it does a bunch more of these returned zero for substructure xxxx)

    9-18 14:49:10.530 7c3c [INFO] Last seen Vulkan Checkpoints:

    9-18 14:49:10.530 7c3c [INFO] [GPUMEM] Vk Report for Context loss

    9-18 14:49:10.531 7c3c [INFO] [GPUMEM] Vk MISC used 823.63 MiB (Max: 831.24 MiB): RenderWindow, AuxRenderablesManager, BlueNoiseSampler, CullingManager, Panorama, CudaHelper, MaterialDataManager, ProjectedSurfaceAreaEstimator, AutoExposure, SunShadowsBase, ViewDataManager, Font, BrdfLookupTable, AtmosphereRenderer, GIPathSpaceFiltering, CubemapManager, CubemapGenerator, RenderInstanceBase, AlphaPass, AuxRenderablesDrawer, FootprintImageRenderer, GPUSelection, DepthNormalCache, Dof, SunGlare, AlphaOcclusionGenerator, GiBvHAttributeBufferCreator, DrawCommandManagerBase, LightManagerBase, LightDataManager, EnscapeNoesisRenderDevice, TiledLightShading,

    9-18 14:49:10.531 7c3c [INFO] [GPUMEM] Vk TEXTURE_MANAGER used 386.44 MiB (Max: 386.49 MiB): TextureDataManager, SceneTextureManagementBase,

    9-18 14:49:10.531 7c3c [INFO] [GPUMEM] Vk FRAMEBUFFER used 188.87 MiB (Max: 208.99 MiB): FramebufferManager,

    9-18 14:49:10.531 7c3c [INFO] [GPUMEM] Vk GI used 324.72 MiB (Max: 406.72 MiB): GIBase, ShadowGeneratorDirectionalBase, AccelerationStructureUpdaterBase, Lightmaps_MapletRenderer, MeshletBoundingBoxBvh,

    9-18 14:49:10.531 7c3c [INFO] [GPUMEM] Vk LIGHTMAP used 256.00 MiB (Max: 256.00 MiB): Lightmap,

    9-18 14:49:10.531 7c3c [INFO] [GPUMEM] Vk GEOMETRY used 527.61 MiB (Max: 527.61 MiB): ModelRenderManager, GrassRenderer,

    9-18 14:49:10.531 7c3c [INFO] [GPUMEM] Vk EXECUTOR used 42.40 MiB (Max: 43.03 MiB): VulkanExecutor,

    9-18 14:49:10.531 7c3c [INFO] [GPUMEM] Vk RAY_TRACED_SUN_SHADOWS used 2.01 GiB (Max: 2.01 GiB): BVHArchitect, BVHAttributeBuilderSunShadows, VulkanTriangleBVHBuilder,

    9-18 14:49:10.531 7c3c [INFO] [GPUMEM] Vk Current usage (tracked): 4.50 GiB (Reported: 5.18 GiB) of total 7.09 GiB

    9-18 14:49:10.531 7c3c [INFO] [GPUMEM] Vk Max usage (tracked): 4.50 GiB Max usage (reported): 5.18 GiB

    9-18 14:49:10.531 7c3c [INFO] [GPUMEM] Report by heap:

    9-18 14:49:10.531 7c3c [INFO] [GPUMEM] Heap 0 with flags { DeviceLocal }: Tracked 3.88 GiB, reported 5.18 GiB of total 7.09 GiB.

    9-18 14:49:10.531 7c3c [INFO] [GPUMEM] Tracked usage for memory type 1 with flags { DeviceLocal }: 3.88 GiB

    9-18 14:49:10.531 7c3c [INFO] [GPUMEM] Heap 1 with flags {}: Tracked 634.72 MiB, reported 1.49 GiB of total 15.09 GiB.

    9-18 14:49:10.531 7c3c [INFO] [GPUMEM] Tracked usage for memory type 2 with flags { HostVisible | HostCoherent }: 634.72 MiB

    9-18 14:49:10.531 7c3c [INFO] [GPUMEM] Total Reported: 6.67 GiB. Baseline: 448.70 MiB

    9-18 14:49:10.531 7c3c [INFO] [GPUMEM] Total Reported - Tracked Difference: 2.17 GiB

    9-18 14:49:10.531 7c3c [ERROR] OpenGL/Vulkan context lost: Vulkan Error: vk::Queue::submit: ErrorDeviceLost at queue submit.

    9-18 14:49:10.531 7c3c [INFO] Error kind: RESTART

    9-18 14:50:10.519 66dc [ERROR] Event timed out, timeout of 60000ms expired! Expected 1 wakeups, 0 received.

    9-18 14:50:51.141 a14 [ERROR] Event timed out!

    9-18 14:51:10.532 66dc [ERROR] Event timed out, timeout of 60000ms expired! Expected 1 wakeups, 0 received.

    9-18 14:52:10.536 66dc [ERROR] Event timed out, timeout of 60000ms expired! Expected 1 wakeups, 0 received.

    9-18 14:53:10.544 66dc [ERROR] Event timed out, timeout of 60000ms expired! Expected 1 wakeups, 0 received.

    9-18 14:54:10.553 66dc [ERROR] Event timed out, timeout of 60000ms expired! Expected 1 wakeups, 0 received.

    9-18 14:55:10.558 66dc [ERROR] Event timed out, timeout of 60000ms expired! Expected 1 wakeups, 0 received.

    9-18 14:55:51.146 a14 [ERROR] Event timed out!

    9-18 14:56:10.570 66dc [ERROR] Event timed out, timeout of 60000ms expired! Expected 1 wakeups, 0 received.

    9-18 14:57:10.575 66dc [ERROR] Event timed out, timeout of 60000ms expired! Expected 1 wakeups, 0 received.

    9-18 14:58:10.589 66dc [ERROR] Event timed out, timeout of 60000ms expired! Expected 1 wakeups, 0 received.

    9-18 14:59:10.601 66dc [ERROR] Event timed out, timeout of 60000ms expired! Expected 1 wakeups, 0 received.

    9-18 15:00:10.613 66dc [ERROR] Event timed out, timeout of 60000ms expired! Expected 1 wakeups, 0 received.

    9-18 15:01:10.623 66dc [ERROR] Event timed out, timeout of 60000ms expired! Expected 1 wakeups, 0 received.

    9-18 15:02:10.628 66dc [ERROR] Event timed out, timeout of 60000ms expired! Expected 1 wakeups, 0 received.

    9-18 15:03:10.630 66dc [ERROR] Event timed out, timeout of 60000ms expired! Expected 1 wakeups, 0 received

    • Official Post

    Hi VelvetElvis , this out of memory error and thus crashing can indeed occur when texture images are stored on network drives hence why we also reccomend avoiding that if possible.


    The user could furthermore try to disable Ray Tracing entirely, since I don't know the graphics card used I cannot say for certain if that may help but it should still be worth a try, especially in case the user may actually not have any images store on external network drives. Doing so can free up some further video memory which the graphics card might require (depending on the scene size/complexity as well).


    In the future, please ideally also just submit a feedback report from the machine in question which also allows us to receive all the available machine information and log files, which are usually mandatory in order to resolve any technical issues or reply to such inquiries as quickly as possible.


    Thank you in advance for any further replies.