xinerama setup

Jochen Rassler jochen at cornmania.de
Thu Sep 29 10:29:52 PDT 2005


Dear list.

I have some problems configuring the xinerama the way i want.

I am using Debian / unstable with actual xorg packages.

Here ist my /etc/X11/xorg.conf:

***************
Section "ServerFlags"
     Option        "Xinerama"    "true"
EndSection

Section "Files"
     FontPath    "unix/:7100"            # local font server
     FontPath    "/usr/lib/X11/fonts/misc"
     FontPath    "/usr/lib/X11/fonts/cyrillic"
     FontPath    "/usr/lib/X11/fonts/100dpi/:unscaled"
     FontPath    "/usr/lib/X11/fonts/75dpi/:unscaled"
     FontPath    "/usr/lib/X11/fonts/Type1"
     FontPath    "/usr/lib/X11/fonts/Speedo"
     FontPath    "/usr/lib/X11/fonts/100dpi"
     FontPath    "/usr/lib/X11/fonts/75dpi"
EndSection

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

Section "InputDevice"
     Identifier    "Generic Keyboard"
     Driver        "keyboard"
     Option        "CoreKeyboard"
     Option        "XkbRules"    "xfree86"
     Option        "XkbModel"    "pc105"
     Option        "XkbLayout"    "de"
     Option        "XkbVariant"    "nodeadkeys"
EndSection

Section "InputDevice"
     Identifier    "Configured Mouse"
     Driver        "mouse"
     Option        "CorePointer"
     Option        "Device"        "/dev/psaux"
     Option        "Protocol"        "explorerps/2"
     Option        "ZAxisMapping"        "4 5"
EndSection

Section "Device"
     Identifier    "MSI G4 Ti4200"
     Driver        "nvidia"
     Option        "NoLogo"    "1"
     VideoRam    65536
     BusID        "PCI:1:0:0"
     Screen        0
EndSection

Section "Device"
     Identifier    "MSI G4 Ti4200 analog"
     Driver        "nvidia"
     Option        "NoLogo"    "1"
     BusID        "PCI:1:0:0"
     Screen        1
EndSection

Section "Monitor"
     Identifier    "Belinea 101740"
     HorizSync    30-80
     VertRefresh    50-75
     Option        "DPMS"
     ModeLine    "opt_Mode" 135  1280 1444 1588 1688 1024 1025 1028 1066 
+hsync +vsync
     ModeLine    "nvidia_Mode"  135  1280 1424 1568 1688  1024 1025 1028 
1066 +hsync +vsync
EndSection

Section "Monitor"
     Identifier    "Peacock Top 15X"
     Option        "DPMS"
     HorizSync    30-64
     VertRefresh    60-100
EndSection

Section "Screen"
     Identifier    "Default Screen"
     Device        "MSI G4 Ti4200"
     Monitor        "Belinea 101740"
     DefaultDepth    24
     SubSection "Display"
         Depth        1
         Modes        "1280x1024" "1024x768" "800x600"
     EndSubSection
     SubSection "Display"
         Depth        4
         Modes        "1280x1024" "1024x768" "800x600"
     EndSubSection
     SubSection "Display"
         Depth        8
         Modes        "1280x1024" "1024x768" "800x600"
     EndSubSection
     SubSection "Display"
         Depth        15
         Modes        "1280x1024" "1024x768" "800x600"
     EndSubSection
     SubSection "Display"
         Depth        16
         Modes        "1280x1024" "1024x768" "800x600"
     EndSubSection
     SubSection "Display"
         Depth        24
         Modes        "1280x1024" "1024x768" "800x600"
         Modes        "nvidia_Mode" "opt_Mode"
         ViewPort    0 0
         Virtual        1280 1024
     EndSubSection
EndSection

Section "Screen"
     Identifier    "Helper Screen"
     Device        "MSI G4 Ti4200 analog"
     Monitor        "Peacock Top 15X"
     DefaultDepth    24
     SubSection "Display"
         Depth        24
         Modes        "1024x768" "1280x1024" "800x600"
         ViewPort    0 0
         Virtual        1024 768#1024
     EndSubSection
EndSection

Section "ServerLayout"
     Identifier    "Default Layout"
#    Screen        0 "Default Screen" 0 0
#    Screen        1 "Helper Screen" RightOf "Default Screen"
     Screen        0 "Helper Screen" 0 0
     Screen        1 "Default Screen" RightOf "Helper Screen"
     Option        "Xinerama"
     InputDevice    "Generic Keyboard"
     InputDevice    "Configured Mouse"
EndSection

Section "DRI"
     Mode    0666
EndSection

**********************

This way, everything works fine!
The Default Screen is shown right of the Helper Screen and both screens 
work properly.

But I have some wishes about the configuration: the Helper Screen is the 
primary screen, so the login screen and several tools / applications are 
shown on the primary screen, which is the Helper Screen. But I want have 
the Default Screen as the primary screen.

To get the Default Screen be the primary screen the two commented lines 
in the Server Layout Section should be uncommented and the other two 
Screen lines commented. But this will not work:
* RightOf maps the Helper Screen left of the Default Screen, LeftOf maps 
it to the right.
* the Helper Screen shows the content of itself several times (4 or 5 
times) with a resolution of about ~250x768

Every other tested configuration as shown in the xorg.conf above doesn't 
work properly, the results are mostly like described above.

What am I doing wrong here?

Any help would be appriciated.

best regards
Jochen






More information about the xorg mailing list