When I run the sample, it works fine.
But sometimes the cube is freezing, I mean it doesn't rotate for a few seconds and rotate again.
You can refer to the following link.
https://youtu.be/RjIjBBgknyw
You can see the issue at playing time 1:17.
My system information is
Graphic Card : Nvidia P2000
CPU : Intel Core i7-4770K
Mem : 16GB