<?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=Spirit</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=Spirit"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/Spirit"/>
	<updated>2026-05-09T17:24:02Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Problem_with_video_output_switching&amp;diff=26848</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=26848"/>
		<updated>2006-12-06T14:34:17Z</updated>

		<summary type="html">&lt;p&gt;Spirit: /* Problems with ATI chipsets : added XFree info */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Affected Models==&lt;br /&gt;
*ThinkPad {{T40}}, {{T40p}}, {{T41}}, {{T41p}}, {{T42}}, {{T42p}}, {{T43}}, {{T43p}}&lt;br /&gt;
*ThinkPad {{X22}}, {{X23}}, {{X41}}&lt;br /&gt;
&lt;br /&gt;
==Problem Description==&lt;br /&gt;
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;
===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;
* 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;
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}}. The analogous option for [[fglrx]] is &amp;lt;tt&amp;gt;Option &amp;quot;ForceMonitors&amp;quot; &amp;quot;lvds,crt1&amp;quot;&amp;lt;/tt&amp;gt;&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;
&lt;br /&gt;
====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}}&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;
==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 /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;/div&gt;</summary>
		<author><name>Spirit</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=User:Spirit&amp;diff=26844</id>
		<title>User:Spirit</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=User:Spirit&amp;diff=26844"/>
		<updated>2006-12-06T13:48:51Z</updated>

		<summary type="html">&lt;p&gt;Spirit: created page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;using debian sarge on a thinkpad r51.&lt;br /&gt;
&lt;br /&gt;
there's also some info on (mostly) debian-specific r51-stuff, kernel-config files and a bit more in the 'networks'-section of http://www.sp1r1t.org, but i tend to put the interesting things into the thinkwiki, too.&lt;br /&gt;
some of the stuff there was created before i knew this page exists.&lt;br /&gt;
&lt;br /&gt;
please see http://www.sp1r1t.org/contact/ for more info on howto contact me.&lt;/div&gt;</summary>
		<author><name>Spirit</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Additional_options_for_the_radeon_driver&amp;diff=26843</id>
		<title>Additional options for the radeon driver</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Additional_options_for_the_radeon_driver&amp;diff=26843"/>
		<updated>2006-12-06T13:42:36Z</updated>

		<summary type="html">&lt;p&gt;Spirit: /* Video overlay : explained how to have video overlay on both screens */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Options for the [[radeon]] driver are documented on the radeon(4x) man page.&lt;br /&gt;
&lt;br /&gt;
==External Monitors==&lt;br /&gt;
&lt;br /&gt;
First of all, suppose you want to plug in your laptop into a projector occasionally, but you&lt;br /&gt;
don't want to restart X when you do so.&lt;br /&gt;
The easiest thing is to not use any of the CRT2 options and use &lt;br /&gt;
&lt;br /&gt;
Option &amp;quot;MonitorLayout&amp;quot; &amp;quot;LVDS,NONE&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The vga port will carry the same signal as the laptop display&lt;br /&gt;
(at least on my T42p). If the projector does not support the resolution, you can change it using xrandr.&lt;br /&gt;
&lt;br /&gt;
===Using Xinerama===&lt;br /&gt;
&lt;br /&gt;
You can use '''MergedFB''' to provide dualhead '''Xinerama'''-like setups. MergedFB's pseudo-Xinerama is not Xorg server's Xinerama. You don't have to enable Xorg server's Xinerama to use MergedFB's pseudo-Xinerama. However, applications compiled with Xinerama support (Gentoo users USE=&amp;quot;xinerama&amp;quot;) can interpret pseudo-Xinerama hints, for example, to maximize to a single monitor instead of spanning two monitors.&lt;br /&gt;
&lt;br /&gt;
The following (partial) '''Xorg''' config will make the Radeon card use '''1024x768''' on the internal lcd display and '''1280x1024''' on the external ('''Note''': only one screen/monitor section is needed (it controls the setup of the internal monitor) even though we have two displays):&lt;br /&gt;
'''N.B.:''' Modes used in the ''MetaModes'' also have to be present in the ''screen'' modes section.&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
         Identifier      &amp;quot;ATI&amp;quot;&lt;br /&gt;
         Driver          &amp;quot;radeon&amp;quot;&lt;br /&gt;
         '''# accelration'''&lt;br /&gt;
         Option          &amp;quot;AGPMode&amp;quot; &amp;quot;4&amp;quot;&lt;br /&gt;
         Option          &amp;quot;EnablePageFlip&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
         Option          &amp;quot;RenderAccel&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
         '''# enable (partial) PowerPlay features'''&lt;br /&gt;
         Option          &amp;quot;DynamicClocks&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
         '''# use bios hot keys on thinkpad (aka fn+f7)'''&lt;br /&gt;
         Option          &amp;quot;BIOSHotkeys&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
         '''# enable radeon specific xinerama'''&lt;br /&gt;
         Option          &amp;quot;MergedFB&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
         Option          &amp;quot;CRT2Position&amp;quot; &amp;quot;RightOf&amp;quot;&lt;br /&gt;
         Option          &amp;quot;CRT2Hsync&amp;quot; &amp;quot;50-75&amp;quot;&lt;br /&gt;
         Option          &amp;quot;CRT2VRefresh&amp;quot; &amp;quot;30-82&amp;quot;&lt;br /&gt;
         Option          &amp;quot;MetaModes&amp;quot; &amp;quot;1024x768-1280x1024&amp;quot;&lt;br /&gt;
         Option          &amp;quot;MergedNonRectangular&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
         BusID           &amp;quot;PCI:1:0:0&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
         Identifier &amp;quot;InternalLCD&amp;quot;&lt;br /&gt;
         Option &amp;quot;DPMS&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
         Identifier &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
         Device &amp;quot;ATI&amp;quot;&lt;br /&gt;
         Monitor &amp;quot;InternalLCD&amp;quot;&lt;br /&gt;
         DefaultDepth 24&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Depth 24&lt;br /&gt;
                 Modes &amp;quot;1024x768&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
