I fixed myself.
Solution:
If you have an NVIDIA GPU and an Intel GPU (or AMD) you have to right click on your desktop and select "Nvidia control panel"
You see 3 tabs, select "Manage 3D settings"
Then you will see "Global settings" and "software settings"
Select global and you will see "Preferred graphics processor"
Select from the drop down menus NVIDIA (or whatevel GPU you use, as long as it isn't intel.)
Now go to software settings, select your application (or add it) and again select NVIDIA as your prefered GPU.
Should be done now.