[ltp] How to setup X display cloneing on a T40
Tod Harter
linux-thinkpad@linux-thinkpad.org
Wed, 14 Jan 2004 09:47:56 -0500
My understanding was that Xinerama and DRI NEVER work together... AFAIK you
cannot have multi-head and 3Daccel at the same time on Linux with XF86. Maybe
4.3 or certain drivers change that, but I've tested several video cards and
setups. You can CLONE and then naturally it seems to work, at least on some
hardware and some settings, but not with the desktop spanning screens.
One possibility might be to have neither Xinerama NOR Clone, in which case in
theory you can have 2 totally independent X servers (Supposedly works with
Radeon 8500 but I've not actually tested it). I have no idea if in that case
DRI would work or not, though I would think it would be limited to just one
display (maybe the one using 'overlay'? beats me...).
On Wednesday 14 January 2004 3:40 am, Gustavo Halperin wrote:
> Hello
>
> We speak a lot about this before some days (locking on the mailing
> list by the
> subject: Dual-Head RigthOf/LeftOf). Maybe will can help you.
> About the use of Xinerama, take care, because some Graphic
> Accelerator, like
> DRI, not always support xinerama. In my case, Laptop R40 with Radeon Card
> The Xinerama isn't support.
>
> Regards
> Gusti
>
> Chris Frost wrote:
> >I would like to clone the LCD panel on my T40 to an external monitor,
> >but am only able to run the monitor at 640x480 @ 60Hz.
> >For my device section I have set CloneDisplay to "2" and CloneMode to
> >"1400x1050", but this doesn't affect X. Fwiw I do have Xinerama setup (as
> >another ServerLayout) and it works fine for two 1400x1050 displays.
> >Would anyone have any suggestions? Thanks!
> >I've attached my XFree86Config file if this might be of help.
> >
> >
> >
> >------------------------------------------------------------------------
> >
> >Section "ServerLayout"
> > Identifier "Single"
> > Screen "Screen0" 0 0
> > #Screen "Screen1" Absolute 0 0
> > Option "Clone" "on"
> > InputDevice "touchpad" "CorePointer"
> > InputDevice "trackpoint"
> > InputDevice "Keyboard0" "CoreKeyboard"
> >EndSection
> >
> >Section "ServerLayout"
> > Identifier "Dual"
> > Screen "Screen0"
> > Screen "Screen1" RightOf "Screen0"
> > InputDevice "touchpad" "CorePointer"
> > InputDevice "trackpoint"
> > InputDevice "Keyboard0" "CoreKeyboard"
> > Option "Xinerama" "True"
> >EndSection
> >
> >Section "Files"
> > RgbPath "/usr/X11R6/lib/X11/rgb"
> > ModulePath "/usr/local/XFree86-4.3/lib/modules"
> > FontPath "unix/:7100" # XFS
> > FontPath "/usr/X11R6/lib/X11/fonts/misc/"
> > FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
> > FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
> > FontPath "/usr/X11R6/lib/X11/fonts/CID/"
> > FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
> > FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
> >EndSection
> >
> >Section "Module"
> > Load "ddc"
> > Load "GLcore"
> > Load "extmod"
> > Load "glx"
> > Load "dri"
> > Load "dbe"
> > Load "record"
> > Load "xtrap"
> > Load "speedo"
> > Load "type1"
> >EndSection
> >
> >Section "InputDevice"
> > Identifier "Keyboard0"
> > Driver "keyboard"
> >EndSection
> >
> >Section "InputDevice"
> > Identifier "touchpad"
> > Driver "mouse"
> > # try Driver "synaptics" ?
> > # try Option "AlwaysCore" "true"?
> > Option "Protocol" "auto"
> > Option "Device" "/dev/psaux"
> > Option "Buttons" "5"
> > Option "Emulate3Buttons" "true"
> > Option "EmulateWheel" "on"
> > Option "EmulateWheelButton" "2"
> > Option "ZAxisMapping" "4 5"
> >EndSection
> >
> >Section "InputDevice"
> > Identifier "trackpoint"
> > Driver "mouse"
> > Option "SendCoreEvents" "yes"
> > Option "Device" "/dev/input/mice"
> > Option "Protocol" "ImPS/2"
> > Option "Emulate3Buttons" "true"
> > Option "ZAxisMapping" "4 5"
> > Option "EmulateWheel" "true"
> > Option "EmulateWheelButton" "2"
> >EndSection
> >
> >Section "Monitor"
> > Identifier "Monitor0"
> > VendorName "IBM"
> > ModelName "T40 LCD"
> > HorizSync 30-57
> > VertRefresh 43-72
> > Option "DPMS"
> >EndSection
> >
> >Section "Monitor"
> > Identifier "Monitor1"
> > VendorName "Sony"
> > ModelName "GDM-20E21"
> > HorizSync 30.0-96.0
> > VertRefresh 48.0-160.0
> > Option "CrtScreen"
> > Option "dpms"
> > Option "DPMS"
> >EndSection
> >
> >Section "Device"
> > ### Available Driver options are:-
> > ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
> > ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
> > ### [arg]: arg optional
> > #Option "NoAccel" # [<bool>]
> > #Option "SWcursor" # [<bool>]
> > #Option "Dac6Bit" # [<bool>]
> > #Option "Dac8Bit" # [<bool>]
> > #Option "ForcePCIMode" # [<bool>]
> > #Option "CPPIOMode" # [<bool>]
> > #Option "CPusecTimeout" # <i>
> > Option "AGPMode" "1" # <i>
> > #Option "AGPFastWrite" # [<bool>]
> > #Option "AGPSize" # <i>
> > #Option "RingSize" # <i>
> > #Option "BufferSize" # <i>
> > #Option "EnableDepthMoves" # [<bool>]
> > #Option "EnablePageFlip" # [<bool>]
> > #Option "NoBackBuffer" # [<bool>]
> > #Option "PanelOff" # [<bool>]
> > #Option "DDCMode" # [<bool>]
> > Option "CloneDisplay" "2" # <i>
> > Option "CloneMode" "1400x1050" # [<str>]
> > #Option "CloneHSync" # [<str>]
> > #Option "CloneVRefresh" # [<str>]
> > #Option "UseFBDev" # [<bool>]
> > #Option "VideoKey" # <i>
> > Identifier "Card0"
> > Driver "ati"
> > VendorName "ATI Technologies Inc"
> > BoardName "Radeon R250 Lf [Radeon Mobility 9000 M9]"
> > BusID "PCI:1:0:0"
> > Screen 0
> >EndSection
> >
> >Section "Device"
> > Option "AGPMode" "1" # <i>
> > Identifier "Card1"
> > Driver "ati"
> > VendorName "ATI Technologies Inc"
> > BoardName "Radeon R250 Lf [Radeon Mobility 9000 M9]"
> > BusID "PCI:1:0:0"
> > Screen 1
> >EndSection
> >
> >Section "Screen"
> > Identifier "Screen1"
> > Device "Card1"
> > Monitor "Monitor1"
> > DefaultDepth 16
> > Subsection "Display"
> > Depth 16
> > Modes "1400x1050" "1024x768" "800x600" "640x480"
> > EndSubSection
> > Subsection "Display"
> > Depth 24
> > Modes "1400x1050" "1024x768" "800x600" "640x480"
> > EndSubSection
> >EndSection
> >
> >Section "Screen"
> > Identifier "Screen0"
> > Device "Card0"
> > Monitor "Monitor0"
> > DefaultDepth 16
> > SubSection "Display"
> > Depth 1
> > Modes "1400x1050"
> > EndSubSection
> > SubSection "Display"
> > Depth 4
> > Modes "1400x1050"
> > EndSubSection
> > SubSection "Display"
> > Depth 8
> > Modes "1400x1050"
> > EndSubSection
> > SubSection "Display"
> > Depth 15
> > Modes "1400x1050"
> > EndSubSection
> > SubSection "Display"
> > Depth 16
> > Modes "1400x1050" "1024x768" "800x600" "640x480"
> > EndSubSection
> > SubSection "Display"
> > Depth 24
> > Modes "1400x1050" "1024x768" "800x600" "640x480"
> > EndSubSection
> >EndSection
> >
> >Section "DRI"
> > Mode 0666
> >EndSection
>
> --
> Regards.
> gustavo halperin
> _________________________________________
> Laboratory for Computer Graphics and CAD
> Faculty of Mechanical Engineering
> Technion - Israel Institute of Technology
> Haifa, Israel 32000
>
> Tel: 972-4-829-2334
> Fax: 972-4-829-5711
> e-mail: gustavoh@tx.technion.ac.il <mailto:gustavoh@tx.technion.ac.il>
> _________________________________________
--
Tod Harter
Giant Electronic Brain
http://www.giantelectronicbrain.com