Simple bash script to change the power state of a Nvidia Card controlled by Bumblebee.
It can be useful when you're trying to use CUDA, but your graphic card is being controlled by bbswitch.
-
Clone the repo:
git clone https://github.com/Jpfonseca/BumblebeeCudaSwitch
. -
Access the
BumblebeeSwitch
folder by running:cd BumblebeeCudaSwitch
. -
Change the file permissions:
chmod +x bumblebeeswitch.sh
-
Run the file :
sudo ./bumblebeeswitch.sh [option]
This script only works if you're using Bumblebee to control your graphic card.