<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Carewolf</id>
	<title>ThinkWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Carewolf"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/Carewolf"/>
	<updated>2026-04-08T00:06:46Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Switchable_Graphics&amp;diff=53889</id>
		<title>Switchable Graphics</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Switchable_Graphics&amp;diff=53889"/>
		<updated>2012-08-27T18:00:07Z</updated>

		<summary type="html">&lt;p&gt;Carewolf: /* Improving Battery-life with Optimus */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Select ThinkPads feature switchable graphics, where a low power consumption integrated GPU and high performance dedicated GPU is combined and you have the ability to switch between them, sacrificing either performance or battery life.&lt;br /&gt;
&lt;br /&gt;
In Windows XP this switching requires a logout/login, while in Vista and Windows 7 there is support for runtime switching.&lt;br /&gt;
&lt;br /&gt;
Under Linux, the switching so far had to be done by entering BIOS setup and changing between &amp;quot;Internal&amp;quot; (low power, integrated), &amp;quot;External&amp;quot; (high performance, discrete) or &amp;quot;Switchable&amp;quot; (OS selectable) options.&lt;br /&gt;
&lt;br /&gt;
Depending on which Linux version you use, you could have the following effects&lt;br /&gt;
* On Ubuntu 8.10 (Intrepid) BIOS setting has to be either on Internal or External, not Switchable.&lt;br /&gt;
* On Ubuntu 9.10 (Karmic) the Integrated Intel card works with both Integrated or Switchable set&lt;br /&gt;
&lt;br /&gt;
== Switchable Graphics and Docks ==&lt;br /&gt;
&lt;br /&gt;
ThinkPads with switchable graphics can only drive DVI or DisplayPort outputs on Docks by using the high-performance discrete graphics card, the integrated GPU is just not attached to the DVI or DisplayPort outputs (though VGA output through the dock is possible).&lt;br /&gt;
&lt;br /&gt;
== Improving Battery-life with Optimus ==&lt;br /&gt;
ThinkPads with NVidia Optimus graphics, have been well known to have significantly better battery-life in Windows than in Linux, even when Linux only uses the internal graphics. The reason is that the NVidia GPU is not automatically powered off when it is not used. So to get optimal battery-life in Linux on ThinkPad with Optimus, you need to switch it off manually (or by a script).&lt;br /&gt;
&lt;br /&gt;
First you need to enable access to vga-switcheroo settings, for that you need to mount the debugfs. You can do that by adding the following line to {{path|/etc/fstab}}:&lt;br /&gt;
  none            /sys/kernel/debug debugfs defaults 0 0&lt;br /&gt;
&lt;br /&gt;
After mounting that you can now access {{path|/usr/kernel/debug/vgaswitcheroo/switch}}. &lt;br /&gt;
&lt;br /&gt;
See which GPU is currently active (look for '+'), and which ones are powered (look for 'pwr'): &lt;br /&gt;
  {{cmdroot|cat /sys/kernel/debug/vgaswitcheroo/switch}}&lt;br /&gt;
&lt;br /&gt;
To force it to use the internal graphics write: &lt;br /&gt;
  {{cmdroot|echo 'IGD' &amp;gt; /sys/kernel/debug/vgaswitcheroo/switch}}&lt;br /&gt;
&lt;br /&gt;
To force it to use the discrete GPU: &lt;br /&gt;
  {{cmdroot|echo 'DES' &amp;gt; /sys/kernel/debug/vgaswitcheroo/switch}}&lt;br /&gt;
&lt;br /&gt;
Most importantly, to poweroff the currently unused GPU, run: &lt;br /&gt;
  {{cmdroot|echo 'OFF' &amp;gt; /sys/kernel/debug/vgaswitcheroo/switch}}&lt;br /&gt;
&lt;br /&gt;
This will greatly improve to your average battery-life on ThinkPads T420 if you only use intel Xorg drivers.&lt;br /&gt;
&lt;br /&gt;
== Development status ==&lt;br /&gt;
David Arlie has been working on switching between GPUs without having to reboot, and changing BIOS settings. An initial version of a new driver (vga_switcheroo) has been merged in the 2.6.34 kernel. This driver allows switching between graphics cards, but requires that the Xserver is restarted. Full seamless runtime switching support will require significant Xserver work.&lt;br /&gt;
&lt;br /&gt;
http://www.phoronix.com/scan.php?page=news_item&amp;amp;px=ODAyMg&lt;br /&gt;
&lt;br /&gt;
A script to switch between ATI discrete graphics with the fglrx driver and Intel integrated graphics with xorg driver through rebooting and selection in the bios is posted here.  The user must reboot, but no further configuration is needed as the script detects the card used and copies the correct libraries and configuration file.&lt;br /&gt;
&lt;br /&gt;
http://www.thinkwiki.org/wiki/Auto_detect_drivers_for_switchable_graphics&lt;br /&gt;
&lt;br /&gt;
It has been discovered that on a W500 running Windows 7 64-bit that the switch can be invoked using one of the two following commands (depending on which chipset is currently in use)&lt;br /&gt;
&lt;br /&gt;
{{cmd|C:\PROGRA~2\ThinkPad\UTILIT~1\PWMUIAux.exe /HighPerformanceGpu |}}&lt;br /&gt;
&lt;br /&gt;
{{cmd|C:\PROGRA~2\ThinkPad\UTILIT~1\PWMUIAux.exe /EnergySavingGpu |}}&lt;br /&gt;
&lt;br /&gt;
== ThinkPad models which may have this feature ==&lt;br /&gt;
* {{R400}}&lt;br /&gt;
* {{T400}}, {{T500}}, {{T510i}}, {{T420}}, {{T420s}}, {{T520}}&lt;br /&gt;
* {{W500}}, {{W520}}&lt;/div&gt;</summary>
		<author><name>Carewolf</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Switchable_Graphics&amp;diff=53882</id>
		<title>Switchable Graphics</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Switchable_Graphics&amp;diff=53882"/>
		<updated>2012-08-23T13:56:01Z</updated>

		<summary type="html">&lt;p&gt;Carewolf: /* Improving Battery-life with Optimus */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Select ThinkPads feature switchable graphics, where a low power consumption integrated GPU and high performance dedicated GPU is combined and you have the ability to switch between them, sacrificing either performance or battery life.&lt;br /&gt;
&lt;br /&gt;
In Windows XP this switching requires a logout/login, while in Vista and Windows 7 there is support for runtime switching.&lt;br /&gt;
&lt;br /&gt;
Under Linux, the switching so far had to be done by entering BIOS setup and changing between &amp;quot;Internal&amp;quot; (low power, integrated), &amp;quot;External&amp;quot; (high performance, discrete) or &amp;quot;Switchable&amp;quot; (OS selectable) options.&lt;br /&gt;
&lt;br /&gt;
Depending on which Linux version you use, you could have the following effects&lt;br /&gt;
* On Ubuntu 8.10 (Intrepid) BIOS setting has to be either on Internal or External, not Switchable.&lt;br /&gt;
* On Ubuntu 9.10 (Karmic) the Integrated Intel card works with both Integrated or Switchable set&lt;br /&gt;
&lt;br /&gt;
== Switchable Graphics and Docks ==&lt;br /&gt;
&lt;br /&gt;
ThinkPads with switchable graphics can only drive DVI or DisplayPort outputs on Docks by using the high-performance discrete graphics card, the integrated GPU is just not attached to the DVI or DisplayPort outputs (though VGA output through the dock is possible).&lt;br /&gt;
&lt;br /&gt;
== Improving Battery-life with Optimus ==&lt;br /&gt;
ThinkPads with NVidia Optimus graphics, have been well known to have significantly better battery-life in Windows than in Linux, even when Linux only uses the internal graphics. The reason is that the NVidia GPU is not automatically powered off when it is not used. So to get optimal battery-life in Linux on ThinkPad with Optimus, you need to switch it off manually (or by a script).&lt;br /&gt;
&lt;br /&gt;
First you need to enable access to vga-switcheroo settings, for that you need to mount the debugfs. You can do that by adding the following line to {{path|/etc/fstab}}:&lt;br /&gt;
  none            /sys/kernel/debug debugfs defaults 0 0&lt;br /&gt;
&lt;br /&gt;
After mounting that you can now access {{path|/usr/kernel/debug/vgaswitcheroo/switch}}. &lt;br /&gt;
&lt;br /&gt;
See which GPU is currently active (look for '+'), and which ones are powered (look for 'pwr'): &lt;br /&gt;
  {{cmdroot|cat /sys/kernel/debug/vgaswitcheroo/switch}}&lt;br /&gt;
&lt;br /&gt;
To force it to use the internal graphics write: &lt;br /&gt;
  {{cmdroot|echo 'IGD' &amp;gt; /sys/kernel/debug/vgaswitcheroo/switch}}&lt;br /&gt;
&lt;br /&gt;
To force it to use the discrete GPU: &lt;br /&gt;
  {{cmdroot|echo 'DES' &amp;gt; /sys/kernel/debug/vgaswitcheroo/switch}}&lt;br /&gt;
&lt;br /&gt;
Most importantly, to poweroff the currently unused GPU, run: &lt;br /&gt;
  {{cmdroot|echo 'OFF' &amp;gt; /sys/kernel/debug/vgaswitcheroo/switch}}&lt;br /&gt;
&lt;br /&gt;
This will greatly improve to your average battery-life on ThinkPads T420 and ThinkPad W420 if you only use intel Xorg drivers.&lt;br /&gt;
&lt;br /&gt;
== Development status ==&lt;br /&gt;
David Arlie has been working on switching between GPUs without having to reboot, and changing BIOS settings. An initial version of a new driver (vga_switcheroo) has been merged in the 2.6.34 kernel. This driver allows switching between graphics cards, but requires that the Xserver is restarted. Full seamless runtime switching support will require significant Xserver work.&lt;br /&gt;
&lt;br /&gt;
http://www.phoronix.com/scan.php?page=news_item&amp;amp;px=ODAyMg&lt;br /&gt;
&lt;br /&gt;
A script to switch between ATI discrete graphics with the fglrx driver and Intel integrated graphics with xorg driver through rebooting and selection in the bios is posted here.  The user must reboot, but no further configuration is needed as the script detects the card used and copies the correct libraries and configuration file.&lt;br /&gt;
&lt;br /&gt;
http://www.thinkwiki.org/wiki/Auto_detect_drivers_for_switchable_graphics&lt;br /&gt;
&lt;br /&gt;
It has been discovered that on a W500 running Windows 7 64-bit that the switch can be invoked using one of the two following commands (depending on which chipset is currently in use)&lt;br /&gt;
&lt;br /&gt;
{{cmd|C:\PROGRA~2\ThinkPad\UTILIT~1\PWMUIAux.exe /HighPerformanceGpu |}}&lt;br /&gt;
&lt;br /&gt;
{{cmd|C:\PROGRA~2\ThinkPad\UTILIT~1\PWMUIAux.exe /EnergySavingGpu |}}&lt;br /&gt;
&lt;br /&gt;
== ThinkPad models which may have this feature ==&lt;br /&gt;
* {{R400}}&lt;br /&gt;
* {{T400}}, {{T500}}, {{T510i}}, {{T420}}, {{T420s}}, {{T520}}&lt;br /&gt;
* {{W500}}, {{W520}}&lt;/div&gt;</summary>
		<author><name>Carewolf</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Switchable_Graphics&amp;diff=53881</id>
		<title>Switchable Graphics</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Switchable_Graphics&amp;diff=53881"/>
		<updated>2012-08-23T13:55:03Z</updated>

		<summary type="html">&lt;p&gt;Carewolf: /* Improving Battery-life with Optimus */ Scale down estimate of battery life improvement to one including medium CPU and network use.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Select ThinkPads feature switchable graphics, where a low power consumption integrated GPU and high performance dedicated GPU is combined and you have the ability to switch between them, sacrificing either performance or battery life.&lt;br /&gt;