Note: The '''CRT2''' directives always applies for the external monitore regardless of type (LCD, CRT...). The option '''MergedNonRectangular''' is needed to force the screens into two different sizes.&lt;br /&gt;
&lt;br /&gt;
===External Monitors and Docking Stations/Port Replicators===&lt;br /&gt;
I seems that '''Xorg''' incorectly discovers the external displays when connected to a docking station/port replicator - the only solution to this problem (at least that I know of) is to start the laptop (and boot all the way into X) prior to inserting it in the dock.&lt;br /&gt;
&lt;br /&gt;
It also happens that if you are attempting to use the mergedFB trick to&lt;br /&gt;
do dual head with out a docking station, you have to start X on the laptop&lt;br /&gt;
LCD first, then plug a monitor into the VGA port.  If the external monitor&lt;br /&gt;
is already plugged in, the internal LCD will be blank.&lt;br /&gt;
&lt;br /&gt;
===External Monitors and FireGL Boards with x.org 7===&lt;br /&gt;
x.org release 7, the modular release, broke mergedfb mode with FireGL boards (t4xp systems). Dual screen displays hard locked the machine in certain cases. This is fixed in x.org cvs. Fedora Core 5 (and possibly other distros using x.org 7) can get a new version of radeon_drv.so [http://www.marcuswatkins.net/firegl_xorg7_fedora.html here].&lt;br /&gt;
&lt;br /&gt;
==AGP speed==&lt;br /&gt;
&lt;br /&gt;
By default, the open source radeon driver forces 1x AGP speed. Quote from the developers:&lt;br /&gt;
&lt;br /&gt;
 tuning to the highest speed possible has caused hangs on some boxes, with no&lt;br /&gt;
 discernable pattern, so we default to 'slow but safe' whilst giving the option&lt;br /&gt;
 to go fast if the user wants to try it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Higher speeds can be enabled by adding '''Option &amp;quot;AGPMode&amp;quot; &amp;quot;X&amp;quot;''' (where X is a number) in the '''Device''' section in {{path|/etc/X11/xorg.conf}}.&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Videocard0&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;radeon&amp;quot;&lt;br /&gt;
        VendorName  &amp;quot;IBM Thinkpad&amp;quot;&lt;br /&gt;
        BoardName   &amp;quot;ATIdd Mobility FireGL 7800&amp;quot;&lt;br /&gt;
        '''Option      &amp;quot;AGPMode&amp;quot; &amp;quot;4&amp;quot;'''&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
With this option enabled (set to 4x speed), the X11 server should print ({{path|/var/log/Xorg.0.log}}):&lt;br /&gt;
&lt;br /&gt;
 (**) RADEON(0): Option &amp;quot;AGPMode&amp;quot; &amp;quot;4&amp;quot;&lt;br /&gt;
 (**) RADEON(0): Using AGP 4x mode&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==AGP Fast Writes==&lt;br /&gt;
&lt;br /&gt;
By default, the open source radeon driver disables AGP Fast Writes. Fast Writes can be enabled by adding '''Option &amp;quot;AGPFastWrite&amp;quot; &amp;quot;yes&amp;quot;''' in the '''Device''' section in {{path|/etc/X11/xorg.conf}}.&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Videocard0&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;radeon&amp;quot;&lt;br /&gt;
        VendorName  &amp;quot;IBM Thinkpad&amp;quot;&lt;br /&gt;
        BoardName   &amp;quot;ATI Mobility FireGL 7800&amp;quot;&lt;br /&gt;
        '''Option      &amp;quot;AGPFastWrite&amp;quot; &amp;quot;yes&amp;quot;'''&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Dynamic Clock scaling==&lt;br /&gt;
&lt;br /&gt;
Please see:&lt;br /&gt;
&lt;br /&gt;
*[[How to make use of Graphics Chips Power Management features]] &amp;lt;tt&amp;gt;(save even more battery power)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[https://bugs.freedesktop.org/show_bug.cgi?id=2187 Xorg bug] &amp;lt;tt&amp;gt;DynamicClocks may hang your machine&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Color Tiling==&lt;br /&gt;
&lt;br /&gt;
ColorTiling is supposed to be enabled by default. But, it looks like setting it explicitely to &amp;quot;on&amp;quot; increases the FPS in glxgears.&lt;br /&gt;
&lt;br /&gt;
         Option          &amp;quot;ColorTiling&amp;quot;   &amp;quot;on&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==Acceleration Architecture==&lt;br /&gt;
&lt;br /&gt;
By default, the XAA architecture is used. EXA is newer and supposed to have better performance. It looks like it reduces the FPS in glxgears (maybe because it disables Page Flip) but makes the Composite extension be fast.&lt;br /&gt;
&lt;br /&gt;
        Option          &amp;quot;AccelMethod&amp;quot;   &amp;quot;EXA&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==Page Flip==&lt;br /&gt;
&lt;br /&gt;
Page Flip increases performance but is not always supported. It will be disabled if the EXA architecture is used.&lt;br /&gt;
&lt;br /&gt;
         Option          &amp;quot;EnablePageFlip&amp;quot;        &amp;quot;on&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==Video overlay==&lt;br /&gt;
&lt;br /&gt;
When the video overlay is used (e.g., by most video players) in dual-screen configuration, the content will be shown only on one head (LCD or CRT) and the other will display a blank rectangle. To control which head displays the video, use the following:&lt;br /&gt;
&lt;br /&gt;
         Option          &amp;quot;OverlayOnCRTC2&amp;quot;        &amp;quot;on&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Note : You may want to have the video overlay on ''both'' Screens. Simply add the following 2 lines :&lt;br /&gt;
&lt;br /&gt;
         Option          &amp;quot;OverlayOnCRTC1&amp;quot;        &amp;quot;on&amp;quot;&lt;br /&gt;
         Option          &amp;quot;OverlayOnCRTC2&amp;quot;        &amp;quot;on&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To switch on the fly, use these commands:&lt;br /&gt;
&lt;br /&gt;
:{{cmd|xvattr -a XV_SWITCHCRT -v 0|}} &amp;amp;nbsp; (LCD)&lt;br /&gt;
:{{cmd|xvattr -a XV_SWITCHCRT -v 1|}} &amp;amp;nbsp; (CRT)&lt;br /&gt;
&lt;br /&gt;
{{HINT|You can configure [[acpid]] to execute these commands automatically when the lid is opened or closed.}}&lt;br /&gt;
&lt;br /&gt;
== Related Links ==&lt;br /&gt;
*[http://www.x.org/X11R6.8.2/doc/radeon.4.html xorg 6.8.2 Radeon manual page]&lt;/div&gt;</summary>
		<author><name>Spirit</name></author>
		
	</entry>
</feed>