The problem is DX. It can precalculate up to 8 frames ahead if your card is fast enough. This can be forced to 1 frame ahead with ATI Tray tool and similar tools and through manual writing operations.
OpenGL in max can calculate 2 frames ahead
OpenGL in max can calculate 2 frames ahead