[ltp] Cloned Dual-Head with virtual resolution

Dominik Stein linux-thinkpad@linux-thinkpad.org
Fri, 09 Jan 2004 20:22:36 +0100


Hi Paul,
thank you very much for your reply.

I've read the thread on the dual head support. However, what I'd like to have 
would be a one-to-one-cloned screen rather than a single virtual desktop 
spanning the two monitors.

How can I adjust your/Klaus Wiedner's XFreeConfig file to obtain this? (can I?)

Thanks in advance
Dominik.

Paul Kaplan schrieb:
> I use a T40 1 Gb of system RAM, a Radeon 7500 videocard with 32Mb vram and a 
> 1024x768 LCD panel running a stock Mandrake 9.2 installation (2.4.22-18mdk - 
> i686-up-4Gb kernel).  My external monitor is a Sony X93 LCD 
> (1280x1024).
> 
> The following XF86Config-4 file creates a single virtual desktop (2304x1024) 
> with the laptop LCD on the left and the external monitor on the right.  I can 
> move files between the windows.
> If I set Xinerama support to no, I get two independent desktops and can't move 
> files between, but can set different apps on each.
> 
> Unfortunately, in both situations, the video card drives the external monitor 
> even if it isn't attached.  I haven't been able to figure out how to get X to 
> call a different XF86Config-4 file at launch (without renaming files) so that 
> I can run just the laptop display when I'm traveling.
> 
> Most of this info was gleaned from Klaus Wiedner who wrote a comprehensive 
> Debian on T40 page that is available at www.linux-on-laptops.com
> Paul
> 
> ***Begin XF86Config***
> #### BEGIN DEBCONF SECTION
> # 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"
>     AllowMouseOpenFail # allows the server to start up even if the mouse
> doesn't work
>     #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
>     #DontZap # disable <Crtl><Alt><BS> (server abort)
> EndSection
> 
> Section "Module"
>         Load    "ddc"
>         Load    "GLcore"
>         Load    "dbe"           # double buffer extension
>         Load    "dri"
>         Load    "extmod"
> 
>         # This loads the miscellaneous extensions module, and disables
>         # initialisation of the XFree86-DGA extension within that module.
>         SubSection  "extmod"
>                 Option "omit xfree86-dga"
>         EndSubSection
> 
>         Load    "glx"
>         Load    "bitmap"
>         Load    "speedo"
>         Load    "type1"
>         Load    "freetype"
>         Load    "record"
> EndSection
> 
> Section "InputDevice"
>         Identifier      "Generic Keyboard"
>         Driver          "keyboard"
>         Option          "CoreKeyboard"
>         Option          "XkbRules"      "xfree86"
>         Option          "XkbModel"      "pc105"
>         Option          "XkbLayout"     "en_US"
> EndSection
> 
> Section "InputDevice"
>         Identifier      "Configured Mouse"
>         Driver          "mouse"
>         Option          "CorePointer"
>         Option          "Device"                "/dev/psaux"
>         Option          "Protocol"              "PS/2"
>         Option          "ZAxisMapping"          "4 5"
>         Option          "Emulate3Buttons"
> EndSection
> 
> Section "InputDevice"
>         Identifier      "Generic Mouse"
>  Driver         "mouse"
>         Option          "SendCoreEvents"        "true"
>         Option          "Device"                "/dev/input/mice"
>         Option          "Protocol"              "ImPS/2"
>         Option          "ZAxisMapping"          "4 5"
> EndSection
> 
> Section "Device"
>         Identifier      "Radeon0"
>         Screen          0
>         Driver          "radeon"
> #       Option          "AGPMode" "1" # needs agpgart >= 2.4.21-rc1-ac2
>         Option          "MonitorLayout" "NONE, TMDS"
>         Option          "CloneDisplay" "0"
>         Option          "CloneMode" "1280x1024"
> #       Option          "CloneHSync" "30-80"
> #       Option          "CloneVRefresh" "60-90"
>         Option          "CloneHSync" "28-65"
>         Option          "CloneVRefresh" "57-75"
>         BusID           "PCI:1:0:0"
> EndSection
> 
> Section "Device"
>         Identifier      "Radeon1"
>         Screen          1
>         Driver          "radeon"
> #       Option          "AGPMode" "1" # needs agpgart >= 2.4.21-rc1-ac2
>         Option          "MonitorLayout" "NONE, TMDS"
>         BusID           "PCI:1:0:0"
> EndSection
> 
> Section "Monitor"
>         Identifier      "LCD"
>         Option          "DPMS"
> EndSection
> 
> Section "Monitor"
>         Identifier      "External Monitor"
> #       HorizSync       30-60
> #       VertRefresh     43-90
>         HorizSync       25-65
>         VertRefresh     57-75
>         Option          "DPMS"
> EndSection
> 
> Section "Screen"
>         Identifier      "LCD"
>         Device          "Radeon0"
>         Monitor         "LCD"
>         DefaultDepth    24
>         SubSection "Display"
>                 Depth           16
>                 Modes           "1280x1024" "1024x768" "800x600" "640x480"
>         EndSubSection
>         SubSection "Display"
>                 Depth           24
>                 Modes           "1280x1024" "1024x768" "800x600" "640x480"
>         EndSubSection
>         SubSection "Display"
>                 Depth           32
>                 Modes           "1280x1024" "1024x768" "800x600" "640x480"
>         EndSubSection
> EndSection
> 
> Section "Screen"
>         Identifier      "External"
>         Device          "Radeon1"
>         Monitor         "External Monitor"
>         DefaultDepth    24
>         SubSection "Display"
>                 Depth           24
>                 Modes           "1280x1024" "1024x768" "800x600" "640x480"
>         EndSubSection
> EndSection
> 
> #Section "Screen"
> #       Identifier      "s1024"
> #       Device          "Radeon0"
> #       Monitor         "LCD"
> #       DefaultDepth    24
> #       SubSection "Display"
> #               Depth           8
> #               Modes           "1024x768"
> #       EndSubSection
> #       SubSection "Display"
> #               Depth           16
> #               Modes           "1024x768"
> #       EndSubSection
> #       SubSection "Display"
> #               Depth           24
> #               Modes           "1024x768"
> #       EndSubSection
> #EndSection
> 
> #Section "Screen"
> #       Identifier      "s640"
> #       Device          "Radeon0"
> #       Monitor         "LCD"
> #       DefaultDepth    24
> #       SubSection "Display"
> #               Depth           8
> #               Modes           "640x480"
> #       EndSubSection
> #       SubSection "Display"
> #               Depth           16
> #               Modes           "640x480"
> #       EndSubSection
> #       SubSection "Display"
> #               Depth           24
> #               Modes           "640x480"
> #       EndSubSection
> #EndSection
> 
> Section "ServerLayout"
>         Identifier      "indep"
>         Screen      0 "LCD"
>         Screen      1 "External" RightOf "LCD"
>         InputDevice     "Generic Keyboard"
>         InputDevice     "Configured Mouse"
>         InputDevice     "Generic Mouse"
>         Option "Xinerama" "false"
> #       Option "Xinerama" "true"
> EndSection
> 
> Section "ServerLayout"
>         Identifier      "xine"
>         Screen      0 "LCD"
>         Screen      1 "External" Above "LCD"
>         InputDevice     "Generic Keyboard"
>         InputDevice     "Configured Mouse"
>         InputDevice     "Generic Mouse"
>         Option "Xinerama" "true"
> EndSection
> 
> Section "DRI"
>         Mode    0666
> EndSection
> 
> ### END DEBCONF SECTION
> 
> ***End XF86Config***
> On Friday 09 January 2004 03:52 am, Dominik Stein wrote:
> 
>>Hi,
>>I have a TP R40 with a ATI Radeon 7500. I'd like to *clone* my laptop's lcd
>>(1400x1050) on an external lcd (1280x1024). Is this possible?
>>
>>I tried to set up a virtual resolution of 1400x1050 for the external lcd.
>>XFree starts up alright, the screens are nicely cloned. However, the
>>external screen won't scroll if I move the mouse to the "hidden" areas...
>>
>>Can anybody give me a hint?!
>>
>>Thanks in advance
>>Dominik.
> 
> 
>