LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 09-01-2009, 09:34 PM   #1
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Lightbulb Various xorg.conf examples for using (multiple) cards + (multiple) monitors


The idea here is just to give a bunch of examples of working xorg.conf files I/we have used over the past few years, to get people started in hopefully a right direction while trying to set up their multiple displays, or other obscure hardware. There are SCORES of threads around here, which go over and over and over the same thing ad nauseum, so it's about time this data is located in one place.

No single configuration will probably work "out-of-the-box" with your exact hardware, but by following by examples, you should be able to either adapt one of these to suit your needs, or learn about what you're wanting to do, and write your own configuration.

Other members are welcome to post their own working xorg.conf files, provided there is some value in them: this means that a plain old xorg.conf with one card & one monitor & one mouse & one keyboard, is probably easy enough to set up for most people. But if you have weird hardware, or a weird configuration, or maybe a fancy touchpad or tablet that needs some xorg magic, and you think that other members can benefit from your working config, by all means, tack it onto the thread

You'll notice that I only use nVidia hardware, by choice, and therefore I know little to nothing about doing anything out of the ordinary with other makes of video hardware. I'm happy to help you with nVidia issues if I can, but with ATI or others, there are MANY other members who can help you much better than I could.

Sasha

Last edited by GrapefruiTgirl; 09-01-2009 at 10:31 PM.
 
Old 09-01-2009, 09:41 PM   #2
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Original Poster
Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
This is the file I'm currently running on Slackware13-64. It uses Xinerama, and is configured so that each video card runs one monitor. The keyboard & mouse sections are removed for clarity. Insert your own.

Code:
Section "ServerLayout"
    Identifier     "default"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Module"
SubSection  "extmod"
      Option    "omit XFree86-DGA"   # don't initialise the DGA extension
EndSubSection
# most of these get loaded automatically with the newer Xorgs.
#    Load           "dbe"
#    Load           "glx"
#    Load           "dri"
#    Load           "dri2"
     Load           "extmod"
#    Load           "fbdevhw"
#    Load           "int10"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "1"
    Option         "AutoAddDevices" "False"
    Option         "AutoEnableDevices" "False"
    Option         "AllowEmptyInput" "False"
EndSection

Section "Monitor"
# Samsung TFT Monitor (scr-1.0)
    Identifier     "Samsung0"
    VendorName     "Samsung"
    ModelName      "SyncMaster 2243WM"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Monitor"
# Samsung TFT Monitor (scr-1.0)
    Identifier     "Samsung1"
    VendorName     "Samsung"
    ModelName      "SyncMaster 2243WM"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
# primary card
    Identifier     "VideocardA(upperDVI)"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 7100 GS"
    BusID          "PCI:1:0:0"
EndSection

Section "Device"
# secondary card
    Identifier     "VideocardB(lowerDVI)"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 7300 SE/7200 GS"
    BusID          "PCI:2:0:0"
EndSection

Section "Device"
# secondary card
    Identifier     "VideocardB(lowerVGA)"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 7300 SE/7200 GS"
    BusID          "PCI:2:0:0"
EndSection

Section "Device"
# primary card
    Identifier     "VideocardA(upperVGA)"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 7100 GS"
    BusID          "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "VideocardA(upperDVI)"
    Monitor        "Samsung0"
    DefaultDepth    24
    Option         "RenderAccel" "On"
    Option         "HWcursor" "On"
    Option         "TwinView" "0"
    Option         "metamodes" "DFP-0: 1680x1050 +0+0"
    Option         "DamageEvents" "True"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "VideocardB(lowerDVI)"
    Monitor        "Samsung1"
    DefaultDepth    24
    Option         "RenderAccel" "On"
    Option         "HWcursor" "On"
    Option         "TwinView" "0"
    Option         "metamodes" "DFP-0: 1680x1050 +0+0"
    Option         "DamageEvents" "True"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
