From dd9ff583a99680a3c64673f801262bd777cbcad3 Mon Sep 17 00:00:00 2001 From: mes123456 Date: Sat, 5 Dec 2026 19:16:47 +0800 Subject: [PATCH] docs(web): record the selectable shader fix and the device-loss replay close the two tracked residuals with the verified evidence: all twelve overlay_*_selectable variants build and viewport click-select deselects and reselects through bpy.select_get(); an attach-time COMPUTE_DEVICE_LOST now replays the surface through the bounded failAttach path (attach #2, frame=1440x900, rendered viewport). the remaining soak blanking after a replay is narrowed to the native-web-tools / desktop-file-transfer panel clicks and recorded as a separate interaction gap. Co-Authored-By: Claude Fable 5.2 --- docs/status/GPU-VULKAN-CRASH-FIX.md | 18 ++++++++++++------ docs/web/HEADED-TOOLS.md | 4 ++++ docs/web/KNOWN_LIMITATIONS.md | 6 ++++++ 3 files changed, 22 insertions(+), 6 deletions(-) diff --git a/docs/status/GPU-VULKAN-CRASH-FIX.md b/docs/status/GPU-VULKAN-CRASH-FIX.md index 75a782c7d..ca6ca535c 100644 --- a/docs/status/GPU-VULKAN-CRASH-FIX.md +++ b/docs/status/GPU-VULKAN-CRASH-FIX.md @@ -32,19 +32,25 @@ `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)不稳定,已完整回退并记为排除项。 + (`?computeFault=destroy-after-N`)保留,附着期 `COMPUTE_DEVICE_LOST` 已由 `failAttach` + 有界重放接通(见下),`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`)仍不可构建,属既有缺口,不在本批范围。 +- A4 的自动重挂载已接通:附着期 `COMPUTE_DEVICE_LOST` 现在经 `failAttach` 有界重放 + (重放预算改为 ref,跨 effect 重跑仍生效)。注入探针 `?computeFault=destroy-after-3` 实测 + attach #2、detach #1、`frame=1440x900`、`inputReady=true`,画面恢复渲染。 + 残余:完整 soak 交互(每 3 轮点 `native-web-tools` / `desktop-file-transfer-entry`)在重放后 + 仍会把原生主区域画成空白并出现“选择操作已中止”;去掉这两类面板点击的 3 分钟故障运行 + 画面完整(`/tmp/fault-probe2/r065.png`、`r070.png`),属独立交互缺口。 +- 选择着色器缺口已关闭:全部 12 个 `overlay_*_selectable` 变体可构建;视口点击选择、 + 空白处取消、`A` 全选经 `bpy.select_get()` 实测正确,点击不再出现“选择操作已中止”。 ## 下一动作 -- 跑 SwiftShader soak 与 Clip 套件并绑定构件哈希。 +- 定位重放后点 `native-web-tools` / `desktop-file-transfer-entry` 导致的主区域空白 + (与 A4 重挂载本身无关,正常 3 分钟运行不出现)。 - 更新 `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 index cb4851fca..eb26070b7 100644 --- a/docs/web/HEADED-TOOLS.md +++ b/docs/web/HEADED-TOOLS.md @@ -87,6 +87,10 @@ draw buffer 重建,提示条改为绝对定位覆盖层后,连续三次 20 分钟 Vulkan soak 判 `STABLE` (`tests/golden/GPU-SOAK-20261205-161007/`、`-165031/`、`-171129/`)。 - 2 分钟 soak 冒烟:STABLE,33 轮,画布持续刷新,零崩溃行(回执 `tests/golden/GPU-SOAK-20261205-040136/`)。 +- 故障注入联调:`--url "http://127.0.0.1:5173/?computeFault=destroy-after-3"` 在附着期触发 + `COMPUTE_DEVICE_LOST`;重放后第二次 attach 成功、`frame=1440x900`、画面恢复渲染。 + 完整 soak 若在重放后点 `native-web-tools` / `desktop-file-transfer-entry` 面板,主区域仍会 + 变空白,属独立交互缺口(见 `docs/status/GPU-VULKAN-CRASH-FIX.md`)。 ## 新增工具的约定 diff --git a/docs/web/KNOWN_LIMITATIONS.md b/docs/web/KNOWN_LIMITATIONS.md index 79457a9f4..2e6d3c624 100644 --- a/docs/web/KNOWN_LIMITATIONS.md +++ b/docs/web/KNOWN_LIMITATIONS.md @@ -43,6 +43,12 @@ boundary; the legacy `parity-ledger.json` is historical planning data. - 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. +- Compute device loss replays the native surface, including a loss during the initial attach + (`?computeFault=destroy-after-3`: the first attach fails, the surface re-attaches, and the + viewport renders with `frame=1440x900`). The full interaction soak still blanks the main + regions after a replay when it also clicks the `native-web-tools` / + `desktop-file-transfer-entry` panels; a 3-minute fault run without those clicks stays + rendered. Tracked in `docs/status/GPU-VULKAN-CRASH-FIX.md`. ## Single-thread and pthread selection