fix(web): rebuild offscreen region buffers whose storage was lost
the 3d viewport already recreates its attachments when a WebGL texture loses live storage, but non-viewport regions only freed their offscreen on a size or format change, so a lost color attachment could never regain pixels and the region stayed blank. free and recreate the offscreen when its storage is gone, matching the viewport recovery. evidence: the mid-run blank was observed once (GPU-SOAK-20261205-185353, blank from round 21 with a selection-abort notice) and did not reproduce in two later fault soaks (each 50 rounds) or four targeted probes including a cancel-then-toggle sequence. the rebuild was checked with a 3-minute fault soak (GPU-SOAK-20261205-211912, 49 rounds, STABLE). the causal link to the observed blank is unproven; acceptance stays NOT_CLAIMED. wasm 6183479e78115f20e76dbdc6b98be5ce9e4c425a4e99abca9c3ed88972d236ae. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
@@ -42,15 +42,18 @@
|
||||
- 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`),属独立交互缺口。
|
||||
- 重放后主区域空白:单次观察(`GPU-SOAK-20261205-185353` 从第 21 轮起空白,画面停在
|
||||
“选择操作已中止”),随后两次同参数故障 soak(`-203542`、`-203849`,各 50 轮)与 4 个定向
|
||||
探针(含 cancel 后立即 hide/show 的复现尝试)均未复现,判为未复现竞态。
|
||||
同时补上恢复缺口:离屏 region 的颜色附件丢失 GL 存储时现在会释放并重建(`wm_draw.cc`,
|
||||
与 viewport 路径一致);重建后 3 分钟故障 soak(`GPU-SOAK-20261205-211912`)判 `STABLE`
|
||||
(49 轮、画布存活)。该改动对原始空白的因果未确认,验收保持 `NOT_CLAIMED`。
|
||||
- 选择着色器缺口已关闭:全部 12 个 `overlay_*_selectable` 变体可构建;视口点击选择、
|
||||
空白处取消、`A` 全选经 `bpy.select_get()` 实测正确,点击不再出现“选择操作已中止”。
|
||||
|
||||
## 下一动作
|
||||
|
||||
- 定位重放后点 `native-web-tools` / `desktop-file-transfer-entry` 导致的主区域空白
|
||||
(与 A4 重挂载本身无关,正常 3 分钟运行不出现)。
|
||||
- 若主区域空白再次出现,用同参数 soak 回执(含 `round-*.png` 与 `chrome-stderr.log`)定位首个
|
||||
空白轮次与触发的交互。
|
||||
- 更新 `docs/web/KNOWN_LIMITATIONS.md`、`docs/web/HEADED-TOOLS.md` 的最终措辞。
|
||||
- 提交到 `web/mesh-decimate`,不自动合并。
|
||||
|
||||
@@ -89,8 +89,8 @@
|
||||
- 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`)。
|
||||
一次故障 soak 曾在重放后出现主区域空白;随后两次同参数 soak 与 4 个定向探针未复现,
|
||||
离屏 region 绘制缓冲的丢失存储重建已补上(见 `docs/status/GPU-VULKAN-CRASH-FIX.md`)。
|
||||
|
||||
## 新增工具的约定
|
||||
|
||||
|
||||
@@ -45,10 +45,11 @@ boundary; the legacy `parity-ledger.json` is historical planning data.
|
||||
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`.
|
||||
viewport renders with `frame=1440x900`). A single earlier soak run blanked its main regions
|
||||
after a replay; six later reproductions (two full fault soaks and four targeted probes) did
|
||||
not. Offscreen region draw buffers now recreate a color attachment whose GL storage was lost,
|
||||
matching the existing 3D-viewport recovery. Tracked in
|
||||
`docs/status/GPU-VULKAN-CRASH-FIX.md`.
|
||||
|
||||
## Single-thread and pthread selection
|
||||
|
||||
|
||||
Reference in New Issue
Block a user