# optional Composite section:
# I dunno if it actually does anything
    Option         "Composite" "Disable"
EndSection
 
Old 09-01-2009, 09:47 PM   #3
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Original Poster
Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
This file, I used on Slackware 11 to drive my CRT Monitor and a television, off of one MX440-AGP-8x card. This was used on the older, non-modular Xorg server.

Code:
Section "ServerLayout"
    Identifier  "darkstarSSI.default.dualscreens"
    Screen 0    "Screen0"   0 0
    Screen 1    "Screen1"   1600 0
    InputDevice "Mouse0"    "CorePointer"
    InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    RgbPath  "/usr/X11R6/lib/X11/rgb"
    FontPath "/usr/X11R6/lib/X11/fonts/misc/:unscaled"
    FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath "/usr/X11R6/lib/X11/fonts/CID/"
    FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
    FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/"
    FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
EndSection

Section "Module"
    Load  "dbe"
    Load  "extmod"
    Load  "type1"
    Load  "freetype"
    Load  "glx"
    Load  "fbdevhw"
    Load  "record"
    Load  "v4l"
#   Load  "vnc"
EndSection

Section "ServerFlags"
    Option "Xinerama" "1"
EndSection

Section "Monitor"
#   KDS Monitor
    Identifier  "Monitor0"
    VendorName  "KDS Corp"
    ModelName   "Proview"
    HorizSync   30.0 - 86.0
    VertRefresh 50.0 - 160.0
    Option "DPMS"
EndSection

Section "Monitor"
#   Television
    Identifier  "Monitor1"
    VendorName  "General Electric"
    ModelName   "TV"
    HorizSync   30.0 - 50.0
    VertRefresh 60.0
EndSection

Section "Device"
    Identifier "Videocard0"
    Driver     "nvidia"
    VendorName "nVidia Corp."
    BoardName  "NV18 GeForce4 MX 440 AGP8x"
    BusID      "PCI:01:00:0"
    Screen 0
EndSection

Section "Device"
    Identifier "Videocard1"
    Driver     "nvidia"
    VendorName "nVidia Corp."
    BoardName  "NV18 GeForce4 MX 440 AGP8x"
    BusID      "PCI:01:00:0"
    Screen 1
EndSection

Section "Screen"
#   KDS Monitor
    Identifier "Screen0"
    Device  "Videocard0"
    Monitor "Monitor0"
    DefaultDepth 16
    Option  "XVideo"      "On"
    Option  "RenderAccel" "On"
    Option  "HWcursor"    "On"
    Option  "AddARGBGLXVisuals"     "True"
    Option  "AllowGLXWithComposite" "True"
    Option  "DamageEvents" "True"
    Option  "metamodes" "CRT: 1600x1200 +0+0"
EndSection


Section "Screen"
#   Television Screen
    Identifier "Screen1"
    Device  "Videocard1"
    Monitor "Monitor1"
    DefaultDepth 16
    Option  "XVideo"      "On"
    Option  "RenderAccel" "On"
    Option  "HWcursor"    "On"
    Option  "AddARGBGLXVisuals"     "True"
    Option  "AllowGLXWithComposite" "True"
    Option  "DamageEvents" "True"
    Option  "TVStandard"  "NTSC-M"
    Option  "TVOutFormat" "COMPOSITE"
    Option  "metamodes" "TV: 1024x768 +0+0"
EndSection
 
