diff --git a/blender-5.2.0/source/blender/gpu/webgl/webgl_backend.cc b/blender-5.2.0/source/blender/gpu/webgl/webgl_backend.cc index a5325d3d6..81f37590f 100644 --- a/blender-5.2.0/source/blender/gpu/webgl/webgl_backend.cc +++ b/blender-5.2.0/source/blender/gpu/webgl/webgl_backend.cc @@ -591,6 +591,10 @@ class WebGLFrameBuffer : public FrameBuffer { attach_image(GL_DEPTH_ATTACHMENT, GPU_ATTACHMENT_NONE); attach_image(GL_STENCIL_ATTACHMENT, GPU_ATTACHMENT_NONE); glBindFramebuffer(GL_FRAMEBUFFER, 0); + /* bind_transfer() allocates a fresh transfer FBO after this release. + * Zeroing the name without deleting it leaked one framebuffer per + * transfer (every clear/copy/blit/readback), exhausting GPU memory. */ + glDeleteFramebuffers(1, &transfer_id_); transfer_id_ = 0; } return glGetError() == GL_NO_ERROR; diff --git a/docs/status/GPU-VULKAN-CRASH-FIX.md b/docs/status/GPU-VULKAN-CRASH-FIX.md new file mode 100644 index 000000000..1d5813797 --- /dev/null +++ b/docs/status/GPU-VULKAN-CRASH-FIX.md @@ -0,0 +1,50 @@ +# GPU 进程崩溃修复与原生画布冻结(交接记录) + +## 断点 + +- 源码改动已全部落盘:引擎 `webgl_backend.cc`、`web/app/src` 的 compute/canvas 改动、文档。 +- 剩余工作:完整验证矩阵(Vulkan 20 分钟 soak、SwiftShader 10 分钟对照、Clip 28 例)与提交。 + +## 已完成 + +1. **崩溃根因(已修复)**:`WebGLFrameBuffer::release_transfer_images()` 只把 `transfer_id_` + 清零,没有 `glDeleteFramebuffers`,每次 clear/copy/blit/readback 泄漏一个 FBO。 + `?glStats=1` 显示 53 秒空闲交互净增约 1.1 万个 framebuffer(创建 20806 / 删除 9458); + 空闲显存 488 MiB → ~7.7 GiB(约 65 秒)后 GPU 进程被杀 + (`vkCreateSwapchainKHR failed`,exit 133)。 +2. **修复**:`release_transfer_images()` 在清零前调用 + `glDeleteFramebuffers(1, &transfer_id_)`。增量构建 `web_engine` 并用 + `node tools/web/sync-web-engine-runtime.mjs` 同步,产物 SHA-256 + `74736b019744a148cc272607344190c95ee189d11cbd5e9f03b0469505021fc8`。 +3. **修复后证据**:20 分钟 Vulkan 交互 soak 0 次 GPU 进程崩溃 + (`tests/golden/GPU-SOAK-20261205-144451/report.json`,判定 CANVAS_STALL), + 空闲显存稳定在 ~700 MiB。 +4. **画布冻结(既有缺口,已修触发机制)**:约 5 分钟后原生画布的主区域 + (视口/大纲/属性)停止绘出并变空白,页面、合成器、DOM HUD 仍存活;冻结后原生算子 + 仍生效(探针四:点击 `Add Monkey` 后状态栏变为 `Active CUBE · Objects 5`,画布哈希变化), + 说明引擎与呈现仍在,坏在 `wm_draw.cc` 的 Browser region draw buffer 恢复路径。 + 触发机制:操作提示条以流内元素渲染,每次出现/消失都把原生画布在 + `1440x900`/`1440x882` 之间 resize,反复释放/重建 region draw buffer。 + 修复:`WasmGPUCanvas` 的 `grabNotice` / `operationNotice` 改为绝对定位覆盖层,不再占布局。 + A/B:改前同一探针约 5 分钟冻结;改后 12 分钟 222 轮画布区域零冻结。修复后的正式 20 分钟 + Vulkan soak 判 `STABLE`(`tests/golden/GPU-SOAK-20261205-161007/`:351 轮、画布全程存活、 + 0 次 GPU 进程崩溃);SwiftShader 10 分钟对照同样 `STABLE` + (`tests/golden/GPU-SOAK-20261205-162105/`:172 轮、0 崩溃)。 +5. **A2/A3/A4/A5 排查结论**:shader/layout/pipeline 缓存(A2)与 staging 池(A3)保留, + 统计显示 1751 次运行只建 3 条 pipeline、12962 次复用;device-lost 错误码与开发期故障注入 + (`?computeFault=destroy-after-N`)保留,自动重挂载在注入探针中仍为部分完成; + `preserveDrawingBuffer=false`(A5)不稳定,已完整回退并记为排除项。 + +## 残余 + +- Clip 套件 28 例已通过(`tests/golden/CLIP-HEADED-20261205-162214/`,acceptance `NOT_CLAIMED`, + 候选绑定 wasm SHA-256 `74736b01…`)。 +- A4 的 `COMPUTE_DEVICE_LOST` 后自动重挂载仍为部分完成,注入故障的 3 分钟 soak 判 CANVAS_STALL + (该回执早于提示条覆盖层修复)。 +- 选择失败着色器(`overlay_*_selectable`)仍不可构建,属既有缺口,不在本批范围。 + +## 下一动作 + +- 跑 SwiftShader soak 与 Clip 套件并绑定构件哈希。 +- 更新 `docs/web/KNOWN_LIMITATIONS.md`、`docs/web/HEADED-TOOLS.md` 的最终措辞。 +- 提交到 `web/mesh-decimate`,不自动合并。 diff --git a/docs/web/HEADED-TOOLS.md b/docs/web/HEADED-TOOLS.md new file mode 100644 index 000000000..d424ce50f --- /dev/null +++ b/docs/web/HEADED-TOOLS.md @@ -0,0 +1,96 @@ +# 有头浏览器测试工具(`tools/web/headed/`) + +这些工具从「原生桌面画布 GPU 进程崩溃」的排查中沉淀而来,按用途分为 `probe` / `smoke` / `soak` +三类。它们不绑定某一次排查:换任意页面入口、任意 Chrome 参数都能用。 + +与五个 `run-*-headed.mjs` 套件运行器的分工:`run-` 前缀负责编排一条验收流程并出回执; +这里的工具是单点动作,供排查和 soak 使用,也可以被其他脚本 import。 + +## 前置条件 + +- Playwright 从 `web/node_modules` 解析(`lib/browser.mjs` 用 `createRequire` 加载)。 +- 有头采集需要可用的 `DISPLAY`(本机为 `DISPLAY=:1`)。 +- Chrome 解析顺序:`WBV2_CHROME_PATH` → `google-chrome-stable` / `google-chrome` / `chromium` → `which`。 +- 被测来源必须可达;默认 `http://127.0.0.1:5173/`。 +- 对照页由 `lib/serve.mjs` 自带静态服务在 127.0.0.1 拉起(带 COOP/COEP,保证 `SharedArrayBuffer`),不引入新依赖。 + +## 工具一览 + +| 工具 | 作用 | 典型用法 | +| --- | --- | --- | +| `probe/probe-webgpu-flags.mjs` | 参数矩阵探测:每组 flags 各开一次应用,记录 `navigator.gpu`、适配器 vendor/architecture、能否建设备、WebGL2 renderer、引擎侧 WebGPU 报错 | `DISPLAY=:1 node tools/web/headed/probe/probe-webgpu-flags.mjs` | +| `probe/probe-page-state.mjs` | 打开页面读状态:引擎/WASM 状态、原生画布属性、回退提示、canvas 列表、WebGL2 renderer | `DISPLAY=:1 node tools/web/headed/probe/probe-page-state.mjs --url http://127.0.0.1:5173/` | +| `smoke/smoke-headed-boot.mjs` | 启动冒烟:等引擎 ready,断言原生画布/回退提示的期望状态 | `DISPLAY=:1 node tools/web/headed/smoke/smoke-headed-boot.mjs --flags="--enable-unsafe-webgpu" --expect-native true` | +| `smoke/check-canvas-render.mjs` | 原生画布真的画出了东西:适配器存在、画布打开、截图非空 | `DISPLAY=:1 node tools/web/headed/smoke/check-canvas-render.mjs --flags="--enable-unsafe-webgpu"` | +| `soak/soak-interaction.mjs` | 交互 soak:滚轮/拖拽/点击/快捷键循环,监听 Chrome stderr 崩溃行,截图差异做存活判定,可选调用 `__WBV2_GPU_STATS()` | `DISPLAY=:1 node tools/web/headed/soak/soak-interaction.mjs --minutes=10 --flags="--enable-unsafe-webgpu,--enable-features=Vulkan"` | +| `fixtures/webgpu-control/index.html` | 最小 WebGPU 对照页(WGSL compute + render 循环),区分「浏览器/驱动问题」与「应用负载问题」 | 由 soak/探针经 `lib/serve.mjs` 打开 | +| `fixtures/webgpu-control/main.js` | 最小对照页的 WGSL 与循环实现 | 由 `index.html` 引入 | +| `fixtures/webgpu-control/control-combined.html` | WebGL2 渲染 + WebGPU 计算共存对照页(引擎托管模型的最小复刻) | 同上 | + +共享库: + +| 库 | 内容 | +| --- | --- | +| `lib/browser.mjs` | 仓库根/`WEB_DIR` 解析、Playwright 加载、硬件与 SwiftShader 参数表、`resolveChrome()`、`freePort()`、`launchChrome()`(spawn + `--remote-debugging-port` + `connectOverCDP` + stderr 逐行回调 + 确定性关闭)、`normalizeArgs()` | +| `lib/crash-watch.mjs` | Chrome stderr 崩溃模式(`GPU process exited unexpectedly`、`exit_code=133`、`Check failed`、`FATAL`、`ContextResult::kTransientFailure`、`GPU state invalid`)与计数、时间戳 | +| `lib/receipt.mjs` | `tests/golden/-/report.json` 写入(不覆盖、带 `schemaVersion`、`acceptance:"NOT_CLAIMED"`);媒体默认写 `/tmp/-/` | +| `lib/preflight.mjs` | DISPLAY / Chrome / 来源可达性预检 | +| `lib/liveness.mjs` | 截图缓冲哈希与 `snapshot()`,供 soak 判「画布还在变」 | +| `lib/serve.mjs` | 对照页静态服务(127.0.0.1、COOP/COEP) | + +## 共享命令行契约 + +与五个 `run-*-headed.mjs` 对齐: + +| 参数 | 含义 | +| --- | --- | +| `--url ` | 被测来源,默认 `http://127.0.0.1:5173/` | +| `--flags ` | 追加给 Chrome 的参数,逗号分隔;`--name=value` 与 `--name value` 两种写法都接受 | +| `--minutes N` | soak 时长(`soak-interaction`,默认 3) | +| `--expect-native true\|false\|any` | `smoke-headed-boot` 对原生画布的期望 | +| `--expect-fallback true\|false\|any` | `smoke-headed-boot` 对回退提示的期望 | +| `--shots ` | 截图目录(默认 `/tmp/-/`) | +| `--out ` | 回执目录(默认 `tests/golden/-/`) | +| `--json-only` | 完整报告打到 stdout | +| `--help` | 用法 | + +退出码:`0` 通过 / `1` 判定失败(或 soak 非 STABLE)/ `2` 前置条件不满足 / `64` 参数错误。 + +## 回执 + +- 位置:`tests/golden/GPU-PROBE-/`、`tests/golden/HEADED-SMOKE-/`、`tests/golden/GPU-SOAK-/`。 +- 结构:`schemaVersion: 1`、`tool`、`url`、`flags`、`chrome`、`preflight`、`acceptance: "NOT_CLAIMED"` 加各工具自己的字段。 +- 重复运行不会覆盖:每次新时间戳一个目录。 +- 截图与完整 stderr 默认不入库;需要留证时用 `--shots`/`--out` 指到指定位置。 + +## 已验证结论(2026-12-05,Chrome `google-chrome-stable`,NVIDIA RTX 4060,`DISPLAY=:1`) + +参数矩阵(`probe-webgpu-flags.mjs`,回执 `tests/golden/GPU-PROBE-20261205-035922/`): + +| flags | `navigator.gpu` | 适配器 | 建设备 | +| --- | --- | --- | --- | +| 无参数 | 有 | **null** | — | +| `--enable-unsafe-webgpu` | 有 | google / swiftshader | 成功 | +| `--enable-unsafe-webgpu --ignore-gpu-blocklist` | 有 | google / swiftshader | 成功 | +| `--enable-unsafe-webgpu --enable-features=Vulkan` | 有 | nvidia / lovelace | 成功 | +| 同上 + `--use-angle=vulkan` | 有 | nvidia / lovelace | 成功 | + +- 无参数(Chrome 默认)拿不到适配器:应用侧已回退到 Web 业务工具视图并显示提示 + (`data-testid="webgpu-fallback-notice"`)。`smoke-headed-boot.mjs` 两种模式均 PASS:有 flags → 原生画布打开; + 无 flags → 原生画布关闭 + 回退提示出现。 +- 10 分钟交互 soak:SwiftShader 稳定;`--enable-features=Vulkan`(真实 NVIDIA)在约 408 秒出现 + `GPU process exited unexpectedly`,退出码 133;同参数最小 WebGPU 对照页稳定 → 崩溃由引擎负载触发, + 不是浏览器/驱动本身。 +- 根因已定位并修复:`WebGLFrameBuffer::release_transfer_images()` 泄漏 transfer FBO(见 + `docs/web/KNOWN_LIMITATIONS.md`)。修复后 20 分钟 Vulkan soak 为 0 次 GPU 进程崩溃;暴露出的 + `CANVAS_STALL`(约 5 分钟后主区域停绘)已定位为流内状态提示条反复 resize 原生画布、触发 region + draw buffer 重建,提示条改为绝对定位覆盖层后,20 分钟 Vulkan soak 判 `STABLE` + (`tests/golden/GPU-SOAK-20261205-161007/`)。 +- 2 分钟 soak 冒烟:STABLE,33 轮,画布持续刷新,零崩溃行(回执 `tests/golden/GPU-SOAK-20261205-040136/`)。 + +## 新增工具的约定 + +1. 按用途放进 `probe/` / `smoke/` / `soak/`,动词前缀与上表一致。 +2. 复用 `lib/`:启动一律走 `launchChrome()`,参数一律先 `normalizeArgs()`,回执一律走 `writeReceipt()`。 +3. 回执 topic 用大写短横线名(`GPU-PROBE`、`HEADED-SMOKE`、`GPU-SOAK`)。 +4. 写完后在本文件的工具表登记,并运行 `node tools/web/check-headed-tools.mjs` 校验表与磁盘一致。 diff --git a/docs/web/KNOWN_LIMITATIONS.md b/docs/web/KNOWN_LIMITATIONS.md index 67ba32e0c..f43664fc4 100644 --- a/docs/web/KNOWN_LIMITATIONS.md +++ b/docs/web/KNOWN_LIMITATIONS.md @@ -17,10 +17,30 @@ boundary; the legacy `parity-ledger.json` is historical planning data. and is subject to adapter availability and limits. Chromium on Linux exposes no WebGPU adapter by default: launching with `--enable-unsafe-webgpu` selects the SwiftShader adapter, which a 10-minute headed soak kept stable, while the NVIDIA Vulkan path - (`--enable-unsafe-webgpu --enable-features=Vulkan`) rendered but crashed the GPU process - (exit 133) after ~7 minutes of interaction, and a minimal WebGPU control page stayed stable on - the same configuration — so the crash is tied to the engine's WebGPU workload, not to the - machine. A browser without an adapter no longer shows a black canvas: the app probes + (`--enable-unsafe-webgpu --enable-features=Vulkan`) crashed the GPU process (exit 133) after + ~3–7 minutes of interaction before the fix below. A minimal WebGPU control page stayed stable + on the same configuration, so the crash was tied to the engine workload, not to the machine. +- GPU-process crash root cause and fix: `WebGLFrameBuffer::release_transfer_images()` zeroed + `transfer_id_` without calling `glDeleteFramebuffers`, leaking one framebuffer per + clear/copy/blit/readback; `?glStats=1` counted ~11k more framebuffers created than deleted in + 53 s of idle interaction and idle VRAM rose from 488 MiB to ~7.7 GiB in ~65 s before the GPU + process was killed (`vkCreateSwapchainKHR failed`). The method now deletes the transfer + framebuffer before zeroing the name. After the fix idle VRAM stays at ~700 MiB, and with the + canvas-freeze fix below the 20-minute Vulkan interaction soak is `STABLE` + (`tests/golden/GPU-SOAK-20261205-161007/`: 351 rounds, canvas alive throughout, zero + GPU-process crashes). +- Canvas freeze root cause and fix (pre-existing, only visible once the crash was gone): after + ~5 minutes of interaction the native canvas's main regions (viewport, outliner, properties) + stopped drawing and turned blank while the page, compositor and DOM HUD kept running; native + operators still executed and repainted the status bar. The ECMAScript region-recovery path + (`wm_draw.cc`: "Browser region requires redraw" / "Browser region draw buffer is unavailable") + recreates region draw buffers when the surface size changes. The in-flow status notice + (`operationNotice` / `grabNotice`) shrank the canvas from 1440x900 to 1440x882 on every + show/hide, freeing and recreating those buffers on nearly every viewport click. Both notices are + now absolutely positioned overlays that do not participate in layout. A/B: the same 12-minute + interaction probe froze at ~5 minutes before the change and completed 222 rounds with zero + frozen frames after it. +- A browser without an adapter no longer shows a black canvas: the app probes `navigator.gpu.requestAdapter()` at startup, hides the native canvas, shows the Web business-tools view and a dismissible notice instead. diff --git a/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-boxes-settings/clip-boxes-settings.json b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-boxes-settings/clip-boxes-settings.json new file mode 100644 index 000000000..e9355b068 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-boxes-settings/clip-boxes-settings.json @@ -0,0 +1,162 @@ +{ + "clipName": "tripod-motion.avi", + "trackId": "track:0:0", + "frame": 0, + "center": [ + 0.26773643493652344, + 0.6192034482955933 + ], + "patternMin": [ + 0.22773643493652343, + 0.5892034482955932 + ], + "patternMax": [ + 0.3077364349365234, + 0.6492034482955933 + ], + "searchMin": [ + 0.18773643493652342, + 0.5492034482955932 + ], + "searchMax": [ + 0.34773643493652345, + 0.6892034482955933 + ], + "boxed": { + "patternMin": [ + 0.2277364432811737, + 0.5892034769058228 + ], + "patternMax": [ + 0.30773642659187317, + 0.6492034196853638 + ], + "searchMin": [ + 0.18773643672466278, + 0.5492034554481506 + ], + "searchMax": [ + 0.3477364182472229, + 0.6892034411430359 + ] + }, + "writtenSettings": { + "algorithm": 9, + "color": [ + 0.25, + 0.5, + 0.75, + 1 + ], + "framesLimit": 60, + "margin": 20, + "minimumCorrelation": 0.8500000238418579, + "motionModel": 3, + "patternMatch": 1, + "useAlphaPreview": true, + "useBlueChannel": true, + "useCustomColor": true, + "useGrayscalePreview": true, + "useGreenChannel": true, + "useRedChannel": false, + "weight": 0.5, + "weightStab": 0.8999999761581421 + }, + "appliedSettings": [ + { + "algorithm": 9, + "color": [ + 0.25, + 0.5, + 0.75, + 1 + ], + "framesLimit": 60, + "margin": 20, + "minimumCorrelation": 0.699999988079071, + "motionModel": 2, + "patternMatch": 1, + "useAlphaPreview": true, + "useBlueChannel": true, + "useCustomColor": true, + "useGrayscalePreview": true, + "useGreenChannel": true, + "useRedChannel": false, + "weight": 0.5, + "weightStab": 0.8999999761581421 + }, + { + "algorithm": 5, + "color": [ + 0, + 0, + 0, + 1 + ], + "framesLimit": 0, + "margin": 0, + "minimumCorrelation": 0.699999988079071, + "motionModel": 2, + "patternMatch": 1, + "useAlphaPreview": false, + "useBlueChannel": true, + "useCustomColor": false, + "useGrayscalePreview": false, + "useGreenChannel": true, + "useRedChannel": true, + "weight": 1, + "weightStab": 1 + } + ], + "defaults": { + "brownK1": 0, + "brownK2": 0, + "brownK3": 0, + "brownK4": 0, + "defaultAlgorithm": 5, + "defaultFramesLimit": 30, + "defaultMargin": 12, + "defaultMinimumCorrelation": 0.800000011920929, + "defaultMotionModel": 2, + "defaultPatternMatch": 1, + "defaultPatternSize": 64, + "defaultSearchSize": 80, + "defaultWeight": 1, + "distortionModel": 0, + "divisionK1": 0, + "divisionK2": 0, + "focal": 1316.5714111328125, + "k1": -0.07100000232458115, + "k2": 0, + "k3": 0, + "motionFlag": 1, + "nukeK1": 0, + "nukeK2": 0, + "pixelAspect": 1, + "principal": [ + 0, + 0 + ], + "refine": 5, + "sensorWidth": 35, + "units": 1 + }, + "states": [ + "DONE", + "DONE", + "DONE", + "DONE" + ], + "pythonErrors": [ + null, + null, + null, + null + ], + "pythonOutputs": [ + "", + "", + "", + "" + ] +} diff --git a/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-detect/clip-detect.json b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-detect/clip-detect.json new file mode 100644 index 000000000..585a3c38e --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-detect/clip-detect.json @@ -0,0 +1,17 @@ +{ + "clipId": "movieclip:tripod-motion.avi", + "frame": 4, + "localFrame": 4, + "before": 7, + "after": 48, + "createdTracks": 41, + "selected": 41, + "withMarker": 47, + "locrot": { + "sourceStatus": "AVAILABLE", + "before": 1, + "after": 2, + "createdTracks": 1, + "selected": 1 + } +} diff --git a/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-dopesheet/clip-dopesheet.json b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-dopesheet/clip-dopesheet.json new file mode 100644 index 000000000..cbd842a37 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-dopesheet/clip-dopesheet.json @@ -0,0 +1,6 @@ +{ + "title": "帧 1", + "rows": 7, + "keys": 283, + "current": "true" +} diff --git a/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-edit-web/clip-edit.json b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-edit-web/clip-edit.json new file mode 100644 index 000000000..22c26b3c7 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-edit-web/clip-edit.json @@ -0,0 +1,133 @@ +{ + "clip": { + "clipId": "movieclip:tripod-motion.avi", + "name": "tripod-motion.avi", + "sourcePath": "//footage/tripod-motion.avi", + "sourceStatus": "AVAILABLE", + "sourceSha256": "bc29375f1744f3345fa7b40d568650a746567c83f97611628ad528e3293dc10a", + "width": 1920, + "height": 1080, + "frameStart": 1, + "frameEnd": 48, + "fpsNumerator": 2400, + "fpsDenominator": 1000, + "trackIds": [ + "track:0:0", + "track:0:1", + "track:0:2", + "track:0:3", + "track:0:4", + "track:0:5", + "track:0:6" + ], + "markerFrames": [ + 24, + 50, + 41, + 38, + 50, + 30, + 50 + ], + "planeTrackCount": 0, + "planeTrackIds": [], + "planePointTrackCounts": [], + "planeKeyframeCounts": [], + "cameraSolveStatus": "NONE", + "cameraSolveFrames": 0, + "bindingCount": 1 + }, + "result": { + "inserted": { + "frame": 148, + "keyframe": true, + "muted": false, + "patternCorners": [ + [ + 0.24192708730697632, + 0.7356481552124023 + ], + [ + 0.2580729126930237, + 0.7356481552124023 + ], + [ + 0.2580729126930237, + 0.7643518447875977 + ], + [ + 0.24192708730697632, + 0.7643518447875977 + ] + ], + "patternMax": [ + 0.2580729126930237, + 0.7643518447875977 + ], + "patternMin": [ + 0.24192708730697632, + 0.7356481552124023 + ], + "position": [ + 0.25, + 0.75 + ], + "searchMax": [ + 0.25099998712539673, + 0.7509999871253967 + ], + "searchMin": [ + 0.24899999797344208, + 0.7490000128746033 + ], + "selected": false + }, + "persisted": { + "frame": 148, + "keyframe": true, + "muted": false, + "patternCorners": [ + [ + 0.24192708730697632, + 0.7356481552124023 + ], + [ + 0.2580729126930237, + 0.7356481552124023 + ], + [ + 0.2580729126930237, + 0.7643518447875977 + ], + [ + 0.24192708730697632, + 0.7643518447875977 + ] + ], + "patternMax": [ + 0.2580729126930237, + 0.7643518447875977 + ], + "patternMin": [ + 0.24192708730697632, + 0.7356481552124023 + ], + "position": [ + 0.25, + 0.75 + ], + "searchMax": [ + 0.25099998712539673, + 0.7509999871253967 + ], + "searchMin": [ + 0.24899999797344208, + 0.7490000128746033 + ], + "selected": false + }, + "removed": null, + "pythonState": "DONE", + "pythonOutput": "" + } +} diff --git a/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-frame-web/clip-frame.json b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-frame-web/clip-frame.json new file mode 100644 index 000000000..29f3d92b2 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-frame-web/clip-frame.json @@ -0,0 +1,48 @@ +{ + "mode": "frame", + "clip": { + "clipId": "movieclip:tripod-motion.avi", + "name": "tripod-motion.avi", + "sourcePath": "//footage/tripod-motion.avi", + "sourceStatus": "AVAILABLE", + "sourceSha256": "bc29375f1744f3345fa7b40d568650a746567c83f97611628ad528e3293dc10a", + "width": 1920, + "height": 1080, + "frameStart": 1, + "frameEnd": 48, + "fpsNumerator": 2400, + "fpsDenominator": 1000, + "trackIds": [ + "track:0:0", + "track:0:1", + "track:0:2", + "track:0:3", + "track:0:4", + "track:0:5", + "track:0:6" + ], + "markerFrames": [ + 24, + 50, + 41, + 38, + 50, + 30, + 50 + ], + "planeTrackCount": 0, + "planeTrackIds": [], + "planePointTrackCounts": [], + "planeKeyframeCounts": [], + "cameraSolveStatus": "NONE", + "cameraSolveFrames": 0, + "bindingCount": 1 + }, + "decoded": { + "width": 1920, + "height": 1080, + "byteLength": 8294400, + "minimum": 6, + "maximum": 255 + } +} diff --git a/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-graph/clip-graph.json b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-graph/clip-graph.json new file mode 100644 index 000000000..54e83c9af --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-graph/clip-graph.json @@ -0,0 +1,8 @@ +{ + "points": 22, + "before": 1, + "after": 22, + "sampleTitle": "track:0:0 · 帧 22 · -1.498", + "frameStart": 1, + "sceneEnd": 48 +} diff --git a/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-mask-edit/clip-mask-edit.json b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-mask-edit/clip-mask-edit.json new file mode 100644 index 000000000..ed8778025 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-mask-edit/clip-mask-edit.json @@ -0,0 +1,26 @@ +{ + "fixture": { + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-28503-from-the-Clip-editor-canvas/clip-mask-fixture.blend", + "sha256": "003f9db7b04f9b9409ad94fa3218b88a90792ae236b78b1d0e77c18c2b7bb920", + "masks": [ + { + "id": "mask:E2E_Mask", + "name": "E2E_Mask", + "splines": 1, + "points": [ + 3 + ] + } + ] + }, + "ui": { + "maskValue": "mask:E2E_Mask", + "createdStatus": "已新建蒙版样条", + "toggledStatus": "已取消循环", + "deletedStatus": "已删除蒙版样条", + "points": [ + 0.3, + 0.3 + ] + } +} diff --git a/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-mask-edit/clip-mask-fixture.json b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-mask-edit/clip-mask-fixture.json new file mode 100644 index 000000000..c190c5066 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-mask-edit/clip-mask-fixture.json @@ -0,0 +1,5 @@ +{ + "pythonState": "DONE", + "pythonError": null, + "pythonOutput": "" +} diff --git a/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-missing-web/clip-missing.json b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-missing-web/clip-missing.json new file mode 100644 index 000000000..95a502f03 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-missing-web/clip-missing.json @@ -0,0 +1,38 @@ +{ + "mode": "missing", + "clip": { + "clipId": "movieclip:tripod-motion.avi", + "name": "tripod-motion.avi", + "sourcePath": "//footage/tripod-motion.avi", + "sourceStatus": "MISSING", + "width": 1920, + "height": 1080, + "frameStart": 1, + "frameEnd": 48, + "trackIds": [ + "track:0:0", + "track:0:1", + "track:0:2", + "track:0:3", + "track:0:4", + "track:0:5", + "track:0:6" + ], + "markerFrames": [ + 24, + 50, + 41, + 38, + 50, + 30, + 50 + ], + "planeTrackCount": 0, + "planeTrackIds": [], + "planePointTrackCounts": [], + "planeKeyframeCounts": [], + "cameraSolveStatus": "NONE", + "cameraSolveFrames": 0, + "bindingCount": 1 + } +} diff --git a/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-plane-complete/clip-plane-complete.json b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-plane-complete/clip-plane-complete.json new file mode 100644 index 000000000..b38d5f4c9 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-plane-complete/clip-plane-complete.json @@ -0,0 +1,28 @@ +{ + "clipId": "movieclip:tripod-motion.avi", + "frame": 11, + "planeId": "plane-track:0:0", + "planeName": "Plane Track", + "beforeCount": 0, + "afterCreateCount": 1, + "beforeKeys": 1, + "keyedKeys": 2, + "insertedCorners": 4, + "retrackAffected": 1, + "imageAffected": 1, + "imagePlaneKeys": 23, + "deleteAffected": 1, + "afterDelete": 0, + "ops": [ + "keyframe", + "retrack", + "createImage", + "deletePlane" + ], + "autoKey": { + "onState": "DONE", + "offState": "DONE", + "on": true, + "off": true + } +} diff --git a/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-plane-drag-web/clip-plane-drag-draft.json b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-plane-drag-web/clip-plane-drag-draft.json new file mode 100644 index 000000000..a38757a0b --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-plane-drag-web/clip-plane-drag-draft.json @@ -0,0 +1,61 @@ +{ + "before": [ + [ + 0.25966352224349976, + 0.22705364227294922 + ], + [ + 0.909848153591156, + 0.22705364227294922 + ], + [ + 0.909848153591156, + 0.9095340967178345 + ], + [ + 0.25966352224349976, + 0.9095340967178345 + ] + ], + "draft": [ + [ + 0.15, + 0.15000000000000002 + ], + [ + 0.909848153591156, + 0.22705364227294922 + ], + [ + 0.909848153591156, + 0.9095340967178345 + ], + [ + 0.25966352224349976, + 0.9095340967178345 + ] + ], + "afterUp": [ + [ + 0.15000000596046448, + 0.15000000596046448 + ], + [ + 0.909848153591156, + 0.22705364227294922 + ], + [ + 0.909848153591156, + 0.9095340967178345 + ], + [ + 0.25966352224349976, + 0.9095340967178345 + ] + ], + "editError": null, + "target": [ + 0.15, + 0.15 + ] +} diff --git a/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-plane-drag-web/clip-plane-drag.json b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-plane-drag-web/clip-plane-drag.json new file mode 100644 index 000000000..beda90584 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-plane-drag-web/clip-plane-drag.json @@ -0,0 +1,42 @@ +{ + "before": [ + [ + 0.25966352224349976, + 0.22705364227294922 + ], + [ + 0.909848153591156, + 0.22705364227294922 + ], + [ + 0.909848153591156, + 0.9095340967178345 + ], + [ + 0.25966352224349976, + 0.9095340967178345 + ] + ], + "after": [ + [ + 0.15000000596046448, + 0.15000000596046448 + ], + [ + 0.909848153591156, + 0.22705364227294922 + ], + [ + 0.909848153591156, + 0.9095340967178345 + ], + [ + 0.25966352224349976, + 0.9095340967178345 + ] + ], + "target": [ + 0.15, + 0.15 + ] +} diff --git a/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-plane-web/clip-plane.json b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-plane-web/clip-plane.json new file mode 100644 index 000000000..f13964a38 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-plane-web/clip-plane.json @@ -0,0 +1,116 @@ +{ + "clipId": "movieclip:tripod-motion.avi", + "frame": 11, + "beforeCount": 0, + "createdName": "Plane Track", + "afterCount": 1, + "plane": { + "hidden": false, + "id": "plane-track:0:0", + "keyframes": [ + { + "corners": [ + [ + 0.23360511660575867, + 0.2327895164489746 + ], + [ + 0.8826074600219727, + 0.2327895164489746 + ], + [ + 0.8826074600219727, + 0.910973072052002 + ], + [ + 0.23360511660575867, + 0.910973072052002 + ] + ], + "frame": 11 + } + ], + "name": "Plane Track", + "pointTrackIds": [ + "track:0:0", + "track:0:1", + "track:0:2", + "track:0:3" + ], + "selected": false, + "useAutoKeying": false + }, + "edited": { + "hidden": false, + "id": "plane-track:0:0", + "keyframes": [ + { + "corners": [ + [ + 0.20000000298023224, + 0.20000000298023224 + ], + [ + 0.800000011920929, + 0.20000000298023224 + ], + [ + 0.800000011920929, + 0.800000011920929 + ], + [ + 0.20000000298023224, + 0.800000011920929 + ] + ], + "frame": 11 + } + ], + "name": "Plane Track", + "pointTrackIds": [ + "track:0:0", + "track:0:1", + "track:0:2", + "track:0:3" + ], + "selected": false, + "useAutoKeying": false + }, + "persisted": { + "hidden": false, + "id": "plane-track:0:0", + "keyframes": [ + { + "corners": [ + [ + 0.20000000298023224, + 0.20000000298023224 + ], + [ + 0.800000011920929, + 0.20000000298023224 + ], + [ + 0.800000011920929, + 0.800000011920929 + ], + [ + 0.20000000298023224, + 0.800000011920929 + ] + ], + "frame": 11 + } + ], + "name": "Plane Track", + "pointTrackIds": [ + "track:0:0", + "track:0:1", + "track:0:2", + "track:0:3" + ], + "selected": false, + "useAutoKeying": false + }, + "writeFrame": 11 +} diff --git a/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-point-motion/clip-point-motion-engine.json b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-point-motion/clip-point-motion-engine.json new file mode 100644 index 000000000..c9cc04966 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-point-motion/clip-point-motion-engine.json @@ -0,0 +1,60 @@ +{ + "clipId": "movieclip:01.png", + "name": "01.png", + "width": 51, + "height": 51, + "frameStart": 1, + "sourceStatus": "AVAILABLE", + "track": { + "name": "Track", + "markerCount": 7, + "markerFrames": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6 + ], + "position": [ + 0.5, + 0.5 + ], + "corners": [ + [ + 0.3529411554336548, + 0.3529411554336548 + ], + [ + 0.6470588445663452, + 0.3529411554336548 + ], + [ + 0.6470588445663452, + 0.6470588445663452 + ], + [ + 0.3529411554336548, + 0.6470588445663452 + ] + ], + "muted": true + }, + "decoded": [ + { + "sceneFrame": 1, + "width": 51, + "height": 51, + "byteLength": 10404, + "digest": "266b448fde7f423f5b8ad48c85da165614d175902d7d73cca46d5421f9a664e1" + }, + { + "sceneFrame": 3, + "width": 51, + "height": 51, + "byteLength": 10404, + "digest": "89a686a4517f5393bc93fe1ae4f3de24979228fdc8fad73321779dba2059e6bd" + } + ] +} diff --git a/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-point-motion/clip-point-motion.json b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-point-motion/clip-point-motion.json new file mode 100644 index 000000000..132c0faf7 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-point-motion/clip-point-motion.json @@ -0,0 +1,66 @@ +{ + "engine": { + "clipId": "movieclip:01.png", + "name": "01.png", + "width": 51, + "height": 51, + "frameStart": 1, + "sourceStatus": "AVAILABLE", + "track": { + "name": "Track", + "markerCount": 7, + "markerFrames": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6 + ], + "position": [ + 0.5, + 0.5 + ], + "corners": [ + [ + 0.3529411554336548, + 0.3529411554336548 + ], + [ + 0.6470588445663452, + 0.3529411554336548 + ], + [ + 0.6470588445663452, + 0.6470588445663452 + ], + [ + 0.3529411554336548, + 0.6470588445663452 + ] + ], + "muted": true + }, + "decoded": [ + { + "sceneFrame": 1, + "width": 51, + "height": 51, + "byteLength": 10404, + "digest": "266b448fde7f423f5b8ad48c85da165614d175902d7d73cca46d5421f9a664e1" + }, + { + "sceneFrame": 3, + "width": 51, + "height": 51, + "byteLength": 10404, + "digest": "89a686a4517f5393bc93fe1ae4f3de24979228fdc8fad73321779dba2059e6bd" + } + ] + }, + "placeholder": { + "remaining": 0, + "message": "" + } +} diff --git a/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-proxy-web/clip-proxy.json b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-proxy-web/clip-proxy.json new file mode 100644 index 000000000..061998847 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-proxy-web/clip-proxy.json @@ -0,0 +1,20 @@ +{ + "clipId": "movieclip:tripod-motion.avi", + "sourceWidth": 1920, + "frame": 11, + "sizes": [ + 25 + ], + "proxy": { + "buildSizes": 1, + "enabled": true, + "quality": 75 + }, + "decoded": { + "width": 480, + "height": 270, + "byteLength": 518400, + "minimum": 14, + "maximum": 255 + } +} diff --git a/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-read-web/clip-read.json b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-read-web/clip-read.json new file mode 100644 index 000000000..1aad1c50a --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-read-web/clip-read.json @@ -0,0 +1,41 @@ +{ + "mode": "read", + "clip": { + "clipId": "movieclip:tripod-motion.avi", + "name": "tripod-motion.avi", + "sourcePath": "//footage/tripod-motion.avi", + "sourceStatus": "AVAILABLE", + "sourceSha256": "bc29375f1744f3345fa7b40d568650a746567c83f97611628ad528e3293dc10a", + "width": 1920, + "height": 1080, + "frameStart": 1, + "frameEnd": 48, + "fpsNumerator": 2400, + "fpsDenominator": 1000, + "trackIds": [ + "track:0:0", + "track:0:1", + "track:0:2", + "track:0:3", + "track:0:4", + "track:0:5", + "track:0:6" + ], + "markerFrames": [ + 24, + 50, + 41, + 38, + 50, + 30, + 50 + ], + "planeTrackCount": 0, + "planeTrackIds": [], + "planePointTrackCounts": [], + "planeKeyframeCounts": [], + "cameraSolveStatus": "NONE", + "cameraSolveFrames": 0, + "bindingCount": 1 + } +} diff --git a/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-reopen-web/clip-reopen.json b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-reopen-web/clip-reopen.json new file mode 100644 index 000000000..1e44c6f09 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-reopen-web/clip-reopen.json @@ -0,0 +1,79 @@ +{ + "mode": "reopen", + "clip": { + "clipId": "movieclip:tripod-motion.avi", + "name": "tripod-motion.avi", + "sourcePath": "//footage/tripod-motion.avi", + "sourceStatus": "AVAILABLE", + "sourceSha256": "bc29375f1744f3345fa7b40d568650a746567c83f97611628ad528e3293dc10a", + "width": 1920, + "height": 1080, + "frameStart": 1, + "frameEnd": 48, + "fpsNumerator": 2400, + "fpsDenominator": 1000, + "trackIds": [ + "track:0:0", + "track:0:1", + "track:0:2", + "track:0:3", + "track:0:4", + "track:0:5", + "track:0:6" + ], + "markerFrames": [ + 24, + 50, + 41, + 38, + 50, + 30, + 50 + ], + "planeTrackCount": 0, + "planeTrackIds": [], + "planePointTrackCounts": [], + "planeKeyframeCounts": [], + "cameraSolveStatus": "NONE", + "cameraSolveFrames": 0, + "bindingCount": 1 + }, + "reopened": { + "clipId": "movieclip:tripod-motion.avi", + "name": "tripod-motion.avi", + "sourcePath": "//footage/tripod-motion.avi", + "sourceStatus": "AVAILABLE", + "sourceSha256": "bc29375f1744f3345fa7b40d568650a746567c83f97611628ad528e3293dc10a", + "width": 1920, + "height": 1080, + "frameStart": 1, + "frameEnd": 48, + "fpsNumerator": 2400, + "fpsDenominator": 1000, + "trackIds": [ + "track:0:0", + "track:0:1", + "track:0:2", + "track:0:3", + "track:0:4", + "track:0:5", + "track:0:6" + ], + "markerFrames": [ + 24, + 50, + 41, + 38, + 50, + 30, + 50 + ], + "planeTrackCount": 0, + "planeTrackIds": [], + "planePointTrackCounts": [], + "planeKeyframeCounts": [], + "cameraSolveStatus": "NONE", + "cameraSolveFrames": 0, + "bindingCount": 1 + } +} diff --git a/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-solve-command-web/clip-solve-command.json b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-solve-command-web/clip-solve-command.json new file mode 100644 index 000000000..72cf9c5b4 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-solve-command-web/clip-solve-command.json @@ -0,0 +1,9 @@ +{ + "clipId": "movieclip:synthetic-tripod-motion.avi", + "beforeStatus": "SOLVED", + "reprojectionError": 0.08359552174806595, + "solvedFrames": 50, + "snapshotStatus": "SOLVED", + "snapshotFrames": 50, + "sourceStatus": "AVAILABLE" +} diff --git a/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-solve-settings/clip-solve-settings.json b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-solve-settings/clip-solve-settings.json new file mode 100644 index 000000000..85102bbb5 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-solve-settings/clip-solve-settings.json @@ -0,0 +1,25 @@ +{ + "clipId": "movieclip:synthetic-tripod-motion.avi", + "frameStart": 1, + "frameA": 3, + "frameB": 21, + "selectState": "DONE", + "expectedA": 3, + "expectedB": 21, + "keyframeA": 3, + "keyframeB": 21, + "beforeStatus": "SOLVED", + "scaleAffected": 1, + "applyAffected": 2, + "scaleValue": 3.005035400390625, + "clearAffected": 7, + "status": "NONE", + "solvedFrames": 0, + "ops": [ + "setKeyframe", + "setKeyframe", + "setScale", + "applyScale", + "clearSolution" + ] +} diff --git a/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-solve-web/clip-solve.json b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-solve-web/clip-solve.json new file mode 100644 index 000000000..cfcefb7ef --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-solve-web/clip-solve.json @@ -0,0 +1,71 @@ +{ + "clipId": "movieclip:synthetic-tripod-motion.avi", + "sourceStatus": "AVAILABLE", + "sourceSha256": "5c2db4935f28ade02d655e395a107ca995ebc84ff3ae242e3c762eb32abcc7ba", + "cameraSolve": { + "focalLength": 1050, + "keyframeA": 1, + "keyframeB": 30, + "principalPoint": [ + 0, + 0 + ], + "reprojectionError": 0.08359552174806595, + "scale": 1, + "settingsHash": "9e6883db72700b629867c617f6e1853198d95c469d34ee8179adaef9ed09e8ae", + "solvedFrames": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50 + ], + "sourceSha256": "5c2db4935f28ade02d655e395a107ca995ebc84ff3ae242e3c762eb32abcc7ba", + "status": "SOLVED" + } +} diff --git a/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-source/clip-source.json b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-source/clip-source.json new file mode 100644 index 000000000..ab090232c --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-source/clip-source.json @@ -0,0 +1,26 @@ +{ + "clipId": "movieclip:tripod-motion.avi", + "initial": { + "sourceStatus": "AVAILABLE", + "frameStart": 1, + "frameEnd": 48 + }, + "reloadOp": "reload", + "reloadAffected": 1, + "setFramesOp": "setSceneFrames", + "sceneRange": { + "frameStart": 1, + "frameEnd": 48 + }, + "frameClipRange": { + "frameStart": 1, + "frameEnd": 48 + }, + "missingStatus": "MISSING", + "restoredStatus": "AVAILABLE", + "restoredSha": "bc29375f1744f3345fa7b40d568650a746567c83f97611628ad528e3293dc10a", + "bundle": { + "sourceStatus": "MISSING", + "trackCount": 71 + } +} diff --git a/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-stab-composite/clip-stab-composite.json b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-stab-composite/clip-stab-composite.json new file mode 100644 index 000000000..3f29ba633 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-stab-composite/clip-stab-composite.json @@ -0,0 +1,144 @@ +{ + "frames": [ + { + "stableMae": 0.22868786357893203, + "identityMae": 44.58087027914601, + "compared": 17052, + "skipped": 0, + "frame": 13, + "width": 1920, + "height": 1080, + "canvas": { + "width": 1920, + "height": 1080 + }, + "matrix": [ + 2.03348970413208, + -0.014949291944503784, + 0, + 0, + 0.014949291944503784, + 2.03348970413208, + 0, + 0, + 0, + 0, + 1, + 0, + -1621.7882080078125, + -509.13494873046875, + 0, + 1 + ], + "translation": [ + -1621.7882080078125, + -509.13494873046875 + ] + }, + { + "stableMae": 0.2270545010870637, + "identityMae": 45.94927281257322, + "compared": 17052, + "skipped": 0, + "frame": 25, + "width": 1920, + "height": 1080, + "canvas": { + "width": 1920, + "height": 1080 + }, + "matrix": [ + 2.0793862342834473, + -0.07884092628955841, + 0, + 0, + 0.07884092628955841, + 2.0793862342834473, + 0, + 0, + 0, + 0, + 1, + 0, + -659.7032470703125, + -454.44219970703125, + 0, + 1 + ], + "translation": [ + -659.7032470703125, + -454.44219970703125 + ] + }, + { + "stableMae": 0.2327601406075628, + "identityMae": 51.97448007291393, + "compared": 16092, + "skipped": 960, + "frame": 36, + "width": 1920, + "height": 1080, + "canvas": { + "width": 1920, + "height": 1080 + }, + "matrix": [ + 2.144941568374634, + -0.10405347496271133, + 0, + 0, + 0.10405347496271133, + 2.144941568374634, + 0, + 0, + 0, + 0, + 1, + 0, + 53.514404296875, + -469.3504638671875, + 0, + 1 + ], + "translation": [ + 53.514404296875, + -469.3504638671875 + ] + }, + { + "stableMae": 0.2287394747064246, + "identityMae": 47.20301282805668, + "compared": 16994, + "skipped": 58, + "frame": 46, + "width": 1920, + "height": 1080, + "canvas": { + "width": 1920, + "height": 1080 + }, + "matrix": [ + 2.013568162918091, + -0.11128196120262146, + 0, + 0, + 0.11128196120262146, + 2.013568162918091, + 0, + 0, + 0, + 0, + 1, + 0, + -57.4482421875, + -385.4058837890625, + 0, + 1 + ], + "translation": [ + -57.4482421875, + -385.4058837890625 + ] + } + ] +} diff --git a/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-stab/clip-stab.json b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-stab/clip-stab.json new file mode 100644 index 000000000..994137a3e --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-stab/clip-stab.json @@ -0,0 +1,68 @@ +{ + "clipId": "movieclip:tripod-motion.avi", + "pythonState": "DONE", + "settings": { + "anchorFrame": 12, + "autoscale": true, + "enabled": true, + "filter": 1, + "locinf": 0.800000011920929, + "maxscale": 1.5, + "rotinf": 0.5, + "scale": 1, + "scaleinf": 0.5, + "showStabTracks": true, + "targetPos": [ + 0.5, + 0.5 + ], + "targetRot": 0.10000000149011612, + "totalRotationTracks": 0, + "totalTracks": 0, + "useRotation": true, + "useScale": true + }, + "flaggedTrack": { + "useStab": true, + "useStabRot": true + }, + "counts": { + "totalTracks": 1, + "totalRotationTracks": 1 + }, + "stabilization": { + "translation": [ + 499.416015625, + 561.0093994140625 + ], + "scale": 1.4904385805130005, + "angle": 0.10078686475753784, + "matrix": [ + 1.482875108718872, + 0.1499624401330948, + 0, + 0, + -0.1499624401330948, + 1.482875108718872, + 0, + 0, + 0, + 0, + 1, + 0, + 116.835693359375, + 156.29290771484375, + 0, + 1 + ] + }, + "decodeError": null, + "rawStabilization": null, + "decodedWidth": 1920, + "fixture": { + "sourceStatus": "MISSING", + "width": 960, + "anchorFrame": 1, + "hasSettings": true + } +} diff --git a/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-track-lifecycle/clip-track-lifecycle.json b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-track-lifecycle/clip-track-lifecycle.json new file mode 100644 index 000000000..fc0cef7d9 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-track-lifecycle/clip-track-lifecycle.json @@ -0,0 +1,19 @@ +{ + "clipId": "movieclip:tripod-motion.avi", + "beforeCount": 7, + "frame": 6, + "createdTrackId": "track:0:7", + "afterAddCount": 8, + "addedMarkers": 1, + "addedSelected": true, + "keyedFlag": true, + "clearedMarkers": 3, + "hiddenFlag": true, + "shownFlag": false, + "opAdded": "addTrack", + "opDeleted": "deleteTrack", + "deletedAffected": 1, + "activeObject": "E2E_Object", + "objectRemoveOp": "objectRemove", + "afterDeleteCount": 7 +} diff --git a/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-track-panel/clip-track-panel-reference.json b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-track-panel/clip-track-panel-reference.json new file mode 100644 index 000000000..c6925cbe8 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-track-panel/clip-track-panel-reference.json @@ -0,0 +1,34 @@ +{ + "trackId": "track:0:0", + "averageError": 0.08751886337995529, + "muted": false, + "frameStart": 1, + "sceneFrame": 1, + "markerFrame": 1, + "width": 960, + "height": 540, + "expected": [ + 0.8762741088867188, + 0.8762741088867188, + 0.8762741088867188 + ], + "copyColor": { + "paintState": "DONE", + "state": "DONE", + "otherIndex": 1, + "activeCustom": true, + "activeColor": [ + 0, + 0, + 1, + 1 + ], + "otherCustom": true, + "otherColor": [ + 0, + 0, + 1, + 1 + ] + } +} diff --git a/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-track-panel/clip-track-panel.json b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-track-panel/clip-track-panel.json new file mode 100644 index 000000000..1e426741c --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-track-panel/clip-track-panel.json @@ -0,0 +1,32 @@ +{ + "reference": { + "trackId": "track:0:0", + "markerFrame": 1, + "sceneFrame": 1, + "averageError": 0.08751886337995529, + "muted": false + }, + "painted": { + "width": 160, + "height": 80, + "opaque": true, + "distinct": 22, + "center": [ + 1, + 1, + 1 + ] + }, + "tall": { + "width": 160, + "height": 160, + "opaque": true, + "distinct": 34, + "center": [ + 1, + 1, + 1 + ] + }, + "presetColor": "#0000ff" +} diff --git a/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-track-web/clip-track.json b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-track-web/clip-track.json new file mode 100644 index 000000000..57abd438b --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-track-web/clip-track.json @@ -0,0 +1,17 @@ +{ + "pythonState": "DONE", + "clipId": "movieclip:tripod-motion.avi", + "startFrame": 0, + "trackId": "track:0:0", + "beforeCount": 24, + "single": { + "lastFrame": 1, + "tracks": 7, + "afterCount": 25, + "hasNext": true + }, + "sequence": { + "lastFrame": 1, + "tracks": 7 + } +} diff --git a/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-undistort/clip-undistort-engine.json b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-undistort/clip-undistort-engine.json new file mode 100644 index 000000000..88ea41df9 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-undistort/clip-undistort-engine.json @@ -0,0 +1,95 @@ +{ + "clip": { + "id": "movieclip:distorted-grid.png", + "name": "distorted-grid.png", + "width": 1920, + "height": 1080, + "frameStart": 1, + "sourceStatus": "AVAILABLE" + }, + "settings": { + "brownK1": 0, + "brownK2": 0, + "brownK3": 0, + "brownK4": 0, + "defaultAlgorithm": 1, + "defaultFramesLimit": 0, + "defaultMargin": 0, + "defaultMinimumCorrelation": 0.75, + "defaultMotionModel": 0, + "defaultPatternMatch": 0, + "defaultPatternSize": 15, + "defaultSearchSize": 61, + "defaultWeight": 1, + "distortionModel": 0, + "divisionK1": 0, + "divisionK2": 0, + "focal": 1316.5714111328125, + "k1": -0.10000000149011612, + "k2": -0.05000000074505806, + "k3": -0.07999999821186066, + "motionFlag": 0, + "nukeK1": 0, + "nukeK2": 0, + "pixelAspect": 1, + "principal": [ + 0, + 0 + ], + "refine": 0, + "sensorWidth": 35, + "units": 1 + }, + "zeroedSettings": { + "brownK1": 0, + "brownK2": 0, + "brownK3": 0, + "brownK4": 0, + "defaultAlgorithm": 1, + "defaultFramesLimit": 0, + "defaultMargin": 0, + "defaultMinimumCorrelation": 0.75, + "defaultMotionModel": 0, + "defaultPatternMatch": 0, + "defaultPatternSize": 15, + "defaultSearchSize": 61, + "defaultWeight": 1, + "distortionModel": 0, + "divisionK1": 0, + "divisionK2": 0, + "focal": 1316.5714111328125, + "k1": 0, + "k2": 0, + "k3": 0, + "motionFlag": 0, + "nukeK1": 0, + "nukeK2": 0, + "pixelAspect": 1, + "principal": [ + 0, + 0 + ], + "refine": 0, + "sensorWidth": 35, + "units": 1 + }, + "pythonState": "DONE", + "raw": { + "width": 1920, + "height": 1080 + }, + "undistorted": { + "width": 1920, + "height": 1080 + }, + "distortion": { + "total": 34.36609326777127, + "centre": 1.3149654227023542, + "border": 44.85898505279479 + }, + "remainder": { + "total": 0, + "centre": 0, + "border": 0 + } +} diff --git a/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-undistort/clip-undistort.json b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-undistort/clip-undistort.json new file mode 100644 index 000000000..0ec2b53d3 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-undistort/clip-undistort.json @@ -0,0 +1,99 @@ +{ + "engine": { + "clip": { + "id": "movieclip:distorted-grid.png", + "name": "distorted-grid.png", + "width": 1920, + "height": 1080, + "frameStart": 1, + "sourceStatus": "AVAILABLE" + }, + "settings": { + "brownK1": 0, + "brownK2": 0, + "brownK3": 0, + "brownK4": 0, + "defaultAlgorithm": 1, + "defaultFramesLimit": 0, + "defaultMargin": 0, + "defaultMinimumCorrelation": 0.75, + "defaultMotionModel": 0, + "defaultPatternMatch": 0, + "defaultPatternSize": 15, + "defaultSearchSize": 61, + "defaultWeight": 1, + "distortionModel": 0, + "divisionK1": 0, + "divisionK2": 0, + "focal": 1316.5714111328125, + "k1": -0.10000000149011612, + "k2": -0.05000000074505806, + "k3": -0.07999999821186066, + "motionFlag": 0, + "nukeK1": 0, + "nukeK2": 0, + "pixelAspect": 1, + "principal": [ + 0, + 0 + ], + "refine": 0, + "sensorWidth": 35, + "units": 1 + }, + "zeroedSettings": { + "brownK1": 0, + "brownK2": 0, + "brownK3": 0, + "brownK4": 0, + "defaultAlgorithm": 1, + "defaultFramesLimit": 0, + "defaultMargin": 0, + "defaultMinimumCorrelation": 0.75, + "defaultMotionModel": 0, + "defaultPatternMatch": 0, + "defaultPatternSize": 15, + "defaultSearchSize": 61, + "defaultWeight": 1, + "distortionModel": 0, + "divisionK1": 0, + "divisionK2": 0, + "focal": 1316.5714111328125, + "k1": 0, + "k2": 0, + "k3": 0, + "motionFlag": 0, + "nukeK1": 0, + "nukeK2": 0, + "pixelAspect": 1, + "principal": [ + 0, + 0 + ], + "refine": 0, + "sensorWidth": 35, + "units": 1 + }, + "pythonState": "DONE", + "raw": { + "width": 1920, + "height": 1080 + }, + "undistorted": { + "width": 1920, + "height": 1080 + }, + "distortion": { + "total": 34.36609326777127, + "centre": 1.3149654227023542, + "border": 44.85898505279479 + }, + "remainder": { + "total": 0, + "centre": 0, + "border": 0 + } + }, + "baselineLength": 3630270, + "changed": true +} diff --git a/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-wiring/clip-wiring.json b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-wiring/clip-wiring.json new file mode 100644 index 000000000..3c5134c17 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261205-162214/artifacts/clip-wiring/clip-wiring.json @@ -0,0 +1,12 @@ +{ + "bounds": { + "min": 1, + "max": 48, + "value": 1 + }, + "target": 3, + "beforeStep": 3, + "beforeJump": 4, + "afterJump": 5, + "value": "4" +} diff --git a/tests/golden/CLIP-HEADED-20261205-162214/playwright-results.json b/tests/golden/CLIP-HEADED-20261205-162214/playwright-results.json new file mode 100644 index 000000000..8768ac423 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261205-162214/playwright-results.json @@ -0,0 +1,1238 @@ +{ + "config": { + "argv": [ + "/home/mes123456/.nvm/versions/node/v24.19.0/bin/node", + "/home/mes123456/workinf_Blender_Wasm/web/node_modules/.bin/playwright", + "test", + "--config", + "playwright.clip.config.ts", + "--workers=1" + ], + "configFile": "/home/mes123456/workinf_Blender_Wasm/web/playwright.clip.config.ts", + "rootDir": "/home/mes123456/workinf_Blender_Wasm/web/tests/e2e", + "failOnFlakyTests": false, + "forbidOnly": false, + "fullyParallel": false, + "globalSetup": null, + "globalTeardown": null, + "globalTimeout": 0, + "grep": {}, + "grepInvert": null, + "maxFailures": 0, + "metadata": { + "actualWorkers": 1 + }, + "preserveOutput": "always", + "projects": [ + { + "outputDir": "/home/mes123456/workinf_Blender_Wasm/web/test-results", + "repeatEach": 1, + "retries": 0, + "metadata": { + "actualWorkers": 1 + }, + "id": "", + "name": "", + "testDir": "/home/mes123456/workinf_Blender_Wasm/web/tests/e2e", + "testIgnore": [ + "archive-offline.spec.ts", + "single-thread-unisolated.spec.ts" + ], + "testMatch": [ + "clip-*-production.spec.ts" + ], + "timeout": 420000 + } + ], + "quiet": false, + "reporter": [ + [ + "list", + null + ], + [ + "json", + { + "outputFile": "/home/mes123456/workinf_Blender_Wasm/tests/golden/CLIP-HEADED-20261205-162214/.playwright-results.json" + } + ] + ], + "reportSlowTests": { + "max": 5, + "threshold": 300000 + }, + "shard": null, + "tags": [], + "updateSnapshots": "missing", + "updateSourceMethod": "patch", + "version": "1.62.1", + "workers": 1, + "webServer": { + "command": "node \"/home/mes123456/workinf_Blender_Wasm/web/node_modules/vite/bin/vite.js\" --config app/vite.config.ts --host 127.0.0.1 --port 5314 --strictPort", + "cwd": "/home/mes123456/workinf_Blender_Wasm/web/.frozen/CLIP-20261205-162214-74736b01/web", + "url": "http://127.0.0.1:5314", + "reuseExistingServer": false, + "timeout": 30000 + } + }, + "suites": [ + { + "title": "clip-engine-read-production.spec.ts", + "file": "clip-engine-read-production.spec.ts", + "column": 0, + "line": 0, + "specs": [ + { + "title": "MOD-CLIP-01 reads MovieClip tracking data and decodes footage in Chromium", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 420000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 8026, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-05T08:22:20.090Z", + "annotations": [], + "attachments": [] + } + ], + "status": "expected" + } + ], + "id": "53d869a62db33b8547bd-87034feb6d23dd8d3e2f", + "file": "clip-engine-read-production.spec.ts", + "line": 14, + "column": 1 + } + ] + }, + { + "title": "clip-headed-production.spec.ts", + "file": "clip-headed-production.spec.ts", + "column": 0, + "line": 0, + "specs": [ + { + "title": "[clip-read-web] reads the tripod MovieClip from the WASM engine", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 420000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 3827, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-05T08:22:28.293Z", + "annotations": [], + "attachments": [ + { + "name": "clip-read", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-a2a3c-ieClip-from-the-WASM-engine/attachments/clip-read-6395fee89356a1c3422af67b7a3539dc5076d4db.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-b47e6734ba8ac72b6995", + "file": "clip-headed-production.spec.ts", + "line": 260, + "column": 1 + }, + { + "title": "[clip-frame-web] decodes the clip frame to RGBA pixels", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 420000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 4482, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-05T08:22:32.131Z", + "annotations": [], + "attachments": [ + { + "name": "clip-frame", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-3675b-e-clip-frame-to-RGBA-pixels/attachments/clip-frame-92dd2797b36b4395c57a1fdf2cd38f9d088fcc14.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-8418c84d918b4dd5567b", + "file": "clip-headed-production.spec.ts", + "line": 277, + "column": 1 + }, + { + "title": "[clip-missing-web] keeps the clip while the footage is absent", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 420000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 3532, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-05T08:22:36.623Z", + "annotations": [], + "attachments": [ + { + "name": "clip-missing", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-e2bae-while-the-footage-is-absent/attachments/clip-missing-9d051c4d872d177ee86ecf4d59ebc358ac1383ab.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-e3e1d3463e919adbf991", + "file": "clip-headed-production.spec.ts", + "line": 287, + "column": 1 + }, + { + "title": "[clip-reopen-web] keeps clip identity and tracking data through save and reopen", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 420000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 5136, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-05T08:22:40.165Z", + "annotations": [], + "attachments": [ + { + "name": "clip-reopen", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-941db-ata-through-save-and-reopen/attachments/clip-reopen-33feeb6e2aa8b31621ca092be33e8723e21457be.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-b527232df5ad49132faa", + "file": "clip-headed-production.spec.ts", + "line": 297, + "column": 1 + }, + { + "title": "[clip-edit-web] writes a tracking marker through the embedded bpy channel", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 420000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 10079, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-05T08:22:45.309Z", + "annotations": [], + "attachments": [ + { + "name": "clip-edit", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-0bd0a-gh-the-embedded-bpy-channel/attachments/clip-edit-17095408ac4030bea922a91ad95f7e8b78f8cb0a.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-4abd768b6c3a4f4b7acf", + "file": "clip-headed-production.spec.ts", + "line": 311, + "column": 1 + }, + { + "title": "[clip-solve-web] imports the reconstruction as a camera solve", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 420000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 3374, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-05T08:22:55.394Z", + "annotations": [], + "attachments": [ + { + "name": "clip-solve", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-6b691-struction-as-a-camera-solve/attachments/clip-solve-2eee497283c1de2977287e7257d59eafab716002.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-b0e83f9dfca411b37bb2", + "file": "clip-headed-production.spec.ts", + "line": 360, + "column": 1 + }, + { + "title": "[clip-track-web] tracks selected markers through the libmv engine", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 240000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 5655, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-05T08:22:58.774Z", + "annotations": [], + "attachments": [ + { + "name": "clip-track", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-da83c-rs-through-the-libmv-engine/attachments/clip-track-50500c83e0c890f056afbad255db211981ed0fe1.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-930c119b4eeb24066c20", + "file": "clip-headed-production.spec.ts", + "line": 383, + "column": 1 + }, + { + "title": "[clip-solve-command-web] solves the camera through the engine", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 240000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 3708, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-05T08:23:04.437Z", + "annotations": [], + "attachments": [ + { + "name": "clip-solve-command", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-02e26-e-camera-through-the-engine/attachments/clip-solve-command-6898fa61f1975efad0ebaa3cebcc2ceb598d18b4.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-73691f135b16f8b4ca12", + "file": "clip-headed-production.spec.ts", + "line": 397, + "column": 1 + }, + { + "title": "[clip-proxy-web] builds a proxy and decodes a proxy-sized frame", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 240000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 5124, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-05T08:23:08.151Z", + "annotations": [], + "attachments": [ + { + "name": "clip-proxy", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-32265-decodes-a-proxy-sized-frame/attachments/clip-proxy-b913d428aa6a01eb8073a4c1e297d0f5751bdf67.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-035045102afa8163855f", + "file": "clip-headed-production.spec.ts", + "line": 409, + "column": 1 + }, + { + "title": "[clip-plane-web] creates and edits a plane track through the engine", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 420000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 9241, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-05T08:23:13.283Z", + "annotations": [], + "attachments": [ + { + "name": "clip-plane", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-416c8-ne-track-through-the-engine/attachments/clip-plane-e72f95921b3e90bb07bccd4625caff2283f539dc.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-f9d030ae9f5c68e95a21", + "file": "clip-headed-production.spec.ts", + "line": 422, + "column": 1 + }, + { + "title": "[clip-plane-drag-web] drags a plane corner in the Clip editor and writes it", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 240000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 9602, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-05T08:23:22.530Z", + "annotations": [], + "attachments": [ + { + "name": "clip-plane-drag-draft", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-19bf2-e-Clip-editor-and-writes-it/attachments/clip-plane-drag-draft-34f5fb964a60f71a25806bdda512c532bb7a33dd.json" + }, + { + "name": "clip-plane-drag", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-19bf2-e-Clip-editor-and-writes-it/attachments/clip-plane-drag-100467c21cf98e436d87e321c611b3ca9e8bfb44.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-3e3abed47dc5501b8f8d", + "file": "clip-headed-production.spec.ts", + "line": 461, + "column": 1 + }, + { + "title": "[clip-wiring] steps, jumps and tracks from the Clip editor controls", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 240000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 8720, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-05T08:23:32.142Z", + "annotations": [], + "attachments": [ + { + "name": "clip-wiring", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-00d41-om-the-Clip-editor-controls/attachments/clip-wiring-2056438e4729a011da368051a84b414432d11fae.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-4a18cd421a00c0e4fa98", + "file": "clip-headed-production.spec.ts", + "line": 615, + "column": 1 + }, + { + "title": "[clip-track-lifecycle] adds, keys, clears, flags and deletes a track through the engine", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 240000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 6470, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-05T08:23:40.874Z", + "annotations": [], + "attachments": [ + { + "name": "clip-track-lifecycle", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-9a740--a-track-through-the-engine/attachments/clip-track-lifecycle-c8fb4776c75b0522a29f67b91b1c0e46ac26972c.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-c5cf045d6c2c6116521b", + "file": "clip-headed-production.spec.ts", + "line": 665, + "column": 1 + }, + { + "title": "[clip-boxes-settings] writes pattern/search boxes and tracker settings through bpy", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 240000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 5887, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-05T08:23:47.352Z", + "annotations": [], + "attachments": [ + { + "name": "clip-boxes-settings", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-ee3bb-racker-settings-through-bpy/attachments/clip-boxes-settings-bb1d245077fdd4a0b0a420bb23ecf3dd1db472b5.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-0ea1a16180ac7e17cdc6", + "file": "clip-headed-production.spec.ts", + "line": 727, + "column": 1 + }, + { + "title": "[clip-track-panel] previews the pattern, applies color presets and shows the average error", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 300000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 14041, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-05T08:23:53.249Z", + "annotations": [], + "attachments": [ + { + "name": "clip-track-panel-reference", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-06c62-and-shows-the-average-error/attachments/clip-track-panel-reference-8c389bc4cf6dc91e7797e476fb5fbbc129b823f7.json" + }, + { + "name": "clip-track-panel", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-06c62-and-shows-the-average-error/attachments/clip-track-panel-9c5622e9a347c1d774dc7158aab509f78f2363b3.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-c8b90e15de6be2d6dc0a", + "file": "clip-headed-production.spec.ts", + "line": 814, + "column": 1 + }, + { + "title": "[clip-point-motion] opens the synthetic point-motion clip and decodes its PNG sequence", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 300000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 8796, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-05T08:24:07.301Z", + "annotations": [], + "attachments": [ + { + "name": "clip-point-motion-engine", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-9d032-nd-decodes-its-PNG-sequence/attachments/clip-point-motion-engine-4b3bddaec5ac08951cf05b4a8b52c110c7431de2.json" + }, + { + "name": "clip-point-motion", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-9d032-nd-decodes-its-PNG-sequence/attachments/clip-point-motion-77810d60edd61762f56a675d0e13214834332e45.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-690260ac9a667da8dcf4", + "file": "clip-headed-production.spec.ts", + "line": 1013, + "column": 1 + }, + { + "title": "[clip-undistort] renders the undistorted frame and exposes the camera data", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 300000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 14511, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-05T08:24:16.106Z", + "annotations": [], + "attachments": [ + { + "name": "clip-undistort-engine", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-9b382-and-exposes-the-camera-data/attachments/clip-undistort-engine-c065018c0150bea28f9ec126677d9e3610f44770.json" + }, + { + "name": "clip-undistort", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-9b382-and-exposes-the-camera-data/attachments/clip-undistort-90288cabab5786da210cbdf240015a2bcb4fad5b.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-ec4db6b8959939ac5a69", + "file": "clip-headed-production.spec.ts", + "line": 1106, + "column": 1 + }, + { + "title": "[clip-detect] detects Harris features on the current frame", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 240000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 6708, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-05T08:24:30.627Z", + "annotations": [], + "attachments": [ + { + "name": "clip-detect", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-0b62f-atures-on-the-current-frame/attachments/clip-detect-e6d2470c90a918c30c5eadf40dd8224b1d5a0c78.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-925b5b4e519897688e45", + "file": "clip-headed-production.spec.ts", + "line": 1232, + "column": 1 + }, + { + "title": "[clip-solve-settings] edits solve keyframes, scale and clears the solution", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 240000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 5840, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-05T08:24:37.343Z", + "annotations": [], + "attachments": [ + { + "name": "clip-solve-settings", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-916cd-ale-and-clears-the-solution/attachments/clip-solve-settings-b410155a05eaa676272db7fc09c3cda88eaf2b5d.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-9ba425aecca870bf56ad", + "file": "clip-headed-production.spec.ts", + "line": 1297, + "column": 1 + }, + { + "title": "[clip-plane-complete] keys, retracks, images and deletes a plane track", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 240000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 7016, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-05T08:24:43.190Z", + "annotations": [], + "attachments": [ + { + "name": "clip-plane-complete", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-347eb-s-and-deletes-a-plane-track/attachments/clip-plane-complete-68d1fce57c8a2ea8544ffbcfa858eb483340ec07.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-a46266bec46e0292611d", + "file": "clip-headed-production.spec.ts", + "line": 1349, + "column": 1 + }, + { + "title": "[clip-stab] writes 2D stabilization settings and returns a stabilization matrix", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 240000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 8438, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-05T08:24:50.215Z", + "annotations": [], + "attachments": [ + { + "name": "clip-stab", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-3027b-urns-a-stabilization-matrix/attachments/clip-stab-d4662af64801a8901b20a6fb7110bb65b83aaea3.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-5055ace08923c10f70a8", + "file": "clip-headed-production.spec.ts", + "line": 1419, + "column": 1 + }, + { + "title": "[clip-stab-composite] composites the canvas through the stabilization matrix", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 300000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 26813, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-05T08:24:58.661Z", + "annotations": [], + "attachments": [ + { + "name": "clip-stab-composite", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-72111-gh-the-stabilization-matrix/attachments/clip-stab-composite-322fe10015528ede9a7b5a825a8f639ace24e673.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-c5ad88668e06ab2a4196", + "file": "clip-headed-production.spec.ts", + "line": 1516, + "column": 1 + }, + { + "title": "[clip-source] reloads, sets the scene range and relinks the clip source", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 240000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 17308, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-05T08:25:25.480Z", + "annotations": [], + "attachments": [ + { + "name": "clip-source", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-e0161-and-relinks-the-clip-source/attachments/clip-source-53b3c04bc9955e73bffac92463f0a61396d18f62.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-7b3eae250dbfbde186de", + "file": "clip-headed-production.spec.ts", + "line": 1732, + "column": 1 + }, + { + "title": "[clip-dopesheet] selects a track and jumps to a keyframe cell", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 240000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 4589, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-05T08:25:42.797Z", + "annotations": [], + "attachments": [ + { + "name": "clip-dopesheet", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-b3603-nd-jumps-to-a-keyframe-cell/attachments/clip-dopesheet-5cb8b3fba41183e11c6b2432ab15dc44ffc410b3.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-66d26efeb38057af0ac9", + "file": "clip-headed-production.spec.ts", + "line": 1803, + "column": 1 + }, + { + "title": "[clip-graph] draws the desktop graph view and jumps from a knot", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 240000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 7486, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-05T08:25:47.393Z", + "annotations": [], + "attachments": [ + { + "name": "clip-graph", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-f33ca--view-and-jumps-from-a-knot/attachments/clip-graph-5c2408d2d60f5cd47f1e456f296f92db241b1d25.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-334a2c0c04e6b5fdcbd8", + "file": "clip-headed-production.spec.ts", + "line": 1834, + "column": 1 + }, + { + "title": "[clip-mask-edit] edits mask splines from the Clip editor canvas", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 240000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 11795, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-05T08:25:54.886Z", + "annotations": [], + "attachments": [ + { + "name": "clip-mask-fixture", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-28503-from-the-Clip-editor-canvas/attachments/clip-mask-fixture-49ee123afea06ab6a190c146abce51e7fa09aabd.json" + }, + { + "name": "clip-mask-edit", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-28503-from-the-Clip-editor-canvas/attachments/clip-mask-edit-caca256054b6d54930554f3ba36c2286e96975ab.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-58e7a876fd6986e20d51", + "file": "clip-headed-production.spec.ts", + "line": 1928, + "column": 1 + }, + { + "title": "fixture digests are bound", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 420000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 346, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-05T08:26:06.687Z", + "annotations": [], + "attachments": [] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-25b110e969d133fc0ba8", + "file": "clip-headed-production.spec.ts", + "line": 2003, + "column": 1 + } + ] + } + ], + "errors": [], + "stats": { + "startTime": "2026-12-05T08:22:19.263Z", + "duration": 227892.613, + "expected": 28, + "skipped": 0, + "unexpected": 0, + "flaky": 0 + } +} \ No newline at end of file diff --git a/tests/golden/CLIP-HEADED-20261205-162214/report.json b/tests/golden/CLIP-HEADED-20261205-162214/report.json new file mode 100644 index 000000000..972b9978a --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261205-162214/report.json @@ -0,0 +1,671 @@ +{ + "schemaVersion": 1, + "status": "PASS", + "generatedAt": "2026-12-05T08:26:07.185Z", + "mode": "full", + "candidate": "/home/mes123456/workinf_Blender_Wasm/web/.frozen/CLIP-20261205-162214-74736b01/web", + "release": { + "servedBy": "vite-dev-frozen", + "servedRoot": "/home/mes123456/workinf_Blender_Wasm/web/.frozen/CLIP-20261205-162214-74736b01/web", + "frozenAt": "/home/mes123456/workinf_Blender_Wasm/web/.frozen/CLIP-20261205-162214-74736b01", + "candidateManifestSha256": "0f5213c2f6a2eea1c40df64502b6ff64f5a6b80d4128571b2caf3d568ac02703", + "candidateFiles": 4012, + "moduleManifestSha256": "19758035f3c5f3d7b1310ba03815a4b493eab3db21cf101f19f6ee2e61154918", + "wasmSha256": "74736b019744a148cc272607344190c95ee189d11cbd5e9f03b0469505021fc8", + "wasmBytes": 325169223, + "engineHasClipFrame": true, + "bundleHasClipEditor": true + }, + "fixtures": { + "blend": { + "path": "/home/mes123456/workinf_Blender_Wasm/blender-5.2.0/tests/files/tracking/tripod-motion.blend", + "sha256": "4000c9b7b0e2fa2677cdcefaeb8051ad45fa482e005f18c33b8a93bb195fd96c" + }, + "footage": { + "path": "/home/mes123456/workinf_Blender_Wasm/blender-5.2.0/tests/files/tracking/footage/tripod-motion.avi", + "sha256": "bc29375f1744f3345fa7b40d568650a746567c83f97611628ad528e3293dc10a" + } + }, + "environment": { + "display": ":1", + "gpuMode": "hardware", + "browser": "chromium-headed", + "chrome": "Google Chrome 158.0.8127.107", + "chromePath": "/usr/bin/google-chrome", + "node": "v24.19.0", + "port": 5314, + "workers": 1 + }, + "preflight": [ + { + "name": "display", + "ok": true, + "detail": ":1", + "hard": true + }, + { + "name": "chrome", + "ok": true, + "detail": { + "chromePath": "/usr/bin/google-chrome", + "version": "Google Chrome 158.0.8127.107" + }, + "hard": true + }, + { + "name": "playwright", + "ok": true, + "detail": "/home/mes123456/workinf_Blender_Wasm/web/node_modules/@playwright/test/package.json", + "hard": true + }, + { + "name": "candidate frozen", + "ok": true, + "detail": { + "root": "/home/mes123456/workinf_Blender_Wasm/web/.frozen/CLIP-20261205-162214-74736b01", + "files": 4012, + "manifestSha256": "0f5213c2f6a2eea1c40df64502b6ff64f5a6b80d4128571b2caf3d568ac02703" + }, + "hard": true + }, + { + "name": "candidate manifest", + "ok": true, + "detail": { + "files": 4012, + "manifestSha256": "0f5213c2f6a2eea1c40df64502b6ff64f5a6b80d4128571b2caf3d568ac02703" + }, + "hard": true + }, + { + "name": "served engine", + "ok": true, + "detail": "/home/mes123456/workinf_Blender_Wasm/web/.frozen/CLIP-20261205-162214-74736b01/web/app/public/vendor/blender/web_engine.wasm", + "hard": true + }, + { + "name": "served module manifest", + "ok": true, + "detail": "/home/mes123456/workinf_Blender_Wasm/web/.frozen/CLIP-20261205-162214-74736b01/web/app/public/wasm-module-manifest.json", + "hard": true + }, + { + "name": "engine has clipFrame", + "ok": true, + "detail": true, + "hard": true + }, + { + "name": "Clip editor source present", + "ok": true, + "detail": "/home/mes123456/workinf_Blender_Wasm/web/.frozen/CLIP-20261205-162214-74736b01/web/app/src/app/ClipEditorSurface.tsx", + "hard": true + }, + { + "name": "tripod-motion blend fixture", + "ok": true, + "detail": { + "path": "/home/mes123456/workinf_Blender_Wasm/blender-5.2.0/tests/files/tracking/tripod-motion.blend", + "sha256": "4000c9b7b0e2fa2677cdcefaeb8051ad45fa482e005f18c33b8a93bb195fd96c" + }, + "hard": true + }, + { + "name": "tripod-motion footage fixture", + "ok": true, + "detail": { + "path": "/home/mes123456/workinf_Blender_Wasm/blender-5.2.0/tests/files/tracking/footage/tripod-motion.avi", + "sha256": "bc29375f1744f3345fa7b40d568650a746567c83f97611628ad528e3293dc10a" + }, + "hard": true + }, + { + "name": "port free", + "ok": true, + "detail": 5314, + "hard": true + }, + { + "name": "workers", + "ok": true, + "detail": 1, + "hard": false + } + ], + "cases": [ + { + "caseId": "mod-clip-01-reads-movieclip-tracking-data-and-decodes-footag", + "title": "MOD-CLIP-01 reads MovieClip tracking data and decodes footage in Chromium", + "file": "clip-engine-read-production.spec.ts", + "status": "PASS", + "durationMs": 8026, + "error": null, + "artifacts": [] + }, + { + "caseId": "clip-read-web", + "title": "[clip-read-web] reads the tripod MovieClip from the WASM engine", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 3827, + "error": null, + "artifacts": [ + { + "name": "clip-read", + "kind": "json", + "path": "artifacts/clip-read-web/clip-read.json", + "sha256": "e6f75ce19dc40907e0a9eaddf51759e8b56f7833a5b4ca4632ad3b846583f8ce", + "bytes": 873 + } + ] + }, + { + "caseId": "clip-frame-web", + "title": "[clip-frame-web] decodes the clip frame to RGBA pixels", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 4482, + "error": null, + "artifacts": [ + { + "name": "clip-frame", + "kind": "json", + "path": "artifacts/clip-frame-web/clip-frame.json", + "sha256": "0c831990b8c799206ef7e3f6d5914860abd49b044fc2deafa6894c27d9ba838b", + "bytes": 997 + } + ] + }, + { + "caseId": "clip-missing-web", + "title": "[clip-missing-web] keeps the clip while the footage is absent", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 3532, + "error": null, + "artifacts": [ + { + "name": "clip-missing", + "kind": "json", + "path": "artifacts/clip-missing-web/clip-missing.json", + "sha256": "b38d8e3e05f27f0648dfc515f4e0d814cde6be8da71f388fc10c349ecbca6a65", + "bytes": 732 + } + ] + }, + { + "caseId": "clip-reopen-web", + "title": "[clip-reopen-web] keeps clip identity and tracking data through save and reopen", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 5136, + "error": null, + "artifacts": [ + { + "name": "clip-reopen", + "kind": "json", + "path": "artifacts/clip-reopen-web/clip-reopen.json", + "sha256": "e915914097eaf56655dec66d266422f2370c44ff580c9012eab7b15516e00f2f", + "bytes": 1731 + } + ] + }, + { + "caseId": "clip-edit-web", + "title": "[clip-edit-web] writes a tracking marker through the embedded bpy channel", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 10079, + "error": null, + "artifacts": [ + { + "name": "clip-edit", + "kind": "json", + "path": "artifacts/clip-edit-web/clip-edit.json", + "sha256": "80b3a63e31e30ef052cb7471e0f69b93025781b352a20fcd6793043798da35f3", + "bytes": 2690 + } + ] + }, + { + "caseId": "clip-solve-web", + "title": "[clip-solve-web] imports the reconstruction as a camera solve", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 3374, + "error": null, + "artifacts": [ + { + "name": "clip-solve", + "kind": "json", + "path": "artifacts/clip-solve-web/clip-solve.json", + "sha256": "b398bc4bb45b9f41e98f2034089a6b16c6c48f4c48da2e7d4f701e889342dcc8", + "bytes": 1091 + } + ] + }, + { + "caseId": "clip-track-web", + "title": "[clip-track-web] tracks selected markers through the libmv engine", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 5655, + "error": null, + "artifacts": [ + { + "name": "clip-track", + "kind": "json", + "path": "artifacts/clip-track-web/clip-track.json", + "sha256": "cd968f0c9ffc7c871332459dfafa1caf3f0f5dedd5d9aa3a52bbee5798015c59", + "bytes": 292 + } + ] + }, + { + "caseId": "clip-solve-command-web", + "title": "[clip-solve-command-web] solves the camera through the engine", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 3708, + "error": null, + "artifacts": [ + { + "name": "clip-solve-command", + "kind": "json", + "path": "artifacts/clip-solve-command-web/clip-solve-command.json", + "sha256": "f68ec7b1f0f607a8ca2b36fcc4ed2ba90ffef3df29df2f32239f2d7ef890c667", + "bytes": 235 + } + ] + }, + { + "caseId": "clip-proxy-web", + "title": "[clip-proxy-web] builds a proxy and decodes a proxy-sized frame", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 5124, + "error": null, + "artifacts": [ + { + "name": "clip-proxy", + "kind": "json", + "path": "artifacts/clip-proxy-web/clip-proxy.json", + "sha256": "a8412ace2dff8610f2a9f47237da293b8aff8cdcca52f092a2ff366e7a311e28", + "bytes": 308 + } + ] + }, + { + "caseId": "clip-plane-web", + "title": "[clip-plane-web] creates and edits a plane track through the engine", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 9241, + "error": null, + "artifacts": [ + { + "name": "clip-plane", + "kind": "json", + "path": "artifacts/clip-plane-web/clip-plane.json", + "sha256": "a2b2cfd7ad159819b10689c99503ded69ecdc83394387d1addb19dd9d75eeafb", + "bytes": 2242 + } + ] + }, + { + "caseId": "clip-plane-drag-web", + "title": "[clip-plane-drag-web] drags a plane corner in the Clip editor and writes it", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 9602, + "error": null, + "artifacts": [ + { + "name": "clip-plane-drag-draft", + "kind": "json", + "path": "artifacts/clip-plane-drag-web/clip-plane-drag-draft.json", + "sha256": "a4ff689a566cada44f56118a64eeab62a90eb8ba9da0b0dc442d850aa480bcff", + "bytes": 875 + }, + { + "name": "clip-plane-drag", + "kind": "json", + "path": "artifacts/clip-plane-drag-web/clip-plane-drag.json", + "sha256": "5b622d76483edaacaa2c706aaf16a85a7a4015c2855c69f42901d595a8ee6b1f", + "bytes": 592 + } + ] + }, + { + "caseId": "clip-wiring", + "title": "[clip-wiring] steps, jumps and tracks from the Clip editor controls", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 8720, + "error": null, + "artifacts": [ + { + "name": "clip-wiring", + "kind": "json", + "path": "artifacts/clip-wiring/clip-wiring.json", + "sha256": "21dfb946e164c89ba9f3d3d62606a92ecb1ab96d61914f4cc8810c8c76ce3ce4", + "bytes": 153 + } + ] + }, + { + "caseId": "clip-track-lifecycle", + "title": "[clip-track-lifecycle] adds, keys, clears, flags and deletes a track through the engine", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 6470, + "error": null, + "artifacts": [ + { + "name": "clip-track-lifecycle", + "kind": "json", + "path": "artifacts/clip-track-lifecycle/clip-track-lifecycle.json", + "sha256": "d4dcfa7f8a14d9c7cc2ca1b1686ece4680580879272b84ed1e2b4a50601a5aac", + "bytes": 441 + } + ] + }, + { + "caseId": "clip-boxes-settings", + "title": "[clip-boxes-settings] writes pattern/search boxes and tracker settings through bpy", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 5887, + "error": null, + "artifacts": [ + { + "name": "clip-boxes-settings", + "kind": "json", + "path": "artifacts/clip-boxes-settings/clip-boxes-settings.json", + "sha256": "19efa5ab38b7e7dc08aa7af8a8dcaa65b40c29ac04b4cf6184e717c5b8d7c779", + "bytes": 3121 + } + ] + }, + { + "caseId": "clip-track-panel", + "title": "[clip-track-panel] previews the pattern, applies color presets and shows the average error", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 14041, + "error": null, + "artifacts": [ + { + "name": "clip-track-panel-reference", + "kind": "json", + "path": "artifacts/clip-track-panel/clip-track-panel-reference.json", + "sha256": "fd2962b4606a9d655a5a3fda35304808fa53b946590ac5845e85ae3fe0225f16", + "bytes": 534 + }, + { + "name": "clip-track-panel", + "kind": "json", + "path": "artifacts/clip-track-panel/clip-track-panel.json", + "sha256": "0e78cccf9c9f88e674893bf38ded6b8790e48aa0adf69b1ccf328ce4b993527d", + "bytes": 470 + } + ] + }, + { + "caseId": "clip-point-motion", + "title": "[clip-point-motion] opens the synthetic point-motion clip and decodes its PNG sequence", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 8796, + "error": null, + "artifacts": [ + { + "name": "clip-point-motion-engine", + "kind": "json", + "path": "artifacts/clip-point-motion/clip-point-motion-engine.json", + "sha256": "c91c59b18ff9e4dad49c196b823498299ab3434cebd25085311a65e47ad17887", + "bytes": 1052 + }, + { + "name": "clip-point-motion", + "kind": "json", + "path": "artifacts/clip-point-motion/clip-point-motion.json", + "sha256": "db3bc28681ef0a72d12180677f9d3a469a9a1c65a53a207fe7e2835b33277482", + "bytes": 1248 + } + ] + }, + { + "caseId": "clip-undistort", + "title": "[clip-undistort] renders the undistorted frame and exposes the camera data", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 14511, + "error": null, + "artifacts": [ + { + "name": "clip-undistort-engine", + "kind": "json", + "path": "artifacts/clip-undistort/clip-undistort-engine.json", + "sha256": "a305780a4a1301461f9df3ef85a82f297a794d90de498aeef1ece3e1985ce8c6", + "bytes": 1922 + }, + { + "name": "clip-undistort", + "kind": "json", + "path": "artifacts/clip-undistort/clip-undistort.json", + "sha256": "e3392058899afda477e7ddb61f71bacc5622fd341c1fcf78212ca4e4d1e80a46", + "bytes": 2174 + } + ] + }, + { + "caseId": "clip-detect", + "title": "[clip-detect] detects Harris features on the current frame", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 6708, + "error": null, + "artifacts": [ + { + "name": "clip-detect", + "kind": "json", + "path": "artifacts/clip-detect/clip-detect.json", + "sha256": "548a2e0d2886f282a8bc59b2ec4e5dee9fe4b9349f617ddd4d65bd593c915347", + "bytes": 297 + } + ] + }, + { + "caseId": "clip-solve-settings", + "title": "[clip-solve-settings] edits solve keyframes, scale and clears the solution", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 5840, + "error": null, + "artifacts": [ + { + "name": "clip-solve-settings", + "kind": "json", + "path": "artifacts/clip-solve-settings/clip-solve-settings.json", + "sha256": "a25dad79dc9c14f99e73b08f0cb43aafc32e92d79657b352fd617b79c2728cc2", + "bytes": 483 + } + ] + }, + { + "caseId": "clip-plane-complete", + "title": "[clip-plane-complete] keys, retracks, images and deletes a plane track", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 7016, + "error": null, + "artifacts": [ + { + "name": "clip-plane-complete", + "kind": "json", + "path": "artifacts/clip-plane-complete/clip-plane-complete.json", + "sha256": "24000cd49b7b2642aec9839e4579f512102b3617767016c84e50b1052053dedb", + "bytes": 525 + } + ] + }, + { + "caseId": "clip-stab", + "title": "[clip-stab] writes 2D stabilization settings and returns a stabilization matrix", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 8438, + "error": null, + "artifacts": [ + { + "name": "clip-stab", + "kind": "json", + "path": "artifacts/clip-stab/clip-stab.json", + "sha256": "ac7f4d7adbdd7c182556af3558a53012bdc6b98355cb12bb5db2601b7f46bca8", + "bytes": 1256 + } + ] + }, + { + "caseId": "clip-stab-composite", + "title": "[clip-stab-composite] composites the canvas through the stabilization matrix", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 26813, + "error": null, + "artifacts": [ + { + "name": "clip-stab-composite", + "kind": "json", + "path": "artifacts/clip-stab-composite/clip-stab-composite.json", + "sha256": "0e4cb61bfd81e0f2ef28376f5ab6fb24cd84b753476a4493c8c42371b9facad1", + "bytes": 2671 + } + ] + }, + { + "caseId": "clip-source", + "title": "[clip-source] reloads, sets the scene range and relinks the clip source", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 17308, + "error": null, + "artifacts": [ + { + "name": "clip-source", + "kind": "json", + "path": "artifacts/clip-source/clip-source.json", + "sha256": "1ee8967e527178ecc5fca2587e5e77703eadc5aaf83187f12cc96d5dfbe54839", + "bytes": 570 + } + ] + }, + { + "caseId": "clip-dopesheet", + "title": "[clip-dopesheet] selects a track and jumps to a keyframe cell", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 4589, + "error": null, + "artifacts": [ + { + "name": "clip-dopesheet", + "kind": "json", + "path": "artifacts/clip-dopesheet/clip-dopesheet.json", + "sha256": "02f2161d4d0f2cef1f694ebad4ac32b29248dfbfbc7f21b853c0aaabac7b8431", + "bytes": 72 + } + ] + }, + { + "caseId": "clip-graph", + "title": "[clip-graph] draws the desktop graph view and jumps from a knot", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 7486, + "error": null, + "artifacts": [ + { + "name": "clip-graph", + "kind": "json", + "path": "artifacts/clip-graph/clip-graph.json", + "sha256": "0c25d37172b1ba8921c23b62b3c83121e857ea3b623c6b3657cfac9b3b2f5216", + "bytes": 136 + } + ] + }, + { + "caseId": "clip-mask-edit", + "title": "[clip-mask-edit] edits mask splines from the Clip editor canvas", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 11795, + "error": null, + "artifacts": [ + { + "name": "clip-mask-fixture", + "kind": "json", + "path": "artifacts/clip-mask-edit/clip-mask-fixture.json", + "sha256": "280ac6003d962ea11771b8ebae397ae87acd3811619d5326bd4e5691ead43ecd", + "bytes": 73 + }, + { + "name": "clip-mask-edit", + "kind": "json", + "path": "artifacts/clip-mask-edit/clip-mask-edit.json", + "sha256": "27baca76cde2debe4d4c854c794f8390f75baa2e77852fca41f3a81cc9d60add", + "bytes": 643 + } + ] + }, + { + "caseId": "fixture-digests-are-bound", + "title": "fixture digests are bound", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 346, + "error": null, + "artifacts": [] + } + ], + "summary": { + "pass": 28, + "fail": 0, + "skip": 0, + "blocked": 0, + "total": 28, + "wallMs": 228477, + "expectedCaseIds": [ + "clip-read-web", + "clip-frame-web", + "clip-missing-web", + "clip-reopen-web", + "clip-edit-web", + "clip-solve-web", + "clip-track-web", + "clip-solve-command-web", + "clip-proxy-web", + "clip-plane-web", + "clip-plane-drag-web", + "clip-wiring", + "clip-track-lifecycle", + "clip-boxes-settings", + "clip-track-panel", + "clip-point-motion", + "clip-detect", + "clip-undistort", + "clip-solve-settings", + "clip-plane-complete", + "clip-stab", + "clip-stab-composite", + "clip-source", + "clip-dopesheet", + "clip-graph", + "clip-mask-edit" + ], + "missingCaseIds": [] + }, + "errors": [], + "acceptance": "NOT_CLAIMED" +} \ No newline at end of file diff --git a/tests/golden/GPU-PROBE-20261205-035922/report.json b/tests/golden/GPU-PROBE-20261205-035922/report.json new file mode 100644 index 000000000..3c1c4b188 --- /dev/null +++ b/tests/golden/GPU-PROBE-20261205-035922/report.json @@ -0,0 +1,132 @@ +{ + "schemaVersion": 1, + "acceptance": "NOT_CLAIMED", + "tool": "probe-webgpu-flags", + "url": "http://127.0.0.1:5173/", + "startedAt": "2026-12-04T19:59:22.982Z", + "durationMs": 50814, + "chrome": { + "path": "/usr/bin/google-chrome", + "version": "Google Chrome 151.0.7922.137" + }, + "preflight": [ + { + "name": "display", + "ok": true, + "detail": ":1", + "hard": true + }, + { + "name": "chrome", + "ok": true, + "detail": "/usr/bin/google-chrome (Google Chrome 151.0.7922.137)", + "hard": true + }, + { + "name": "origin", + "ok": true, + "detail": "http://127.0.0.1:5173/ -> 200", + "hard": true + } + ], + "combos": [ + { + "name": "none", + "flags": [], + "state": { + "secure": true, + "gpu": true, + "webgl2Renderer": "ANGLE (NVIDIA Corporation, NVIDIA GeForce RTX 4060 Laptop GPU/PCIe/SSE2, OpenGL 4.5.0)", + "adapter": false + }, + "engineErrors": [ + "Blender WebGPU compute unavailable: No WebGPU compute adapter is available", + "Blender WebGL shader draw_resource_finalize: unsupported compute local size exceeds the active WebGPU device limit", + "Blender browser WM attach: Blender WebGL shader unavailable: draw_resource_finalize" + ] + }, + { + "name": "unsafe-webgpu", + "flags": [ + "--enable-unsafe-webgpu" + ], + "state": { + "secure": true, + "gpu": true, + "webgl2Renderer": "ANGLE (NVIDIA Corporation, NVIDIA GeForce RTX 4060 Laptop GPU/PCIe/SSE2, OpenGL 4.5.0)", + "adapter": true, + "info": { + "vendor": "google", + "architecture": "swiftshader", + "device": "", + "description": "" + }, + "device": true + }, + "engineErrors": [] + }, + { + "name": "unsafe+ignore-blocklist", + "flags": [ + "--enable-unsafe-webgpu", + "--ignore-gpu-blocklist" + ], + "state": { + "secure": true, + "gpu": true, + "webgl2Renderer": "ANGLE (NVIDIA Corporation, NVIDIA GeForce RTX 4060 Laptop GPU/PCIe/SSE2, OpenGL 4.5.0)", + "adapter": true, + "info": { + "vendor": "google", + "architecture": "swiftshader", + "device": "", + "description": "" + }, + "device": true + }, + "engineErrors": [] + }, + { + "name": "unsafe+vulkan", + "flags": [ + "--enable-unsafe-webgpu", + "--enable-features=Vulkan" + ], + "state": { + "secure": true, + "gpu": true, + "webgl2Renderer": "ANGLE (NVIDIA Corporation, NVIDIA GeForce RTX 4060 Laptop GPU/PCIe/SSE2, OpenGL 4.5.0)", + "adapter": true, + "info": { + "vendor": "nvidia", + "architecture": "lovelace", + "device": "", + "description": "" + }, + "device": true + }, + "engineErrors": [] + }, + { + "name": "unsafe+angle-vulkan", + "flags": [ + "--enable-unsafe-webgpu", + "--enable-features=Vulkan", + "--use-angle=vulkan" + ], + "state": { + "secure": true, + "gpu": true, + "adapter": true, + "info": { + "vendor": "nvidia", + "architecture": "lovelace", + "device": "", + "description": "" + }, + "device": true + }, + "engineErrors": [] + } + ] +} \ No newline at end of file diff --git a/tests/golden/GPU-SOAK-20261205-040136/report.json b/tests/golden/GPU-SOAK-20261205-040136/report.json new file mode 100644 index 000000000..e48c94ac7 --- /dev/null +++ b/tests/golden/GPU-SOAK-20261205-040136/report.json @@ -0,0 +1,114 @@ +{ + "schemaVersion": 1, + "acceptance": "NOT_CLAIMED", + "tool": "soak-interaction", + "url": "http://127.0.0.1:5173/", + "flags": [ + "--enable-unsafe-webgpu" + ], + "minutes": 2, + "chrome": { + "path": "/usr/bin/google-chrome", + "version": "Google Chrome 151.0.7922.137" + }, + "preflight": [ + { + "name": "display", + "ok": true, + "detail": ":1", + "hard": true + }, + { + "name": "chrome", + "ok": true, + "detail": "/usr/bin/google-chrome (Google Chrome 151.0.7922.137)", + "hard": true + }, + { + "name": "origin", + "ok": true, + "detail": "http://127.0.0.1:5173/ -> 200", + "hard": true + } + ], + "ready": true, + "readyMs": 4169, + "rounds": 33, + "interactions": 165, + "canvasAlive": true, + "verdict": "STABLE", + "crashes": { + "count": 0, + "fatalCount": 0, + "events": [] + }, + "jsErrors": [ + "Blender WebGL shader overlay_extra_grid_selectable: unsupported storage buffer other than supported read-only native layouts", + "Blender WebGL shader overlay_extra_grid_selectable: unsupported storage buffer other than supported read-only native layouts", + "Blender WebGL shader overlay_extra_groundline_selectable: unsupported storage buffer other than supported read-only native layouts", + "Blender WebGL shader overlay_extra_groundline_selectable: unsupported storage buffer other than supported read-only native layouts", + "Blender WebGL shader overlay_extra_loose_point_selectable: unsupported storage buffer other than supported read-only native layouts", + "Blender WebGL shader overlay_extra_loose_point_selectable: unsupported storage buffer other than supported read-only native layouts", + "Blender WebGL shader overlay_volume_gridlines_flags_selectable: unsupported storage buffer other than supported read-only native layouts", + "Blender WebGL shader overlay_volume_gridlines_flags_selectable: unsupported storage buffer other than supported read-only native layouts", + "Blender WebGL shader overlay_volume_gridlines_flat_selectable: unsupported storage buffer other than supported read-only native layouts", + "Blender WebGL shader overlay_volume_gridlines_flat_selectable: unsupported storage buffer other than supported read-only native layouts" + ], + "finalState": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + }, + "samples": [ + { + "round": 1, + "atMs": 7043, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 11, + "atMs": 43020, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 21, + "atMs": 79321, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 31, + "atMs": 117194, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + } + ], + "shots": "/tmp/gpu-soak-20261205-035930" +} \ No newline at end of file diff --git a/tests/golden/GPU-SOAK-20261205-144451/report.json b/tests/golden/GPU-SOAK-20261205-144451/report.json new file mode 100644 index 000000000..793c04c0c --- /dev/null +++ b/tests/golden/GPU-SOAK-20261205-144451/report.json @@ -0,0 +1,2110 @@ +{ + "schemaVersion": 1, + "acceptance": "NOT_CLAIMED", + "tool": "soak-interaction", + "url": "http://127.0.0.1:5173/", + "flags": [ + "--enable-unsafe-webgpu", + "--enable-features=Vulkan" + ], + "minutes": 20, + "chrome": { + "path": "/usr/bin/google-chrome", + "version": "Google Chrome 158.0.8127.107" + }, + "preflight": [ + { + "name": "display", + "ok": true, + "detail": ":1", + "hard": true + }, + { + "name": "chrome", + "ok": true, + "detail": "/usr/bin/google-chrome (Google Chrome 158.0.8127.107)", + "hard": true + }, + { + "name": "origin", + "ok": true, + "detail": "http://127.0.0.1:5173/ -> 200", + "hard": true + } + ], + "ready": true, + "readyMs": 3104, + "rounds": 297, + "interactions": 1485, + "canvasAlive": false, + "verdict": "CANVAS_STALL", + "crashes": { + "count": 0, + "fatalCount": 0, + "events": [] + }, + "jsErrors": [ + "Blender WebGL shader overlay_extra_grid_selectable: unsupported storage buffer other than supported read-only native layouts", + "Blender WebGL shader overlay_extra_grid_selectable: unsupported storage buffer other than supported read-only native layouts", + "Blender WebGL shader overlay_extra_groundline_selectable: unsupported storage buffer other than supported read-only native layouts", + "Blender WebGL shader overlay_extra_groundline_selectable: unsupported storage buffer other than supported read-only native layouts", + "Blender WebGL shader overlay_extra_loose_point_selectable: unsupported storage buffer other than supported read-only native layouts", + "Blender WebGL shader overlay_extra_loose_point_selectable: unsupported storage buffer other than supported read-only native layouts", + "Blender WebGL shader overlay_volume_gridlines_flags_selectable: unsupported storage buffer other than supported read-only native layouts", + "Blender WebGL shader overlay_volume_gridlines_flags_selectable: unsupported storage buffer other than supported read-only native layouts", + "Blender WebGL shader overlay_volume_gridlines_flat_selectable: unsupported storage buffer other than supported read-only native layouts", + "Blender WebGL shader overlay_volume_gridlines_flat_selectable: unsupported storage buffer other than supported read-only native layouts" + ], + "finalState": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + }, + "gpuStats": [ + { + "atMs": 17288, + "runs": 160, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 160, + "buffers": 1500, + "bufferBytes": 8419408, + "textures": 0, + "dispatches": 160, + "shaderHits": 157, + "layoutHits": 314, + "pipelineHits": 157, + "stagingCreated": 11, + "stagingReused": 800, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 32288, + "runs": 396, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 396, + "buffers": 3684, + "bufferBytes": 21686160, + "textures": 0, + "dispatches": 396, + "shaderHits": 393, + "layoutHits": 786, + "pipelineHits": 393, + "stagingCreated": 11, + "stagingReused": 1980, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 47287, + "runs": 648, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 648, + "buffers": 6016, + "bufferBytes": 35857040, + "textures": 0, + "dispatches": 648, + "shaderHits": 645, + "layoutHits": 1290, + "pipelineHits": 645, + "stagingCreated": 11, + "stagingReused": 3240, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 62287, + "runs": 899, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 899, + "buffers": 8339, + "bufferBytes": 49954128, + "textures": 0, + "dispatches": 899, + "shaderHits": 896, + "layoutHits": 1792, + "pipelineHits": 896, + "stagingCreated": 11, + "stagingReused": 4495, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 77288, + "runs": 1147, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 1147, + "buffers": 10634, + "bufferBytes": 63898976, + "textures": 0, + "dispatches": 1147, + "shaderHits": 1144, + "layoutHits": 2288, + "pipelineHits": 1144, + "stagingCreated": 11, + "stagingReused": 5735, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 92288, + "runs": 1410, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 1410, + "buffers": 13068, + "bufferBytes": 78674160, + "textures": 0, + "dispatches": 1410, + "shaderHits": 1407, + "layoutHits": 2814, + "pipelineHits": 1407, + "stagingCreated": 11, + "stagingReused": 7050, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 107288, + "runs": 1670, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 1670, + "buffers": 15474, + "bufferBytes": 93297104, + "textures": 0, + "dispatches": 1670, + "shaderHits": 1667, + "layoutHits": 3334, + "pipelineHits": 1667, + "stagingCreated": 11, + "stagingReused": 8350, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 122288, + "runs": 1933, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 1933, + "buffers": 17908, + "bufferBytes": 108072288, + "textures": 0, + "dispatches": 1933, + "shaderHits": 1930, + "layoutHits": 3860, + "pipelineHits": 1930, + "stagingCreated": 11, + "stagingReused": 9665, + "ownedBytesPeak": 175920, + "ownedBuffers": 10, + "ownedBytes": 70928 + }, + { + "atMs": 137287, + "runs": 2174, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 2174, + "buffers": 20138, + "bufferBytes": 121638864, + "textures": 0, + "dispatches": 2174, + "shaderHits": 2171, + "layoutHits": 4342, + "pipelineHits": 2171, + "stagingCreated": 11, + "stagingReused": 10870, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 152288, + "runs": 2432, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 2432, + "buffers": 22526, + "bufferBytes": 136114224, + "textures": 0, + "dispatches": 2432, + "shaderHits": 2429, + "layoutHits": 4858, + "pipelineHits": 2429, + "stagingCreated": 11, + "stagingReused": 12160, + "ownedBytesPeak": 175920, + "ownedBuffers": 10, + "ownedBytes": 70928 + }, + { + "atMs": 167288, + "runs": 2689, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 2689, + "buffers": 24904, + "bufferBytes": 150584928, + "textures": 0, + "dispatches": 2689, + "shaderHits": 2686, + "layoutHits": 5372, + "pipelineHits": 2686, + "stagingCreated": 11, + "stagingReused": 13445, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 182288, + "runs": 2960, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 2960, + "buffers": 27412, + "bufferBytes": 165812176, + "textures": 0, + "dispatches": 2960, + "shaderHits": 2957, + "layoutHits": 5914, + "pipelineHits": 2957, + "stagingCreated": 11, + "stagingReused": 14800, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 197288, + "runs": 3233, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 3233, + "buffers": 29937, + "bufferBytes": 181186976, + "textures": 0, + "dispatches": 3233, + "shaderHits": 3230, + "layoutHits": 6460, + "pipelineHits": 3230, + "stagingCreated": 11, + "stagingReused": 16164, + "ownedBytesPeak": 175920, + "ownedBuffers": 3, + "ownedBytes": 36864 + }, + { + "atMs": 212287, + "runs": 3468, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 3468, + "buffers": 32113, + "bufferBytes": 194379968, + "textures": 0, + "dispatches": 3468, + "shaderHits": 3465, + "layoutHits": 6930, + "pipelineHits": 3465, + "stagingCreated": 11, + "stagingReused": 17340, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 227288, + "runs": 3730, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 3730, + "buffers": 34538, + "bufferBytes": 209081360, + "textures": 0, + "dispatches": 3730, + "shaderHits": 3727, + "layoutHits": 7454, + "pipelineHits": 3727, + "stagingCreated": 11, + "stagingReused": 18650, + "ownedBytesPeak": 175920, + "ownedBuffers": 10, + "ownedBytes": 70928 + }, + { + "atMs": 242287, + "runs": 3971, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 3971, + "buffers": 36768, + "bufferBytes": 222647936, + "textures": 0, + "dispatches": 3971, + "shaderHits": 3968, + "layoutHits": 7936, + "pipelineHits": 3968, + "stagingCreated": 11, + "stagingReused": 19855, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 257287, + "runs": 4234, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4234, + "buffers": 39202, + "bufferBytes": 237423120, + "textures": 0, + "dispatches": 4234, + "shaderHits": 4231, + "layoutHits": 8462, + "pipelineHits": 4231, + "stagingCreated": 11, + "stagingReused": 21170, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 272288, + "runs": 4486, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4486, + "buffers": 41534, + "bufferBytes": 251594000, + "textures": 0, + "dispatches": 4486, + "shaderHits": 4483, + "layoutHits": 8966, + "pipelineHits": 4483, + "stagingCreated": 11, + "stagingReused": 22430, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 287288, + "runs": 4761, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4761, + "buffers": 44079, + "bufferBytes": 267047280, + "textures": 0, + "dispatches": 4761, + "shaderHits": 4758, + "layoutHits": 9516, + "pipelineHits": 4758, + "stagingCreated": 11, + "stagingReused": 23805, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 302288, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 317288, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 332288, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 347288, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 362287, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 377288, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 392288, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 407287, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 422287, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 437287, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 452288, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 467288, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 482288, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 497287, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 512288, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 527287, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 542288, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 557287, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 572287, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 587287, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 602288, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 617288, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 632288, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 647287, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 662288, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 677287, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 692288, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 707288, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 722287, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 737288, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 752287, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 767287, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 782288, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 797288, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 812287, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 827287, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 842287, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 857288, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 872288, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 887288, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 902288, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 917288, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 932288, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 947287, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 962288, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 977288, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 992288, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 1007288, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 1022287, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 1037288, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 1052288, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 1067288, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 1082288, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 1097287, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 1112288, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 1127287, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 1142287, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 1157288, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 1172288, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 1187288, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + }, + { + "atMs": 1202288, + "runs": 4951, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4951, + "buffers": 45837, + "bufferBytes": 277749232, + "textures": 0, + "dispatches": 4951, + "shaderHits": 4948, + "layoutHits": 9896, + "pipelineHits": 4948, + "stagingCreated": 11, + "stagingReused": 24755, + "ownedBytesPeak": 175920, + "ownedBuffers": 0, + "ownedBytes": 0 + } + ], + "stderrFile": "/tmp/gpu-soak-20261205-142443/chrome-stderr.log", + "samples": [ + { + "round": 1, + "atMs": 5906, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 11, + "atMs": 39936, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 21, + "atMs": 73584, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 31, + "atMs": 109526, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 41, + "atMs": 142976, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 51, + "atMs": 176732, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 61, + "atMs": 212345, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 71, + "atMs": 245935, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 81, + "atMs": 279197, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 91, + "atMs": 320363, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 101, + "atMs": 361982, + "alive": false, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 111, + "atMs": 403584, + "alive": false, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 121, + "atMs": 450197, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 131, + "atMs": 491808, + "alive": false, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 141, + "atMs": 533407, + "alive": false, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 151, + "atMs": 579911, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 161, + "atMs": 621084, + "alive": false, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 171, + "atMs": 662204, + "alive": false, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 181, + "atMs": 708392, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 191, + "atMs": 749519, + "alive": false, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 201, + "atMs": 790687, + "alive": false, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 211, + "atMs": 836879, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 221, + "atMs": 878029, + "alive": false, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 231, + "atMs": 919125, + "alive": false, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 241, + "atMs": 965275, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 251, + "atMs": 1006456, + "alive": false, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 261, + "atMs": 1047580, + "alive": false, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 271, + "atMs": 1093752, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 281, + "atMs": 1134869, + "alive": false, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 291, + "atMs": 1176046, + "alive": false, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + } + ], + "shots": "/tmp/gpu-soak-20261205-142443" +} \ No newline at end of file diff --git a/tests/golden/GPU-SOAK-20261205-161007/report.json b/tests/golden/GPU-SOAK-20261205-161007/report.json new file mode 100644 index 000000000..504ecb324 --- /dev/null +++ b/tests/golden/GPU-SOAK-20261205-161007/report.json @@ -0,0 +1,2182 @@ +{ + "schemaVersion": 1, + "acceptance": "NOT_CLAIMED", + "tool": "soak-interaction", + "url": "http://127.0.0.1:5173/", + "flags": [ + "--enable-unsafe-webgpu", + "--enable-features=Vulkan" + ], + "minutes": 20, + "chrome": { + "path": "/usr/bin/google-chrome", + "version": "Google Chrome 158.0.8127.107" + }, + "preflight": [ + { + "name": "display", + "ok": true, + "detail": ":1", + "hard": true + }, + { + "name": "chrome", + "ok": true, + "detail": "/usr/bin/google-chrome (Google Chrome 158.0.8127.107)", + "hard": true + }, + { + "name": "origin", + "ok": true, + "detail": "http://127.0.0.1:5173/ -> 200", + "hard": true + } + ], + "ready": true, + "readyMs": 3098, + "rounds": 351, + "interactions": 1755, + "canvasAlive": true, + "verdict": "STABLE", + "crashes": { + "count": 0, + "fatalCount": 0, + "events": [] + }, + "jsErrors": [ + "Blender WebGL shader overlay_extra_grid_selectable: unsupported storage buffer other than supported read-only native layouts", + "Blender WebGL shader overlay_extra_grid_selectable: unsupported storage buffer other than supported read-only native layouts", + "Blender WebGL shader overlay_extra_groundline_selectable: unsupported storage buffer other than supported read-only native layouts", + "Blender WebGL shader overlay_extra_groundline_selectable: unsupported storage buffer other than supported read-only native layouts", + "Blender WebGL shader overlay_extra_loose_point_selectable: unsupported storage buffer other than supported read-only native layouts", + "Blender WebGL shader overlay_extra_loose_point_selectable: unsupported storage buffer other than supported read-only native layouts", + "Blender WebGL shader overlay_volume_gridlines_flags_selectable: unsupported storage buffer other than supported read-only native layouts", + "Blender WebGL shader overlay_volume_gridlines_flags_selectable: unsupported storage buffer other than supported read-only native layouts", + "Blender WebGL shader overlay_volume_gridlines_flat_selectable: unsupported storage buffer other than supported read-only native layouts", + "Blender WebGL shader overlay_volume_gridlines_flat_selectable: unsupported storage buffer other than supported read-only native layouts" + ], + "finalState": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + }, + "gpuStats": [ + { + "atMs": 17327, + "runs": 167, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 167, + "buffers": 1563, + "bufferBytes": 8866784, + "textures": 0, + "dispatches": 167, + "shaderHits": 164, + "layoutHits": 328, + "pipelineHits": 164, + "stagingCreated": 11, + "stagingReused": 834, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 32327, + "runs": 412, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 412, + "buffers": 3829, + "bufferBytes": 22659360, + "textures": 0, + "dispatches": 412, + "shaderHits": 409, + "layoutHits": 818, + "pipelineHits": 409, + "stagingCreated": 11, + "stagingReused": 2058, + "ownedBytesPeak": 175920, + "ownedBuffers": 3, + "ownedBytes": 36864 + }, + { + "atMs": 47327, + "runs": 655, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 655, + "buffers": 6079, + "bufferBytes": 36304416, + "textures": 0, + "dispatches": 655, + "shaderHits": 652, + "layoutHits": 1304, + "pipelineHits": 652, + "stagingCreated": 11, + "stagingReused": 3274, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 62327, + "runs": 906, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 906, + "buffers": 8402, + "bufferBytes": 50401504, + "textures": 0, + "dispatches": 906, + "shaderHits": 903, + "layoutHits": 1806, + "pipelineHits": 903, + "stagingCreated": 11, + "stagingReused": 4529, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 77327, + "runs": 1154, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 1154, + "buffers": 10697, + "bufferBytes": 64346352, + "textures": 0, + "dispatches": 1154, + "shaderHits": 1151, + "layoutHits": 2302, + "pipelineHits": 1151, + "stagingCreated": 11, + "stagingReused": 5769, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 92327, + "runs": 1413, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 1413, + "buffers": 13094, + "bufferBytes": 78895504, + "textures": 0, + "dispatches": 1413, + "shaderHits": 1410, + "layoutHits": 2820, + "pipelineHits": 1410, + "stagingCreated": 11, + "stagingReused": 7064, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 107327, + "runs": 1661, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 1661, + "buffers": 15389, + "bufferBytes": 92840352, + "textures": 0, + "dispatches": 1661, + "shaderHits": 1658, + "layoutHits": 3316, + "pipelineHits": 1658, + "stagingCreated": 11, + "stagingReused": 8304, + "ownedBytesPeak": 175920, + "ownedBuffers": 23, + "ownedBytes": 173616 + }, + { + "atMs": 122328, + "runs": 1914, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 1914, + "buffers": 17729, + "bufferBytes": 107084992, + "textures": 0, + "dispatches": 1914, + "shaderHits": 1911, + "layoutHits": 3822, + "pipelineHits": 1911, + "stagingCreated": 11, + "stagingReused": 9568, + "ownedBytesPeak": 175920, + "ownedBuffers": 3, + "ownedBytes": 36864 + }, + { + "atMs": 137327, + "runs": 2153, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 2153, + "buffers": 19942, + "bufferBytes": 120504016, + "textures": 0, + "dispatches": 2153, + "shaderHits": 2150, + "layoutHits": 4300, + "pipelineHits": 2150, + "stagingCreated": 11, + "stagingReused": 10764, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 152327, + "runs": 2404, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 2404, + "buffers": 22265, + "bufferBytes": 134601104, + "textures": 0, + "dispatches": 2404, + "shaderHits": 2401, + "layoutHits": 4802, + "pipelineHits": 2401, + "stagingCreated": 11, + "stagingReused": 12019, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 167327, + "runs": 2676, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 2676, + "buffers": 24782, + "bufferBytes": 149902144, + "textures": 0, + "dispatches": 2676, + "shaderHits": 2673, + "layoutHits": 5346, + "pipelineHits": 2673, + "stagingCreated": 11, + "stagingReused": 13379, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 182327, + "runs": 2931, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 2931, + "buffers": 27142, + "bufferBytes": 164225264, + "textures": 0, + "dispatches": 2931, + "shaderHits": 2928, + "layoutHits": 5856, + "pipelineHits": 2928, + "stagingCreated": 11, + "stagingReused": 14654, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 197327, + "runs": 3183, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 3183, + "buffers": 29474, + "bufferBytes": 178396144, + "textures": 0, + "dispatches": 3183, + "shaderHits": 3180, + "layoutHits": 6360, + "pipelineHits": 3180, + "stagingCreated": 11, + "stagingReused": 15914, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 212327, + "runs": 3426, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 3426, + "buffers": 31723, + "bufferBytes": 192041168, + "textures": 0, + "dispatches": 3426, + "shaderHits": 3423, + "layoutHits": 6846, + "pipelineHits": 3423, + "stagingCreated": 11, + "stagingReused": 17129, + "ownedBytesPeak": 175920, + "ownedBuffers": 10, + "ownedBytes": 70928 + }, + { + "atMs": 227327, + "runs": 3685, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 3685, + "buffers": 34120, + "bufferBytes": 206590320, + "textures": 0, + "dispatches": 3685, + "shaderHits": 3682, + "layoutHits": 7364, + "pipelineHits": 3682, + "stagingCreated": 11, + "stagingReused": 18424, + "ownedBytesPeak": 175920, + "ownedBuffers": 10, + "ownedBytes": 70928 + }, + { + "atMs": 242327, + "runs": 3934, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 3934, + "buffers": 36424, + "bufferBytes": 220608960, + "textures": 0, + "dispatches": 3934, + "shaderHits": 3931, + "layoutHits": 7862, + "pipelineHits": 3931, + "stagingCreated": 11, + "stagingReused": 19669, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 257327, + "runs": 4201, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4201, + "buffers": 38895, + "bufferBytes": 235610176, + "textures": 0, + "dispatches": 4201, + "shaderHits": 4198, + "layoutHits": 8396, + "pipelineHits": 4198, + "stagingCreated": 11, + "stagingReused": 21004, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 272327, + "runs": 4453, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4453, + "buffers": 41227, + "bufferBytes": 249781056, + "textures": 0, + "dispatches": 4453, + "shaderHits": 4450, + "layoutHits": 8900, + "pipelineHits": 4450, + "stagingCreated": 11, + "stagingReused": 22264, + "ownedBytesPeak": 175920, + "ownedBuffers": 23, + "ownedBytes": 173616 + }, + { + "atMs": 287327, + "runs": 4728, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4728, + "buffers": 43772, + "bufferBytes": 265234336, + "textures": 0, + "dispatches": 4728, + "shaderHits": 4725, + "layoutHits": 9450, + "pipelineHits": 4725, + "stagingCreated": 11, + "stagingReused": 23639, + "ownedBytesPeak": 175920, + "ownedBuffers": 10, + "ownedBytes": 70928 + }, + { + "atMs": 302327, + "runs": 4977, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4977, + "buffers": 46076, + "bufferBytes": 279252976, + "textures": 0, + "dispatches": 4977, + "shaderHits": 4974, + "layoutHits": 9948, + "pipelineHits": 4974, + "stagingCreated": 11, + "stagingReused": 24884, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 317327, + "runs": 5232, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 5232, + "buffers": 48436, + "bufferBytes": 293576096, + "textures": 0, + "dispatches": 5232, + "shaderHits": 5229, + "layoutHits": 10458, + "pipelineHits": 5229, + "stagingCreated": 11, + "stagingReused": 26159, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 332327, + "runs": 5476, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 5476, + "buffers": 50694, + "bufferBytes": 307294912, + "textures": 0, + "dispatches": 5476, + "shaderHits": 5473, + "layoutHits": 10946, + "pipelineHits": 5473, + "stagingCreated": 11, + "stagingReused": 27379, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 347327, + "runs": 5739, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 5739, + "buffers": 53128, + "bufferBytes": 322070096, + "textures": 0, + "dispatches": 5739, + "shaderHits": 5736, + "layoutHits": 11472, + "pipelineHits": 5736, + "stagingCreated": 11, + "stagingReused": 28694, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 362328, + "runs": 5999, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 5999, + "buffers": 55534, + "bufferBytes": 336693040, + "textures": 0, + "dispatches": 5999, + "shaderHits": 5996, + "layoutHits": 11992, + "pipelineHits": 5996, + "stagingCreated": 11, + "stagingReused": 29994, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 377327, + "runs": 6262, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 6262, + "buffers": 57968, + "bufferBytes": 351468224, + "textures": 0, + "dispatches": 6262, + "shaderHits": 6259, + "layoutHits": 12518, + "pipelineHits": 6259, + "stagingCreated": 11, + "stagingReused": 31309, + "ownedBytesPeak": 175920, + "ownedBuffers": 23, + "ownedBytes": 173616 + }, + { + "atMs": 392350, + "runs": 6525, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 6525, + "buffers": 60402, + "bufferBytes": 366243408, + "textures": 0, + "dispatches": 6525, + "shaderHits": 6522, + "layoutHits": 13044, + "pipelineHits": 6522, + "stagingCreated": 11, + "stagingReused": 32624, + "ownedBytesPeak": 175920, + "ownedBuffers": 10, + "ownedBytes": 70928 + }, + { + "atMs": 407327, + "runs": 6766, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 6766, + "buffers": 62632, + "bufferBytes": 379809984, + "textures": 0, + "dispatches": 6766, + "shaderHits": 6763, + "layoutHits": 13526, + "pipelineHits": 6763, + "stagingCreated": 11, + "stagingReused": 33829, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 422327, + "runs": 7020, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 7020, + "buffers": 64983, + "bufferBytes": 394059312, + "textures": 0, + "dispatches": 7020, + "shaderHits": 7017, + "layoutHits": 14034, + "pipelineHits": 7017, + "stagingCreated": 11, + "stagingReused": 35099, + "ownedBytesPeak": 175920, + "ownedBuffers": 10, + "ownedBytes": 70928 + }, + { + "atMs": 437327, + "runs": 7257, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 7257, + "buffers": 67176, + "bufferBytes": 407399856, + "textures": 0, + "dispatches": 7257, + "shaderHits": 7254, + "layoutHits": 14508, + "pipelineHits": 7254, + "stagingCreated": 11, + "stagingReused": 36284, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 452327, + "runs": 7523, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 7523, + "buffers": 69638, + "bufferBytes": 422327280, + "textures": 0, + "dispatches": 7523, + "shaderHits": 7520, + "layoutHits": 15040, + "pipelineHits": 7520, + "stagingCreated": 11, + "stagingReused": 37614, + "ownedBytesPeak": 175920, + "ownedBuffers": 10, + "ownedBytes": 70928 + }, + { + "atMs": 467327, + "runs": 7761, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 7761, + "buffers": 71840, + "bufferBytes": 435741616, + "textures": 0, + "dispatches": 7761, + "shaderHits": 7758, + "layoutHits": 15516, + "pipelineHits": 7758, + "stagingCreated": 11, + "stagingReused": 38804, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 482327, + "runs": 8005, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 8005, + "buffers": 74098, + "bufferBytes": 449460432, + "textures": 0, + "dispatches": 8005, + "shaderHits": 8002, + "layoutHits": 16004, + "pipelineHits": 8002, + "stagingCreated": 11, + "stagingReused": 40024, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 497327, + "runs": 8234, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 8234, + "buffers": 76216, + "bufferBytes": 462348880, + "textures": 0, + "dispatches": 8234, + "shaderHits": 8231, + "layoutHits": 16462, + "pipelineHits": 8231, + "stagingCreated": 11, + "stagingReused": 41168, + "ownedBytesPeak": 175920, + "ownedBuffers": 6, + "ownedBytes": 68624 + }, + { + "atMs": 512327, + "runs": 8491, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 8491, + "buffers": 78596, + "bufferBytes": 476750480, + "textures": 0, + "dispatches": 8491, + "shaderHits": 8488, + "layoutHits": 16976, + "pipelineHits": 8488, + "stagingCreated": 11, + "stagingReused": 42454, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 527327, + "runs": 8739, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 8739, + "buffers": 80891, + "bufferBytes": 490695328, + "textures": 0, + "dispatches": 8739, + "shaderHits": 8736, + "layoutHits": 17472, + "pipelineHits": 8736, + "stagingCreated": 11, + "stagingReused": 43694, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 542327, + "runs": 8972, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 8972, + "buffers": 83047, + "bufferBytes": 503809840, + "textures": 0, + "dispatches": 8972, + "shaderHits": 8969, + "layoutHits": 17938, + "pipelineHits": 8969, + "stagingCreated": 11, + "stagingReused": 44859, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 557327, + "runs": 9239, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 9239, + "buffers": 85518, + "bufferBytes": 518811056, + "textures": 0, + "dispatches": 9239, + "shaderHits": 9236, + "layoutHits": 18472, + "pipelineHits": 9236, + "stagingCreated": 11, + "stagingReused": 46194, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 572327, + "runs": 9487, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 9487, + "buffers": 87813, + "bufferBytes": 532755904, + "textures": 0, + "dispatches": 9487, + "shaderHits": 9484, + "layoutHits": 18968, + "pipelineHits": 9484, + "stagingCreated": 11, + "stagingReused": 47434, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 587327, + "runs": 9754, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 9754, + "buffers": 90284, + "bufferBytes": 547757120, + "textures": 0, + "dispatches": 9754, + "shaderHits": 9751, + "layoutHits": 19502, + "pipelineHits": 9751, + "stagingCreated": 11, + "stagingReused": 48769, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 602327, + "runs": 10018, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 10018, + "buffers": 92727, + "bufferBytes": 562606096, + "textures": 0, + "dispatches": 10018, + "shaderHits": 10015, + "layoutHits": 20030, + "pipelineHits": 10015, + "stagingCreated": 11, + "stagingReused": 50089, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 617327, + "runs": 10289, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 10289, + "buffers": 95235, + "bufferBytes": 577833344, + "textures": 0, + "dispatches": 10289, + "shaderHits": 10286, + "layoutHits": 20572, + "pipelineHits": 10286, + "stagingCreated": 11, + "stagingReused": 51444, + "ownedBytesPeak": 175920, + "ownedBuffers": 23, + "ownedBytes": 173616 + }, + { + "atMs": 632327, + "runs": 10534, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 10534, + "buffers": 97502, + "bufferBytes": 591625952, + "textures": 0, + "dispatches": 10534, + "shaderHits": 10531, + "layoutHits": 21062, + "pipelineHits": 10531, + "stagingCreated": 11, + "stagingReused": 52669, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 647327, + "runs": 10789, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 10789, + "buffers": 99862, + "bufferBytes": 605949072, + "textures": 0, + "dispatches": 10789, + "shaderHits": 10786, + "layoutHits": 21572, + "pipelineHits": 10786, + "stagingCreated": 11, + "stagingReused": 53944, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 662327, + "runs": 11041, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 11041, + "buffers": 102194, + "bufferBytes": 620119952, + "textures": 0, + "dispatches": 11041, + "shaderHits": 11038, + "layoutHits": 22076, + "pipelineHits": 11038, + "stagingCreated": 11, + "stagingReused": 55204, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 677327, + "runs": 11300, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 11300, + "buffers": 104591, + "bufferBytes": 634669104, + "textures": 0, + "dispatches": 11300, + "shaderHits": 11297, + "layoutHits": 22594, + "pipelineHits": 11297, + "stagingCreated": 11, + "stagingReused": 56499, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 692327, + "runs": 11552, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 11552, + "buffers": 106923, + "bufferBytes": 648839984, + "textures": 0, + "dispatches": 11552, + "shaderHits": 11549, + "layoutHits": 23098, + "pipelineHits": 11549, + "stagingCreated": 11, + "stagingReused": 57759, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 707327, + "runs": 11815, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 11815, + "buffers": 109357, + "bufferBytes": 663615168, + "textures": 0, + "dispatches": 11815, + "shaderHits": 11812, + "layoutHits": 23624, + "pipelineHits": 11812, + "stagingCreated": 11, + "stagingReused": 59074, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 722327, + "runs": 12075, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 12075, + "buffers": 111763, + "bufferBytes": 678238112, + "textures": 0, + "dispatches": 12075, + "shaderHits": 12072, + "layoutHits": 24144, + "pipelineHits": 12072, + "stagingCreated": 11, + "stagingReused": 60374, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 737327, + "runs": 12331, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 12331, + "buffers": 114132, + "bufferBytes": 692635024, + "textures": 0, + "dispatches": 12331, + "shaderHits": 12328, + "layoutHits": 24656, + "pipelineHits": 12328, + "stagingCreated": 11, + "stagingReused": 61654, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 752327, + "runs": 12593, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 12593, + "buffers": 116557, + "bufferBytes": 707336416, + "textures": 0, + "dispatches": 12593, + "shaderHits": 12590, + "layoutHits": 25180, + "pipelineHits": 12590, + "stagingCreated": 11, + "stagingReused": 62964, + "ownedBytesPeak": 175920, + "ownedBuffers": 10, + "ownedBytes": 70928 + }, + { + "atMs": 767327, + "runs": 12843, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 12843, + "buffers": 118869, + "bufferBytes": 721428816, + "textures": 0, + "dispatches": 12843, + "shaderHits": 12840, + "layoutHits": 25680, + "pipelineHits": 12840, + "stagingCreated": 11, + "stagingReused": 64213, + "ownedBytesPeak": 175920, + "ownedBuffers": 3, + "ownedBytes": 36864 + }, + { + "atMs": 782327, + "runs": 13117, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 13117, + "buffers": 121406, + "bufferBytes": 736808336, + "textures": 0, + "dispatches": 13117, + "shaderHits": 13114, + "layoutHits": 26228, + "pipelineHits": 13114, + "stagingCreated": 11, + "stagingReused": 65584, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 797327, + "runs": 13365, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 13365, + "buffers": 123701, + "bufferBytes": 750753184, + "textures": 0, + "dispatches": 13365, + "shaderHits": 13362, + "layoutHits": 26724, + "pipelineHits": 13362, + "stagingCreated": 11, + "stagingReused": 66824, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 812327, + "runs": 13618, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 13618, + "buffers": 126041, + "bufferBytes": 764997824, + "textures": 0, + "dispatches": 13618, + "shaderHits": 13615, + "layoutHits": 27230, + "pipelineHits": 13615, + "stagingCreated": 11, + "stagingReused": 68088, + "ownedBytesPeak": 175920, + "ownedBuffers": 3, + "ownedBytes": 36864 + }, + { + "atMs": 827327, + "runs": 13857, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 13857, + "buffers": 128254, + "bufferBytes": 778416848, + "textures": 0, + "dispatches": 13857, + "shaderHits": 13854, + "layoutHits": 27708, + "pipelineHits": 13854, + "stagingCreated": 11, + "stagingReused": 69284, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 842327, + "runs": 14112, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 14112, + "buffers": 130614, + "bufferBytes": 792739968, + "textures": 0, + "dispatches": 14112, + "shaderHits": 14109, + "layoutHits": 28218, + "pipelineHits": 14109, + "stagingCreated": 11, + "stagingReused": 70559, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 857327, + "runs": 14369, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 14369, + "buffers": 132991, + "bufferBytes": 807210640, + "textures": 0, + "dispatches": 14369, + "shaderHits": 14366, + "layoutHits": 28732, + "pipelineHits": 14366, + "stagingCreated": 11, + "stagingReused": 71843, + "ownedBytesPeak": 175920, + "ownedBuffers": 3, + "ownedBytes": 36864 + }, + { + "atMs": 872327, + "runs": 14634, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 14634, + "buffers": 135445, + "bufferBytes": 822064304, + "textures": 0, + "dispatches": 14634, + "shaderHits": 14631, + "layoutHits": 29262, + "pipelineHits": 14631, + "stagingCreated": 11, + "stagingReused": 73169, + "ownedBytesPeak": 175920, + "ownedBuffers": 10, + "ownedBytes": 70928 + }, + { + "atMs": 887327, + "runs": 14895, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 14895, + "buffers": 137860, + "bufferBytes": 836761040, + "textures": 0, + "dispatches": 14895, + "shaderHits": 14892, + "layoutHits": 29784, + "pipelineHits": 14892, + "stagingCreated": 11, + "stagingReused": 74474, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 902327, + "runs": 15139, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 15139, + "buffers": 140118, + "bufferBytes": 850479856, + "textures": 0, + "dispatches": 15139, + "shaderHits": 15136, + "layoutHits": 30272, + "pipelineHits": 15136, + "stagingCreated": 11, + "stagingReused": 75694, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 917327, + "runs": 15402, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 15402, + "buffers": 142552, + "bufferBytes": 865255040, + "textures": 0, + "dispatches": 15402, + "shaderHits": 15399, + "layoutHits": 30798, + "pipelineHits": 15399, + "stagingCreated": 11, + "stagingReused": 77009, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 932327, + "runs": 15654, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 15654, + "buffers": 144884, + "bufferBytes": 879425920, + "textures": 0, + "dispatches": 15654, + "shaderHits": 15651, + "layoutHits": 31302, + "pipelineHits": 15651, + "stagingCreated": 11, + "stagingReused": 78269, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 947328, + "runs": 15913, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 15913, + "buffers": 147281, + "bufferBytes": 893975072, + "textures": 0, + "dispatches": 15913, + "shaderHits": 15910, + "layoutHits": 31820, + "pipelineHits": 15910, + "stagingCreated": 11, + "stagingReused": 79564, + "ownedBytesPeak": 175920, + "ownedBuffers": 23, + "ownedBytes": 173616 + }, + { + "atMs": 962327, + "runs": 16166, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 16166, + "buffers": 149622, + "bufferBytes": 908219744, + "textures": 0, + "dispatches": 16166, + "shaderHits": 16163, + "layoutHits": 32326, + "pipelineHits": 16163, + "stagingCreated": 11, + "stagingReused": 80829, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 977327, + "runs": 16421, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 16421, + "buffers": 151982, + "bufferBytes": 922542864, + "textures": 0, + "dispatches": 16421, + "shaderHits": 16418, + "layoutHits": 32836, + "pipelineHits": 16418, + "stagingCreated": 11, + "stagingReused": 82104, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 992327, + "runs": 16686, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 16686, + "buffers": 154434, + "bufferBytes": 937465632, + "textures": 0, + "dispatches": 16686, + "shaderHits": 16683, + "layoutHits": 33366, + "pipelineHits": 16683, + "stagingCreated": 11, + "stagingReused": 83429, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 1007327, + "runs": 16990, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 16990, + "buffers": 157246, + "bufferBytes": 954644064, + "textures": 0, + "dispatches": 16990, + "shaderHits": 16987, + "layoutHits": 33974, + "pipelineHits": 16987, + "stagingCreated": 11, + "stagingReused": 84949, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 1022327, + "runs": 17282, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 17282, + "buffers": 159947, + "bufferBytes": 971144400, + "textures": 0, + "dispatches": 17282, + "shaderHits": 17279, + "layoutHits": 34558, + "pipelineHits": 17279, + "stagingCreated": 11, + "stagingReused": 86409, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 1037328, + "runs": 17582, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 17582, + "buffers": 162722, + "bufferBytes": 988096800, + "textures": 0, + "dispatches": 17582, + "shaderHits": 17579, + "layoutHits": 35158, + "pipelineHits": 17579, + "stagingCreated": 11, + "stagingReused": 87909, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 1052327, + "runs": 17878, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 17878, + "buffers": 165460, + "bufferBytes": 1004823168, + "textures": 0, + "dispatches": 17878, + "shaderHits": 17875, + "layoutHits": 35750, + "pipelineHits": 17875, + "stagingCreated": 11, + "stagingReused": 89389, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 1067328, + "runs": 18161, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 18161, + "buffers": 168078, + "bufferBytes": 1020797648, + "textures": 0, + "dispatches": 18161, + "shaderHits": 18158, + "layoutHits": 36316, + "pipelineHits": 18158, + "stagingCreated": 11, + "stagingReused": 90804, + "ownedBytesPeak": 175920, + "ownedBuffers": 10, + "ownedBytes": 70928 + }, + { + "atMs": 1082327, + "runs": 18465, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 18465, + "buffers": 170890, + "bufferBytes": 1037976080, + "textures": 0, + "dispatches": 18465, + "shaderHits": 18462, + "layoutHits": 36924, + "pipelineHits": 18462, + "stagingCreated": 11, + "stagingReused": 92324, + "ownedBytesPeak": 175920, + "ownedBuffers": 10, + "ownedBytes": 70928 + }, + { + "atMs": 1097327, + "runs": 18742, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 18742, + "buffers": 173452, + "bufferBytes": 1053646080, + "textures": 0, + "dispatches": 18742, + "shaderHits": 18739, + "layoutHits": 37478, + "pipelineHits": 18739, + "stagingCreated": 11, + "stagingReused": 93709, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 1112327, + "runs": 19062, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 19062, + "buffers": 176412, + "bufferBytes": 1071728640, + "textures": 0, + "dispatches": 19062, + "shaderHits": 19059, + "layoutHits": 38118, + "pipelineHits": 19059, + "stagingCreated": 11, + "stagingReused": 95309, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 1127327, + "runs": 19382, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 19382, + "buffers": 179372, + "bufferBytes": 1089811200, + "textures": 0, + "dispatches": 19382, + "shaderHits": 19379, + "layoutHits": 38758, + "pipelineHits": 19379, + "stagingCreated": 11, + "stagingReused": 96909, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 1142327, + "runs": 19722, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 19722, + "buffers": 182517, + "bufferBytes": 1109023920, + "textures": 0, + "dispatches": 19722, + "shaderHits": 19719, + "layoutHits": 39438, + "pipelineHits": 19719, + "stagingCreated": 11, + "stagingReused": 98609, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 1157328, + "runs": 20042, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 20042, + "buffers": 185477, + "bufferBytes": 1127106480, + "textures": 0, + "dispatches": 20042, + "shaderHits": 20039, + "layoutHits": 40078, + "pipelineHits": 20039, + "stagingCreated": 11, + "stagingReused": 100209, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 1172327, + "runs": 20386, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 20386, + "buffers": 188659, + "bufferBytes": 1146545232, + "textures": 0, + "dispatches": 20386, + "shaderHits": 20383, + "layoutHits": 40766, + "pipelineHits": 20383, + "stagingCreated": 11, + "stagingReused": 101929, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 1187327, + "runs": 20705, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 20705, + "buffers": 191610, + "bufferBytes": 1164554000, + "textures": 0, + "dispatches": 20705, + "shaderHits": 20702, + "layoutHits": 41404, + "pipelineHits": 20702, + "stagingCreated": 11, + "stagingReused": 103524, + "ownedBytesPeak": 175920, + "ownedBuffers": 10, + "ownedBytes": 70928 + }, + { + "atMs": 1202328, + "runs": 21046, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 21046, + "buffers": 194764, + "bufferBytes": 1183840512, + "textures": 0, + "dispatches": 21046, + "shaderHits": 21043, + "layoutHits": 42086, + "pipelineHits": 21043, + "stagingCreated": 11, + "stagingReused": 105229, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + } + ], + "stderrFile": "/tmp/gpu-soak-20261205-154959/chrome-stderr.log", + "samples": [ + { + "round": 1, + "atMs": 5872, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 11, + "atMs": 39852, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 21, + "atMs": 73425, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 31, + "atMs": 109323, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 41, + "atMs": 143004, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 51, + "atMs": 176440, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 61, + "atMs": 212564, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 71, + "atMs": 246092, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 81, + "atMs": 279565, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 91, + "atMs": 315501, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 101, + "atMs": 348832, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 111, + "atMs": 382082, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 121, + "atMs": 418009, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 131, + "atMs": 451608, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 141, + "atMs": 485570, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 151, + "atMs": 521614, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 161, + "atMs": 555159, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 171, + "atMs": 588544, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 181, + "atMs": 624464, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 191, + "atMs": 657908, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 201, + "atMs": 691141, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 211, + "atMs": 727207, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 221, + "atMs": 760850, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 231, + "atMs": 794612, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 241, + "atMs": 830646, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 251, + "atMs": 864297, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 261, + "atMs": 897771, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 271, + "atMs": 934097, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 281, + "atMs": 967608, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 291, + "atMs": 1000874, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 301, + "atMs": 1036913, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 311, + "atMs": 1070682, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 321, + "atMs": 1104073, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 331, + "atMs": 1139046, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 341, + "atMs": 1171764, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 351, + "atMs": 1204357, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + } + ], + "shots": "/tmp/gpu-soak-20261205-154959" +} \ No newline at end of file diff --git a/tests/golden/GPU-SOAK-20261205-162105/report.json b/tests/golden/GPU-SOAK-20261205-162105/report.json new file mode 100644 index 000000000..6fc0730c2 --- /dev/null +++ b/tests/golden/GPU-SOAK-20261205-162105/report.json @@ -0,0 +1,1125 @@ +{ + "schemaVersion": 1, + "acceptance": "NOT_CLAIMED", + "tool": "soak-interaction", + "url": "http://127.0.0.1:5173/", + "flags": [ + "--enable-unsafe-webgpu" + ], + "minutes": 10, + "chrome": { + "path": "/usr/bin/google-chrome", + "version": "Google Chrome 158.0.8127.107" + }, + "preflight": [ + { + "name": "display", + "ok": true, + "detail": ":1", + "hard": true + }, + { + "name": "chrome", + "ok": true, + "detail": "/usr/bin/google-chrome (Google Chrome 158.0.8127.107)", + "hard": true + }, + { + "name": "origin", + "ok": true, + "detail": "http://127.0.0.1:5173/ -> 200", + "hard": true + } + ], + "ready": true, + "readyMs": 3133, + "rounds": 172, + "interactions": 860, + "canvasAlive": true, + "verdict": "STABLE", + "crashes": { + "count": 0, + "fatalCount": 0, + "events": [] + }, + "jsErrors": [ + "Blender WebGL shader overlay_extra_grid_selectable: unsupported storage buffer other than supported read-only native layouts", + "Blender WebGL shader overlay_extra_grid_selectable: unsupported storage buffer other than supported read-only native layouts", + "Blender WebGL shader overlay_extra_groundline_selectable: unsupported storage buffer other than supported read-only native layouts", + "Blender WebGL shader overlay_extra_groundline_selectable: unsupported storage buffer other than supported read-only native layouts", + "Blender WebGL shader overlay_extra_loose_point_selectable: unsupported storage buffer other than supported read-only native layouts", + "Blender WebGL shader overlay_extra_loose_point_selectable: unsupported storage buffer other than supported read-only native layouts", + "Blender WebGL shader overlay_volume_gridlines_flags_selectable: unsupported storage buffer other than supported read-only native layouts", + "Blender WebGL shader overlay_volume_gridlines_flags_selectable: unsupported storage buffer other than supported read-only native layouts", + "Blender WebGL shader overlay_volume_gridlines_flat_selectable: unsupported storage buffer other than supported read-only native layouts", + "Blender WebGL shader overlay_volume_gridlines_flat_selectable: unsupported storage buffer other than supported read-only native layouts" + ], + "finalState": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + }, + "gpuStats": [ + { + "atMs": 17350, + "runs": 157, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 157, + "buffers": 1467, + "bufferBytes": 8405344, + "textures": 0, + "dispatches": 157, + "shaderHits": 154, + "layoutHits": 308, + "pipelineHits": 154, + "stagingCreated": 11, + "stagingReused": 782, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 32349, + "runs": 395, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 395, + "buffers": 3668, + "bufferBytes": 21819648, + "textures": 0, + "dispatches": 395, + "shaderHits": 392, + "layoutHits": 784, + "pipelineHits": 392, + "stagingCreated": 11, + "stagingReused": 1971, + "ownedBytesPeak": 175920, + "ownedBuffers": 6, + "ownedBytes": 68624 + }, + { + "atMs": 47349, + "runs": 625, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 625, + "buffers": 5798, + "bufferBytes": 34712816, + "textures": 0, + "dispatches": 625, + "shaderHits": 622, + "layoutHits": 1244, + "pipelineHits": 622, + "stagingCreated": 11, + "stagingReused": 3122, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 62366, + "runs": 889, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 889, + "buffers": 8241, + "bufferBytes": 49561792, + "textures": 0, + "dispatches": 889, + "shaderHits": 886, + "layoutHits": 1772, + "pipelineHits": 886, + "stagingCreated": 11, + "stagingReused": 4442, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 77350, + "runs": 1133, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 1133, + "buffers": 10499, + "bufferBytes": 63280608, + "textures": 0, + "dispatches": 1133, + "shaderHits": 1130, + "layoutHits": 2260, + "pipelineHits": 1130, + "stagingCreated": 11, + "stagingReused": 5662, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 92350, + "runs": 1396, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 1396, + "buffers": 12933, + "bufferBytes": 78055792, + "textures": 0, + "dispatches": 1396, + "shaderHits": 1393, + "layoutHits": 2786, + "pipelineHits": 1393, + "stagingCreated": 11, + "stagingReused": 6977, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 107349, + "runs": 1656, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 1656, + "buffers": 15339, + "bufferBytes": 92678736, + "textures": 0, + "dispatches": 1656, + "shaderHits": 1653, + "layoutHits": 3306, + "pipelineHits": 1653, + "stagingCreated": 11, + "stagingReused": 8277, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 122372, + "runs": 1920, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 1920, + "buffers": 17782, + "bufferBytes": 107527712, + "textures": 0, + "dispatches": 1920, + "shaderHits": 1917, + "layoutHits": 3834, + "pipelineHits": 1917, + "stagingCreated": 11, + "stagingReused": 9597, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 137349, + "runs": 2183, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 2183, + "buffers": 20216, + "bufferBytes": 122302896, + "textures": 0, + "dispatches": 2183, + "shaderHits": 2180, + "layoutHits": 4360, + "pipelineHits": 2180, + "stagingCreated": 11, + "stagingReused": 10912, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 152349, + "runs": 2435, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 2435, + "buffers": 22548, + "bufferBytes": 136473776, + "textures": 0, + "dispatches": 2435, + "shaderHits": 2432, + "layoutHits": 4864, + "pipelineHits": 2432, + "stagingCreated": 11, + "stagingReused": 12172, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 167349, + "runs": 2694, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 2694, + "buffers": 24945, + "bufferBytes": 151022928, + "textures": 0, + "dispatches": 2694, + "shaderHits": 2691, + "layoutHits": 5382, + "pipelineHits": 2691, + "stagingCreated": 11, + "stagingReused": 13467, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 182349, + "runs": 2947, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 2947, + "buffers": 27286, + "bufferBytes": 165267600, + "textures": 0, + "dispatches": 2947, + "shaderHits": 2944, + "layoutHits": 5888, + "pipelineHits": 2944, + "stagingCreated": 11, + "stagingReused": 14732, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 197349, + "runs": 3201, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 3201, + "buffers": 29637, + "bufferBytes": 179516928, + "textures": 0, + "dispatches": 3201, + "shaderHits": 3198, + "layoutHits": 6396, + "pipelineHits": 3198, + "stagingCreated": 11, + "stagingReused": 16002, + "ownedBytesPeak": 175920, + "ownedBuffers": 10, + "ownedBytes": 70928 + }, + { + "atMs": 212349, + "runs": 3446, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 3446, + "buffers": 31904, + "bufferBytes": 193309536, + "textures": 0, + "dispatches": 3446, + "shaderHits": 3443, + "layoutHits": 6886, + "pipelineHits": 3443, + "stagingCreated": 11, + "stagingReused": 17227, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 227349, + "runs": 3712, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 3712, + "buffers": 34366, + "bufferBytes": 208236960, + "textures": 0, + "dispatches": 3712, + "shaderHits": 3709, + "layoutHits": 7418, + "pipelineHits": 3709, + "stagingCreated": 11, + "stagingReused": 18557, + "ownedBytesPeak": 175920, + "ownedBuffers": 10, + "ownedBytes": 70928 + }, + { + "atMs": 242351, + "runs": 3982, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 3982, + "buffers": 36863, + "bufferBytes": 223459520, + "textures": 0, + "dispatches": 3982, + "shaderHits": 3979, + "layoutHits": 7958, + "pipelineHits": 3979, + "stagingCreated": 11, + "stagingReused": 19906, + "ownedBytesPeak": 175920, + "ownedBuffers": 3, + "ownedBytes": 36864 + }, + { + "atMs": 257350, + "runs": 4245, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4245, + "buffers": 39298, + "bufferBytes": 238234736, + "textures": 0, + "dispatches": 4245, + "shaderHits": 4242, + "layoutHits": 8484, + "pipelineHits": 4242, + "stagingCreated": 11, + "stagingReused": 21222, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 272350, + "runs": 4508, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4508, + "buffers": 41732, + "bufferBytes": 253009920, + "textures": 0, + "dispatches": 4508, + "shaderHits": 4505, + "layoutHits": 9010, + "pipelineHits": 4505, + "stagingCreated": 11, + "stagingReused": 22537, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 287349, + "runs": 4772, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 4772, + "buffers": 44175, + "bufferBytes": 267858896, + "textures": 0, + "dispatches": 4772, + "shaderHits": 4769, + "layoutHits": 9538, + "pipelineHits": 4769, + "stagingCreated": 11, + "stagingReused": 23857, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 302350, + "runs": 5040, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 5040, + "buffers": 46655, + "bufferBytes": 282933904, + "textures": 0, + "dispatches": 5040, + "shaderHits": 5037, + "layoutHits": 10074, + "pipelineHits": 5037, + "stagingCreated": 11, + "stagingReused": 25197, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 317349, + "runs": 5292, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 5292, + "buffers": 48987, + "bufferBytes": 297104784, + "textures": 0, + "dispatches": 5292, + "shaderHits": 5289, + "layoutHits": 10578, + "pipelineHits": 5289, + "stagingCreated": 11, + "stagingReused": 26457, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 332350, + "runs": 5555, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 5555, + "buffers": 51421, + "bufferBytes": 311879968, + "textures": 0, + "dispatches": 5555, + "shaderHits": 5552, + "layoutHits": 11104, + "pipelineHits": 5552, + "stagingCreated": 11, + "stagingReused": 27772, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 347349, + "runs": 5815, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 5815, + "buffers": 53827, + "bufferBytes": 326502912, + "textures": 0, + "dispatches": 5815, + "shaderHits": 5812, + "layoutHits": 11624, + "pipelineHits": 5812, + "stagingCreated": 11, + "stagingReused": 29072, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 362349, + "runs": 6087, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 6087, + "buffers": 56344, + "bufferBytes": 341803952, + "textures": 0, + "dispatches": 6087, + "shaderHits": 6084, + "layoutHits": 12168, + "pipelineHits": 6084, + "stagingCreated": 11, + "stagingReused": 30432, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 377349, + "runs": 6350, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 6350, + "buffers": 58778, + "bufferBytes": 356579136, + "textures": 0, + "dispatches": 6350, + "shaderHits": 6347, + "layoutHits": 12694, + "pipelineHits": 6347, + "stagingCreated": 11, + "stagingReused": 31747, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 392349, + "runs": 6599, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 6599, + "buffers": 61081, + "bufferBytes": 370597744, + "textures": 0, + "dispatches": 6599, + "shaderHits": 6596, + "layoutHits": 13192, + "pipelineHits": 6596, + "stagingCreated": 11, + "stagingReused": 32991, + "ownedBytesPeak": 175920, + "ownedBuffers": 3, + "ownedBytes": 36864 + }, + { + "atMs": 407350, + "runs": 6869, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 6869, + "buffers": 63581, + "bufferBytes": 385751232, + "textures": 0, + "dispatches": 6869, + "shaderHits": 6866, + "layoutHits": 13732, + "pipelineHits": 6866, + "stagingCreated": 11, + "stagingReused": 34342, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 422349, + "runs": 7110, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 7110, + "buffers": 65811, + "bufferBytes": 399317808, + "textures": 0, + "dispatches": 7110, + "shaderHits": 7107, + "layoutHits": 14214, + "pipelineHits": 7107, + "stagingCreated": 11, + "stagingReused": 35547, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 437349, + "runs": 7369, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 7369, + "buffers": 68208, + "bufferBytes": 413866960, + "textures": 0, + "dispatches": 7369, + "shaderHits": 7366, + "layoutHits": 14732, + "pipelineHits": 7366, + "stagingCreated": 11, + "stagingReused": 36842, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 452349, + "runs": 7629, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 7629, + "buffers": 70614, + "bufferBytes": 428489904, + "textures": 0, + "dispatches": 7629, + "shaderHits": 7626, + "layoutHits": 15252, + "pipelineHits": 7626, + "stagingCreated": 11, + "stagingReused": 38142, + "ownedBytesPeak": 175920, + "ownedBuffers": 12, + "ownedBytes": 102176 + }, + { + "atMs": 467349, + "runs": 7896, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 7896, + "buffers": 73085, + "bufferBytes": 443491120, + "textures": 0, + "dispatches": 7896, + "shaderHits": 7893, + "layoutHits": 15786, + "pipelineHits": 7893, + "stagingCreated": 11, + "stagingReused": 39477, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 482349, + "runs": 8164, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 8164, + "buffers": 75565, + "bufferBytes": 458566128, + "textures": 0, + "dispatches": 8164, + "shaderHits": 8161, + "layoutHits": 16322, + "pipelineHits": 8161, + "stagingCreated": 11, + "stagingReused": 40817, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 497349, + "runs": 8414, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 8414, + "buffers": 77878, + "bufferBytes": 472658560, + "textures": 0, + "dispatches": 8414, + "shaderHits": 8411, + "layoutHits": 16822, + "pipelineHits": 8411, + "stagingCreated": 11, + "stagingReused": 42067, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 512350, + "runs": 8702, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 8702, + "buffers": 80542, + "bufferBytes": 488932864, + "textures": 0, + "dispatches": 8702, + "shaderHits": 8699, + "layoutHits": 17398, + "pipelineHits": 8699, + "stagingCreated": 11, + "stagingReused": 43507, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 527349, + "runs": 8958, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 8958, + "buffers": 82910, + "bufferBytes": 503398912, + "textures": 0, + "dispatches": 8958, + "shaderHits": 8955, + "layoutHits": 17910, + "pipelineHits": 8955, + "stagingCreated": 11, + "stagingReused": 44787, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 542350, + "runs": 9246, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 9246, + "buffers": 85574, + "bufferBytes": 519673216, + "textures": 0, + "dispatches": 9246, + "shaderHits": 9243, + "layoutHits": 18486, + "pipelineHits": 9243, + "stagingCreated": 11, + "stagingReused": 46227, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 557349, + "runs": 9562, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 9562, + "buffers": 88497, + "bufferBytes": 537529744, + "textures": 0, + "dispatches": 9562, + "shaderHits": 9559, + "layoutHits": 19118, + "pipelineHits": 9559, + "stagingCreated": 11, + "stagingReused": 47807, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 572349, + "runs": 9873, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 9873, + "buffers": 91374, + "bufferBytes": 555086448, + "textures": 0, + "dispatches": 9873, + "shaderHits": 9870, + "layoutHits": 19740, + "pipelineHits": 9870, + "stagingCreated": 11, + "stagingReused": 49362, + "ownedBytesPeak": 175920, + "ownedBuffers": 10, + "ownedBytes": 70928 + }, + { + "atMs": 587349, + "runs": 10198, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 10198, + "buffers": 94380, + "bufferBytes": 573468832, + "textures": 0, + "dispatches": 10198, + "shaderHits": 10195, + "layoutHits": 20390, + "pipelineHits": 10195, + "stagingCreated": 11, + "stagingReused": 50987, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + }, + { + "atMs": 602350, + "runs": 10502, + "shaderModules": 3, + "bindGroupLayouts": 3, + "pipelineLayouts": 3, + "computePipelines": 3, + "bindGroups": 10502, + "buffers": 97192, + "bufferBytes": 590647264, + "textures": 0, + "dispatches": 10502, + "shaderHits": 10499, + "layoutHits": 20998, + "pipelineHits": 10499, + "stagingCreated": 11, + "stagingReused": 52507, + "ownedBytesPeak": 175920, + "ownedBuffers": 13, + "ownedBytes": 102688 + } + ], + "stderrFile": "/tmp/gpu-soak-20261205-161100/chrome-stderr.log", + "samples": [ + { + "round": 1, + "atMs": 5950, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 11, + "atMs": 40997, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 21, + "atMs": 75569, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 31, + "atMs": 111986, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 41, + "atMs": 145795, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 51, + "atMs": 179534, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 61, + "atMs": 216615, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 71, + "atMs": 250265, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 81, + "atMs": 283866, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 91, + "atMs": 320238, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 101, + "atMs": 354325, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 111, + "atMs": 388484, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 121, + "atMs": 425145, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 131, + "atMs": 459136, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 141, + "atMs": 493272, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 151, + "atMs": 530733, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 161, + "atMs": 564770, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + }, + { + "round": 171, + "atMs": 598447, + "alive": true, + "crashed": 0, + "state": { + "engine": "Engine: new General project", + "wasm": "WASM ABI: ready (1)", + "native": "true", + "gpuStats": null + } + } + ], + "shots": "/tmp/gpu-soak-20261205-161100" +} \ No newline at end of file diff --git a/tools/web/check-headed-tools.mjs b/tools/web/check-headed-tools.mjs new file mode 100644 index 000000000..e29eaa16c --- /dev/null +++ b/tools/web/check-headed-tools.mjs @@ -0,0 +1,113 @@ +#!/usr/bin/env node +/** + * Gate for the headed browser tool family (tools/web/headed/). + * + * node tools/web/check-headed-tools.mjs + * + * Without launching Chrome, checks: + * - every tool on disk is registered in docs/web/HEADED-TOOLS.md, and every + * registered tool exists; + * - every tool answers --help with exit 0 and rejects an unknown option with + * exit 64 (the shared CLI contract); + * - every tool parses argv through normalizeArgs(); + * - every receipt under tests/golden/{GPU-PROBE,HEADED-SMOKE,GPU-SOAK}-* + * carries schemaVersion 1, acceptance NOT_CLAIMED and a tool name that + * maps to a file on disk. + * + * Exit 0 PASS, 1 FAIL. It never starts a browser, so it needs no DISPLAY. + */ +import { spawnSync } from "node:child_process"; +import fs from "node:fs"; +import path from "node:path"; + +const REPO = path.resolve(import.meta.dirname, "../.."); +const HEADED = path.join(REPO, "tools/web/headed"); +const DOC = path.join(REPO, "docs/web/HEADED-TOOLS.md"); +const GOLDEN = path.join(REPO, "tests/golden"); +const TOPICS = ["GPU-PROBE", "HEADED-SMOKE", "GPU-SOAK"]; + +const failures = []; +const check = (label, run) => { try { run(); } catch (error) { failures.push(`${label}: ${error.message}`); } }; +const fail = (message) => { throw new Error(message); }; + +const walk = (dir) => fs.readdirSync(dir, { withFileTypes: true }).flatMap((entry) => { + const full = path.join(dir, entry.name); + return entry.isDirectory() ? walk(full) : [full]; +}); + +const tools = walk(HEADED) + .filter((file) => /\.mjs$/.test(file) && !file.includes(`${path.sep}lib${path.sep}`)) + .map((file) => path.relative(HEADED, file).split(path.sep).join("/")) + .sort(); +const libs = walk(path.join(HEADED, "lib")).map((file) => path.basename(file)).sort(); +const fixtures = walk(path.join(HEADED, "fixtures")).map((file) => path.relative(HEADED, file).split(path.sep).join("/")).sort(); +const doc = fs.readFileSync(DOC, "utf8"); + +check("doc exists and names every tool", () => { + const missing = tools.filter((tool) => !doc.includes(`\`${tool}\``)); + if (missing.length) fail(`not in HEADED-TOOLS.md: ${missing.join(", ")}`); +}); +check("doc lists every lib and fixture", () => { + const missing = [...libs.map((lib) => `lib/${lib}`), ...fixtures].filter((item) => !doc.includes(`\`${item}\``)); + if (missing.length) fail(`not in HEADED-TOOLS.md: ${missing.join(", ")}`); +}); +check("doc has no stale tool rows", () => { + const rows = [...doc.matchAll(/\| `((?:probe|smoke|soak)\/[^`]+\.mjs)`/g)].map((match) => match[1]); + const stale = rows.filter((row) => !tools.includes(row)); + if (stale.length) fail(`listed but absent: ${stale.join(", ")}`); +}); +check("doc states the shared exit codes", () => { + for (const code of ["`0`", "`1`", "`2`", "`64`"]) if (!doc.includes(code)) fail(`exit code ${code} not documented`); +}); + +const modules = ["browser.mjs", "crash-watch.mjs", "receipt.mjs", "preflight.mjs", "liveness.mjs", "serve.mjs"]; +check("shared lib modules present", () => { + const missing = modules.filter((module) => !fs.existsSync(path.join(HEADED, "lib", module))); + if (missing.length) fail(`missing lib: ${missing.join(", ")}`); +}); + +for (const tool of tools) { + const file = path.join(HEADED, tool); + check(`${tool} --help`, () => { + const run = spawnSync(process.execPath, [file, "--help"], { encoding: "utf8", timeout: 20_000 }); + if (run.status !== 0) fail(`exit ${run.status}: ${run.stderr.trim().slice(0, 160)}`); + if (!/usage:/i.test(run.stdout)) fail("no usage line on stdout"); + }); + check(`${tool} rejects unknown option`, () => { + const run = spawnSync(process.execPath, [file, "--definitely-not-an-option"], { encoding: "utf8", timeout: 20_000 }); + if (run.status !== 64) fail(`exit ${run.status}, expected 64`); + }); + check(`${tool} normalizes argv`, () => { + const source = fs.readFileSync(file, "utf8"); + if (!/import\s*{[^}]*normalizeArgs[^}]*}\s*from/.test(source)) fail("does not import normalizeArgs from lib/browser.mjs"); + if (!/normalizeArgs\(process\.argv\.slice\(2\)\)/.test(source)) fail("does not run process.argv through normalizeArgs()"); + }); +} + +const toolNames = new Set(tools.map((tool) => path.basename(tool, ".mjs"))); +const receipts = fs.existsSync(GOLDEN) + ? fs.readdirSync(GOLDEN) + .filter((name) => TOPICS.some((topic) => name.startsWith(`${topic}-`))) + .map((name) => path.join(GOLDEN, name, "report.json")) + .filter((file) => fs.existsSync(file)) + : []; + +check(`receipts parse and follow the schema (${receipts.length} found)`, () => { + for (const file of receipts) { + const report = JSON.parse(fs.readFileSync(file, "utf8")); + const where = path.relative(REPO, file); + if (report.schemaVersion !== 1) fail(`${where}: schemaVersion ${report.schemaVersion}`); + if (report.acceptance !== "NOT_CLAIMED") fail(`${where}: acceptance ${report.acceptance}`); + if (typeof report.url !== "string" || !/^https?:/.test(report.url)) fail(`${where}: bad url`); + if (!Array.isArray(report.flags) && !(Array.isArray(report.combos) && report.combos.every((combo) => Array.isArray(combo.flags)))) { + fail(`${where}: neither flags nor per-combo flags is a list`); + } + if (!toolNames.has(report.tool)) fail(`${where}: tool "${report.tool}" has no file under tools/web/headed/`); + } +}); + +if (failures.length) { + console.log(JSON.stringify({ status: "FAIL", tools: tools.length, receipts: receipts.length, failures }, null, 2)); + process.exit(1); +} +console.log(JSON.stringify({ status: "PASS", tools: tools.length, libs: libs.length, fixtures: fixtures.length, receipts: receipts.length }, null, 2)); diff --git a/tools/web/headed/fixtures/webgpu-control/control-combined.html b/tools/web/headed/fixtures/webgpu-control/control-combined.html new file mode 100644 index 000000000..a716dbe91 --- /dev/null +++ b/tools/web/headed/fixtures/webgpu-control/control-combined.html @@ -0,0 +1,57 @@ + + +webgl2+webgpu control + + + + + + diff --git a/tools/web/headed/fixtures/webgpu-control/index.html b/tools/web/headed/fixtures/webgpu-control/index.html new file mode 100644 index 000000000..de8075875 --- /dev/null +++ b/tools/web/headed/fixtures/webgpu-control/index.html @@ -0,0 +1,8 @@ + + +webgpu control + + + + + diff --git a/tools/web/headed/fixtures/webgpu-control/main.js b/tools/web/headed/fixtures/webgpu-control/main.js new file mode 100644 index 000000000..099717665 --- /dev/null +++ b/tools/web/headed/fixtures/webgpu-control/main.js @@ -0,0 +1,49 @@ +/* Minimal WebGPU control page: one compute dispatch plus one render pass per + * frame. Used by the headed tools as the "environment vs application" control + * (see docs/web/HEADED-TOOLS.md). */ +const canvas = document.getElementById("canvas"); +const adapter = await navigator.gpu?.requestAdapter(); +if (!adapter) { + document.title = "no-adapter"; + throw new Error("no webgpu adapter"); +} +const device = await adapter.requestDevice(); +document.title = `webgpu ${adapter.info?.vendor ?? ""}/${adapter.info?.architecture ?? ""}`; +const context = canvas.getContext("webgpu"); +const format = navigator.gpu.getPreferredCanvasFormat(); +context.configure({ device, format, alphaMode: "opaque" }); + +const N = 100000; +const data = new Float32Array(N).map((_, index) => Math.sin(index)); +const buffer = device.createBuffer({ size: data.byteLength, usage: GPUBufferUsage.STORAGE | GPUBufferUsage.COPY_DST | GPUBufferUsage.COPY_SRC }); +device.queue.writeBuffer(buffer, 0, data); +const module = device.createShaderModule({ + code: ` +@group(0) @binding(0) var data: array; +@compute @workgroup_size(64) fn main(@builtin(global_invocation_id) id: vec3) { + let i = id.x; + if (i < arrayLength(&data)) { data[i] = sin(data[i] + 0.01); } +}`, +}); +const pipeline = device.createComputePipeline({ layout: "auto", compute: { module, entryPoint: "main" } }); +const bind = device.createBindGroup({ layout: pipeline.getBindGroupLayout(0), entries: [{ binding: 0, resource: { buffer } }] }); + +let frame = 0; +function tick() { + const encoder = device.createCommandEncoder(); + const pass = encoder.beginComputePass(); + pass.setPipeline(pipeline); + pass.setBindGroup(0, bind); + pass.dispatchWorkgroups(Math.ceil(N / 64)); + pass.end(); + const view = context.getCurrentTexture().createView(); + const render = encoder.beginRenderPass({ + colorAttachments: [{ view, clearValue: { r: 0.06 + 0.02 * Math.sin(frame / 10), g: 0.2, b: 0.5, a: 1 }, loadOp: "clear", storeOp: "store" }], + }); + render.end(); + device.queue.submit([encoder.finish()]); + frame += 1; + document.body.dataset.frames = String(frame); + requestAnimationFrame(tick); +} +tick(); diff --git a/tools/web/headed/lib/browser.mjs b/tools/web/headed/lib/browser.mjs new file mode 100644 index 000000000..d26abf5ac --- /dev/null +++ b/tools/web/headed/lib/browser.mjs @@ -0,0 +1,173 @@ +/** + * Shared Chrome launch helpers for the headed diagnostic tools. + * + * These tools drive a real Chromium through the DevTools protocol so they can + * read the browser process stderr (GPU-process crashes are invisible to + * page-level listeners). Playwright stays the CDP client; nothing here launches + * its own browser automation stack. + */ +import { spawn, execFileSync } from "node:child_process"; +import fs from "node:fs"; +import net from "node:net"; +import os from "node:os"; +import path from "node:path"; +import { createRequire } from "node:module"; +import { fileURLToPath } from "node:url"; + +export const REPO_ROOT = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "../../../.."); +export const WEB_DIR = path.join(REPO_ROOT, "web"); +const require = createRequire(path.join(WEB_DIR, "package.json")); +export const { chromium } = require("playwright"); + +/* Same argument sets as web/playwright.config.ts so a diagnostic run sees the + * GPU stack the acceptance suites use. */ +export const HARDWARE_ARGS = [ + "--no-sandbox", + "--use-gl=angle", + "--use-angle=gl", + "--ignore-gpu-blocklist", + "--enable-gpu-rasterization", + "--enable-zero-copy", + "--enable-unsafe-webgpu", +]; +export const SWIFTSHADER_ARGS = [ + "--no-sandbox", + "--use-gl=swiftshader", + "--enable-unsafe-swiftshader", + "--enable-unsafe-webgpu", + "--enable-dawn-features=allow_unsafe_apis", + "--use-webgpu-adapter=swiftshader", +]; + +export function resolveChrome() { + const candidates = [process.env.CHROME_PATH, "/usr/bin/google-chrome", "/usr/bin/google-chrome-stable", "/usr/bin/chromium"]; + for (const candidate of candidates) { + if (!candidate) continue; + try { + execFileSync("test", ["-x", candidate]); + const version = execFileSync(candidate, ["--version"], { encoding: "utf8" }).trim(); + return { path: candidate, version }; + } catch { /* try the next candidate */ } + } + throw new Error("no Chrome binary found; set CHROME_PATH"); +} + +export function freePort() { + return new Promise((resolve, reject) => { + const server = net.createServer(); + server.on("error", reject); + server.listen(0, "127.0.0.1", () => { + const { port } = server.address(); + server.close(() => resolve(port)); + }); + }); +} + +/** + * Spawn Chrome with remote debugging, connect over CDP and expose the browser + * stderr stream (bounded). The caller owns `close()`. + */ +export async function launchChrome({ flags = [], endpointTimeoutMs = 30_000, viewport, stderrFile = null } = {}) { + const chrome = resolveChrome(); + if (!process.env.DISPLAY) throw new Error("DISPLAY is not set; headed runs need X11"); + const port = await freePort(); + const profile = fs.mkdtempSync(path.join(os.tmpdir(), "headed-chrome-")); + const child = spawn(chrome.path, [ + `--remote-debugging-port=${port}`, + `--user-data-dir=${profile}`, + "--no-first-run", + "--no-default-browser-check", + ...flags, + "about:blank", + ], { env: { ...process.env }, stdio: ["ignore", "pipe", "pipe"] }); + + /* The in-memory ring buffer covers crash patterns; verbose logging outgrows + * it within a minute, so a caller that wants the whole stream passes + * `stderrFile` and every line is appended there. */ + const sink = stderrFile ? fs.createWriteStream(stderrFile, { flags: "a" }) : null; + const stderr = { lines: [], onLine: null, file: stderrFile }; + child.stderr.on("data", (chunk) => { + for (const line of String(chunk).split("\n")) { + if (!line.trim()) continue; + sink?.write(`${line}\n`); + stderr.lines.push(line); + if (stderr.lines.length > 4000) stderr.lines.shift(); + stderr.onLine?.(line); + } + }); + + const deadline = Date.now() + endpointTimeoutMs; + let up = false; + while (Date.now() < deadline) { + try { + const response = await fetch(`http://127.0.0.1:${port}/json/version`); + if (response.ok) { up = true; break; } + } catch { /* not listening yet */ } + await new Promise((resolve) => setTimeout(resolve, 250)); + } + if (!up) { + child.kill("SIGKILL"); + fs.rmSync(profile, { recursive: true, force: true }); + throw new Error(`Chrome DevTools endpoint did not come up on port ${port}`); + } + + const browser = await chromium.connectOverCDP(`http://127.0.0.1:${port}`); + const context = browser.contexts()[0] ?? await browser.newContext(); + const pages = context.pages(); + const activePage = pages[0] ?? await context.newPage(); + if (viewport) await activePage.setViewportSize(viewport).catch(() => {}); + + return { + chrome, + port, + profile, + child, + browser, + context, + page: activePage, + stderr, + async close() { + await browser.close().catch(() => {}); + child.kill("SIGTERM"); + await new Promise((resolve) => setTimeout(resolve, 600)); + child.kill("SIGKILL"); + fs.rmSync(profile, { recursive: true, force: true }); + }, + }; +} + +/** Accept both `--name value` and `--name=value` forms. */ +export function normalizeArgs(argv) { + const out = []; + for (const item of argv) { + if (item.startsWith("--") && item.includes("=")) { + const index = item.indexOf("="); + out.push(item.slice(0, index), item.slice(index + 1)); + } else { + out.push(item); + } + } + return out; +} + +export function parseCommonArgs(argv, { tools }) { + const options = {}; + const take = (name) => { const index = argv.indexOf(`--${name}`); return index >= 0 && argv[index + 1] ? argv[index + 1] : null; }; + const has = (name) => argv.includes(`--${name}`); + if (has("help")) return { help: true }; + options.url = take("url") ?? "http://127.0.0.1:5173/"; + options.flags = (take("flags") ?? "").split(",").filter(Boolean); + options.out = take("out"); + options.shots = take("shots"); + options.jsonOnly = has("json-only"); + options.minutes = Number(take("minutes") ?? "0"); + const known = new Set(["url", "flags", "out", "shots", "json-only", "help", "minutes", ...tools]); + for (let index = 0; index < argv.length; index += 1) { + const item = argv[index]; + if (!item.startsWith("--")) return { error: `unexpected argument: ${item}` }; + const name = item.slice(2); + if (!known.has(name)) return { error: `unknown option: ${item}` }; + if (!["json-only", "help"].includes(name)) index += 1; + } + return options; +} diff --git a/tools/web/headed/lib/crash-watch.mjs b/tools/web/headed/lib/crash-watch.mjs new file mode 100644 index 000000000..b9ca08772 --- /dev/null +++ b/tools/web/headed/lib/crash-watch.mjs @@ -0,0 +1,29 @@ +/** + * Chrome stderr crash monitor. + * + * GPU-process crashes (exit_code=133 / SIGTRAP) and Dawn CHECK failures never + * reach page-level listeners; the only place they surface is the browser + * process stderr this module classifies. + */ +export const CRASH_PATTERNS = /GPU process exited unexpectedly|exit_code=133|Check failed|FATAL|ContextResult::kTransientFailure|GPU state invalid/; +export const FATAL_PATTERNS = /Check failed|FATAL/; + +export function createCrashWatch(start = Date.now()) { + const events = []; + const fatals = []; + const feed = (line) => { + if (!CRASH_PATTERNS.test(line)) return; + const entry = { atMs: Date.now() - start, line: line.trim().slice(0, 240) }; + events.push(entry); + if (FATAL_PATTERNS.test(line)) fatals.push(entry); + }; + return { + feed, + events, + fatals, + get count() { return events.length; }, + summary(limit = 20) { + return { count: events.length, fatalCount: fatals.length, events: events.slice(0, limit) }; + }, + }; +} diff --git a/tools/web/headed/lib/liveness.mjs b/tools/web/headed/lib/liveness.mjs new file mode 100644 index 000000000..34335c6cf --- /dev/null +++ b/tools/web/headed/lib/liveness.mjs @@ -0,0 +1,16 @@ +/** + * Canvas liveness from screenshots: a run counts as alive when consecutive + * captures keep differing. PNG bytes are hashed directly; no image decoder is + * needed (tools/web/lib/image-stats.mjs covers pixel verdicts when a tool needs + * them). + */ +export function bufferHash(buffer) { + if (!buffer) return null; + let hash = 7; + for (let index = 0; index < buffer.length; index += 1) hash = (hash * 31 + buffer[index]) >>> 0; + return hash; +} + +export async function snapshot(page) { + try { return await page.screenshot(); } catch { return null; } +} diff --git a/tools/web/headed/lib/preflight.mjs b/tools/web/headed/lib/preflight.mjs new file mode 100644 index 000000000..22dabed6c --- /dev/null +++ b/tools/web/headed/lib/preflight.mjs @@ -0,0 +1,25 @@ +/** Preconditions shared by the headed diagnostic tools. */ +import { resolveChrome } from "./browser.mjs"; + +export async function preflight({ url }) { + const items = []; + items.push({ name: "display", ok: Boolean(process.env.DISPLAY), detail: process.env.DISPLAY ?? "", hard: true }); + try { + const chrome = resolveChrome(); + items.push({ name: "chrome", ok: true, detail: `${chrome.path} (${chrome.version})`, hard: true }); + } catch (error) { + items.push({ name: "chrome", ok: false, detail: error.message, hard: true }); + } + const origin = { name: "origin", ok: false, detail: url, hard: true }; + try { + const response = await fetch(url, { method: "GET", signal: AbortSignal.timeout(5000) }); + origin.ok = response.status < 500; + origin.detail = `${url} -> ${response.status}`; + } catch (error) { + origin.detail = `${url} -> ${error.message}`; + } + items.push(origin); + return items; +} + +export const preflightBlocked = (items) => items.some((item) => item.hard && !item.ok); diff --git a/tools/web/headed/lib/receipt.mjs b/tools/web/headed/lib/receipt.mjs new file mode 100644 index 000000000..3a70797cd --- /dev/null +++ b/tools/web/headed/lib/receipt.mjs @@ -0,0 +1,36 @@ +/** + * Receipt writer shared by the headed diagnostic tools. + * + * Machine-readable JSON lands in tests/golden (tracked, never overwritten); + * regenerable media (screenshots, full stderr) stays outside the repo unless + * the caller chooses otherwise. + */ +import fs from "node:fs"; +import os from "node:os"; +import path from "node:path"; +import { REPO_ROOT } from "./browser.mjs"; + +const pad = (value) => String(value).padStart(2, "0"); +export function stamp(date = new Date()) { + return `${date.getFullYear()}${pad(date.getMonth() + 1)}${pad(date.getDate())}-${pad(date.getHours())}${pad(date.getMinutes())}${pad(date.getSeconds())}`; +} + +export function receiptDir(topic, explicit) { + if (explicit) return path.resolve(explicit); + return path.join(REPO_ROOT, "tests/golden", `${topic}-${stamp()}`); +} + +export function mediaDir(topic, explicit) { + if (explicit) return path.resolve(explicit); + const dir = path.join(os.tmpdir(), `${topic}-${stamp()}`); + fs.mkdirSync(dir, { recursive: true }); + return dir; +} + +export function writeReceipt(dir, report) { + fs.mkdirSync(dir, { recursive: true }); + let target = path.join(dir, "report.json"); + if (fs.existsSync(target)) target = path.join(dir, `report-${stamp()}.json`); + fs.writeFileSync(target, JSON.stringify({ schemaVersion: 1, acceptance: "NOT_CLAIMED", ...report }, null, 2)); + return target; +} diff --git a/tools/web/headed/lib/serve.mjs b/tools/web/headed/lib/serve.mjs new file mode 100644 index 000000000..e8168cae6 --- /dev/null +++ b/tools/web/headed/lib/serve.mjs @@ -0,0 +1,48 @@ +/** + * Minimal static server for the headed tools' control pages, with the same + * cross-origin isolation headers the app requires (SharedArrayBuffer parity). + */ +import fs from "node:fs"; +import http from "node:http"; +import path from "node:path"; + +const MIME = { + ".html": "text/html; charset=utf-8", + ".js": "text/javascript; charset=utf-8", + ".mjs": "text/javascript; charset=utf-8", + ".css": "text/css; charset=utf-8", + ".json": "application/json", + ".png": "image/png", +}; + +export function serveStatic(root, { port = 0 } = {}) { + const resolvedRoot = path.resolve(root); + const server = http.createServer((request, response) => { + const url = new URL(request.url ?? "/", "http://127.0.0.1"); + const relative = decodeURIComponent(url.pathname === "/" ? "/index.html" : url.pathname); + const file = path.join(resolvedRoot, relative); + if (!file.startsWith(resolvedRoot)) { response.writeHead(403).end(); return; } + let body; + try { body = fs.readFileSync(file); } + catch { response.writeHead(404).end(); return; } + response.writeHead(200, { + "Content-Type": MIME[path.extname(file)] ?? "application/octet-stream", + "Cache-Control": "no-cache", + "Cross-Origin-Opener-Policy": "same-origin", + "Cross-Origin-Embedder-Policy": "require-corp", + "Cross-Origin-Resource-Policy": "same-origin", + }); + response.end(body); + }); + return new Promise((resolve, reject) => { + server.on("error", reject); + server.listen(port, "127.0.0.1", () => { + const actual = server.address().port; + resolve({ + port: actual, + url: `http://127.0.0.1:${actual}/`, + close: () => new Promise((done) => server.close(() => done())), + }); + }); + }); +} diff --git a/tools/web/headed/probe/probe-page-state.mjs b/tools/web/headed/probe/probe-page-state.mjs new file mode 100644 index 000000000..9e03d9ff4 --- /dev/null +++ b/tools/web/headed/probe/probe-page-state.mjs @@ -0,0 +1,84 @@ +#!/usr/bin/env node +/** + * Read the headed page state: engine/WASM status, native canvas, WebGPU + * fallback notice, canvases and the WebGL2 renderer string. + * + * node tools/web/headed/probe/probe-page-state.mjs [--url ] [--flags ] + * + * Exit 0 when the page was evaluated (state recorded), 1 when evaluation + * failed, 2 when preflight conditions are missing. + */ +import fs from "node:fs"; +import path from "node:path"; +import { launchChrome, normalizeArgs } from "../lib/browser.mjs"; +import { preflight, preflightBlocked } from "../lib/preflight.mjs"; +import { receiptDir, mediaDir, writeReceipt } from "../lib/receipt.mjs"; + +const argv = normalizeArgs(process.argv.slice(2)); +if (argv.includes("--help")) { + console.log("usage: probe-page-state.mjs [--url ] [--flags ] [--out ] [--shots ] [--json-only]"); + process.exit(0); +} +const take = (name) => { const index = argv.indexOf(`--${name}`); return index >= 0 && argv[index + 1] ? argv[index + 1] : null; }; +for (let index = 0; index < argv.length; index += 1) { + if (!argv[index].startsWith("--")) { console.error(`unexpected argument: ${argv[index]}`); process.exit(64); } + const name = argv[index].slice(2); + if (!["url", "flags", "out", "shots", "json-only", "help"].includes(name)) { console.error(`unknown option: --${name}`); process.exit(64); } + if (name !== "json-only") index += 1; +} +const url = take("url") ?? "http://127.0.0.1:5173/"; +const flags = (take("flags") ?? "").split(",").filter(Boolean); +const jsonOnly = argv.includes("--json-only"); + +const preflightItems = await preflight({ url }); +if (preflightBlocked(preflightItems)) { + console.error(JSON.stringify({ status: "BLOCKED", preflight: preflightItems }, null, 2)); + process.exit(2); +} + +const shots = mediaDir("headed-page-state", take("shots")); +const session = await launchChrome({ flags: ["--no-sandbox", ...flags], viewport: { width: 1440, height: 900 } }); +let state = null; +try { + await session.page.goto(url, { waitUntil: "domcontentloaded", timeout: 60_000 }); + await session.page.waitForTimeout(9_000); + state = await session.page.evaluate(() => { + const text = (selector) => document.querySelector(selector)?.textContent ?? null; + const canvases = Array.from(document.querySelectorAll("canvas")).map((canvas) => { + let context = null; + try { context = canvas.getContext("webgl2") ? "webgl2" : canvas.getContext("webgpu") ? "webgpu" : "other"; } + catch { context = "transferred"; } + return { width: canvas.width, height: canvas.height, css: `${canvas.clientWidth}x${canvas.clientHeight}`, context }; + }); + const probe = document.createElement("canvas").getContext("webgl2"); + let renderer = null; + if (probe) { + const ext = probe.getExtension("WEBGL_debug_renderer_info"); + renderer = ext ? probe.getParameter(ext.UNMASKED_RENDERER_WEBGL) : probe.getParameter(probe.RENDERER); + } + return { + title: document.title, + isolated: globalThis.crossOriginIsolated, + sharedArrayBuffer: typeof SharedArrayBuffer !== "undefined", + webgl2Renderer: renderer, + engineStatus: text('[data-testid="engine-status"]'), + wasmStatus: text('[data-testid="wasm-status"]'), + nativeDesktop: document.querySelector('[aria-label="Blender 桌面"]')?.getAttribute("data-native-canvas-open") ?? null, + fallbackNotice: Boolean(document.querySelector('[data-testid="webgpu-fallback-notice"]')), + canvases, + bodyText: document.body.innerText.replace(/\s+/g, " ").slice(0, 240), + }; + }); + await session.page.screenshot({ path: path.join(shots, "page.png") }).catch(() => {}); +} catch (error) { + state = { error: error.message }; +} finally { + await session.close(); +} + +const report = { tool: "probe-page-state", url, flags, chrome: session.chrome, preflight: preflightItems, state, shots }; +const file = writeReceipt(receiptDir("GPU-PROBE", take("out")), report); +if (jsonOnly) console.log(JSON.stringify(report, null, 2)); +else console.log(JSON.stringify({ receipt: file, state }, null, 2)); +process.exit(state?.error ? 1 : 0); +void fs; diff --git a/tools/web/headed/probe/probe-webgpu-flags.mjs b/tools/web/headed/probe/probe-webgpu-flags.mjs new file mode 100644 index 000000000..e920620cb --- /dev/null +++ b/tools/web/headed/probe/probe-webgpu-flags.mjs @@ -0,0 +1,102 @@ +#!/usr/bin/env node +/** + * Probe the WebGPU adapter under several Chrome flag sets. + * + * node tools/web/headed/probe/probe-webgpu-flags.mjs [--url ] [--out ] [--json-only] + * + * Loads the app origin once per flag set, records navigator.gpu / adapter + * info / WebGL2 renderer / engine-side WebGPU errors and writes + * report.json. Exit 0 when every flag set was probed, 1 on a hard failure, + * 2 when preflight conditions are missing. + */ +import path from "node:path"; +import { launchChrome, normalizeArgs } from "../lib/browser.mjs"; +import { preflight, preflightBlocked } from "../lib/preflight.mjs"; +import { receiptDir, writeReceipt } from "../lib/receipt.mjs"; + +const argv = normalizeArgs(process.argv.slice(2)); +if (argv.includes("--help")) { + console.log("usage: probe-webgpu-flags.mjs [--url ] [--out ] [--json-only] [--help]"); + process.exit(0); +} +const take = (name) => { const index = argv.indexOf(`--${name}`); return index >= 0 && argv[index + 1] ? argv[index + 1] : null; }; +for (let index = 0; index < argv.length; index += 1) { + if (!argv[index].startsWith("--")) { console.error(`unexpected argument: ${argv[index]}`); process.exit(64); } + const name = argv[index].slice(2); + if (!["url", "out", "json-only", "help"].includes(name)) { console.error(`unknown option: --${name}`); process.exit(64); } + if (name !== "json-only") index += 1; +} +const url = take("url") ?? "http://127.0.0.1:5173/"; +const jsonOnly = argv.includes("--json-only"); + +const combos = [ + { name: "none", flags: [] }, + { name: "unsafe-webgpu", flags: ["--enable-unsafe-webgpu"] }, + { name: "unsafe+ignore-blocklist", flags: ["--enable-unsafe-webgpu", "--ignore-gpu-blocklist"] }, + { name: "unsafe+vulkan", flags: ["--enable-unsafe-webgpu", "--enable-features=Vulkan"] }, + { name: "unsafe+angle-vulkan", flags: ["--enable-unsafe-webgpu", "--enable-features=Vulkan", "--use-angle=vulkan"] }, +]; + +const preflightItems = await preflight({ url }); +if (preflightBlocked(preflightItems)) { + console.error(JSON.stringify({ status: "BLOCKED", preflight: preflightItems }, null, 2)); + process.exit(2); +} + +const started = Date.now(); +const results = []; +let chromeInfo = null; +for (const combo of combos) { + const session = await launchChrome({ flags: ["--no-sandbox", ...combo.flags], viewport: { width: 1440, height: 900 } }); + chromeInfo ??= session.chrome; + const errors = []; + session.page.on("console", (message) => { + if (message.type() === "error" && /webgpu|dawn|shader|compute/i.test(message.text())) errors.push(message.text().slice(0, 200)); + }); + try { + await session.page.goto(url, { waitUntil: "domcontentloaded", timeout: 60_000 }); + await session.page.waitForTimeout(9_000); + const state = await session.page.evaluate(async () => { + const out = { secure: globalThis.isSecureContext, gpu: Boolean(navigator.gpu) }; + const canvas = document.createElement("canvas"); + const gl = canvas.getContext("webgl2"); + if (gl) { + const ext = gl.getExtension("WEBGL_debug_renderer_info"); + out.webgl2Renderer = ext ? gl.getParameter(ext.UNMASKED_RENDERER_WEBGL) : gl.getParameter(gl.RENDERER); + } + if (navigator.gpu) { + try { + const adapter = await navigator.gpu.requestAdapter(); + out.adapter = Boolean(adapter); + if (adapter) { + out.info = adapter.info ? { vendor: adapter.info.vendor, architecture: adapter.info.architecture, device: adapter.info.device, description: adapter.info.description } : null; + const device = await adapter.requestDevice().catch(() => null); + out.device = Boolean(device); + } + } catch (error) { out.adapterError = String(error).slice(0, 160); } + } + return out; + }); + results.push({ ...combo, state, engineErrors: errors.slice(0, 5) }); + } catch (error) { + results.push({ ...combo, error: error.message, engineErrors: errors.slice(0, 5) }); + } finally { + await session.close(); + } +} + +const report = { + tool: "probe-webgpu-flags", + url, + startedAt: new Date().toISOString(), + durationMs: Date.now() - started, + chrome: chromeInfo, + preflight: preflightItems, + combos: results, +}; +const dir = receiptDir("GPU-PROBE", take("out")); +const file = writeReceipt(dir, report); +const failed = results.filter((item) => item.error).length; +if (jsonOnly) console.log(JSON.stringify(report, null, 2)); +else console.log(JSON.stringify({ receipt: file, adapters: results.map((item) => ({ flags: item.name, adapter: item.state?.info ?? item.state?.adapter ?? null, device: item.state?.device ?? null })) }, null, 2)); +process.exit(failed === results.length ? 1 : 0); diff --git a/tools/web/headed/smoke/check-canvas-render.mjs b/tools/web/headed/smoke/check-canvas-render.mjs new file mode 100644 index 000000000..c531d29bb --- /dev/null +++ b/tools/web/headed/smoke/check-canvas-render.mjs @@ -0,0 +1,77 @@ +#!/usr/bin/env node +/** + * Check that the native desktop canvas actually renders under a given flag + * set (adapter present, canvas open, screenshot not empty). + * + * node tools/web/headed/smoke/check-canvas-render.mjs [--url ] + * [--flags ] (default: --enable-unsafe-webgpu) + * + * Exit 0 pass, 1 failed, 2 preflight blocked. + */ +import path from "node:path"; +import { launchChrome, normalizeArgs } from "../lib/browser.mjs"; +import { preflight, preflightBlocked } from "../lib/preflight.mjs"; +import { receiptDir, mediaDir, writeReceipt } from "../lib/receipt.mjs"; +import { imageStats } from "../../lib/image-stats.mjs"; + +const argv = normalizeArgs(process.argv.slice(2)); +if (argv.includes("--help")) { + console.log("usage: check-canvas-render.mjs [--url ] [--flags ] [--out ] [--shots ] [--json-only]"); + process.exit(0); +} +const take = (name) => { const index = argv.indexOf(`--${name}`); return index >= 0 && argv[index + 1] ? argv[index + 1] : null; }; +for (let index = 0; index < argv.length; index += 1) { + if (!argv[index].startsWith("--")) { console.error(`unexpected argument: ${argv[index]}`); process.exit(64); } + const name = argv[index].slice(2); + if (!["url", "flags", "out", "shots", "json-only", "help"].includes(name)) { console.error(`unknown option: --${name}`); process.exit(64); } + if (name !== "json-only") index += 1; +} +const url = take("url") ?? "http://127.0.0.1:5173/"; +const flags = (take("flags") ?? "--enable-unsafe-webgpu").split(",").filter(Boolean); +const jsonOnly = argv.includes("--json-only"); + +const preflightItems = await preflight({ url }); +if (preflightBlocked(preflightItems)) { + console.error(JSON.stringify({ status: "BLOCKED", preflight: preflightItems }, null, 2)); + process.exit(2); +} + +const shots = mediaDir("headed-canvas", take("shots")); +const session = await launchChrome({ flags: ["--no-sandbox", ...flags], viewport: { width: 1600, height: 900 } }); +let ready = false; +let nativeDesktop = null; +let adapter = null; +try { + await session.page.goto(url, { waitUntil: "domcontentloaded", timeout: 60_000 }); + for (let attempt = 0; attempt < 120; attempt += 1) { + const current = await session.page.evaluate(() => ({ + wasm: document.querySelector('[data-testid="wasm-status"]')?.textContent ?? null, + engine: document.querySelector('[data-testid="engine-status"]')?.textContent ?? null, + nativeDesktop: document.querySelector('[aria-label="Blender 桌面"]')?.getAttribute("data-native-canvas-open") ?? null, + })).catch(() => null); + nativeDesktop = current?.nativeDesktop ?? nativeDesktop; + if (current && /ready/i.test(current.wasm ?? "") && current.nativeDesktop === "true") { ready = true; break; } + await session.page.waitForTimeout(1000); + } + adapter = await session.page.evaluate(async () => { + if (!navigator.gpu) return null; + const found = await navigator.gpu.requestAdapter().catch(() => null); + return found?.info ? `${found.info.vendor}/${found.info.architecture}` : found ? "adapter" : null; + }).catch(() => null); + await session.page.waitForTimeout(1500); + await session.page.screenshot({ path: path.join(shots, "canvas.png") }).catch(() => {}); +} finally { + await session.close(); +} + +let pixels = null; +try { pixels = imageStats(path.join(shots, "canvas.png")); } catch (error) { pixels = { verdict: "error", detail: error.message }; } +const ok = ready && Boolean(adapter) && pixels?.verdict !== "error"; +const report = { + tool: "check-canvas-render", url, flags, chrome: session.chrome, preflight: preflightItems, + ready, nativeDesktop, adapter, pixels, shots, status: ok ? "PASS" : "FAIL", +}; +const file = writeReceipt(receiptDir("HEADED-SMOKE", take("out")), report); +if (jsonOnly) console.log(JSON.stringify(report, null, 2)); +else console.log(JSON.stringify({ receipt: file, status: report.status, ready, nativeDesktop, adapter, pixels: pixels?.verdict ?? null }, null, 2)); +process.exit(ok ? 0 : 1); diff --git a/tools/web/headed/smoke/smoke-headed-boot.mjs b/tools/web/headed/smoke/smoke-headed-boot.mjs new file mode 100644 index 000000000..83ee003ac --- /dev/null +++ b/tools/web/headed/smoke/smoke-headed-boot.mjs @@ -0,0 +1,80 @@ +#!/usr/bin/env node +/** + * Headed boot smoke: wait for the engine to report ready and assert the + * expected native-canvas / fallback state. + * + * node tools/web/headed/smoke/smoke-headed-boot.mjs [--url ] [--flags ] + * [--expect-native true|false|any] [--expect-fallback true|false|any] + * + * Exit 0 pass, 1 failed expectation, 2 preflight blocked. + */ +import path from "node:path"; +import { launchChrome, normalizeArgs } from "../lib/browser.mjs"; +import { preflight, preflightBlocked } from "../lib/preflight.mjs"; +import { receiptDir, mediaDir, writeReceipt } from "../lib/receipt.mjs"; + +const argv = normalizeArgs(process.argv.slice(2)); +if (argv.includes("--help")) { + console.log("usage: smoke-headed-boot.mjs [--url ] [--flags ] [--expect-native true|false|any] [--expect-fallback true|false|any] [--out ] [--shots ] [--json-only]"); + process.exit(0); +} +const take = (name) => { const index = argv.indexOf(`--${name}`); return index >= 0 && argv[index + 1] ? argv[index + 1] : null; }; +for (let index = 0; index < argv.length; index += 1) { + if (!argv[index].startsWith("--")) { console.error(`unexpected argument: ${argv[index]}`); process.exit(64); } + const name = argv[index].slice(2); + if (!["url", "flags", "expect-native", "expect-fallback", "out", "shots", "json-only", "help"].includes(name)) { console.error(`unknown option: --${name}`); process.exit(64); } + if (name !== "json-only") index += 1; +} +const url = take("url") ?? "http://127.0.0.1:5173/"; +const flags = (take("flags") ?? "").split(",").filter(Boolean); +const expectNative = take("expect-native") ?? "any"; +const expectFallback = take("expect-fallback") ?? "any"; +const jsonOnly = argv.includes("--json-only"); + +const preflightItems = await preflight({ url }); +if (preflightBlocked(preflightItems)) { + console.error(JSON.stringify({ status: "BLOCKED", preflight: preflightItems }, null, 2)); + process.exit(2); +} + +const shots = mediaDir("headed-smoke", take("shots")); +const session = await launchChrome({ flags: ["--no-sandbox", ...flags], viewport: { width: 1600, height: 900 } }); +const state = async () => session.page.evaluate(() => ({ + engine: document.querySelector('[data-testid="engine-status"]')?.textContent ?? null, + wasm: document.querySelector('[data-testid="wasm-status"]')?.textContent ?? null, + nativeDesktop: document.querySelector('[aria-label="Blender 桌面"]')?.getAttribute("data-native-canvas-open") ?? null, + fallbackNotice: Boolean(document.querySelector('[data-testid="webgpu-fallback-notice"]')), +})).catch(() => null); + +const started = Date.now(); +let ready = false; +let current = null; +try { + await session.page.goto(url, { waitUntil: "domcontentloaded", timeout: 60_000 }); + for (let attempt = 0; attempt < 90; attempt += 1) { + current = await state(); + if (current && /ready/i.test(current.wasm ?? "") && /new General project|SceneIR/i.test(current.engine ?? "")) { ready = true; break; } + await session.page.waitForTimeout(1000); + } + await session.page.screenshot({ path: path.join(shots, "boot.png") }).catch(() => {}); +} finally { + await session.close(); +} + +const checks = []; +const check = (name, actual, expected) => { + if (expected === "any") return; + checks.push({ name, actual, expected, ok: String(actual) === expected }); +}; +check("nativeDesktop", current?.nativeDesktop, expectNative); +check("fallbackNotice", current?.fallbackNotice, expectFallback); +const ok = ready && checks.every((item) => item.ok); +const report = { + tool: "smoke-headed-boot", url, flags, chrome: session.chrome, preflight: preflightItems, + ready, readyMs: Date.now() - started, state: current, checks, shots, + status: ok ? "PASS" : "FAIL", +}; +const file = writeReceipt(receiptDir("HEADED-SMOKE", take("out")), report); +if (jsonOnly) console.log(JSON.stringify(report, null, 2)); +else console.log(JSON.stringify({ receipt: file, status: report.status, ready, state: current, checks }, null, 2)); +process.exit(ok ? 0 : 1); diff --git a/tools/web/headed/soak/soak-interaction.mjs b/tools/web/headed/soak/soak-interaction.mjs new file mode 100644 index 000000000..5e0b82ef5 --- /dev/null +++ b/tools/web/headed/soak/soak-interaction.mjs @@ -0,0 +1,134 @@ +#!/usr/bin/env node +/** + * Interaction soak for the native desktop canvas: drives pointer/keyboard load + * in a real headed Chrome, watches the browser stderr for GPU-process crashes + * and keeps a screenshot-difference liveness signal. + * + * node tools/web/headed/soak/soak-interaction.mjs [--url ] + * [--flags ] [--minutes N] [--shots ] [--out ] + * + * Verdicts: STABLE (no crash pattern, canvas changing), GPU_CRASH (crash + * patterns seen), CANVAS_STALL (no crash but the final round's canvas did not + * change). Exit 0 STABLE, 1 otherwise, 2 preflight blocked. + */ +import path from "node:path"; +import { launchChrome, normalizeArgs } from "../lib/browser.mjs"; +import { createCrashWatch } from "../lib/crash-watch.mjs"; +import { bufferHash, snapshot } from "../lib/liveness.mjs"; +import { preflight, preflightBlocked } from "../lib/preflight.mjs"; +import { receiptDir, mediaDir, writeReceipt } from "../lib/receipt.mjs"; + +const argv = normalizeArgs(process.argv.slice(2)); +if (argv.includes("--help")) { + console.log("usage: soak-interaction.mjs [--url ] [--flags ] [--minutes N] [--shots ] [--out ] [--json-only]"); + process.exit(0); +} +const take = (name) => { const index = argv.indexOf(`--${name}`); return index >= 0 && argv[index + 1] ? argv[index + 1] : null; }; +for (let index = 0; index < argv.length; index += 1) { + if (!argv[index].startsWith("--")) { console.error(`unexpected argument: ${argv[index]}`); process.exit(64); } + const name = argv[index].slice(2); + if (!["url", "flags", "minutes", "shots", "out", "json-only", "help"].includes(name)) { console.error(`unknown option: --${name}`); process.exit(64); } + if (name !== "json-only") index += 1; +} +const url = take("url") ?? "http://127.0.0.1:5173/"; +const flags = (take("flags") ?? "--enable-unsafe-webgpu").split(",").filter(Boolean); +const minutes = Number(take("minutes") ?? "3"); +const jsonOnly = argv.includes("--json-only"); +if (!Number.isFinite(minutes) || minutes <= 0) { console.error("--minutes must be a positive number"); process.exit(64); } + +const preflightItems = await preflight({ url }); +if (preflightBlocked(preflightItems)) { + console.error(JSON.stringify({ status: "BLOCKED", preflight: preflightItems }, null, 2)); + process.exit(2); +} + +const shots = mediaDir("gpu-soak", take("shots")); +const stderrFile = path.join(shots, "chrome-stderr.log"); +const watch = createCrashWatch(); +const session = await launchChrome({ flags: ["--no-sandbox", ...flags], viewport: { width: 1440, height: 900 }, stderrFile }); +session.stderr.onLine = (line) => watch.feed(line); + +const state = () => session.page.evaluate(() => ({ + engine: document.querySelector('[data-testid="engine-status"]')?.textContent ?? null, + wasm: document.querySelector('[data-testid="wasm-status"]')?.textContent ?? null, + native: document.querySelector('[aria-label="Blender 桌面"]')?.getAttribute("data-native-canvas-open") ?? null, + gpuStats: typeof globalThis.__WBV2_GPU_STATS === "function" ? globalThis.__WBV2_GPU_STATS() : null, +})).catch(() => null); + +const started = Date.now(); +let ready = false; +let readyMs = null; +const jsErrors = []; +const gpuStats = []; +session.page.on("pageerror", (error) => jsErrors.push(String(error).slice(0, 200))); +session.page.on("console", (message) => { + const text = message.text(); + // The compute worker prints cumulative GPU-object counters every 15 s. + const stats = text.match(/\[gpu-stats\]\s*(\{.*\})/); + if (stats) { try { gpuStats.push({ atMs: Date.now() - started, ...JSON.parse(stats[1]) }); } catch { /* partial line */ } } + if (message.type() === "error" && /webgpu|dawn|shader|compute/i.test(text)) jsErrors.push(text.slice(0, 200)); +}); + +let canvasAlive = null; +let interactions = 0; +let rounds = 0; +const samples = []; +try { + await session.page.goto(url, { waitUntil: "domcontentloaded", timeout: 60_000 }); + for (let attempt = 0; attempt < 120; attempt += 1) { + const current = await state(); + if (current && /ready/i.test(current.wasm ?? "") && /new General project|SceneIR/i.test(current.engine ?? "")) { ready = true; break; } + await session.page.waitForTimeout(1000); + } + readyMs = Date.now() - started; + + const viewport = session.page.viewportSize() ?? { width: 1440, height: 900 }; + const cx = Math.round(viewport.width * 0.45); + const cy = Math.round(viewport.height * 0.5); + const deadline = Date.now() + minutes * 60_000; + while (Date.now() < deadline) { + rounds += 1; + const before = bufferHash(await snapshot(session.page)); + await session.page.mouse.move(cx, cy); + await session.page.mouse.wheel(0, rounds % 2 ? -240 : 240); + await session.page.mouse.down({ button: "middle" }); + await session.page.mouse.move(cx + 80, cy + 40, { steps: 8 }); + await session.page.mouse.up({ button: "middle" }); + await session.page.mouse.click(cx + 40, cy + 20); + await session.page.keyboard.press("n").catch(() => {}); + await session.page.waitForTimeout(500); + await session.page.keyboard.press("n").catch(() => {}); + await session.page.keyboard.press("F3").catch(() => {}); + await session.page.waitForTimeout(300); + await session.page.keyboard.press("Escape").catch(() => {}); + await session.page.waitForTimeout(1500); + const after = bufferHash(await snapshot(session.page)); + if (before !== null && after !== null) canvasAlive = before !== after; + interactions += 5; + await session.page.screenshot({ path: path.join(shots, `round-${String(rounds).padStart(3, "0")}.png`) }).catch(() => {}); + const current = await state(); + samples.push({ round: rounds, atMs: Date.now() - started, alive: canvasAlive, crashed: watch.count, state: current }); + if (rounds % 3 === 0) { + await session.page.click('[data-testid="native-web-tools-toggle"]', { timeout: 3000 }).catch(() => {}); + await session.page.waitForTimeout(1000); + await session.page.click('[data-testid="desktop-file-transfer-entry"]', { timeout: 3000 }).catch(() => {}); + await session.page.waitForTimeout(1000); + } + } +} finally { + await session.close(); +} + +const finalState = samples.at(-1)?.state ?? null; +const verdict = watch.count > 0 ? "GPU_CRASH" : canvasAlive ? "STABLE" : "CANVAS_STALL"; +const report = { + tool: "soak-interaction", url, flags, minutes, chrome: session.chrome, preflight: preflightItems, + ready, readyMs, rounds, interactions, canvasAlive, verdict, + crashes: watch.summary(), jsErrors: jsErrors.slice(0, 10), finalState, + gpuStats: gpuStats.slice(-160), stderrFile, + samples: samples.filter((_, index) => index % 10 === 0).slice(0, 60), shots, +}; +const file = writeReceipt(receiptDir("GPU-SOAK", take("out")), report); +if (jsonOnly) console.log(JSON.stringify(report, null, 2)); +else console.log(JSON.stringify({ receipt: file, verdict, minutes, crashes: report.crashes.count, fatal: report.crashes.fatalCount, rounds, canvasAlive }, null, 2)); +process.exit(verdict === "STABLE" ? 0 : 1); diff --git a/web/app/public/vendor/blender/web_engine.wasm b/web/app/public/vendor/blender/web_engine.wasm index 421a9751d..ee3b67965 100644 Binary files a/web/app/public/vendor/blender/web_engine.wasm and b/web/app/public/vendor/blender/web_engine.wasm differ diff --git a/web/app/public/wasm-module-manifest.json b/web/app/public/wasm-module-manifest.json index 3745f6fb6..ae7f06e5f 100644 --- a/web/app/public/wasm-module-manifest.json +++ b/web/app/public/wasm-module-manifest.json @@ -10,7 +10,7 @@ "single": { "fileName": "web_engine.wasm", "url": "/vendor/blender/web_engine.wasm", - "sha256": "3c81eb064d8e6a9b59fb1e84aa1ea2faa2d6059ea0f50f4be808bc6399f36598" + "sha256": "74736b019744a148cc272607344190c95ee189d11cbd5e9f03b0469505021fc8" }, "pthread": { "fileName": "web_engine.wasm", @@ -27,7 +27,7 @@ "single": { "fileName": "web_engine.wasm", "url": "/vendor/blender/web_engine.wasm", - "sha256": "3c81eb064d8e6a9b59fb1e84aa1ea2faa2d6059ea0f50f4be808bc6399f36598" + "sha256": "74736b019744a148cc272607344190c95ee189d11cbd5e9f03b0469505021fc8" }, "pthread": { "fileName": "web_engine.wasm", @@ -44,7 +44,7 @@ "single": { "fileName": "web_engine.wasm", "url": "/vendor/blender/web_engine.wasm", - "sha256": "3c81eb064d8e6a9b59fb1e84aa1ea2faa2d6059ea0f50f4be808bc6399f36598" + "sha256": "74736b019744a148cc272607344190c95ee189d11cbd5e9f03b0469505021fc8" }, "pthread": { "fileName": "web_engine.wasm", @@ -61,7 +61,7 @@ "single": { "fileName": "web_engine.wasm", "url": "/vendor/blender/web_engine.wasm", - "sha256": "3c81eb064d8e6a9b59fb1e84aa1ea2faa2d6059ea0f50f4be808bc6399f36598" + "sha256": "74736b019744a148cc272607344190c95ee189d11cbd5e9f03b0469505021fc8" }, "pthread": { "fileName": "web_engine.wasm", diff --git a/web/app/src/app/WasmGPUCanvas.tsx b/web/app/src/app/WasmGPUCanvas.tsx index eb4de7b7b..6cc6c303b 100644 --- a/web/app/src/app/WasmGPUCanvas.tsx +++ b/web/app/src/app/WasmGPUCanvas.tsx @@ -271,6 +271,19 @@ export function WasmGPUCanvas({ client, active = true, playing = false, onApplie finally { retryPending = false; if (!disposed) setRetrying(false); } }; }; + /* A lost WebGPU device leaves the native draw transaction incomplete; replaying + * the frame in place hits a broken GL state. Rebuild the whole surface through + * the manual-retry path instead, bounded so a persistent fault still surfaces. */ + let computeRebinds = 0; + const failSurface = (reason: unknown) => { + const detail = reason && typeof reason === 'object' && 'message' in reason + ? String((reason as { message?: unknown }).message) : String(reason); + fail(reason); + if (computeRebinds < 2 && detail.includes('COMPUTE_DEVICE_LOST')) { + computeRebinds += 1; + window.setTimeout(() => { if (!disposed) void retrySurface.current?.(); }, 400); + } + }; const push = (event: WebEngineGPUInput) => { if (disposed || stopped || !attached || contextLost) return; if (event.type !== 7 && event.type !== 8) setOperationNotice(''); @@ -634,7 +647,7 @@ export function WasmGPUCanvas({ client, active = true, playing = false, onApplie /* Quota exhaustion keeps the native files in memory and only asks the * operator to retry or download a backup, so the surface stays live. */ if (error.message.startsWith('NATIVE_FILES_PERSISTENCE_PENDING')) setOperationNotice('原生文件未写入浏览器存储:请重试或先下载备份'); - else { fail(error); return; } + else { failSurface(error); return; } } if (disposed || stopped) return; // Committed IME text uses the synthetic GHOST unknown-key route. Capture @@ -705,7 +718,7 @@ export function WasmGPUCanvas({ client, active = true, playing = false, onApplie const ownerReady = Boolean(result.displayAcknowledged && !ownerChanged && !result.inputDiscarded && !error && attached && !contextLost && !events.length); readyOwnerFrames = ownerReady ? readyOwnerFrames + 1 : 0; canvas.dataset.nativeInputReady = String(Boolean(!disposed && !stopped && ownerReady && readyOwnerFrames >= 2)); - if (!readyPublished && canvas.dataset.nativeInputReady === 'true') { readyPublished = true; setReady(true); onReady?.(true); } + if (!readyPublished && canvas.dataset.nativeInputReady === 'true') { readyPublished = true; computeRebinds = 0; setReady(true); onReady?.(true); } const redrawPending = error?.code === 'CAPABILITY_MISSING' && (error.message.includes('Browser region requires redraw') || error.message.includes('Browser region draw buffer is unavailable')); if (result.inputDiscarded && !ownerChanged) { events = []; @@ -846,10 +859,11 @@ export function WasmGPUCanvas({ client, active = true, playing = false, onApplie } catch (reason) { /* A frame rejected only because the browser refused to persist /browser * keeps the native files in memory; surface it and keep the pump alive. */ - const quotaPending = reason && typeof reason === 'object' && 'message' in reason && - String((reason as { message?: unknown }).message).startsWith('NATIVE_FILES_PERSISTENCE_PENDING'); + const detail = reason && typeof reason === 'object' && 'message' in reason + ? String((reason as { message?: unknown }).message) : String(reason); + const quotaPending = detail.startsWith('NATIVE_FILES_PERSISTENCE_PENDING'); if (quotaPending) { setOperationNotice('原生文件未写入浏览器存储:请重试或先下载备份'); if (!disposed && !stopped) frame = requestAnimationFrame(() => void draw()); return; } - fail(reason); + failSurface(reason); } }; setError(""); @@ -922,8 +936,10 @@ export function WasmGPUCanvas({ client, active = true, playing = false, onApplie {dropTransferring && } {dropError && {dropError}} - {grabNotice && {grabNotice}} - {operationNotice && {operationNotice}} + {/* Status text floats over the surface: an in-flow notice resized the native + * canvas on every show/hide and freed/recreated region draw buffers each time. */} + {grabNotice && {grabNotice}} + {operationNotice && {operationNotice}} {compositionText && {compositionText}} {compositionError &&
{compositionError}