&lt;br /&gt;
In Windows XP this switching requires a logout/login, while in Vista and Windows 7 there is support for runtime switching.&lt;br /&gt;
&lt;br /&gt;
Under Linux, the switching so far had to be done by entering BIOS setup and changing between &amp;quot;Internal&amp;quot; (low power, integrated), &amp;quot;External&amp;quot; (high performance, discrete) or &amp;quot;Switchable&amp;quot; (OS selectable) options.&lt;br /&gt;
&lt;br /&gt;
Depending on which Linux version you use, you could have the following effects&lt;br /&gt;
* On Ubuntu 8.10 (Intrepid) BIOS setting has to be either on Internal or External, not Switchable.&lt;br /&gt;
* On Ubuntu 9.10 (Karmic) the Integrated Intel card works with both Integrated or Switchable set&lt;br /&gt;
&lt;br /&gt;
== Switchable Graphics and Docks ==&lt;br /&gt;
&lt;br /&gt;
ThinkPads with switchable graphics can only drive DVI or DisplayPort outputs on Docks by using the high-performance discrete graphics card, the integrated GPU is just not attached to the DVI or DisplayPort outputs (though VGA output through the dock is possible).&lt;br /&gt;
&lt;br /&gt;
== Improving Battery-life with Optimus ==&lt;br /&gt;
ThinkPads with NVidia Optimus graphics, have been well known to have significantly better battery-life in Windows than in Linux, even when Linux only uses the internal graphics. The reason is that the NVidia GPU is not automatically powered off when it is not used. So to get optimal battery-life in Linux on ThinkPad with Optimus, you need to switch it off manually (or by a script).&lt;br /&gt;
&lt;br /&gt;
First you need to enable access to vga-switcheroo settings, for that you need to mount the debugfs. You can do that by adding the following line to {{path|/etc/fstab}}:&lt;br /&gt;
  none            /sys/kernel/debug debugfs defaults 0 0&lt;br /&gt;
&lt;br /&gt;
After mounting that you can now access {{path|/usr/kernel/debug/vgaswitcheroo/switch}}. &lt;br /&gt;
&lt;br /&gt;
See which GPU is currently active (look for '+'), and which ones are powered (look for 'pwr'): &lt;br /&gt;
  {{cmdroot|cat /sys/kernel/debug/vgaswitcheroo/switch}}&lt;br /&gt;
&lt;br /&gt;
To force it to use the internal graphics write: &lt;br /&gt;
  {{cmdroot|echo 'IGD' &amp;gt; /sys/kernel/debug/vgaswitcheroo/switch}}&lt;br /&gt;
&lt;br /&gt;
To force it to use the discrete GPU: &lt;br /&gt;
  {{cmdroot|echo 'DES' &amp;gt; /sys/kernel/debug/vgaswitcheroo/switch}}&lt;br /&gt;
&lt;br /&gt;
Most importantly, to poweroff the currently unused GPU, run: &lt;br /&gt;
  {{cmdroot|echo 'OFF' &amp;gt; /sys/kernel/debug/vgaswitcheroo/switch}}&lt;br /&gt;
&lt;br /&gt;
This will greatly improve to your average battery-life on ThinkPads T420 and ThinkPad W420 if you only use intel Xorg drivers. On average I see an improvement from 1½-&amp;gt;2 hours, to 2½-&amp;gt;3½ hours.&lt;br /&gt;
&lt;br /&gt;
== Development status ==&lt;br /&gt;
David Arlie has been working on switching between GPUs without having to reboot, and changing BIOS settings. An initial version of a new driver (vga_switcheroo) has been merged in the 2.6.34 kernel. This driver allows switching between graphics cards, but requires that the Xserver is restarted. Full seamless runtime switching support will require significant Xserver work.&lt;br /&gt;
&lt;br /&gt;
http://www.phoronix.com/scan.php?page=news_item&amp;amp;px=ODAyMg&lt;br /&gt;
&lt;br /&gt;
A script to switch between ATI discrete graphics with the fglrx driver and Intel integrated graphics with xorg driver through rebooting and selection in the bios is posted here.  The user must reboot, but no further configuration is needed as the script detects the card used and copies the correct libraries and configuration file.&lt;br /&gt;
&lt;br /&gt;
http://www.thinkwiki.org/wiki/Auto_detect_drivers_for_switchable_graphics&lt;br /&gt;
&lt;br /&gt;
It has been discovered that on a W500 running Windows 7 64-bit that the switch can be invoked using one of the two following commands (depending on which chipset is currently in use)&lt;br /&gt;
&lt;br /&gt;
{{cmd|C:\PROGRA~2\ThinkPad\UTILIT~1\PWMUIAux.exe /HighPerformanceGpu |}}&lt;br /&gt;
&lt;br /&gt;
{{cmd|C:\PROGRA~2\ThinkPad\UTILIT~1\PWMUIAux.exe /EnergySavingGpu |}}&lt;br /&gt;
&lt;br /&gt;
== ThinkPad models which may have this feature ==&lt;br /&gt;
* {{R400}}&lt;br /&gt;
* {{T400}}, {{T500}}, {{T510i}}, {{T420}}, {{T420s}}, {{T520}}&lt;br /&gt;
* {{W500}}, {{W520}}&lt;/div&gt;</summary>
		<author><name>Carewolf</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Switchable_Graphics&amp;diff=53880</id>
		<title>Switchable Graphics</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Switchable_Graphics&amp;diff=53880"/>
		<updated>2012-08-23T13:38:02Z</updated>

		<summary type="html">&lt;p&gt;Carewolf: /* Improving Battery-life with Optimus */ usr -&amp;gt; sys typo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Select ThinkPads feature switchable graphics, where a low power consumption integrated GPU and high performance dedicated GPU is combined and you have the ability to switch between them, sacrificing either performance or battery life.&lt;br /&gt;
&lt;br /&gt;
In Windows XP this switching requires a logout/login, while in Vista and Windows 7 there is support for runtime switching.&lt;br /&gt;
&lt;br /&gt;
Under Linux, the switching so far had to be done by entering BIOS setup and changing between &amp;quot;Internal&amp;quot; (low power, integrated), &amp;quot;External&amp;quot; (high performance, discrete) or &amp;quot;Switchable&amp;quot; (OS selectable) options.&lt;br /&gt;
&lt;br /&gt;
Depending on which Linux version you use, you could have the following effects&lt;br /&gt;
* On Ubuntu 8.10 (Intrepid) BIOS setting has to be either on Internal or External, not Switchable.&lt;br /&gt;
* On Ubuntu 9.10 (Karmic) the Integrated Intel card works with both Integrated or Switchable set&lt;br /&gt;
&lt;br /&gt;
== Switchable Graphics and Docks ==&lt;br /&gt;
&lt;br /&gt;
ThinkPads with switchable graphics can only drive DVI or DisplayPort outputs on Docks by using the high-performance discrete graphics card, the integrated GPU is just not attached to the DVI or DisplayPort outputs (though VGA output through the dock is possible).&lt;br /&gt;
&lt;br /&gt;
== Improving Battery-life with Optimus ==&lt;br /&gt;
ThinkPads with NVidia Optimus graphics, have been well known to have significantly better battery-life in Windows than in Linux, even when Linux only uses the internal graphics. The reason is that the NVidia GPU is not automatically powered off when it is not used. So to get optimal battery-life in Linux on ThinkPad with Optimus, you need to switch it off manually (or by a script).&lt;br /&gt;
&lt;br /&gt;
First you need to enable access to vga-switcheroo settings, for that you need to mount the debugfs. You can do that by adding the following line to {{path|/etc/fstab}}:&lt;br /&gt;
  none            /sys/kernel/debug debugfs defaults 0 0&lt;br /&gt;
&lt;br /&gt;
After mounting that you can now access {{path|/usr/kernel/debug/vgaswitcheroo/switch}}. &lt;br /&gt;
&lt;br /&gt;
See which GPU is currently active (look for '+'), and which ones are powered (look for 'pwr'): &lt;br /&gt;
  {{cmdroot|cat /sys/kernel/debug/vgaswitcheroo/switch}}&lt;br /&gt;
&lt;br /&gt;
To force it to use the internal graphics write: &lt;br /&gt;
  {{cmdroot|echo 'IGD' &amp;gt; /sys/kernel/debug/vgaswitcheroo/switch}}&lt;br /&gt;
&lt;br /&gt;
To force it to use the discrete GPU: &lt;br /&gt;
  {{cmdroot|echo 'DES' &amp;gt; /sys/kernel/debug/vgaswitcheroo/switch}}&lt;br /&gt;
&lt;br /&gt;
Most importantly, to poweroff the currently unused GPU, run: &lt;br /&gt;
  {{cmdroot|echo 'OFF' &amp;gt; /sys/kernel/debug/vgaswitcheroo/switch}}&lt;br /&gt;
&lt;br /&gt;
This should double your battery-life on ThinkPads T420 and ThinkPad W420, if you only use intel Xorg drivers.&lt;br /&gt;
&lt;br /&gt;
== Development status ==&lt;br /&gt;
David Arlie has been working on switching between GPUs without having to reboot, and changing BIOS settings. An initial version of a new driver (vga_switcheroo) has been merged in the 2.6.34 kernel. This driver allows switching between graphics cards, but requires that the Xserver is restarted. Full seamless runtime switching support will require significant Xserver work.&lt;br /&gt;
&lt;br /&gt;
http://www.phoronix.com/scan.php?page=news_item&amp;amp;px=ODAyMg&lt;br /&gt;
&lt;br /&gt;
A script to switch between ATI discrete graphics with the fglrx driver and Intel integrated graphics with xorg driver through rebooting and selection in the bios is posted here.  The user must reboot, but no further configuration is needed as the script detects the card used and copies the correct libraries and configuration file.&lt;br /&gt;
&lt;br /&gt;
http://www.thinkwiki.org/wiki/Auto_detect_drivers_for_switchable_graphics&lt;br /&gt;
&lt;br /&gt;
It has been discovered that on a W500 running Windows 7 64-bit that the switch can be invoked using one of the two following commands (depending on which chipset is currently in use)&lt;br /&gt;
&lt;br /&gt;
{{cmd|C:\PROGRA~2\ThinkPad\UTILIT~1\PWMUIAux.exe /HighPerformanceGpu |}}&lt;br /&gt;
&lt;br /&gt;
{{cmd|C:\PROGRA~2\ThinkPad\UTILIT~1\PWMUIAux.exe /EnergySavingGpu |}}&lt;br /&gt;
&lt;br /&gt;
== ThinkPad models which may have this feature ==&lt;br /&gt;
* {{R400}}&lt;br /&gt;
* {{T400}}, {{T500}}, {{T510i}}, {{T420}}, {{T420s}}, {{T520}}&lt;br /&gt;
* {{W500}}, {{W520}}&lt;/div&gt;</summary>
		<author><name>Carewolf</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Switchable_Graphics&amp;diff=53879</id>
		<title>Switchable Graphics</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Switchable_Graphics&amp;diff=53879"/>
		<updated>2012-08-23T13:34:16Z</updated>

		<summary type="html">&lt;p&gt;Carewolf: /* Improving Battery-life with Optimus */ More details, better command style.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Select ThinkPads feature switchable graphics, where a low power consumption integrated GPU and high performance dedicated GPU is combined and you have the ability to switch between them, sacrificing either performance or battery life.&lt;br /&gt;
