HDRP Performance Spikes

Using Unity 2020.3.19f1 HDRP, with a stationary camera in the provided sample scene, I’m getting these crazy 40-60 ms spikes from Gfx.WaitForPresentOnGfxThread.

Curiously, the spikes are rarer and only about 1/3 as bad when VSync is turned on.

Everything I’ve read while googling indicates a busy GPU, but I’m not seeing anything that would account for the GPU being regularly busy for 50ms.

Any ideas?

Is this in the editor or a standalone player?

In the editor.

Try profiling your game in a standalone player and see if the problem persists.