Copy this in your
'/etc/rc.local' before 'exit 0'
# deactivate ATI video card on startup in order to save battery life # change right and owner of vgaswitcheroo # http://ubuntuforums.org/showthread.php?p=11696293#post11696293 sudo chmod -R 705 /sys/kernel/debug sudo chown -R USERNAME:USERNAME /sys/kernel/debug/vgaswitcheroo # remove radeon module from kernel modprobe radeon # http://doc.ubuntu-fr.org/vga_switcheroo # http://asusm51ta-with-linux.blogspot.fr/ echo OFF > /sys/kernel/debug/vgaswitcheroo/switchDO NOT
'blacklist radeon' at the end of /etc/modprobe.d/blacklist.confTo control if the device is disable type the command :
lspci -vnnn | grep VGAThe controller which is active should end with :
[VGA controller]
!! EDIT : 
laptops featuring hybrid graphics show a huge raise in
power drain after a suspend/resume cycle
This is because the X server doesn't currently support GPU hot-pluggin.
A workaround is to move the code from
'/etc/rc.local' to your '~/.profile' and first force to switch ON then to switch OFF.
references :
ubuntu-gnulinux-1204-precise-on-sony
radeon-module-boot-problems
vga_switcheroo
vgaswitcheroo -- permission denied
ASUSM51Ta & Linux: Enjoy Hybrid Graphics with switcheroo
Thanks you guys !
No comments:
Post a Comment