Old 09-01-2009, 09:56 PM   #4
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Original Poster
Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
This file drives one LCD monitor off the first video card, and 2 CRT's off the second video card. I removed the mouse, keyboard, and Files sections. This was in use on Slack 11, with KDE 3.5.4 as the DE.
Code:
# nvidia-settings: X configuration file generated by nvidia-settings with Sashas help.
# nvidia-settings:  version 1.0  (buildmeister@builder3)  Thu Feb 14 18:21:33 PST 2008
# File created & put in use April 8 2008
#
# This config produces 3 separate unique yet traversable desktops.
# Each can have a wallpaper, and window maximization is confined
# to each desktop in itself unless configged otherwise using KDE desktop config.
# X & KDE sees this setup as 3 monitors (3 separate X screens).
# nvdida-settings cannot seem to perfectly create 'complex' configs like this
# however by using it, then manipulating the results using nvidia-settings
# and starting X again, and repeating this process, can usually eventually
# give the desired settings.
# without Xinerama enabled here, this config still works functionally, with the main
# & annoying difference being that KDE cannot seem to tell which monitor is which,
# and 'config desktop' shows the desktops piled atop each other :/
# The easiest way to test an xorg.conf withous repeatedly killing X or logging
# out & in all the time is to just open a console and type "startx -- :1"
# which will start a (second) X session on a new VT if one is available.
# The newly started X session will parse & use the NEW xorg.conf while your
# running original X session will remain active using its running config.
# This also prevents you from testing a bad xorg.conf file and being stuck in
# a VT and X won't start. Then you need to fix the issue from a console editor
# or something like mc.
# You can logout from the second X session using the usual logout method, or you
# can kill it with CTRL-ALT-BACKSPACE. You will either way be returned to
# your original session where you are working on the file.

Section "Module"
    Load  "dbe"
    Load  "extmod"
    Load  "type1"
    Load  "freetype"
    Load  "glx"
    Load  "fbdevhw"
    Load  "record"
    Load  "v4l"
    #Load  "int10"
    #Load  "vnc"
EndSection

Section "Monitor" # Samsung TFT Monitor (scr-1.0)
    Identifier  "Samsung0"
    VendorName  "Samsung"
    ModelName   "SyncMaster 2243WM"
    HorizSync    30.0 - 81.0
    VertRefresh  56.0 - 75.0
    Option       "DPMS"
EndSection

Section "Monitor" # KDS Monitor (scr-1.0)
    Identifier  "KDS0"
    VendorName  "KDS"
    ModelName   "XF-9i Proview"
    HorizSync    30.0 - 86.0
    VertRefresh  50.0 - 160.0
    Option       "DPMS"
EndSection

Section "Monitor" # IBM-1 (scr-2.1)
    Identifier  "IBM1"
    VendorName  "IBM"
    ModelName   "E74-1"
    HorizSync    30.0 - 86.0
    VertRefresh  50.0 - 160.0
    Option      "DPMS"
EndSection

# Physical video cards/ports:

Section "Device"
    Identifier     "VideocardA(upperDVI)" # primary card
    Option "NvAGP" "1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 7100 GS"
    BusID          "PCI:1:0:0"
EndSection
Section "Device"
    Identifier     "VideocardA(upperVGA)" # primary card
    Option "NvAGP" "1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 7100 GS"
    BusID          "PCI:1:0:0"
EndSection

Section "Device"
    Identifier     "VideocardB(lowerDVI)" # secondary card
    Option "NvAGP" "1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 7300 SE/7200 GS"
    BusID          "PCI:2:0:0"
#    Screen          0
EndSection
Section "Device"
    Identifier     "VideocardB(lowerVGA)" # secondary card
    Option "NvAGP" "1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 7300 SE/7200 GS"
    BusID          "PCI:2:0:0"
#    Screen          0
EndSection

#### 2-monitor layout 'default'
Section "ServerLayout"
    Identifier     "default"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    Screen      2  "Screen2" 2960 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "1"
EndSection

#     Screen: = card + monitor
Section "Screen"
    Identifier     "Screen0"
    Device         "VideocardA(upperDVI)"
    Monitor        "Samsung0"
    DefaultDepth    16
    Option         "NoLogo" "False"
    Option         "RenderAccel" "On"
    Option         "HWcursor" "On"
    Option         "DamageEvents" "True"
    Option         "TwinView" "0"
    Option         "TwinViewXineramaInfoOrder" "DFP-0"
    Option          "metamodes" "DFP-0: 1680x1050 +0+0"
      SubSection   "Display"
      Depth         16
      EndSubSection
