I have mux-less Intel/ATI hybrid graphics. I can't install fglrx driver, because of it's compatibility with Xorg. So i want to have pernamently disabled discrete VGA.

I type that command after every start-up:

echo OFF > /sys/kernel/debug/vgaswitcheroo/switch

But it's boring, so i want to have this command automatically executed at during boot.

  • If you are interested, I wrote a script that removes unused kernel modules. Removing them not only prevents loading unwanted modules like broken drivers or unused ports like yenta-socket, but it speeds up booting too. It may not exactly be on topic though. – technosaurus Mar 14 '12 at 0:31

There is a file boot.local in /etc/init.d. This file is used to execute local commands during start up. You can add your command to power off the discrete card to this file.

  • +1.Thanks. I've also blacklisted radeon, because of long udev processing and modprobed it there. – kravemir Jan 21 '12 at 16:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.