&lt;br /&gt;
In Windows XP this switching requires a logout/login, while in Vista and Windows 7 there is support for runtime switching.&lt;br /&gt;
&lt;br /&gt;
Under Linux, the switching so far had to be done by entering BIOS setup and changing between &amp;quot;Internal&amp;quot; (low power, integrated), &amp;quot;External&amp;quot; (high performance, discrete) or &amp;quot;Switchable&amp;quot; (OS selectable) options.&lt;br /&gt;
&lt;br /&gt;
Depending on which Linux version you use, you could have the following effects&lt;br /&gt;
* On Ubuntu 8.10 (Intrepid) BIOS setting has to be either on Internal or External, not Switchable.&lt;br /&gt;
* On Ubuntu 9.10 (Karmic) the Integrated Intel card works with both Integrated or Switchable set&lt;br /&gt;
&lt;br /&gt;
== Switchable Graphics and Docks ==&lt;br /&gt;
&lt;br /&gt;
ThinkPads with switchable graphics can only drive DVI or DisplayPort outputs on Docks by using the high-performance discrete graphics card, the integrated GPU is just not attached to the DVI or DisplayPort outputs (though VGA output through the dock is possible).&lt;br /&gt;
&lt;br /&gt;
== Improving Battery-life with Optimus ==&lt;br /&gt;
ThinkPads with NVidia Optimus graphics, have been well known to have significantly better battery-life in Windows than in Linux, even when Linux only uses the internal graphics. The reason is that the NVidia GPU is not automatically powered off when it is not used. So to get optimal battery-life in Linux on ThinkPad with Optimus, you need to switch it off manually (or by a script).&lt;br /&gt;
&lt;br /&gt;
First you need to enable access to vga-switcheroo settings, for that you need to mount the debugfs. You can do that by adding the following line to {{path|/etc/fstab}}:&lt;br /&gt;
  none            /sys/kernel/debug debugfs defaults 0 0&lt;br /&gt;
&lt;br /&gt;
After mounting that you can now access {{path|/usr/kernel/debug/vgaswitcheroo/switch}}. &lt;br /&gt;
&lt;br /&gt;
See which GPU is currently active (look for '+'), and which ones are powered (look for 'pwr'): &lt;br /&gt;
  {{cmdroot|cat /usr/kernel/debug/vgaswitcheroo/switch}}&lt;br /&gt;
&lt;br /&gt;
To force it to use the internal graphics write: &lt;br /&gt;
  {{cmdroot|echo 'IGD' &amp;gt; /usr/kernel/debug/vgaswitcheroo/switch}}&lt;br /&gt;
&lt;br /&gt;
To force it to use the discrete GPU: &lt;br /&gt;
  {{cmdroot|echo 'DES' &amp;gt; /usr/kernel/debug/vgaswitcheroo/switch}}&lt;br /&gt;
&lt;br /&gt;
Most importantly, to poweroff the currently unused GPU, run: &lt;br /&gt;
  {{cmdroot|echo 'OFF' &amp;gt; /usr/kernel/debug/vgaswitcheroo/switch}}&lt;br /&gt;
&lt;br /&gt;
This should double your battery-life on ThinkPads T420 and ThinkPad W420, if you only use intel Xorg drivers.&lt;br /&gt;
&lt;br /&gt;
== Development status ==&lt;br /&gt;
David Arlie has been working on switching between GPUs without having to reboot, and changing BIOS settings. An initial version of a new driver (vga_switcheroo) has been merged in the 2.6.34 kernel. This driver allows switching between graphics cards, but requires that the Xserver is restarted. Full seamless runtime switching support will require significant Xserver work.&lt;br /&gt;
&lt;br /&gt;
http://www.phoronix.com/scan.php?page=news_item&amp;amp;px=ODAyMg&lt;br /&gt;
&lt;br /&gt;
A script to switch between ATI discrete graphics with the fglrx driver and Intel integrated graphics with xorg driver through rebooting and selection in the bios is posted here.  The user must reboot, but no further configuration is needed as the script detects the card used and copies the correct libraries and configuration file.&lt;br /&gt;
&lt;br /&gt;
http://www.thinkwiki.org/wiki/Auto_detect_drivers_for_switchable_graphics&lt;br /&gt;
&lt;br /&gt;
It has been discovered that on a W500 running Windows 7 64-bit that the switch can be invoked using one of the two following commands (depending on which chipset is currently in use)&lt;br /&gt;
&lt;br /&gt;
{{cmd|C:\PROGRA~2\ThinkPad\UTILIT~1\PWMUIAux.exe /HighPerformanceGpu |}}&lt;br /&gt;
&lt;br /&gt;
{{cmd|C:\PROGRA~2\ThinkPad\UTILIT~1\PWMUIAux.exe /EnergySavingGpu |}}&lt;br /&gt;
&lt;br /&gt;
== ThinkPad models which may have this feature ==&lt;br /&gt;
* {{R400}}&lt;br /&gt;
* {{T400}}, {{T500}}, {{T510i}}, {{T420}}, {{T420s}}, {{T520}}&lt;br /&gt;
* {{W500}}, {{W520}}&lt;/div&gt;</summary>
		<author><name>Carewolf</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Switchable_Graphics&amp;diff=53878</id>
		<title>Switchable Graphics</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Switchable_Graphics&amp;diff=53878"/>
		<updated>2012-08-23T13:31:09Z</updated>

		<summary type="html">&lt;p&gt;Carewolf: Removing dead link.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Select ThinkPads feature switchable graphics, where a low power consumption integrated GPU and high performance dedicated GPU is combined and you have the ability to switch between them, sacrificing either performance or battery life.&lt;br /&gt;
&lt;br /&gt;
In Windows XP this switching requires a logout/login, while in Vista and Windows 7 there is support for runtime switching.&lt;br /&gt;
&lt;br /&gt;
Under Linux, the switching so far had to be done by entering BIOS setup and changing between &amp;quot;Internal&amp;quot; (low power, integrated), &amp;quot;External&amp;quot; (high performance, discrete) or &amp;quot;Switchable&amp;quot; (OS selectable) options.&lt;br /&gt;
&lt;br /&gt;
Depending on which Linux version you use, you could have the following effects&lt;br /&gt;
* On Ubuntu 8.10 (Intrepid) BIOS setting has to be either on Internal or External, not Switchable.&lt;br /&gt;
* On Ubuntu 9.10 (Karmic) the Integrated Intel card works with both Integrated or Switchable set&lt;br /&gt;
&lt;br /&gt;
== Switchable Graphics and Docks ==&lt;br /&gt;
&lt;br /&gt;
ThinkPads with switchable graphics can only drive DVI or DisplayPort outputs on Docks by using the high-performance discrete graphics card, the integrated GPU is just not attached to the DVI or DisplayPort outputs (though VGA output through the dock is possible).&lt;br /&gt;
&lt;br /&gt;
== Improving Battery-life with Optimus ==&lt;br /&gt;
ThinkPads with NVidia Optimus graphics, have been well known to have significantly better battery-life in Windows than in Linux, even when Linux only uses the internal graphics. The reason is that the NVidia GPU is not automatically powered off when it is not used. So to get optimal battery-life in Linux on ThinkPad with Optimus, you need to switch it off manually (or by a script).&lt;br /&gt;
&lt;br /&gt;
First you need to enable access to vga-switcheroo settings, for that you need to mount the debugfs. You can do that by adding the following line to {{path|/etc/fstab}}:&lt;br /&gt;
  none            /sys/kernel/debug debugfs defaults 0 0&lt;br /&gt;
&lt;br /&gt;
After mounting that you can now access {{path|/usr/kernel/debug/vgaswitcheroo/switch}}. &lt;br /&gt;
&lt;br /&gt;
To force it to use the internal graphics write: {{cmdroot|echo 'IGD' &amp;gt; /usr/kernel/debug/vgaswitcheroo/switch}}. &lt;br /&gt;
&lt;br /&gt;
To force it to use the discrete GPU: {{cmdroot|echo 'DES' &amp;gt; /usr/kernel/debug/vgaswitcheroo/switch}}.&lt;br /&gt;
&lt;br /&gt;
Most importantly, to poweroff the currently unused GPU, run: {{cmdroot|echo 'OFF' &amp;gt; /usr/kernel/debug/vgaswitcheroo/switch}}. &lt;br /&gt;
&lt;br /&gt;
This should double your battery-life on ThinkPads T420 and ThinkPad W420, if you only use intel Xorg drivers.&lt;br /&gt;
&lt;br /&gt;
== Development status ==&lt;br /&gt;
David Arlie has been working on switching between GPUs without having to reboot, and changing BIOS settings. An initial version of a new driver (vga_switcheroo) has been merged in the 2.6.34 kernel. This driver allows switching between graphics cards, but requires that the Xserver is restarted. Full seamless runtime switching support will require significant Xserver work.&lt;br /&gt;
&lt;br /&gt;
http://www.phoronix.com/scan.php?page=news_item&amp;amp;px=ODAyMg&lt;br /&gt;
&lt;br /&gt;
A script to switch between ATI discrete graphics with the fglrx driver and Intel integrated graphics with xorg driver through rebooting and selection in the bios is posted here.  The user must reboot, but no further configuration is needed as the script detects the card used and copies the correct libraries and configuration file.&lt;br /&gt;
&lt;br /&gt;
http://www.thinkwiki.org/wiki/Auto_detect_drivers_for_switchable_graphics&lt;br /&gt;
&lt;br /&gt;
It has been discovered that on a W500 running Windows 7 64-bit that the switch can be invoked using one of the two following commands (depending on which chipset is currently in use)&lt;br /&gt;
&lt;br /&gt;
{{cmd|C:\PROGRA~2\ThinkPad\UTILIT~1\PWMUIAux.exe /HighPerformanceGpu |}}&lt;br /&gt;
&lt;br /&gt;
{{cmd|C:\PROGRA~2\ThinkPad\UTILIT~1\PWMUIAux.exe /EnergySavingGpu |}}&lt;br /&gt;
&lt;br /&gt;
== ThinkPad models which may have this feature ==&lt;br /&gt;
* {{R400}}&lt;br /&gt;
* {{T400}}, {{T500}}, {{T510i}}, {{T420}}, {{T420s}}, {{T520}}&lt;br /&gt;
* {{W500}}, {{W520}}&lt;/div&gt;</summary>
		<author><name>Carewolf</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Category:W520&amp;diff=53877</id>
		<title>Category:W520</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Category:W520&amp;diff=53877"/>
		<updated>2012-08-23T13:30:18Z</updated>

		<summary type="html">&lt;p&gt;Carewolf: /* Standard Features */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;&amp;quot;&amp;gt;&lt;br /&gt;
