How do I disable the discrete graphics and force the use of my integrated Intel HD graphics on an HP Envy 15t-3200?

Solution 1:

vgaswitcheroo applies if there is a free driver from linux kernel and kernel modesetting is activated. So it should work if there is no fgrlx installed. I made my Sony VPCSA with similar setup (Intel 4000, Radeon 6600M) working.

I replaced a line in /etc/defalut/grub (1):

GRUB_CMDLINE_LINUX="video.allow_duplicates=1 radeon.modeset=1"

It fixed the problem for Ubuntu 12.10. However, that's not enough for Debian/unstable. In addition, I had to add a line to /etc/modprobe.d/blacklist.conf (2):

blacklist radeon

And to /etc/rc.local BEFORE exit 0; (3):

modprobe radeon modeset=1
mount -t debugfs none /sys/kernel/debug/
echo OFF > /sys/kernel/debug/vgaswitcheroo/switch

If you have issues, start with (2). It has reliably resulted in a bootable system, than proceed with (3).