<?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=Gumbyx84</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=Gumbyx84"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/Gumbyx84"/>
	<updated>2026-04-17T18:12:16Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:Problem_with_video_output_switching&amp;diff=36580</id>
		<title>Talk:Problem with video output switching</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Talk:Problem_with_video_output_switching&amp;diff=36580"/>
		<updated>2008-02-25T20:00:36Z</updated>

		<summary type="html">&lt;p&gt;Gumbyx84: /* Problems with T60P */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
==Radeon driver working great in my X31 ==&lt;br /&gt;
&lt;br /&gt;
The radeon driver video output switching is working in my X31 as intended. Perhaps I should update a bit this page, because the problems listed for radeon are very old, but I don't want to do this without the experience of people with other Radeon video cards.&lt;br /&gt;
&lt;br /&gt;
For me Fn-F7 is working in console and X (Debian Etch). It stops to work when I run X with mergedFB settings to be able to have 2 displays (which is the way it works in windows by the way). But is working perfectly for the intended use (to have one screen and be able to plug an external cloned screen or projector with the same resolution).&lt;br /&gt;
&lt;br /&gt;
--[[User:Ungoliant|Ungoliant]] 18:23, 25 February 2007 (CET)&lt;br /&gt;
&lt;br /&gt;
==X40 solution ==&lt;br /&gt;
I have found a solution for switching back to LCD with the Intel Cards on my X40. But it semms a bit strange to me so maybe someone can confirm that it also works on other Thinkpads (mine is a X41) and setups before I edit that wiki entry.&lt;br /&gt;
&lt;br /&gt;
If i do echo lcd_enable,crt_disable &amp;gt; /proc/acpi/ibm/video after enabling crt i get to see the screen on both lcd and crt although scrambled on crt. After executing it the second time i get lcd only. So for now i always execute that command twice.&lt;br /&gt;
&lt;br /&gt;
==Describe the problem (cloning) ==&lt;br /&gt;
Hello &lt;br /&gt;
&lt;br /&gt;
I suggest to describe the problem a little more in detail. Moreover, cloning, that is to have the display on both screens the external and the LCD, is possible.&lt;br /&gt;
[[User:Oub|Oub]] 13:57, 11 July 2006 (CEST):&lt;br /&gt;
&lt;br /&gt;
Thats interresting. The person that wrote that &amp;quot;lcd_enable&amp;quot; should write which model he has, because I have no problems with my T43.&lt;br /&gt;
I mainly use &amp;quot;video_switch&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[User:Defint|Defiant]] 17:06, 11 July 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
== X60(s)? ==&lt;br /&gt;
Does the problem of switching video output also exist for the X60(s) series?&amp;lt;br&amp;gt;&lt;br /&gt;
Yes it does. Getting i810switch + patch fixes the problem. Details in the main page.&lt;br /&gt;
&lt;br /&gt;
== Problems with T60P ==&lt;br /&gt;
&lt;br /&gt;
Even with more recent drivers (Ubuntu currently has 8.37.6 in its repositories), video switching is not possible with the ''fglrx'' drivers, at least on the T60p. I do not know if this is a problem with ''fglrx'' or the acpi events (if you view ''/etc/acpi/events/ibm-videobtn'', you will see that it is just a placeholder that does nothing). Has anyone successfully gotten video switching to work with ''fglrx'' under Ubuntu or any other distribution using this version of ''fglrx''?&lt;br /&gt;
&lt;br /&gt;
Also, I have edited the alternative solution for ''fglrx'' to indicate a potential problem users might run into. When I tired it, most of my function key combos and the volume control buttons stopped working. Has anyone experienced this with another other Thinkpad model?&lt;br /&gt;
&lt;br /&gt;
-Gumbyx84&lt;/div&gt;</summary>
		<author><name>Gumbyx84</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Talk:Problem_with_video_output_switching&amp;diff=36579</id>
		<title>Talk:Problem with video output switching</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Talk:Problem_with_video_output_switching&amp;diff=36579"/>
		<updated>2008-02-25T19:57:21Z</updated>

		<summary type="html">&lt;p&gt;Gumbyx84: New section: Problems with T60P&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
