My laptop have 2 graphic cards, intel and ATI, one for power saving, one for gaming, in Ubuntu they run both at the same time, making it crazy hot, and I am sure it can burn your laptop if you live in a warm country, now don't panic, as long as it's not on fire you still can turn off one of them, I choose to turn off the ATI, I like power saving plus I wont be gaming on Ubuntu anyway, just not my kind of gaming platform, why? open source games are crap, what ? no? well jump down if you wanna fix your over heating problem and forget about my open-source gaming problem.
First open up your terminal and type in the following command
You will get an output like this
0:DIS: :Pwr:0000:01:00.0 <- This is the discreet VGA or the ATI, and it's turned ON, you can tell by the word Pwr
1:IGD:+:Pwr:0000:00:02.0 <- This is the Integrated Intel Graphic card, and it's also on, trouble?
Now to permently disable the ATI card and get back your sanity, and save your legs from burning of course, fire up Gedit using the following command.
Sudo gedit /etc/rc.local
and add the following line right before the exit 0
Overall file should look like
Save, reboot and, Enjoy.
#!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. echo OFF > /sys/kernel/debug/vgaswitcheroo/switch exit 0
If you would like to switch off the integrated graphic card just instead of OFF write IGD
Now by testing using the command /sys/kernel/debug/vgaswitcheroo/switch you should see that only one of them got the PWR ON ;)