You can clone with
Cannot retrieve contributors at this time
This is extremely experimental, use at your own risk.It seems to work in my Asus UL30VT and I see other DSDTs fromAsus systems that look similar, YMMV.Build the asus-switcheroo.ko kernel modules:# makeOn a Fedora system, you can then install with:# sudo make installThis will: - copy the kernel module in place - update modprobe.d to load asus-switcheroo before nouveau - update dracut to add asus-switcheroo - install the suspend/resume script - run depmod - build a new initramfsFor other distros, do something similar.For simply disabling the discrete graphics, the only other thingyou need to do (aside from rebooting), is:# echo OFF > /sys/kernel/debug/vgaswitcheroo/switchIf this isn't automatically mounted for you, add this to your/etc/fstab:debugfs /sys/kernel/debug debugfs defaults 0 0See the suspend resume script for a description of an issueand workaround for suspend resume and powering off the otherdevice.If you want to run with nouveau graphics, echo DIS to theabove switch file. The LVDS will go black, but if you startX after the switch, it has been known to work. Plugging inan HDMI monitor also seems to kick the text mode into workingand will continue working when the monitor is unplugged.When running with the discrete graphics, there seem to benumerous issues with the Intel driver forgetting that itturned off it's hardware. For instance in VT mode, ifleft idle, the Intel driver will try to attempt to turnthe LVDS off even though the hardware has been put to sleep,resulting in an oops. I've also seen an oops when openingthe lid when using discrete graphcis via nouveau where theIntel driver gets the lid notification and tries to touchthe hardware.Using the discrete graphics is generally not recommendedfor an average user. Patches welcome to make this better.It is also possible, though very, very alpha and extremelynot recommended for average users to use the asus-switcheroomodule as a dummy switcheroo client that allows you to runthe proprietary nvidia module. To do this, blacklistnouveau and rebuild your initramfs to get nouveau out of it.Use the dummy-client=1 option for asus-switcheroo, if loadedfrom initramfs, use asus-switcher.dummy-client=1. At boot,switch to DIS, modprobe nvidia, then start X using the nvidiaproprietary driver. Note that the screen LVDS will go blackas soon as you switch via DIS and will not come back until Xstarts. Unlike nouveau above, there is no framebuffer driverwith nvidia, so text mode access is gone. All of the abovenouveau problems are also expected to happen with nvidia.Also, when using the dummy-client, the switch to discretegraphics is a one-way street. Reboot to re-enable IGD.