==Radeon driver working great in my X31 ==&lt;br /&gt;
&lt;br /&gt;
The radeon driver video output switching is working in my X31 as intended. Perhaps I should update a bit this page, because the problems listed for radeon are very old, but I don't want to do this without the experience of people with other Radeon video cards.&lt;br /&gt;
&lt;br /&gt;
For me Fn-F7 is working in console and X (Debian Etch). It stops to work when I run X with mergedFB settings to be able to have 2 displays (which is the way it works in windows by the way). But is working perfectly for the intended use (to have one screen and be able to plug an external cloned screen or projector with the same resolution).&lt;br /&gt;
&lt;br /&gt;
--[[User:Ungoliant|Ungoliant]] 18:23, 25 February 2007 (CET)&lt;br /&gt;
&lt;br /&gt;
==X40 solution ==&lt;br /&gt;
I have found a solution for switching back to LCD with the Intel Cards on my X40. But it semms a bit strange to me so maybe someone can confirm that it also works on other Thinkpads (mine is a X41) and setups before I edit that wiki entry.&lt;br /&gt;
&lt;br /&gt;
If i do echo lcd_enable,crt_disable &amp;gt; /proc/acpi/ibm/video after enabling crt i get to see the screen on both lcd and crt although scrambled on crt. After executing it the second time i get lcd only. So for now i always execute that command twice.&lt;br /&gt;
&lt;br /&gt;
==Describe the problem (cloning) ==&lt;br /&gt;
Hello &lt;br /&gt;
&lt;br /&gt;
I suggest to describe the problem a little more in detail. Moreover, cloning, that is to have the display on both screens the external and the LCD, is possible.&lt;br /&gt;
[[User:Oub|Oub]] 13:57, 11 July 2006 (CEST):&lt;br /&gt;
&lt;br /&gt;
Thats interresting. The person that wrote that &amp;quot;lcd_enable&amp;quot; should write which model he has, because I have no problems with my T43.&lt;br /&gt;
I mainly use &amp;quot;video_switch&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[User:Defint|Defiant]] 17:06, 11 July 2006 (CEST)&lt;br /&gt;
&lt;br /&gt;
== X60(s)? ==&lt;br /&gt;
Does the problem of switching video output also exist for the X60(s) series?&amp;lt;br&amp;gt;&lt;br /&gt;
Yes it does. Getting i810switch + patch fixes the problem. Details in the main page.&lt;br /&gt;
&lt;br /&gt;
== Problems with T60P ==&lt;br /&gt;
&lt;br /&gt;
Even with more recent drivers (Ubuntu currently has 8.37.6 in its repositories), video switching is not possible with the ''fglrx'' drivers, at least on the T60p. I do not know if this is a problem with ''fglrx'' or the acpi events (if you view ''/etc/acpi/events/ibm-videobtn'', you will see that it is just a placeholder that does nothing). Has anyone successfully gotten video switching to work with ''fglrx'' under Ubuntu or any other distribution using this version of ''fglrx''?&lt;br /&gt;
&lt;br /&gt;
Also, I have edited the alternative solution for ''fglrx'' to indicate a potential problem users might run into. When I tired it, most of my function key combos and the volume control buttons stopped working. Has anyone experienced this with another other Thinkpad model?&lt;/div&gt;</summary>
		<author><name>Gumbyx84</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Problem_with_video_output_switching&amp;diff=36578</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=36578"/>
		<updated>2008-02-25T19:28:24Z</updated>

		<summary type="html">&lt;p&gt;Gumbyx84: /* With the fglrx driver */&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;
'''NOTE:''' This command will not enable video output swtiching on a T60p running Ubuntu 7.10. Executing this command will cause problem with the volume control keys and a few of the function keys (Ex. FN-F5 will no longer toggle Bluetooth).&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>Gumbyx84</name></author>
		
	</entry>
</feed>