=== ThinkPad W520 ===&lt;br /&gt;
&lt;br /&gt;
This page gives an overview of the ThinkPad W520.&lt;br /&gt;
&lt;br /&gt;
==== Standard Features ====&lt;br /&gt;
&lt;br /&gt;
* One of the following processors:&lt;br /&gt;
** Intel Quad Core i7-2920XM (2.50GHz, 8MB L3, 1600MHz FSB, 55W) &lt;br /&gt;
** Intel Quad Core i7-2820QM (2.30GHz, 8MB L3, 1600MHz FSB, 45W)&lt;br /&gt;
** Intel Quad Core i7-2720QM (2.20GHz, 6MB L3, 1600MHz FSB, 45W)&lt;br /&gt;
** Intel Dual Core i7-2620M (2.70GHz, 4MB L3, 1333MHz FSB, 35W) &lt;br /&gt;
** Intel Dual Core i5-2540M (2.60GHz, 3MB L3, 1333MHz FSB, 35W)&lt;br /&gt;
** Intel Dual Core i5-2520M (2.50GHz, 3MB L3, 1333MHz FSB, 35W)&lt;br /&gt;
* One of the following discrete graphics cards: &lt;br /&gt;
** [[NVIDIA Quadro 1000M]] with 2GB DDR3 and 96 CUDA cores, and with [[Switchable Graphics|Optimus™ Technology]]&lt;br /&gt;
** [[NVIDIA Quadro 2000M]] with 2GB DDR3 and 192 CUDA cores, and with [[Switchable Graphics|Optimus™ Technology]]&lt;br /&gt;
* One of the following [[TFT display|TFT displays]]:&lt;br /&gt;
** 15.6&amp;quot; TFT display with 1366x768 (HD) resolution with LED backlight&lt;br /&gt;
** 15.6&amp;quot; TFT display with 1600x900 (HD+) resolution with LED backlight&lt;br /&gt;
** 15.6&amp;quot; TFT display with 1920x1080 (FHD) resolution with LED backlight&lt;br /&gt;
* 2GB, 4GB or 8GB DIMMS [[PC3-10600]] memory standard&lt;br /&gt;
** 2 DIMM slots on dual-core models (up to 16GB)&lt;br /&gt;
** 4 DIMM slots on quad-core models (up to 32GB)&lt;br /&gt;
** Samsung M471B5273DH0-CH9	4 GB DDR3-1333 SDRAM  (8-8-8-22 @ 609 MHz)  (7-7-7-20 @ 533 MHz)  (6-6-6-17 @ 457 MHz)  (5-5-5-14 @ 380 MHz)&lt;br /&gt;
*One of the following storage options:&lt;br /&gt;
** 320GB 7200rpm 2.5&amp;quot; SATA HDD &lt;br /&gt;
** 500GB 7200rpm 2.5&amp;quot; SATA HDD&lt;br /&gt;
** 128GB Samsung SATA SSD&lt;br /&gt;
** 160GB Intel SATA SSD&lt;br /&gt;
* [[Intel 82579LM Gigabit Network Connection]]&lt;br /&gt;
* Intel HD Audio with a [[CX20585]] codec&lt;br /&gt;
* [[ThinkPad Modem (MDC-3.0, 56kbps HDA)]]&lt;br /&gt;
* [[Ultrabay|Ultrabay Enhanced]] with one of the following:&lt;br /&gt;
** [[Serial UltraBay Enhanced DVD Burner II]]&lt;br /&gt;
* [[MiniPCI Express slot]] 1 with one of the following:&lt;br /&gt;
** Thinkpad b/g/n&lt;br /&gt;
** [[Intel Centrino Advanced-N 6205]] (2x2 AGN)&lt;br /&gt;
** [[Intel Centrino Ultimate-N 6300]] (3x3 AGN)&lt;br /&gt;
** [[Intel Centrino Advanced-N + WiMAX 6250]] &lt;br /&gt;
* [[MiniPCI Express slot]] 2 with one of the following:&lt;br /&gt;
** None (empty)&lt;br /&gt;
** [[Sierra Wireless MC8355]] Gobi 3000 WWAN&lt;br /&gt;
** Ericsson F5521gw WWAN&lt;br /&gt;
** LeadCore LC5730D WWAN&lt;br /&gt;
** Huawei EM660 WWAN&lt;br /&gt;
** Intel 310 mSATA SSD&lt;br /&gt;
* [[ExpressCard slot|ExpressCard/34 slot]] &lt;br /&gt;
* [[Lenovo Integrated Smart Card Reader]] (Optional)&lt;br /&gt;
* [[Ricoh 5-in-1 MultiCard Reader|5-in-1 MultiCard Reader]]&lt;br /&gt;
* 720p [[Integrated camera]] on select models&lt;br /&gt;
* [[Huey PRO Colorimeter]] by X-Rite on select models&lt;br /&gt;
* [[Embedded Security Subsystem|Trusted Computing Group TPM 1.2]]&lt;br /&gt;
* [[Active Protection System]]&lt;br /&gt;
* [[Integrated Fingerprint Reader]] on select models&lt;br /&gt;
* [[Bluetooth 3.0|ThinkPad Bluetooth with Enhanced Data Rate (BDC-3.0)]] on select models&lt;br /&gt;
* [[UltraNav]] (TrackPoint / Touchpad combo)&lt;br /&gt;
* [[Firewire Port|Firewire 400]] (IEEE1394a)&lt;br /&gt;
* [[DisplayPort]]&lt;br /&gt;
* [[USB Port|USB 3.0]]&lt;br /&gt;
* [[ESATA Port|eSATA Port]]&lt;br /&gt;
* [[Intel Active Management Technology (AMT)]] on select models&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
[[Image:ThinkPadW510.jpg|ThinkPad W520|300px]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Hardware W520-4284-49G]]&lt;br /&gt;
&lt;br /&gt;
==== Resources ====&lt;br /&gt;
&lt;br /&gt;
* [http://www-307.ibm.com/pc/support/site.wss/MIGR-76854.html Hardware Maintenance Manual (HMM)]&lt;br /&gt;
* [http://support.lenovo.com/en_US/research/hints-or-tips/detail.page?&amp;amp;LegacyDocID=MIGR-77167 W520 Drivers and Software]&lt;br /&gt;
* [http://shop.lenovo.com/us/ww/pdf/w520_datasheet.pdf Worldwide_datasheet ThinkPad W520 notebooks - 1 Feb 2011 (PDF 2450382 Bytes)]&lt;br /&gt;
&lt;br /&gt;
==== Reviews ====&lt;br /&gt;
&lt;br /&gt;
* [http://www.storagereview.com/lenovo_thinkpad_t520_review StorageReview.com], 2011-04-11&lt;br /&gt;
* [http://blogs.technet.com/b/keithcombs/archive/2011/03/28/lenovo-thinkpad-w520-mini-review.aspx Keith Combs' Blahg], 2011-03-28&lt;br /&gt;
&lt;br /&gt;
==== Linux Installation ====&lt;br /&gt;
&lt;br /&gt;
* {{Install|Fedora| 14|W520}}&lt;br /&gt;
* {{Install|Fedora| 15|W520}}&lt;br /&gt;
* {{Install|Debian| Squeeze|W520}}&lt;br /&gt;
* {{Install|Debian| Wheezy|W520}}&lt;br /&gt;
* {{Install|Slackware| 13.37|W520}} updated 7/21/2011&lt;br /&gt;
* {{Install|OpenSuse|11.4|W520}}&lt;br /&gt;
* {{Install|Ubuntu| 11.04|W520}}&lt;br /&gt;
&lt;br /&gt;
=== Power Adapter ===&lt;br /&gt;
&lt;br /&gt;
The W520 comes with a special [http://www-307.ibm.com/pc/support/site.wss/MIGR-76762.html 170W AC adapter (P/N 0A36227)] that is currently not shipped with any other Thinkpad. Note that it is different from the W700 [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-70684 170W AC adapter (P/N 41R4421)]. The W520 AC adapter is larger but lighter than the W510 135W AC adapter. &lt;br /&gt;
&lt;br /&gt;
Most newer (20V) Thinkpad AC adapters have a compatible plug with the W520, but not all of them will work due to power constraints. The following table shows which AC adapters can be used to run the W520:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
! Marketing P/N&lt;br /&gt;
! Rated power&lt;br /&gt;
! Works on W520&lt;br /&gt;
! Charge while off&lt;br /&gt;
! Comment&lt;br /&gt;
|-&lt;br /&gt;
| [http://www-307.ibm.com/pc/support/site.wss/MIGR-76762.html 0A36227]&lt;br /&gt;
| 170W&lt;br /&gt;
| {{Cyes}}&lt;br /&gt;
| {{Cyes}}&lt;br /&gt;
| Official AC adapter for W520&lt;br /&gt;
|-&lt;br /&gt;
| [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-70684 41R4421]&lt;br /&gt;
| 170W&lt;br /&gt;
| {{Cno}}&lt;br /&gt;
| {{Cno}}&lt;br /&gt;
| Official AC adapter for W700, different plug diameter&lt;br /&gt;
|-&lt;br /&gt;
| [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-74503 55Y9317]&lt;br /&gt;
| 135W&lt;br /&gt;
| {{Cyes}}&lt;br /&gt;
| {{Cyes}}&lt;br /&gt;
| Official AC adapter for W510.&lt;br /&gt;
|-&lt;br /&gt;
| Various&lt;br /&gt;
| 90W&lt;br /&gt;
| {{Cno}}&lt;br /&gt;
| {{Cyes}}&lt;br /&gt;
| Battery continues to drain, does not work&lt;br /&gt;
|-&lt;br /&gt;
| Various&lt;br /&gt;
| 65W&lt;br /&gt;
| {{Cno}}&lt;br /&gt;
| {{Cyes}}&lt;br /&gt;
| Battery continues to drain, does not work&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The 135W adapter is sufficient to run the W520 without throttling. The 65W and 90W adapters can only be used to charge the battery while the W520 is not running, that is, powered off, hibernated, or suspended.&lt;br /&gt;
&lt;br /&gt;
[[Category:W Series]]&lt;/div&gt;</summary>
		<author><name>Carewolf</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Switchable_Graphics&amp;diff=53876</id>
		<title>Switchable Graphics</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Switchable_Graphics&amp;diff=53876"/>
		<updated>2012-08-23T13:28:33Z</updated>

		<summary type="html">&lt;p&gt;Carewolf: /* ThinkPad models which may have this feature */ Sorry W520.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Select ThinkPads feature switchable graphics, where a low power consumption integrated GPU and high performance dedicated GPU is combined and you have the ability to switch between them, sacrificing either performance or battery life.&lt;br /&gt;
&lt;br /&gt;
In Windows XP this switching requires a logout/login, while in Vista and Windows 7 there is support for runtime switching.&lt;br /&gt;
&lt;br /&gt;
Under Linux, the switching so far had to be done by entering BIOS setup and changing between &amp;quot;Internal&amp;quot; (low power, integrated), &amp;quot;External&amp;quot; (high performance, discrete) or &amp;quot;Switchable&amp;quot; (OS selectable) options.&lt;br /&gt;
&lt;br /&gt;
Depending on which Linux version you use, you could have the following effects&lt;br /&gt;
* On Ubuntu 8.10 (Intrepid) BIOS setting has to be either on Internal or External, not Switchable.&lt;br /&gt;
* On Ubuntu 9.10 (Karmic) the Integrated Intel card works with both Integrated or Switchable set&lt;br /&gt;
&lt;br /&gt;
Lenovo has published a [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-70495 Switchable Graphics FAQ] you may want to review.&lt;br /&gt;
&lt;br /&gt;
== Switchable Graphics and Docks ==&lt;br /&gt;
&lt;br /&gt;
ThinkPads with switchable graphics can only drive DVI or DisplayPort outputs on Docks by using the high-performance discrete graphics card, the integrated GPU is just not attached to the DVI or DisplayPort outputs (though VGA output through the dock is possible).&lt;br /&gt;
&lt;br /&gt;
== Improving Battery-life with Optimus ==&lt;br /&gt;
ThinkPads with NVidia Optimus graphics, have been well known to have significantly better battery-life in Windows than in Linux, even when Linux only uses the internal graphics. The reason is that the NVidia GPU is not automatically powered off when it is not used. So to get optimal battery-life in Linux on ThinkPad with Optimus, you need to switch it off manually (or by a script).&lt;br /&gt;
&lt;br /&gt;
First you need to enable access to vga-switcheroo settings, for that you need to mount the debugfs. You can do that by adding the following line to {{path|/etc/fstab}}:&lt;br /&gt;
  none            /sys/kernel/debug debugfs defaults 0 0&lt;br /&gt;
&lt;br /&gt;
After mounting that you can now access {{path|/usr/kernel/debug/vgaswitcheroo/switch}}. &lt;br /&gt;
&lt;br /&gt;
To force it to use the internal graphics write: {{cmdroot|echo 'IGD' &amp;gt; /usr/kernel/debug/vgaswitcheroo/switch}}. &lt;br /&gt;
&lt;br /&gt;
To force it to use the discrete GPU: {{cmdroot|echo 'DES' &amp;gt; /usr/kernel/debug/vgaswitcheroo/switch}}.&lt;br /&gt;
&lt;br /&gt;
Most importantly, to poweroff the currently unused GPU, run: {{cmdroot|echo 'OFF' &amp;gt; /usr/kernel/debug/vgaswitcheroo/switch}}. &lt;br /&gt;
&lt;br /&gt;
This should double your battery-life on ThinkPads T420 and ThinkPad W420, if you only use intel Xorg drivers.&lt;br /&gt;
&lt;br /&gt;
== Development status ==&lt;br /&gt;
David Arlie has been working on switching between GPUs without having to reboot, and changing BIOS settings. An initial version of a new driver (vga_switcheroo) has been merged in the 2.6.34 kernel. This driver allows switching between graphics cards, but requires that the Xserver is restarted. Full seamless runtime switching support will require significant Xserver work.&lt;br /&gt;
&lt;br /&gt;
http://www.phoronix.com/scan.php?page=news_item&amp;amp;px=ODAyMg&lt;br /&gt;
&lt;br /&gt;
A script to switch between ATI discrete graphics with the fglrx driver and Intel integrated graphics with xorg driver through rebooting and selection in the bios is posted here.  The user must reboot, but no further configuration is needed as the script detects the card used and copies the correct libraries and configuration file.&lt;br /&gt;
&lt;br /&gt;
http://www.thinkwiki.org/wiki/Auto_detect_drivers_for_switchable_graphics&lt;br /&gt;
&lt;br /&gt;
It has been discovered that on a W500 running Windows 7 64-bit that the switch can be invoked using one of the two following commands (depending on which chipset is currently in use)&lt;br /&gt;
&lt;br /&gt;
{{cmd|C:\PROGRA~2\ThinkPad\UTILIT~1\PWMUIAux.exe /HighPerformanceGpu |}}&lt;br /&gt;
&lt;br /&gt;
{{cmd|C:\PROGRA~2\ThinkPad\UTILIT~1\PWMUIAux.exe /EnergySavingGpu |}}&lt;br /&gt;
&lt;br /&gt;
== ThinkPad models which may have this feature ==&lt;br /&gt;
* {{R400}}&lt;br /&gt;
* {{T400}}, {{T500}}, {{T510i}}, {{T420}}, {{T420s}}, {{T520}}&lt;br /&gt;
* {{W500}}, {{W520}}&lt;/div&gt;</summary>
		<author><name>Carewolf</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Switchable_Graphics&amp;diff=53875</id>
		<title>Switchable Graphics</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Switchable_Graphics&amp;diff=53875"/>
		<updated>2012-08-23T13:28:06Z</updated>

		<summary type="html">&lt;p&gt;Carewolf: /* ThinkPad models which may have this feature */ My W420 has it as well.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Select ThinkPads feature switchable graphics, where a low power consumption integrated GPU and high performance dedicated GPU is combined and you have the ability to switch between them, sacrificing either performance or battery life.&lt;br /&gt;
&lt;br /&gt;
In Windows XP this switching requires a logout/login, while in Vista and Windows 7 there is support for runtime switching.&lt;br /&gt;
&lt;br /&gt;
Under Linux, the switching so far had to be done by entering BIOS setup and changing between &amp;quot;Internal&amp;quot; (low power, integrated), &amp;quot;External&amp;quot; (high performance, discrete) or &amp;quot;Switchable&amp;quot; (OS selectable) options.&lt;br /&gt;
&lt;br /&gt;
Depending on which Linux version you use, you could have the following effects&lt;br /&gt;
* On Ubuntu 8.10 (Intrepid) BIOS setting has to be either on Internal or External, not Switchable.&lt;br /&gt;
* On Ubuntu 9.10 (Karmic) the Integrated Intel card works with both Integrated or Switchable set&lt;br /&gt;
&lt;br /&gt;
Lenovo has published a [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-70495 Switchable Graphics FAQ] you may want to review.&lt;br /&gt;
&lt;br /&gt;
== Switchable Graphics and Docks ==&lt;br /&gt;
&lt;br /&gt;
ThinkPads with switchable graphics can only drive DVI or DisplayPort outputs on Docks by using the high-performance discrete graphics card, the integrated GPU is just not attached to the DVI or DisplayPort outputs (though VGA output through the dock is possible).&lt;br /&gt;
&lt;br /&gt;
== Improving Battery-life with Optimus ==&lt;br /&gt;
ThinkPads with NVidia Optimus graphics, have been well known to have significantly better battery-life in Windows than in Linux, even when Linux only uses the internal graphics. The reason is that the NVidia GPU is not automatically powered off when it is not used. So to get optimal battery-life in Linux on ThinkPad with Optimus, you need to switch it off manually (or by a script).&lt;br /&gt;
&lt;br /&gt;
First you need to enable access to vga-switcheroo settings, for that you need to mount the debugfs. You can do that by adding the following line to {{path|/etc/fstab}}:&lt;br /&gt;
  none            /sys/kernel/debug debugfs defaults 0 0&lt;br /&gt;
&lt;br /&gt;
After mounting that you can now access {{path|/usr/kernel/debug/vgaswitcheroo/switch}}. &lt;br /&gt;
&lt;br /&gt;
To force it to use the internal graphics write: {{cmdroot|echo 'IGD' &amp;gt; /usr/kernel/debug/vgaswitcheroo/switch}}. &lt;br /&gt;
&lt;br /&gt;
To force it to use the discrete GPU: {{cmdroot|echo 'DES' &amp;gt; /usr/kernel/debug/vgaswitcheroo/switch}}.&lt;br /&gt;
&lt;br /&gt;
Most importantly, to poweroff the currently unused GPU, run: {{cmdroot|echo 'OFF' &amp;gt; /usr/kernel/debug/vgaswitcheroo/switch}}. &lt;br /&gt;
&lt;br /&gt;
This should double your battery-life on ThinkPads T420 and ThinkPad W420, if you only use intel Xorg drivers.&lt;br /&gt;
&lt;br /&gt;
== Development status ==&lt;br /&gt;
David Arlie has been working on switching between GPUs without having to reboot, and changing BIOS settings. An initial version of a new driver (vga_switcheroo) has been merged in the 2.6.34 kernel. This driver allows switching between graphics cards, but requires that the Xserver is restarted. Full seamless runtime switching support will require significant Xserver work.&lt;br /&gt;
&lt;br /&gt;
http://www.phoronix.com/scan.php?page=news_item&amp;amp;px=ODAyMg&lt;br /&gt;
&lt;br /&gt;
A script to switch between ATI discrete graphics with the fglrx driver and Intel integrated graphics with xorg driver through rebooting and selection in the bios is posted here.  The user must reboot, but no further configuration is needed as the script detects the card used and copies the correct libraries and configuration file.&lt;br /&gt;
&lt;br /&gt;
http://www.thinkwiki.org/wiki/Auto_detect_drivers_for_switchable_graphics&lt;br /&gt;
&lt;br /&gt;
It has been discovered that on a W500 running Windows 7 64-bit that the switch can be invoked using one of the two following commands (depending on which chipset is currently in use)&lt;br /&gt;
&lt;br /&gt;
{{cmd|C:\PROGRA~2\ThinkPad\UTILIT~1\PWMUIAux.exe /HighPerformanceGpu |}}&lt;br /&gt;
&lt;br /&gt;
{{cmd|C:\PROGRA~2\ThinkPad\UTILIT~1\PWMUIAux.exe /EnergySavingGpu |}}&lt;br /&gt;
&lt;br /&gt;
== ThinkPad models which may have this feature ==&lt;br /&gt;
* {{R400}}&lt;br /&gt;
* {{T400}}, {{T500}}, {{T510i}}, {{T420}}, {{T420s}}, {{T520}}&lt;br /&gt;
* {{W500}}, {{W420}}&lt;/div&gt;</summary>
		<author><name>Carewolf</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Switchable_Graphics&amp;diff=53874</id>
		<title>Switchable Graphics</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Switchable_Graphics&amp;diff=53874"/>
		<updated>2012-08-23T13:27:03Z</updated>

		<summary type="html">&lt;p&gt;Carewolf: /* Improving Battery-life with Optimus */ Path semantic tag.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Select ThinkPads feature switchable graphics, where a low power consumption integrated GPU and high performance dedicated GPU is combined and you have the ability to switch between them, sacrificing either performance or battery life.&lt;br /&gt;
&lt;br /&gt;
In Windows XP this switching requires a logout/login, while in Vista and Windows 7 there is support for runtime switching.&lt;br /&gt;
&lt;br /&gt;
Under Linux, the switching so far had to be done by entering BIOS setup and changing between &amp;quot;Internal&amp;quot; (low power, integrated), &amp;quot;External&amp;quot; (high performance, discrete) or &amp;quot;Switchable&amp;quot; (OS selectable) options.&lt;br /&gt;
&lt;br /&gt;
Depending on which Linux version you use, you could have the following effects&lt;br /&gt;
* On Ubuntu 8.10 (Intrepid) BIOS setting has to be either on Internal or External, not Switchable.&lt;br /&gt;
* On Ubuntu 9.10 (Karmic) the Integrated Intel card works with both Integrated or Switchable set&lt;br /&gt;
&lt;br /&gt;
Lenovo has published a [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-70495 Switchable Graphics FAQ] you may want to review.&lt;br /&gt;
&lt;br /&gt;
== Switchable Graphics and Docks ==&lt;br /&gt;
&lt;br /&gt;
ThinkPads with switchable graphics can only drive DVI or DisplayPort outputs on Docks by using the high-performance discrete graphics card, the integrated GPU is just not attached to the DVI or DisplayPort outputs (though VGA output through the dock is possible).&lt;br /&gt;
&lt;br /&gt;
== Improving Battery-life with Optimus ==&lt;br /&gt;
ThinkPads with NVidia Optimus graphics, have been well known to have significantly better battery-life in Windows than in Linux, even when Linux only uses the internal graphics. The reason is that the NVidia GPU is not automatically powered off when it is not used. So to get optimal battery-life in Linux on ThinkPad with Optimus, you need to switch it off manually (or by a script).&lt;br /&gt;
&lt;br /&gt;
First you need to enable access to vga-switcheroo settings, for that you need to mount the debugfs. You can do that by adding the following line to {{path|/etc/fstab}}:&lt;br /&gt;
  none            /sys/kernel/debug debugfs defaults 0 0&lt;br /&gt;
&lt;br /&gt;
After mounting that you can now access {{path|/usr/kernel/debug/vgaswitcheroo/switch}}. &lt;br /&gt;
&lt;br /&gt;
To force it to use the internal graphics write: {{cmdroot|echo 'IGD' &amp;gt; /usr/kernel/debug/vgaswitcheroo/switch}}. &lt;br /&gt;
&lt;br /&gt;
To force it to use the discrete GPU: {{cmdroot|echo 'DES' &amp;gt; /usr/kernel/debug/vgaswitcheroo/switch}}.&lt;br /&gt;
&lt;br /&gt;
Most importantly, to poweroff the currently unused GPU, run: {{cmdroot|echo 'OFF' &amp;gt; /usr/kernel/debug/vgaswitcheroo/switch}}. &lt;br /&gt;
&lt;br /&gt;
This should double your battery-life on ThinkPads T420 and ThinkPad W420, if you only use intel Xorg drivers.&lt;br /&gt;
&lt;br /&gt;
== Development status ==&lt;br /&gt;
David Arlie has been working on switching between GPUs without having to reboot, and changing BIOS settings. An initial version of a new driver (vga_switcheroo) has been merged in the 2.6.34 kernel. This driver allows switching between graphics cards, but requires that the Xserver is restarted. Full seamless runtime switching support will require significant Xserver work.&lt;br /&gt;
&lt;br /&gt;
http://www.phoronix.com/scan.php?page=news_item&amp;amp;px=ODAyMg&lt;br /&gt;
&lt;br /&gt;
A script to switch between ATI discrete graphics with the fglrx driver and Intel integrated graphics with xorg driver through rebooting and selection in the bios is posted here.  The user must reboot, but no further configuration is needed as the script detects the card used and copies the correct libraries and configuration file.&lt;br /&gt;
&lt;br /&gt;
http://www.thinkwiki.org/wiki/Auto_detect_drivers_for_switchable_graphics&lt;br /&gt;
&lt;br /&gt;
It has been discovered that on a W500 running Windows 7 64-bit that the switch can be invoked using one of the two following commands (depending on which chipset is currently in use)&lt;br /&gt;
&lt;br /&gt;
{{cmd|C:\PROGRA~2\ThinkPad\UTILIT~1\PWMUIAux.exe /HighPerformanceGpu |}}&lt;br /&gt;
&lt;br /&gt;
{{cmd|C:\PROGRA~2\ThinkPad\UTILIT~1\PWMUIAux.exe /EnergySavingGpu |}}&lt;br /&gt;
&lt;br /&gt;
== ThinkPad models which may have this feature ==&lt;br /&gt;
* {{R400}}&lt;br /&gt;
* {{T400}}, {{T500}}, {{T510i}}, {{T420}}, {{T420s}}, {{T520}}&lt;br /&gt;
* {{W500}}&lt;/div&gt;</summary>
		<author><name>Carewolf</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Category:T420&amp;diff=53873</id>
		<title>Category:T420</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Category:T420&amp;diff=53873"/>
		<updated>2012-08-23T13:25:04Z</updated>

		<summary type="html">&lt;p&gt;Carewolf: Mention battery issue, and link.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;&amp;quot;&amp;gt;&lt;br /&gt;
=== ThinkPad T420 ===&lt;br /&gt;
This page gives an overview of the ThinkPad T420.&lt;br /&gt;
&lt;br /&gt;
==== Standard Features ====&lt;br /&gt;
*One of the following processors:&lt;br /&gt;
** Intel® Core™ i3-2310M (2.1GHz, 3MB L3, 1333MHz FSB)&lt;br /&gt;
** Intel® Core™ i5-2410M (2.3GHz, 3MB L3, 1333MHz FSB)&lt;br /&gt;
** Intel® Core™ i5-2450M (2.5GHz, 3MB L3, 1333MHz FSB) (Without vPro)&lt;br /&gt;
** Intel® Core™ i5-2520M (2.5GHz, 3MB L3, 1333MHz FSB)&lt;br /&gt;
** Intel® Core™ i5-2540M (2.6GHz, 3MB L3, 1333MHz FSB)&lt;br /&gt;
** Intel® Core™ i7-2620M (2.7GHz, 4MB L3, 1333MHz FSB)&lt;br /&gt;
** Intel® Core™ i7-2640M (2.8GHz, 3MB L3, 1333MHz FSB) &lt;br /&gt;
* One of the following graphics adapters:&lt;br /&gt;
** Intel Integrated HD Graphics 3000&lt;br /&gt;
** Discrete NVIDIA NVS 4200M (1GB VRAM) with [[Switchable Graphics|Optimus™ Technology]]&lt;br /&gt;
* One of the following [[TFT display]]s:&lt;br /&gt;
** 14.0&amp;quot; HD (1366 x 768) (230 NITS)&lt;br /&gt;
** 14.0&amp;quot; HD+ (1600 x 900) (230 NITS)&lt;br /&gt;
* Up to 8GB DDR3 - 1333MHz (2 DIMM Slots)&lt;br /&gt;
* One of the following storage options:&lt;br /&gt;
** 160GB (7200rpm)&lt;br /&gt;
** 250GB (5400rpm/7200rpm OPAL)&lt;br /&gt;
** 320GB (5400rpm/7200rpm)&lt;br /&gt;
** 500GB (7200rpm)&lt;br /&gt;
** Intel 80GB Micro Solid State Drive, Serial ATA&lt;br /&gt;
** 128GB Solid State Drive, Serial ATA&lt;br /&gt;
** Intel 160GB Solid State Drive, Serial ATA&lt;br /&gt;
* One of the following WLAN adapters:&lt;br /&gt;
** ThinkPad BGN (RealTek - Stockton) 1x1 BGN&lt;br /&gt;
** Intel Centrino Wireless-N 1000 (Condor Peak) 1x2 BGN&lt;br /&gt;
** Intel Centrino Advanced-N 6205 (Taylor Peak) 2x2 AGN&lt;br /&gt;
** Intel Centrino Ultimate-N 6300 (Puma Peak) 3x3 AGN&lt;br /&gt;
* One of the following LAN adapters:&lt;br /&gt;
** Intel® 82577LM Gigabit (Hanksville) Digital Office&lt;br /&gt;
** Intel® 82577LC Gigabit (Hanksville) Fundamental&lt;br /&gt;
* One of the following WWAN adapters:&lt;br /&gt;
** Gobi™ 3000 Sierra Wireless EV-DO/HSPA WWAN Minicard&lt;br /&gt;
** Ericsson HSPA+ WWAN Minicard (F5521gw)&lt;br /&gt;
* Battery&lt;br /&gt;
** ThinkPad Battery 55+ (6 Cell Lithium-Ion, 57 Watts/Hr)&lt;br /&gt;
** ThinkPad Battery 55++ (9 Cell Lithium-Ion, 94 Watts/Hr)&lt;br /&gt;
** ThinkPad Battery 27++ Slice (9 Cell Lithium-Ion, 11.1 V, 8.4 Amp/Hr)&lt;br /&gt;
* Internal PCIe slots: 1 Full (51mm) and 1 Half (27mm)&lt;br /&gt;
** Half slot supports mSATA SSD or WWAN&lt;br /&gt;
* USB x 4: 1 Always-On USB 2.0, 2 USB 2.0, 1 USB 2.0/eSATA Combo&lt;br /&gt;
** Unlike the [[:Category:T420s|T420s]], the T420 &amp;lt;i&amp;gt;lacks&amp;lt;/i&amp;gt; USB 3.0&lt;br /&gt;
** [http://uk.startech.com/Cards-Adapters/USB-3.0/Cards/2-Port-Flush-Mount-ExpressCard-SuperSpeed-USB-3-Card-Adapter~ECUSB3S254F ExpressCard USB 3.0 Adapter] is an alternative&lt;br /&gt;
* Size: 13.4in x 9.05in x 1.18-1.20in&lt;br /&gt;
* Weight: &amp;lt; 4.84lbs&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
[[Image:ThinkPadT420.jpg|ThinkPad T420|300px]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Issues ===&lt;br /&gt;
The Optimus models, will not power off the NVidia GPU even if you are only using the integrated Intel GPU. To power it off, and make the machine run cooler, and much longer on battery you need to manually disable it. See how in [[Switchable Graphics]].&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
* [http://www.lenovo.com/shop/americas/content/pdf/notebooks/ThinkPad/t-series/ThinkPad%20T420-T520.pdf ThinkPad T420/T520 Notebooks]&lt;br /&gt;
* [http://support.lenovo.com/en_US/guides-and-manuals/detail.page?LegacyDocID=MIGR-76853 Hardware Maintenance Manual - ThinkPad T420 and T420i]&lt;br /&gt;
=== Reviews ===&lt;br /&gt;
* http://www.notebookcheck.net/Review-Lenovo-Thinkpad-T420-Notebook.51230.0.html&lt;br /&gt;
&lt;br /&gt;
[[Category:T Series]]&lt;/div&gt;</summary>
		<author><name>Carewolf</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Switchable_Graphics&amp;diff=53872</id>
		<title>Switchable Graphics</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Switchable_Graphics&amp;diff=53872"/>
		<updated>2012-08-23T13:22:21Z</updated>

		<summary type="html">&lt;p&gt;Carewolf: /* Improving Battery-life with Optimus */ Fix typo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Select ThinkPads feature switchable graphics, where a low power consumption integrated GPU and high performance dedicated GPU is combined and you have the ability to switch between them, sacrificing either performance or battery life.&lt;br /&gt;
&lt;br /&gt;
In Windows XP this switching requires a logout/login, while in Vista and Windows 7 there is support for runtime switching.&lt;br /&gt;
&lt;br /&gt;
Under Linux, the switching so far had to be done by entering BIOS setup and changing between &amp;quot;Internal&amp;quot; (low power, integrated), &amp;quot;External&amp;quot; (high performance, discrete) or &amp;quot;Switchable&amp;quot; (OS selectable) options.&lt;br /&gt;
&lt;br /&gt;
Depending on which Linux version you use, you could have the following effects&lt;br /&gt;
* On Ubuntu 8.10 (Intrepid) BIOS setting has to be either on Internal or External, not Switchable.&lt;br /&gt;
* On Ubuntu 9.10 (Karmic) the Integrated Intel card works with both Integrated or Switchable set&lt;br /&gt;
&lt;br /&gt;
Lenovo has published a [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-70495 Switchable Graphics FAQ] you may want to review.&lt;br /&gt;
&lt;br /&gt;
== Switchable Graphics and Docks ==&lt;br /&gt;
&lt;br /&gt;
ThinkPads with switchable graphics can only drive DVI or DisplayPort outputs on Docks by using the high-performance discrete graphics card, the integrated GPU is just not attached to the DVI or DisplayPort outputs (though VGA output through the dock is possible).&lt;br /&gt;
&lt;br /&gt;
== Improving Battery-life with Optimus ==&lt;br /&gt;
ThinkPads with NVidia Optimus graphics, have been well known to have significantly better battery-life in Windows than in Linux, even when Linux only uses the internal graphics. The reason is that the NVidia GPU is not automatically powered off when it is not used. So to get optimal battery-life in Linux on ThinkPad with Optimus, you need to switch it off manually (or by a script).&lt;br /&gt;
&lt;br /&gt;
First you need to enable access to vga-switcheroo settings, for that you need to mount the debugfs. You can do that by adding the following line to fstab:&lt;br /&gt;
  none            /sys/kernel/debug debugfs defaults 0 0&lt;br /&gt;
&lt;br /&gt;
After mounting that you can now access {{path|/usr/kernel/debug/vgaswitcheroo/switch}}. &lt;br /&gt;
&lt;br /&gt;
To force it to use the internal graphics write: {{cmdroot|echo 'IGD' &amp;gt; /usr/kernel/debug/vgaswitcheroo/switch}}. &lt;br /&gt;
&lt;br /&gt;
To force it to use the discrete GPU: {{cmdroot|echo 'DES' &amp;gt; /usr/kernel/debug/vgaswitcheroo/switch}}.&lt;br /&gt;
&lt;br /&gt;
Most importantly, to poweroff the currently unused GPU, run: {{cmdroot|echo 'OFF' &amp;gt; /usr/kernel/debug/vgaswitcheroo/switch}}. &lt;br /&gt;
&lt;br /&gt;
This should double your battery-life on ThinkPads T420 and ThinkPad W420, if you only use intel Xorg drivers.&lt;br /&gt;
&lt;br /&gt;
== Development status ==&lt;br /&gt;
David Arlie has been working on switching between GPUs without having to reboot, and changing BIOS settings. An initial version of a new driver (vga_switcheroo) has been merged in the 2.6.34 kernel. This driver allows switching between graphics cards, but requires that the Xserver is restarted. Full seamless runtime switching support will require significant Xserver work.&lt;br /&gt;
&lt;br /&gt;
http://www.phoronix.com/scan.php?page=news_item&amp;amp;px=ODAyMg&lt;br /&gt;
&lt;br /&gt;
A script to switch between ATI discrete graphics with the fglrx driver and Intel integrated graphics with xorg driver through rebooting and selection in the bios is posted here.  The user must reboot, but no further configuration is needed as the script detects the card used and copies the correct libraries and configuration file.&lt;br /&gt;
&lt;br /&gt;
http://www.thinkwiki.org/wiki/Auto_detect_drivers_for_switchable_graphics&lt;br /&gt;
&lt;br /&gt;
It has been discovered that on a W500 running Windows 7 64-bit that the switch can be invoked using one of the two following commands (depending on which chipset is currently in use)&lt;br /&gt;
&lt;br /&gt;
{{cmd|C:\PROGRA~2\ThinkPad\UTILIT~1\PWMUIAux.exe /HighPerformanceGpu |}}&lt;br /&gt;
&lt;br /&gt;
{{cmd|C:\PROGRA~2\ThinkPad\UTILIT~1\PWMUIAux.exe /EnergySavingGpu |}}&lt;br /&gt;
&lt;br /&gt;
== ThinkPad models which may have this feature ==&lt;br /&gt;
* {{R400}}&lt;br /&gt;
* {{T400}}, {{T500}}, {{T510i}}, {{T420}}, {{T420s}}, {{T520}}&lt;br /&gt;
* {{W500}}&lt;/div&gt;</summary>
		<author><name>Carewolf</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Switchable_Graphics&amp;diff=53871</id>
		<title>Switchable Graphics</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Switchable_Graphics&amp;diff=53871"/>
		<updated>2012-08-23T13:21:48Z</updated>

		<summary type="html">&lt;p&gt;Carewolf: /* Improving Battery-life with Optimus */ Style&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Select ThinkPads feature switchable graphics, where a low power consumption integrated GPU and high performance dedicated GPU is combined and you have the ability to switch between them, sacrificing either performance or battery life.&lt;br /&gt;
&lt;br /&gt;
In Windows XP this switching requires a logout/login, while in Vista and Windows 7 there is support for runtime switching.&lt;br /&gt;
&lt;br /&gt;
Under Linux, the switching so far had to be done by entering BIOS setup and changing between &amp;quot;Internal&amp;quot; (low power, integrated), &amp;quot;External&amp;quot; (high performance, discrete) or &amp;quot;Switchable&amp;quot; (OS selectable) options.&lt;br /&gt;
&lt;br /&gt;
Depending on which Linux version you use, you could have the following effects&lt;br /&gt;
* On Ubuntu 8.10 (Intrepid) BIOS setting has to be either on Internal or External, not Switchable.&lt;br /&gt;
* On Ubuntu 9.10 (Karmic) the Integrated Intel card works with both Integrated or Switchable set&lt;br /&gt;
&lt;br /&gt;
Lenovo has published a [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-70495 Switchable Graphics FAQ] you may want to review.&lt;br /&gt;
&lt;br /&gt;
== Switchable Graphics and Docks ==&lt;br /&gt;
&lt;br /&gt;
ThinkPads with switchable graphics can only drive DVI or DisplayPort outputs on Docks by using the high-performance discrete graphics card, the integrated GPU is just not attached to the DVI or DisplayPort outputs (though VGA output through the dock is possible).&lt;br /&gt;
&lt;br /&gt;
== Improving Battery-life with Optimus ==&lt;br /&gt;
ThinkPads with NVidia Optimus graphics, have been well known to have significantly better battery-life in Windows than in Linux, even when Linux only uses the internal graphics. The reason is that the NVidia GPU is not automatically powered off when it is not used. So to get optimal battery-life in Linux on ThinkPad with Optimus, you need to switch it off manually (or by a script).&lt;br /&gt;
&lt;br /&gt;
First you need to enable access to vga-switcheroo settings, for that you need to mount the debugfs. You can do that by adding the following line to fstab:&lt;br /&gt;
  none            /sys/kernel/debug debugfs defaults 0 0&lt;br /&gt;
&lt;br /&gt;
After mounting that you can now access {{path|/usr/kernel/debug/vgaswitcheroo/switch}}. &lt;br /&gt;
&lt;br /&gt;
To force it to use the internal graphics write: {{cmdroot|echo 'IDG' &amp;gt; /usr/kernel/debug/vgaswitcheroo/switch}}. &lt;br /&gt;
&lt;br /&gt;
To force it to use the discrete GPU: {{cmdroot|echo 'DES' &amp;gt; /usr/kernel/debug/vgaswitcheroo/switch}}.&lt;br /&gt;
&lt;br /&gt;
Most importantly, to poweroff the currently unused GPU, run: {{cmdroot|echo 'OFF' &amp;gt; /usr/kernel/debug/vgaswitcheroo/switch}}. &lt;br /&gt;
&lt;br /&gt;
This should double your battery-life on ThinkPads T420 and ThinkPad W420, if you only use intel Xorg drivers.&lt;br /&gt;
&lt;br /&gt;
== Development status ==&lt;br /&gt;
David Arlie has been working on switching between GPUs without having to reboot, and changing BIOS settings. An initial version of a new driver (vga_switcheroo) has been merged in the 2.6.34 kernel. This driver allows switching between graphics cards, but requires that the Xserver is restarted. Full seamless runtime switching support will require significant Xserver work.&lt;br /&gt;
&lt;br /&gt;
http://www.phoronix.com/scan.php?page=news_item&amp;amp;px=ODAyMg&lt;br /&gt;
&lt;br /&gt;
A script to switch between ATI discrete graphics with the fglrx driver and Intel integrated graphics with xorg driver through rebooting and selection in the bios is posted here.  The user must reboot, but no further configuration is needed as the script detects the card used and copies the correct libraries and configuration file.&lt;br /&gt;
&lt;br /&gt;
http://www.thinkwiki.org/wiki/Auto_detect_drivers_for_switchable_graphics&lt;br /&gt;
&lt;br /&gt;
It has been discovered that on a W500 running Windows 7 64-bit that the switch can be invoked using one of the two following commands (depending on which chipset is currently in use)&lt;br /&gt;
&lt;br /&gt;
{{cmd|C:\PROGRA~2\ThinkPad\UTILIT~1\PWMUIAux.exe /HighPerformanceGpu |}}&lt;br /&gt;
&lt;br /&gt;
{{cmd|C:\PROGRA~2\ThinkPad\UTILIT~1\PWMUIAux.exe /EnergySavingGpu |}}&lt;br /&gt;
&lt;br /&gt;
== ThinkPad models which may have this feature ==&lt;br /&gt;
* {{R400}}&lt;br /&gt;
* {{T400}}, {{T500}}, {{T510i}}, {{T420}}, {{T420s}}, {{T520}}&lt;br /&gt;
* {{W500}}&lt;/div&gt;</summary>
		<author><name>Carewolf</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Switchable_Graphics&amp;diff=53870</id>
		<title>Switchable Graphics</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Switchable_Graphics&amp;diff=53870"/>
		<updated>2012-08-23T13:20:02Z</updated>

		<summary type="html">&lt;p&gt;Carewolf: Huge power saving tip.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Select ThinkPads feature switchable graphics, where a low power consumption integrated GPU and high performance dedicated GPU is combined and you have the ability to switch between them, sacrificing either performance or battery life.&lt;br /&gt;
&lt;br /&gt;
In Windows XP this switching requires a logout/login, while in Vista and Windows 7 there is support for runtime switching.&lt;br /&gt;
&lt;br /&gt;
Under Linux, the switching so far had to be done by entering BIOS setup and changing between &amp;quot;Internal&amp;quot; (low power, integrated), &amp;quot;External&amp;quot; (high performance, discrete) or &amp;quot;Switchable&amp;quot; (OS selectable) options.&lt;br /&gt;
&lt;br /&gt;
Depending on which Linux version you use, you could have the following effects&lt;br /&gt;
* On Ubuntu 8.10 (Intrepid) BIOS setting has to be either on Internal or External, not Switchable.&lt;br /&gt;
* On Ubuntu 9.10 (Karmic) the Integrated Intel card works with both Integrated or Switchable set&lt;br /&gt;
&lt;br /&gt;
Lenovo has published a [http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-70495 Switchable Graphics FAQ] you may want to review.&lt;br /&gt;
&lt;br /&gt;
== Switchable Graphics and Docks ==&lt;br /&gt;
&lt;br /&gt;
ThinkPads with switchable graphics can only drive DVI or DisplayPort outputs on Docks by using the high-performance discrete graphics card, the integrated GPU is just not attached to the DVI or DisplayPort outputs (though VGA output through the dock is possible).&lt;br /&gt;
&lt;br /&gt;
== Improving Battery-life with Optimus ==&lt;br /&gt;
ThinkPads with NVidia Optimus graphics, have been well known to have significantly better battery-life in Windows than in Linux, even when Linux only uses the internal graphics. The reason is that the NVidia GPU is not automatically powered off when it is not used. So to get optimal battery-life in Linux on ThinkPad with Optimus, you need to switch it off manually (or by a script).&lt;br /&gt;
&lt;br /&gt;
First you need to enable access to vga-switcheroo settings, for that you need to mount the debugfs. You can do that by adding the following line to fstab:&lt;br /&gt;
  none            /sys/kernel/debug debugfs defaults 0 0&lt;br /&gt;
&lt;br /&gt;
After mounting that you can now access {{path|/usr/kernel/debug/vgaswitcheroo/switch}}. &lt;br /&gt;
To force it to use the internal graphics write: {{cmdroot|echo 'IDG' &amp;gt; /usr/kernel/debug/vgaswitcheroo/switch}}. &lt;br /&gt;
To force it to use the discrete GPUÆ {{cmdroot|echo 'DES' &amp;gt; /usr/kernel/debug/vgaswitcheroo/switch}}.&lt;br /&gt;
&lt;br /&gt;
Most importantly, to poweroff the currently unused GPU, run: {{cmdroot|echo 'OFF' &amp;gt; /usr/kernel/debug/vgaswitcheroo/switch}}. This will double your battery-life on ThinkPads T420 and ThinkPad W420.&lt;br /&gt;
&lt;br /&gt;
== Development status ==&lt;br /&gt;
David Arlie has been working on switching between GPUs without having to reboot, and changing BIOS settings. An initial version of a new driver (vga_switcheroo) has been merged in the 2.6.34 kernel. This driver allows switching between graphics cards, but requires that the Xserver is restarted. Full seamless runtime switching support will require significant Xserver work.&lt;br /&gt;
&lt;br /&gt;
http://www.phoronix.com/scan.php?page=news_item&amp;amp;px=ODAyMg&lt;br /&gt;
&lt;br /&gt;
A script to switch between ATI discrete graphics with the fglrx driver and Intel integrated graphics with xorg driver through rebooting and selection in the bios is posted here.  The user must reboot, but no further configuration is needed as the script detects the card used and copies the correct libraries and configuration file.&lt;br /&gt;
&lt;br /&gt;
http://www.thinkwiki.org/wiki/Auto_detect_drivers_for_switchable_graphics&lt;br /&gt;
&lt;br /&gt;
It has been discovered that on a W500 running Windows 7 64-bit that the switch can be invoked using one of the two following commands (depending on which chipset is currently in use)&lt;br /&gt;
&lt;br /&gt;
{{cmd|C:\PROGRA~2\ThinkPad\UTILIT~1\PWMUIAux.exe /HighPerformanceGpu |}}&lt;br /&gt;
&lt;br /&gt;
{{cmd|C:\PROGRA~2\ThinkPad\UTILIT~1\PWMUIAux.exe /EnergySavingGpu |}}&lt;br /&gt;
&lt;br /&gt;
== ThinkPad models which may have this feature ==&lt;br /&gt;
* {{R400}}&lt;br /&gt;
* {{T400}}, {{T500}}, {{T510i}}, {{T420}}, {{T420s}}, {{T520}}&lt;br /&gt;
* {{W500}}&lt;/div&gt;</summary>
		<author><name>Carewolf</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Problem_with_video_output_switching&amp;diff=36384</id>
		<title>Problem with video output switching</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Problem_with_video_output_switching&amp;diff=36384"/>
		<updated>2008-02-07T15:57:10Z</updated>

		<summary type="html">&lt;p&gt;Carewolf: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Affected Models==&lt;br /&gt;
*ThinkPad {{T40}}, {{T40p}}, {{T41}}, {{T41p}}, {{T42}}, {{T42p}}, {{T43}}, {{T43p}}, {{T60}}, {{T61}}&lt;br /&gt;
*ThinkPad {{R61}}&lt;br /&gt;
*ThinkPad {{X22}}, {{X23}}, {{X31}}, {{X41}}, {{X60}}, {{X60s}}&lt;br /&gt;
&lt;br /&gt;
==Problem Description==&lt;br /&gt;
External video output is not working, or it is not possible, using the  FN-F7 key, to switch between the LCD and the external monitor in the following way:&lt;br /&gt;
 LCD --&amp;gt; external Monitor--&amp;gt; both --&amp;gt;LCD&lt;br /&gt;
However ''cloning'' is possible for the Intel chipsets, see below.&lt;br /&gt;
&lt;br /&gt;
=== At least as of Fedora 8 with intel chipset the following works: [[Sample Fn-F7 script]] ===&lt;br /&gt;
&lt;br /&gt;
===Problems with Intel chipsets===&lt;br /&gt;
Disabling the internal LCD (e.g. when using an external Monitor) doesn't seem to work reliably.&lt;br /&gt;
&lt;br /&gt;
* For Xorg 7.022 one can clone the LCD display to an external monitor, adding the following lines to the Device section in the xorg.conf file:&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
  Identifier	&amp;quot;Generic Video Card&amp;quot;&lt;br /&gt;
  Driver		&amp;quot;i810&amp;quot;&lt;br /&gt;
  Option          &amp;quot;Clone&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
  Option          &amp;quot;MonitorLayout&amp;quot; &amp;quot;CRT,LFP&amp;quot;&lt;br /&gt;
however you can not switch between these screens as described above, once you use FN-F7 the cloned display is lost.&lt;br /&gt;
&lt;br /&gt;
* i810switch doesn't have any effect. After disabling the LCD it is still on (but the status display of i810switch claims that is is switched off). &lt;br /&gt;
&lt;br /&gt;
* The following works with Fedora Core 6 on an {{X60s}} and CentOS 5 on {{X60}}: i810switch 0.6.5 with the patch found on http://thpinfo.com/2006/patches/i810switch_macbook_support.patch  can switch between LCD and CRT (and initially CRT is off) (NOTE: The first hunk of this patch does not apply to the source, just remove it, it is unnecessary). This patch makes i810switch recognize the i915 chipset. It should thus be doable to use this with an ACPI event/action to do {{key|Fn}}{{key|F7}} switching. After installing i810switch and its i810rotate script and the missing [[ibm-acpi]] kernel module I did the following to achieve just that:&lt;br /&gt;
&lt;br /&gt;
In /etc/rc.local:&lt;br /&gt;
 modprobe ibm_acpi&lt;br /&gt;
 echo enable,0x084c &amp;gt; /proc/acpi/ibm/hotkey&lt;br /&gt;
&lt;br /&gt;
in /etc/acpi/events/videoswitch.conf:&lt;br /&gt;
 event=ibm/hotkey HKEY 00000080 00001007&lt;br /&gt;
 action=/etc/acpi/actions/video-rotate.sh&lt;br /&gt;
&lt;br /&gt;
Make sure the event code is correct. If acpid doesn't seem to recognise the event, try to recopy it from acpi log.&lt;br /&gt;
&lt;br /&gt;
in /etc/acpi/actions/video-rotate.sh&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 exec /usr/sbin/i810rotate&lt;br /&gt;
&lt;br /&gt;
* i855crt works see: http://stefan.desire.ch/howto/x41debian/#graphics for details.&lt;br /&gt;
&lt;br /&gt;
* With [[ibm-acpi]], {{cmdroot|echo lcd_disable &amp;gt;/proc/acpi/ibm/video}} works, but {{cmdroot|echo lcd_enable &amp;gt;/proc/acpi/ibm/video}} doesn't work - so one can't enable it anymore after disabling it. (the strange thing is that when switching to a console with {{key|ctrl}}{{key|alt}}{{key|F1}} the LCD display is used for it, so there must be some way to enable it but I can't find out how to control this in X). I've tried this with version 0.8 and version 0.11 of [[ibm-acpi]].&lt;br /&gt;
** {{key|Fn}}{{key|F7}} lets me enable the internal LCD after I disabled it with {{cmdroot|echo lcd_disable &amp;gt;/proc/acpi/ibm/video}} on my X41 but it corrupts the crt out&lt;br /&gt;
&lt;br /&gt;
===Problems with ATI chipsets===&lt;br /&gt;
*It is a [http://bugs.freedesktop.org/show_bug.cgi?id=2000 known issue] of xorgs radeon driver that {{key|Fn}}{{key|F7}} doesn't work.&lt;br /&gt;
&lt;br /&gt;
The {{cmdroot|radeontool light off}} and {{cmdroot|radeontool dac off}} commands will disable the LCD and CRT if they're been enabled before in the X server, but the corresponding {{cmdroot|radeontool light on}} and {{cmdroot|radeontool dac on}} will not work if the displays have were not enabled when the X server started. Also note that turing off the CRT using this command will not reduce power consumption, nor allow [[fglrx]] to enable power saving modes.&lt;br /&gt;
&lt;br /&gt;
You might try the following: Hit Ctrl+Alt+F1 to switch to a console, hit Fn+F7 to switch video, hit Alt+F7 to switch back to X.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Similar problems exist with XFree86 4.3 and its radeon driver&lt;br /&gt;
&lt;br /&gt;
You '''can''' switch the display off after switching to tty1 (STRG+ALT+F1) by &lt;br /&gt;
  * pressing FN+F7 or&lt;br /&gt;
  * executing ''echo crt_disable &amp;gt; /proc/acpi/ibm/video'' as root&lt;br /&gt;
&lt;br /&gt;
You '''cannot''' do this under X11. The display is always on under X11. I tried &lt;br /&gt;
  * ''echo auto_disable &amp;gt; /proc/acpi/ibm/video''&lt;br /&gt;
  * ''echo crt_disable &amp;gt; /proc/acpi/ibm/video''&lt;br /&gt;
  * ''echo lcd_disable &amp;gt; /proc/acpi/ibm/video''&lt;br /&gt;
  * pressing FN+F7&lt;br /&gt;
&lt;br /&gt;
but none of the above had any effect. If you switch the display off, then start X or switch to it, the display&lt;br /&gt;
will be activated automatically.&lt;br /&gt;
&lt;br /&gt;
====With the radeon driver====&lt;br /&gt;
You can force the &amp;lt;tt&amp;gt;radeon&amp;lt;/tt&amp;gt; driver to enable both CRT and LCD using &amp;lt;tt&amp;gt;Option &amp;quot;MonitorLayout&amp;quot; &amp;quot;LVDS,CRT&amp;quot;&amp;lt;/tt&amp;gt; in the &amp;lt;tt&amp;gt;&amp;quot;Device&amp;quot;&amp;lt;/tt&amp;gt; section of {{path|/etc/X11/xorg.conf}}. &lt;br /&gt;
&lt;br /&gt;
With new versions of the [[radeon]] drivers that include [[Xorg RandR 1.2]] support, you can fully control all outputs using the &amp;lt;tt&amp;gt;xrandr&amp;lt;/tt&amp;gt; utility.&lt;br /&gt;
&lt;br /&gt;
====With the fglrx driver====&lt;br /&gt;
Output switching with the Closed-Source ati-driver works: Just use {{cmdroot|aticonfig --query-monitor}} and e.g. {{cmdroot |aticonfig  --enable-monitor...&amp;quot;}}. You can use those two commands in a script, and bind them to {{key|Fn}}{{key|F7}}. Or use  &amp;lt;tt&amp;gt;Option &amp;quot;ForceMonitors&amp;quot; &amp;quot;lvds,crt1&amp;quot;&amp;lt;/tt&amp;gt; in {{path|/etc/X11/xorg.conf}}. &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Alternative solution: {{path|fglrx}} 8.28.8 will recognize {{key|Fn}}{{key|F7}} directly, if the key is enabled. This obviates the need for scripts which call aticonfig. To enable the hotkey, issue the command {{cmdroot|echo enable,0xffff &amp;gt;/proc/acpi/ibm/hotkey}}. You'll want to have this run both at boot time, and after resume (on my T43, the hotkey mask is reset on resume). For Ubuntu, I've put a script with the command in both the {{path|/etc/acpi/resume.d}}, and {{path|/etc/acpi/start.d}} directories.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Using kubuntu 7.04 with xorg-driver-fglrx 7.1.0-8.34.8+2.6.20.5-16.29, fglrx failed to recognise {{key|Fn}}{{key|F7}}.  However the following scripts can be used with acpi.  Tested on a T42p.&lt;br /&gt;
&lt;br /&gt;
* /etc/acpi/events/ibmvideobtn&lt;br /&gt;
  # /etc/acpi/events/ibmvideobtn&lt;br /&gt;
  # This is called when the user presses the video button.&lt;br /&gt;
  event=ibm/hotkey HKEY 00000080 00001007&lt;br /&gt;
  action=/etc/acpi/ibm-video.sh&lt;br /&gt;
&lt;br /&gt;
* /etc/acpi/ibm-video.sh&lt;br /&gt;
  #!/bin/sh&lt;br /&gt;
 &lt;br /&gt;
  # ACPI Scripts run as root, but the display will not allow access&lt;br /&gt;
  # from other users.&lt;br /&gt;
  # Lookup the X process for :0, find the -auth command line option,&lt;br /&gt;
  # extract the name of the authority file and use this file&lt;br /&gt;
  # to gain access to the DISPLAY&lt;br /&gt;
  export XAUTHORITY=`ps -ef | grep /usr/bin/X | grep :0 | grep -v grep | \&lt;br /&gt;
    awk -F' -' '{for (i=1; i&amp;lt;=NF; i++) if (substr($i, 0, 4)==&amp;quot;auth&amp;quot;) print $i}' \&lt;br /&gt;
    | awk '{print $2}'`&lt;br /&gt;
 &lt;br /&gt;
  export DISPLAY=:0&lt;br /&gt;
 &lt;br /&gt;
  # Query current monitor setup&lt;br /&gt;
  # Expect output from aticonfig such as:&lt;br /&gt;
  #   Connected monitors: crt1, lvds&lt;br /&gt;
  #   Enabled monitors: crt1&lt;br /&gt;
  #&lt;br /&gt;
  current=`aticonfig --query-monitor | tail -1 | awk -F: '{print $2}' | cut -c2-`&lt;br /&gt;
 &lt;br /&gt;
  # Cycle round to next monitor setup.&lt;br /&gt;
  # We loop through these settings&lt;br /&gt;
  # 1. CRT&lt;br /&gt;
  # 2. LCD&lt;br /&gt;
  # 3. CRT and LCD&lt;br /&gt;
  echo Current video: $current&lt;br /&gt;
  &lt;br /&gt;
  case $current in&lt;br /&gt;
    crt1)&lt;br /&gt;
      echo Switching to LCD&lt;br /&gt;
      aticonfig --enable-monitor=lvds&lt;br /&gt;
      ;;&lt;br /&gt;
    lvds)&lt;br /&gt;
      echo Switching to both LCD and CRT&lt;br /&gt;
      aticonfig --enable-monitor=crt1,lvds&lt;br /&gt;
      ;;&lt;br /&gt;
    &amp;quot;crt1, lvds&amp;quot;)&lt;br /&gt;
      echo Switching to CRT&lt;br /&gt;
      aticonfig --enable-monitor=crt1&lt;br /&gt;
      ;;&lt;br /&gt;
    *)&lt;br /&gt;
      # Unexpected current monitor, change to internal LCD&lt;br /&gt;
      echo Unknown current mode, switching to LCD&lt;br /&gt;
      aticonfig --enable-monitor=lvds&lt;br /&gt;
  esac&lt;br /&gt;
&lt;br /&gt;
====With the VESA driver====&lt;br /&gt;
&lt;br /&gt;
I have fixed the problem on my T42 by switching to the generic VESA driver in xorg.conf, and rebooting, as mentioned on the xorg bug page above. None of the other solutions worked.&lt;br /&gt;
&lt;br /&gt;
==Related Links==&lt;br /&gt;
*https://bugs.freedesktop.org/show_bug.cgi?id=2000&lt;br /&gt;
&lt;br /&gt;
==Solutions==&lt;br /&gt;
&lt;br /&gt;
====BIOSHotKeys====&lt;br /&gt;
&lt;br /&gt;
Try adding&lt;br /&gt;
 Option &amp;quot;BiosHotKeys&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
to &amp;quot;Device&amp;quot; selection in /etc/xorg.conf. For some reason, this is not the default, and will cause xorg to ignore the BIOS's request to switch modes!&lt;br /&gt;
This fixes the problem for an X22, with xorg 6.9.0.&lt;br /&gt;
&lt;br /&gt;
It fixed this problem for a X31 with xorg 7.1.1 too, but as the CRT is the primary display in some Thinkpads (like in the X31), you can not switch back to the LCD (or both) if xorg has started with the CRT only or both mode, because it sets the resolution and or refresrate to high for the LCD.&lt;/div&gt;</summary>
		<author><name>Carewolf</name></author>
		
	</entry>
</feed>