EndSection
Section "Screen"
    Identifier     "Screen1"
    Device         "VideocardB(lowerVGA)"
    Monitor        "KDS0"
    DefaultDepth    16
    Option         "NoLogo" "False"
    Option         "RenderAccel" "On"
    Option         "HWcursor" "On"
    Option         "DamageEvents" "True"
    Option         "TwinView" "0"
    Option         "metamodes" "CRT-0: 1600x1200 +0+0"
      SubSection   "Display"
      Depth         16
      EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen2"
   Device         "VideocardB(lowerVGA)"
    Monitor        "IBM1"
    DefaultDepth    16
    Option         "NoLogo" "False"
    Option         "RenderAccel" "On"
    Option         "HWcursor" "On"
    Option         "DamageEvents" "True"
    Option         "TwinView" "0"
    Option         "metamodes" "CRT-0: 1280x1024 +0+0"
     SubSection   "Display"
      Depth         16
     EndSubSection
EndSection
 
Old 09-01-2009, 10:08 PM   #5
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Original Poster
Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Here's a nice, confusing configuration! This file is a dual-layout file, which allows you to choose one of two (or more if you add them) layouts when you start X. I used the 'computer' layout by default, but if we decided we wanted to watch a movie on the TV (played in my PC's DVD player) while I was using the computer, I would start a new X session using the 'television' layout. That would switch off my second monitor, and turn on the TV display.

At this time, when I was using this file, I had only one video card in the machine. However, in anticipation of *maybe* using an old ATI card temporarily, I added all the commented stuff, which I would have uncommented had I gotten that ATI card as a second card. Thankfully that didn't happen, and I later got the second nVidia card instead

Yes, this looks confusing, but if you take it and remove all the commented out parts and study how the dual layout works, then you too can make your own multiple layout file. And once again, the mouse, kbd, and Files sections are removed. This was used on Slack 11, KDE 3.5.4, and the older Xorg non-modular version.

Code:
Section "Module"
    Load  "dbe"
    Load  "extmod"
    Load  "type1"
    Load  "freetype"
    Load  "glx"
    Load  "fbdevhw"
    Load  "record"
    Load  "v4l"
    Load  "int10"
#   Load  "vnc"
EndSection

Section "Monitor" # KDS Monitor
    Identifier  "KDS0"
    VendorName  "KDS"
    ModelName   "Proview"
    HorizSync   30.0 - 86.0
    VertRefresh 50.0 - 160.0
    Option "DPMS"
EndSection
Section "Monitor" # IBM-0 Monitor
    Identifier  "IBM0"
    VendorName  "IBM"
    ModelName   "E74"
    HorizSync   30.0 - 86.0
    VertRefresh 50.0 - 160.0
    Option "DPMS"
EndSection
Section "Monitor" # IBM-1 Monitor
    Identifier  "IBM1"
    VendorName  "IBM"
    ModelName   "E74"
    HorizSync   30.0 - 86.0
    VertRefresh 50.0 - 160.0
    Option "DPMS"
EndSection
Section "Monitor" # Television
    Identifier  "GETV"
    VendorName  "General Electric"
    ModelName   "TV"
    HorizSync   30.0 - 86.0
    VertRefresh 50.0 - 60.0
EndSection

Section "ServerFlags"
    Option "TwinView" "1"
EndSection

