|
|
Posted by Intel HD/Radeon/NVidia 178.120.41.118 December 25, 2011 at 13:42:27:
To use Linux kernel's "Laptop Hybrid Graphics - GPU switching support" add following to /etc/fstab none/sys/kernel/debug debugfs defaults 0 0 then reboot, or execute as root: #mount -t debugfs debugfs /sys/kernel/debug This will enable /sys/kernel/debug/vgaswitcheroo/switch # cat /sys/kernel/debug/vgaswitcheroo/switch 0:IGD:+:Pwr:0000:00:02.0 IGD - denotes integrated Intel graphics. DIS - denotes discrete Radeon/Nvidia discrete graphics. Sending the OFF command turns off the non-controlling device, so If I do # echo OFF > /sys/kernel/debug/vgaswitcheroo/switch 0:DIS: :Off:0000:01:00.0 which powers off the Discrete Radeon/Nvidia controller. But the OFF command powers off whichever device is not controlling. So it's probably best to select the integrated graphics and then power off the 'other' like #echo IGD > /sys/kernel/debug/vgaswitcheroo/switch and that needs to be executed before the X-session starts (or else restart an Xsession w/ ctrl+alt+bksp). FWIW the curent driver commands thru the debugfs 'switch' pseudo file are: The Mux switch options are new - and I haven't played with them. - mux switch to integrated vid To switch-off Radeon/NVidia, do following - # echo "DIGD" > /sys/kernel/debug/vgaswitcheroo/switch To switch-on both graphics chips, do following - # echo "DIGD" > /sys/kernel/debug/vgaswitcheroo/switch Init script for switching off the Radeon/NVidia card - # cat /etc/rc.d/discrete_off #!/bin/bash . /etc/rc.conf case "$1" in start) stop) restart) *)
Switch the Radeon/NVidia off while booting. Add following at the end of the file : /etc/rc.sysinit #Switch-off discrete graphics Tags: Radeon, Nvidia, graphics card, INTEL HD, integrated, linux, integrated, discrete, linux, kernel, VGAswitcheroo, fstab, mount, debug, notebook, laptop |
|
Replies: |