Have you checked that the graphics card is seated properly, it may have been dislodged while fitting the hdd. Although you have given good information you did not mention whether or not you installed the drivers again for the graphics.
Surface Pro (2017) vs Surface Pro 4
20 groundbreaking 3D animation technologies coming to Siggraph 2017
iPad Pro 12.9 vs Surface Pro 5
Synology invites you to visit them at Insomnia on 26th – 29th August. Book your tickets now and visit Synology.