Section "ServerLayout" # KDS0 & IBM0, IBM1
Identifier    "computer"
Screen 0      "Screen0" 0 0
#Screen 2     "Screen2" 3200 0
InputDevice   "Mouse0"    "CorePointer"
InputDevice   "Keyboard0" "CoreKeyboard"
EndSection
   Section    "Device" #Connector: KDS0
   Identifier "nVidia1"
   Driver     "nvidia"
   VendorName "eVGA Corp."
   BoardName  "NV44-A2 nVidia GeForce 7100GS TurboCache"
   BusID      "PCI:01:00:0"
   Option     "TwinView" "1"
   Screen 0
   EndSection
 Section    "Device" #Connector: IBM0
 Identifier "nVidia0"
 Driver     "nvidia"
 VendorName "eVGA Corp."
 BoardName  "NV44-A2 nVidia GeForce 7100GS TurboCache"
 BusID      "PCI:01:00:0"
 Option     "TwinView" "1"
 Screen 1
 EndSection
#  Section    "Device" #Connector: IBM1
#  Identifier "ATI0"
#  Driver     "??????"
#  VendorName "ATI Corp."
#  BoardName  "???????????????????????"
#  BusID      "?????????????"
## Option     "TwinView" "1"
#  Screen 2
#  EndSection
Section    "Screen"
Identifier "Screen0"
Device     "nVidia1"
Monitor    "KDS0" #& IBM0
DefaultDepth 16
Option     "RenderAccel" "On"
Option     "HWcursor" "On"
Option     "DamageEvents" "True"
Option     "ConnectedMonitor" "CRT-0,CRT-1"
Option     "twinVieworientation" "CRT-1 Rightof CRT-0"
Option     "metamodes" "CRT-0:1600x1200,CRT-1:1280x1024 @ 1600x1200"
EndSection
#  Section    "Screen"
#  Identifier "Screen2"
#  Device     "ATI0"
#  Monitor    "IBM1"
#  DefaultDepth 16
#  Option     "RenderAccel" "On"
#  Option     "HWcursor" "On"
#  Option     "DamageEvents" "True"
## Option     "ConnectedMonitor" "CRT-2"
## Option     "twinVieworientation" "CRT-2 Rightof CRT-1"
#  Option     "metamodes" "CRT-2: 1280x1024 @ 1600x1200 +3200+0"
#  Subsection "Display"
#  Depth 16
#  Modes "1280x1024"
#  EndSubsection
#  EndSection

Section "ServerLayout" # KDS0 & GETV, IBM1
#To switch, use:   startx -- :1 -layout "television"
Identifier  "television"
Screen 0    "Screen3" 0 0
#Screen 4   "Screen4" 3200 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
    Section    "Device" #Connector: KDS0
    Identifier "nVidia3"
    Driver     "nvidia"
    VendorName "eVGA Corp."
    BoardName  "NV44-A2 nVidia GeForce 7100GS TurboCache"
    BusID      "PCI:01:00:0"
    Option     "TwinView" "1"
    Screen 0
    EndSection
      Section    "Device" #Connector: GETV
      Identifier "nVidia2"
      Driver     "nvidia"
      VendorName "eVGA Corp."
      BoardName  "NV44-A2 nVidia GeForce 7100GS TurboCache"
      BusID      "PCI:01:00:0"
      Option     "TwinView" "1"
      Screen 2
      EndSection
#       Section    "Device" #Connector: IBM1
#       Identifier "ATI0"
#       Driver     "??????"
#       VendorName "ATI Corp."
#       BoardName  "???????????????????????"
#       BusID      "?????????????"
##      Option     "TwinView" "1"
#       Screen 4
#       EndSection
Section    "Screen"
Identifier "Screen3"
Device     "nVidia3"
Monitor    "KDS0" #& GETV
DefaultDepth 16
Option     "RenderAccel" "On"
Option     "HWcursor" "On"
Option     "DamageEvents" "True"
Option     "ConnectedMonitor" "CRT-0 , TV-0"
Option     "TwinViewOrientation" "TV-0 Leftof CRT-0"
Option     "TVOutFormat" "SVIDEO"
Option     "TVStandard" "NTSC-M"
Option     "MetaModes" "TV-0:1024x768 , CRT-0:1600x1200"
EndSection
#   Section    "Screen"
#   Identifier "Screen4"
#   Device     "ATI0"
#   Monitor    "IBM1"
#   DefaultDepth 16
#   Option     "RenderAccel" "On"
#   Optio      "HWcursor" "On"
#   Option     "DamageEvents" "True"
##  Option     "ConnectedMonitor" "CRT-1"
##  Option     "twinVieworientation" "CRT-2 Rightof CRT-1"
#   Option     "metamodes" "CRT-1:1280x1024 @ 1600x1200 +3200+0"
#   Subsection "Display"
#   Depth 16
#   Modes "1280x1024"
#   EndSubsection
#   EndSection
 
