A. Uninstall, and then reinstall, the latest graphics card driver.
B. Make sure that your Nvidia graphics card is set as the default graphics card.
Here's the steps on how to set it to default.
1. Open the "Nvidia Control Panel".
2. Select "Manage 3D Settings" under 3D Settings.
3. Click on the "Program Settings" tab and select the program you want to choose a graphics card for from the drop down list.
4. Now select "preferred graphics processor" in the drop down list. (You can see what the automatic option is listed as global setting) If you want to use the dedicated graphics card, select High-performance Nvidia processor.
Once it is running on the right one, test the system again and see if the problem persists.
if yes , i have the same problem and i solve it you have to do 5 steps
1- type service in the search / then click w in keyboard find windows report error right click /disable it.
2- update bios to the newest version.
3-right click on desktop /display settings/graphics settings then chose the game and set high performance (gtx 950m)
4- some games need to run as administrator
5- make sure all drivers and component drivers updated