30-line patch speeds up PhysX 5 robotics simulation 1.63x; still unfixed in SDK 5.13.0

YouJiacheng · x · 2026-11-28

While profiling CPU robotics simulation built on PhysX 5.3.1 (SAPIEN 3 / RoboTwin with dual-arm ALOHA), the author found 35%–45% of total CPU time spent propagating strictly zero impulses from speculative contacts. The root cause: two compounding bugs in PhysX 5's CPU Featherstone TGS solver — zero-impulse propagation and a sticky mJointDirty flag — both still present in the latest PhysX SDK 5.13.0 (Nov 2026).

Using the exact build setup of the upstream precompiled baseline, a minimal C++ fix (+73/-103, net -30 LOC) delivers:

A ready-to-apply fix for any team doing CPU-based robot simulation training.

Original post →

More from Embodied

Embodied channel →