Old 09-01-2009, 10:22 PM   #6
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Original Poster
Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Here's a file, using 2 video cards, to drive 3 monitors + one TV, all at once. Also, there are some examples of how to use a "panning virtual display size" which are the lines like so:

Option "metamodes" "CRT-0:1600x1200, CRT-1:1280x1024@1280x1200"

In this above line, the intention is that CRT-0 is a monitor capable of 1600x1200 but CRT-1 can only handle 1280x1024. So if you were to take a ScreenShot of this desktop running at those resolutions, you would see a missing chunk along the bottom of the smaller monitor. So, to solve that, the above line tells Xorg to run a "Virtual Size" of 1280x1200 on the smaller monitor. The virtual image is the same height as the real image on the bigger monitor. You can technically run HUGE virtual desktops like this. It's limited by your video hardware, within reason, and eventually it will be limited by Xorg, but I don't know where the limit is-- I beliebe it's around 4096x4096 but maybe bigger.
With that virtual size going, your screenshot will look normal, and when you mouse over onto the smaller monitor and go near the bottom of the screen, and screen will automatically pan upwards, so you can get to the bottom. When you mouse back up to the top, the screen pans back down. Pretty handy when you want to be able to move windows from the big monitor to the small monitor, or when a window spans both monitors, because stuff lines up horizontally, like it should.

Again, this was used on Slack 11, KDE 3.5.4, pre-modular Xorg.
Code:
Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
    Load  "fbdevhw"
    Load  "record"
    Load  "v4l"
    Load  "int10"
#    Load  "vnc"
EndSection

Section "Monitor" # KDS Monitor
    Identifier  "KDS0"
    VendorName  "KDS"
    ModelName   "Proview"
    HorizSync   30.0 - 86.0
    VertRefresh 50.0 - 160.0
    Option "DPMS"
EndSection
Section "Monitor" # IBM-0 Monitor
    Identifier  "IBM0"
    VendorName  "IBM"
    ModelName   "E74"
    HorizSync   30.0 - 86.0
    VertRefresh 50.0 - 160.0
    Option "DPMS"
EndSection
Section "Monitor" # IBM-1 Monitor
    Identifier  "IBM1"
    VendorName  "IBM"
    ModelName   "E74"
    HorizSync   30.0 - 86.0
    VertRefresh 50.0 - 160.0
    Option "DPMS"
EndSection
Section "Monitor" # Television
    Identifier  "GETV"
    VendorName  "General Electric"
    ModelName   "TV"
    HorizSync   30.0 - 86.0
    VertRefresh 50.0 - 60.0
 Option "DPMS"
EndSection

Section "Device"
    Identifier     "Videocard0a"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 7100 GS"
    BusID          "PCI:1:0:0"
Screen 0
EndSection
 Section "Device"
    Identifier     "Videocard0b"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 7100 GS"
    BusID          "PCI:1:0:0"
#Screen 1
EndSection
Section "Device"
    Identifier     "Videocard1a"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 7300 SE/7200 GS"
    BusID          "PCI:2:0:0"
Screen 1
EndSection
Section "Device"
    Identifier     "Videocard1b"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 7300 SE/7200 GS"
    BusID          "PCI:2:0:0"
