I have reported the bug but it was appearantly my fault. 🙂 I have been told I have set too high a range for the depth buffer. The near clipping plane is set to 0.01 cm, and end clipping plane to 1km. This is what causes such flickering.
If I set the near clipping to 1cm it is gone. 🙂