Diagnostic Matrix: Physics Glitches vs Culprits
| Observed Phenomenon | Performance Impact | Underlying Root Cause | Definitive Fix |
|---|---|---|---|
| Cape / Hair stretches to infinity across the horizon | Zero to minor FPS drop | Vertex weighting to unweighted bone or physics world origin detachment | Reset physics with console smp reset; verify skeleton compatibility |
| Framerate plunges from 120 FPS to 12 FPS in crowded taverns | Catastrophic (90% drop) | Multiple NPCs computing dense collision meshes simultaneously | Install Faster-HDT-SMP (FSMP) with AVX2 instruction set enabled |
| Physics models explode / vibrate wildly at 144+ Hz | Jittery visual stutter | Havok time-step calculation desynchronized from high monitor refresh rates | Configure configs.xml clamp time-step or cap framerate to 120 FPS |
| CTD upon loading into areas with custom physics armor | Immediate Crash to Desktop | XML syntax error or circular collision bone constraint | Remove invalid XML tags; enable FSMP debug logging |
Dynamic physics simulations (cloth, hair, breasts, capes) add immense immersion to PC modding, but poorly configured physics engines can decimate frame rates and trigger bizarre visual mesh stretching. Modern mod lists have migrated away from legacy HDT-SMP toward Faster-HDT-SMP (FSMP), which leverages modern CPU vector extensions.
Phase 1: Migrating to Faster-HDT-SMP (FSMP) and Instruction Sets
Legacy HDT-SMP ran on unoptimized generic x86 instructions or CUDA emulation. FSMP provides hardware-accelerated builds tailored to your CPU:
- Check Your CPU Instruction Capability: Use
CPU-Zor Task Manager. Almost all modern CPUs (Intel Core 4th Gen+, AMD Ryzen all generations) support AVX2. Modern Intel 11th Gen+ and AMD Zen 4/5 support AVX-512. - Install the Matching FSMP Build:
- In your mod manager, reinstall FSMP and select the highest instruction set supported by your CPU (select AVX2 as the gold standard).
- This single change reduces physics CPU processing overhead by 40% to 70%.
Phase 2: Optimizing configs.xml to Prevent FPS Collapse
Navigate to the FSMP configuration directory:
[ModDirectory]\SKSE\Plugins\hdtSkinnedMeshPhys\configs.xml
Open the file and tune the following performance parameters:
1. Clamping the Time Step for High Refresh Rates
In configs.xml, locate the timeStep tag and set:
timeStep min="0.005" max="0.016666"
(Ensures the physics engine updates between 60 Hz and 200 Hz, preventing infinite division bugs that stretch vertices across the screen).
2. Multi-Threading Thread Count
In configs.xml, locate numThreads and set:
numThreads: 4
Setting thread count higher than physical cores introduces thread contention that degrades performance.
3. Distance Cull Distance (The Tavern Fix)
In configs.xml, locate maxDistanceToPlayer and set:
maxDistanceToPlayer: 1500
This single setting stops the engine from computing physics for 30 NPCs drinking beer in the background, keeping frame pacing locked at full speed.
Verification Checklist
- Open the console in-game and run
smp reset. Confirm physics meshes snap cleanly back to actor bodies. - Enter a crowded NPC interior (e.g., The Bannered Mare) and verify framerate remains above 60 FPS.
- Confirm
configs.xmlcontains your matching CPU instruction set.