Agreed with Nutti,

Be sure that the GTX 1050 is the one used for running the game and not the integrated GPU.

If problems persist, try to update the GPU driver, might help.