The problem is probably with power. Go to the battery icon in the bottom right click on it and then click on more power options. Click more power plans and then go to high performance. It will drain your battery faster but you will be able to play high powered games. Also go to Nvidia control panel and click management 3d settings and set it to automatic. Auto select.