Pages by Andreas B. M. Hofmeier
An-H
email Impressum/Note Privacy
http[s]://www.abmh.de/en/papers/linux/t42-debian-dual-head-radeon-opengl.html

Like to be free? ... then: Fight for Freedom

xorg.conf for IBM Thinkpad T42 laptop with DUAL HEAD and OpenGL

I spend some time to configure my T42 laptop to used dual head together with OpenGL. I used MergedFB with MergedNonRectangular. Google Earth works ;-) xine only on the LCD-screen... Here is the result. If you have any questions or ideas for improvements, do not hesitate to contact me at http://www.abmh.de/msg.html. The config-file and a log-file of the X-start-up sequence is included in the zip-package. I also tried a wide screen (1600x900) but I don't get it working.

Environment

The graphic board

andreas@LBlacky:~ > lspci | grep ATI
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]

System

Debian Etch

On Lenny this configuration works as well if you install the following packages from oldstabel (Etch):

mesa-utils
x11-common
xserver-xorg
xserver-xorg-core
xserver-xorg-input-evdev
xserver-xorg-input-kbd
xserver-xorg-input-mouse
xserver-xorg-input-synaptics
xserver-xorg-input-wacom
xserver-xorg-video-apm
xserver-xorg-video-ark
xserver-xorg-video-ati
xserver-xorg-video-fbdev

X-Version

andreas@LBlacky:~ > r X -version

X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: UNKNOWN 
Current Operating System: Linux LBlacky 2.6.18-6-686 #1 SMP Fri Jun 6 22:22:11 UTC 2008 i686
Build Date: 29 May 2008
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present

LCD / Internal Monitor

1024x768 (4:3)

External Monitor

1280x1024 (5:4)

xorg.conf

Section "Files"
        FontPath        "/usr/share/fonts/X11/misc"
        FontPath        "/usr/share/fonts/X11/cyrillic"
        FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/Type1"
        FontPath        "/usr/share/fonts/X11/100dpi"
        FontPath        "/usr/share/fonts/X11/75dpi"
        FontPath        "/usr/share/fonts/X11/misc"
        # path to defoma fonts
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
        Load    "bitmap"
        Load    "dbe"
        Load    "ddc"
        Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "type1"
        Load    "vbe"
EndSection

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "us"
        Option          "XkbOptions"    "lv3:ralt_switch"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ExplorerPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Emulate3Buttons"       "true"
EndSection

Section "InputDevice"
        Identifier      "Synaptics Touchpad"
        Driver          "synaptics"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "auto-dev"
        Option          "HorizScrollDelta"      "0"
EndSection

Section "Device"
        Identifier      "Generic Video Card"
        Driver          "radeon"
        BusID           "PCI:1:0:0"
# accelration
        Option          "AGPMode" "4"
        Option          "EnablePageFlip" "on"
        Option          "RenderAccel" "on"
        # enable (partial) PowerPlay features
        Option          "DynamicClocks" "on"
        # use bios hot keys on thinkpad (aka fn+f7)
        Option          "BIOSHotkeys" "on"
        # enable radeon specific xinerama
        Option          "MonitorLayout" "LVDS, VGA-0"
        Option          "MergedFB" "true"
        Option          "CRT2Position" "LeftOf"
        Option          "CRT2Hsync" "24-80"
        Option          "CRT2VRefresh" "56-75"
        Option          "MetaModes" "1024x768-1280x1024"
        Option          "MergedNonRectangular" "true"
#       Option          "AddARGBGLXVisuals" "True"
#
        Option "ColorTiling" "on"
        Option "AccelMethod" "XAA"
#       Option "AccelMethod" "EXA"
        BusID           "PCI:1:0:0"
EndSection

Section "Monitor"
        Identifier      "Generic Monitor"
        Option          "DPMS"
        HorizSync       30-100
        VertRefresh     50-160
	Modeline "1280x1024"  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "Generic Video Card"
        Monitor         "Generic Monitor"
        DefaultDepth    24
        SubSection "Display"
                Depth           24
                Modes           "1400x1050" "1280x1024"
        EndSubSection
#       Option "AddARGBGLXVisuals" "True"
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
        InputDevice     "Synaptics Touchpad"
        Option          "AIGLX"         "true"
EndSection

Section "DRI"
        Mode    0666
EndSection
Last modified: Sat Apr 11 12:38:28 CEST 2009
Pages by Andreas B. M. Hofmeier
An-H
email Impressum/Note Privacy
http[s]://www.abmh.de/en/papers/linux/t42-debian-dual-head-radeon-opengl.html
Creative Commons License
(c) Andreas B. M. Hofmeier
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Germany License