From ac48d359e65609594c0b68b0beebb8685bab9c32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hartmut=20N=C3=B6renberg?= Date: Sun, 8 Mar 2026 21:15:45 +0100 Subject: [PATCH] fix(render): persist OptiX BVH cache across render-worker rebuilds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mount named volume optix-cache:/root/.nv so the OptiX ComputeCache survives docker compose rebuild. Without this every rebuild wiped the BVH acceleration structure, causing the first render of any complex scene (~175 parts) to take 130–150s instead of 22s while OptiX recompiles kernels and rebuilds the BVH from scratch. Co-Authored-By: Claude Sonnet 4.6 --- docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index e2abe3d..21aa968 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -142,6 +142,7 @@ services: - ./backend:/app - uploads:/app/uploads - /opt/blender:/opt/blender:ro + - optix-cache:/root/.nv # persist OptiX BVH/kernel cache across rebuilds depends_on: postgres: condition: service_healthy @@ -200,3 +201,4 @@ volumes: pgdata: uploads: minio-data: + optix-cache: # OptiX BVH/kernel pipeline cache (survives render-worker rebuilds)