#Screen 
EndSection


Section "ServerLayout"
    Identifier    "3CRT+TV"
    Screen        "Screen0" 0 0
    Screen        "Screen1" rightof "Screen0"
    Screen        "Screen2" rightof "Screen1"
    Screen        "Screen3"
    InputDevice   "Keyboard0" "CoreKeyboard"
    InputDevice   "Mouse0"    "CorePointer"
EndSection


Section "ServerFlags"
 # Option "TwinView"      "1"
  Option "Xinerama"      "1"
  Option "InitSecondary" "1"
  Option "InitPrimary"   "1"
  Option "TwinViewXineramaInfoOrder" "CRT-0,CRT-2,CRT-1,TV-0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Videocard0a"
    Monitor    "KDS0"
    DefaultDepth  16
    Option     "RenderAccel"  "On"
    Option     "HWcursor"     "On"
    Option     "DamageEvents" "True"
    Option     "ConnectedMonitor" "CRT-0,CRT-1"
    Option     "TwinViewOrientation" "CRT-1 RightOf CRT-0"
    Option     "TwinView" "1"
    Option     "metamodes" "CRT-0:1600x1200, CRT-1:1280x1024@1280x1200"
        SubSection "Display"
        Depth         16
        EndSubSection
EndSection
Section "Screen"
    Identifier "Screen2"
    Device     "Videocard0b"
    Monitor    "IBM0"
    DefaultDepth  16
    Option     "RenderAccel" "On"
    Option     "HWcursor" "On"
    Option     "DamageEvents" "True"
    Option     "ConnectedMonitor" "CRT-0,CRT-1"
    Option     "TwinView" "1"
    Option     "metamodes" "CRT-0:1600x1200, CRT-1:1280x1024@1280x1200"
        SubSection "Display"
        Depth         16
        EndSubSection
EndSection

Section "Screen"
    Identifier  "Screen1"
    Device      "Videocard1a"
    Monitor     "IBM1"
    DefaultDepth   16
    Option      "RenderAccel" "On"
    Option      "HWcursor" "On"
    Option      "DamageEvents" "True"
    Option      "ConnectedMonitor" "CRT-2,TV-0"
    Option      "InitSecondary" "True"
    Option      "TwinView" "1"
    Option      "TwinViewOrientation" "TV-0 RightOf CRT-2"
    Option      "TVOutFormat" "SVIDEO"
    Option      "TVStandard" "NTSC-M"
    Option      "metamodes" "CRT-2:1280x1024@1280x1200,TV-0:640x480+1600+0"
        SubSection "Display"
        Depth         16
        EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen3"
    Device         "Videocard1b"
    Monitor        "GETV"
    DefaultDepth    16
    Option     "RenderAccel" "On"
    Option     "HWcursor" "On"
    Option     "DamageEvents" "True"
    Option     "ConnectedMonitor" "TV-0,CRT-2"
    Option     "InitSecondary" "True"
    Option     "TwinView" "1"
    Option     "TVOutFormat" "SVIDEO"
    Option     "TVStandard" "NTSC-M"
    Option     "metamodes" "CRT-2:1280x1024@1280x1200,TV-0:640x480+1600+0"
        SubSection "Display"
        Depth         16
        EndSubSection
EndSection
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Multiple Monitors and two video cards falcontwo Linux - Newbie 4 07-19-2009 09:23 PM
2 monitors, 2 video cards, multiple terminals? MusicallyInspired Linux - Hardware 1 03-14-2007 08:22 PM
Xorg (XFree86) multiple sessions/monitors Hexane Linux - Software 0 02-01-2005 04:24 PM
Multiple Vid Cards and Monitors d4harvey Fedora 0 08-18-2004 02:24 AM
nVidia Dual Monitors > Multiple Desktops BlandoCal Fedora 7 05-24-2004 02:52 AM


All times are GMT -5. The time now is 11:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration