Disabling Optimus on Debian and using only Nvidia Graphics card¶
I had some problems with bumblebee and optirun command — it just suddenly stopped working.
So here is how to switch your computer to use nvidia on debian, and use nvidia proprietary drivers
Install Nvidia proprietary drives (https://wiki.debian.org/NvidiaGraphicsDrivers).
Remember to configure
xorg.confprecisely as in the instructions.
Restart. Go to bios and switch off integrated graphics card.
If you restart your computer before step 3, most probably your X will not be usable.