xorg and thinkpad x40
Paul Kaplan
pkaplan1 at comcast.net
Thu Mar 16 01:19:37 UTC 2006
On Wednesday 15 March 2006 18:50, Alan McKinnon wrote:
> On Wednesday 15 March 2006 23:25, Jaime Davila wrote:
> > Hello all,
> >
> > Just me, asking a question again, this time being able to offer a
> > little more information.
> >
> > Has anyone managed to get ubuntu breezy on an IBM thinkpad x40,
> > with an i810 chip set, to mirror the laptop's lcd into a CRT?
> >
> > If yes, could I see the xorg.conf file?
> >
> > This is critical for me, since I make a lot of presentation off of
> > my laptop.
> >
> > To restate the problem I'm seeing:
> > I can see the output on the lcd, and I can use fn-f7 to send it to
> > the crt OK. But when I try to mirror the lcd on the crt, both on at
> > the same time, the crt display flickers, as if there's something
> > wrong with the refresh rate.
> >
> > In case it helps, here;s my current xorg.conf, and my xorg.log,
> > which contains several trials of switching back and forth at the
> > end.
> >
> > Thanks for any help,
> >
> > Jaime
>
> Hi Jaime,
>
> I did a presentation yesterday from one of those, I *think* it was an
> x40, but can't be sure as it's not my laptop.
>
> Your xorg.conf looks pretty ordinary and nothing stands out as being
> incorrect. You didn't supply the xorg.log - the solution is often to
> be found there. If no-one else provides you with a definite solution,
> send me those logs with the EDID data for both monitors. Easiest way
> is usually to activate the console display on both and start the X
> server.
>
> When you say "flicker", is that a visual distortion, or that the
> picture gets refreshed low enough for the eye to see the flashing?
>
> A further possibility is that the output electronics of the video card
> simply can't drive two sinks - the output can drop below the specs of
> the crt. This is not uncommon - a while back when I was doing
> projector system installs we'd often have endless problems with this,
> but *only* on high-end machines. Cheap garbage always worked just
> fine... I eventually put it down to cheap hardware being free and
> easy with the vga specs. If your monitor has a function to select a
> higher than normal input voltage level, engaging this and seeing what
> happens can provide valuable clues.
>
I've attached 3 files, that I've used with a T40, which has an ATI radeon M7
7500. I believe its the same as the x40.
I used the Weidner file w/ XFree 4.2, the Zamboni file with XFree 4.3 and xorg
6.7 and 6.82. Both utilized Xinerama to achieve action on an external
monitor. I am now using the Gedminas file with xorg 6.9. Xinerama seems to
be broken for dual head with 6.9 so this uses MergedFB, which has some other
advantages. You may have to play a little with the screen sizes depending on
your hardware. Under certain circumstances you may have to re-startx to
detect/undetect the external monitor/projector if you plugin live.
Each of these files was obtained from users on the thinkpad list.
HTH
Paul
-------------- next part --------------
#### PLK Custom XF86Config-4
#### startx -- -layout indep for 1024x768 laptop LCD and 1280x1024 external LCD
#### set/unset Xinerama option
#### startx -- -layout single for 1024x768 laptop LCD only w/ or w/o slave monitor
# COMMENTED LINES REMOVED
# XF86Config-4 (XFree86 server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# If you want your changes to this file preserved by dexconf, only make changes
# before the "### BEGIN DEBCONF SECTION" line above, and/or after the
# "### END DEBCONF SECTION" line below.
Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection
Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection
Section "Module"
Load "ddc"
Load "GLcore"
Load "dbe" # double buffer extension
Load "dri"
Load "extmod"
Load "glx"
Load "bitmap"
Load "speedo"
Load "type1"
Load "freetype"
Load "record"
# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
Subsection "extmod"
Option "omit xfree86-dga"
EndSubsection
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "en_US"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons"
Option "ZAxisMapping" "4 5"
Option "CorePointer"
EndSection
Section "InputDevice"
Identifier "Generic Mouse"
Driver "mouse"
Option "Protocol" "ImPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "SendCoreEvents" "true"
EndSection
Section "Device"
Identifier "Radeon0"
Driver "radeon"
Screen 0
BusID "PCI:1:0:0"
Option "CloneHSync" "28-65"
Option "CloneDisplay" "0"
Option "MonitorLayout" "NONE, TMDS"
Option "CloneVRefresh" "57-75"
Option "CloneMode" "1280x1024"
EndSection
Section "Device"
Identifier "Radeon1"
Driver "radeon"
Screen 1
BusID "PCI:1:0:0"
Option "MonitorLayout" "NONE, TMDS"
EndSection
Section "Monitor"
Identifier "LCD"
Option "DPMS"
EndSection
Section "Monitor"
Identifier "External Monitor"
HorizSync 25-65
VertRefresh 57-75
Option "DPMS"
EndSection
Section "Screen"
Identifier "LCD"
Device "Radeon0"
Monitor "LCD"
DefaultColorDepth 24
DefaultDepth 24
Subsection "Display"
Depth 8
Virtual 1024 768
EndSubsection
Subsection "Display"
Depth 15
Virtual 1024 768
EndSubsection
Subsection "Display"
Depth 16
Virtual 1024 768
EndSubsection
Subsection "Display"
Depth 24
Virtual 1024 768
EndSubsection
EndSection
Section "Screen"
Identifier "External"
Device "Radeon1"
Monitor "External Monitor"
DefaultColorDepth 24
DefaultDepth 24
Subsection "Display"
Depth 8
Virtual 1280 1024
EndSubsection
Subsection "Display"
Depth 15
Virtual 1280 1024
EndSubsection
Subsection "Display"
Depth 16
Virtual 1280 1024
EndSubsection
Subsection "Display"
Depth 24
Virtual 1280 1024
EndSubsection
EndSection
Section "ServerLayout"
Identifier "default"
Screen 0 "LCD"
Screen 1 "External" RightOf "LCD"
# Option "Xinerama" "false"
Option "Xinerama" "true"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Generic Mouse"
EndSection
Section "ServerLayout"
Identifier "indep"
Screen 0 "LCD"
Screen 1 "External" RightOf "LCD"
# Option "Xinerama" "false"
Option "Xinerama" "true"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Generic Mouse"
EndSection
Section "ServerLayout"
Identifier "single"
Screen 0 "LCD"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Generic Mouse"
EndSection
Section "DRI"
Mode 0666
EndSection
-------------- next part --------------
#Dual headed XF86Config for IBM Thinkpad T40-257551U
#Radeon M7 7500
#Works for XFree 4.3, X.org 6.7 and 6.8
#Rename file as necessary for distribution
#originally from Diego Zamboni / linux-thinkpad list
#Section "ServerLayout"
# Identifier "Default Layout"
# Screen 0 "Screen0" 0 0
# InputDevice "Mouse0" "CorePointer"
# InputDevice "Keyboard0" "CoreKeyboard"
# InputDevice "DevInputMice" "AlwaysCore"
#EndSection
#Section "ServerLayout"
# Identifier "Singlehead"
# Screen 0 "Screen0" 0 0
# Screen "Screen0"
# Screen "Screen1" RightOf "Screen0"
# InputDevice "Mouse0" "CorePointer"
# InputDevice "Keyboard0" "CoreKeyboard"
# InputDevice "DevInputMice" "AlwaysCore"
#EndSection
Section "ServerLayout"
Identifier "Multihead"
# Screen 0 "Screen0" 0 0
Screen "Screen0"
Screen "Screen1" RightOf "Screen0"
Option "Xinerama" "true"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "DevInputMice" "AlwaysCore"
EndSection
Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
# Load "dri"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection
Section "InputDevice"
# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
Identifier "DevInputMice"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Unprobed Monitor"
# HorizSync 31.5 - 48.5
# VertRefresh 40.0 - 70.0
Option "dpms"
EndSection
Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "Unprobed Monitor"
# HorizSync 31.5 - 67.0
# VertRefresh 50.0 - 75.0
Option "dpms"
# Modeline "1280x1024" 135.00 1280 1308 1412 1676 1024 1027 1030 1056
EndSection
Section "Device"
Identifier "Videocard0"
Driver "radeon"
VendorName "Videocard vendor"
BoardName "ATI Radeon Mobility M7"
# VideoRam 32768
Screen 0
BusID "PCI:1:0:0"
EndSection
Section "Device"
Identifier "Videocard1"
Driver "radeon"
VendorName "Videocard vendor"
BoardName "ATI Radeon Mobility M7"
# VideoRam 32768
Screen 1
BusID "PCI:1:0:0"
EndSection
Section "Screen"
# This is the internal LCD display
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768" "800x600"
EndSubSection
EndSection
Section "Screen"
# This is an external monitor running 1280x1024
Identifier "Screen1"
Device "Videocard1"
Monitor "Monitor1"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768"
EndSubSection
EndSection
#Section "DRI"
# Group 0
# Mode 0666
#EndSection
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xorg.conf-Gedminas-2
Type: text/x-c++hdr
Size: 14468 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060315/4595e535/attachment.h>
More information about the ubuntu-users
mailing list