Hello! I have fixed this issue on my Surface Book 2. I have a GTX 1050 and when I played my simple game (as simple as you can get, with only a tile map and a player) it was very laggy. I then went to my NVIDIA control panel and switched the GTX to the Intel integrated graphics. I then played the game again and it was running smoothly!