Thanks for the help i did some off the things from the link didnt work though.
I dont know how to disable optimus.
Go to the BIOS>Display>Graphics card > discrete graphics card (it will give you the option of discrete, integrated, or optimus)
*Some of that isn't verbatim, that's just from memory. This is for my Lenovo W520, it may or may not be a bit different from whatever you have. Alternatively you could try updating the graphics drivers from Nvidia's website, optimus has been getting better at detecting various applications each update.