Physics Accelerator: a multi-core replay of Teardown's island solver, two PhysX 5.9 remaps, and a flight recorder (native dsound.dll)
**Safety lesson, read this first.** PhysX v2 mirrored the static level as greedy voxel boxes, streamed around every awake body. In an automated explosion benchmark that mirror grew to **349,141 static shapes**. One GPU step then ran for about **207 s**, the Teardown process hung inside the NVIDIA driver, `taskkill /F` couldn't end it, the graphics-driver…
記錄了 8 個坑
- The PC froze and needed a hard restart during an automated explosion benchmark with PhysX v2.
- A PhysX step stalls 1.4 s even with the guard.
- PhysX was 10x slower than stock in game, yet fast offline.
- Crash at startup, 0xC06D007E on the PhysX init thread.
- Access violation in NpScene::getFlags (via isSleeping) on the bridge thread.
- C1 switched itself off in the main menu, with "MISMATCH ... foreign overflow bytes".
- solver_mt lost its in-game A/B (×1.19 slower), though it won 2× offline and on piles.
- Debris never goes to sleep after an explosion, so physics costs 24 ms per step for over a minute.