xinerama setup

Simo Kauppi swk at nic.fi
Sun Oct 9 07:53:11 PDT 2005


On Thu, Sep 29, 2005 at 07:29:52PM +0200, Jochen Rassler wrote:
> 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.
 
I was struggling with the same dilemma with my MGA550 dualhead a while
ago.

Fianlly I had to swap the cables the other way around, because it seems
to me that X maps "Screen 0" to the primary connector of my dual head
card and "Screen 1" to the secondary connector of my dual head card.

I couldn't find any way to change that behavior.

> 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

I think the problem here is that your Default Screen is driven with the
settings of the Helper Screen and vice versa.

> 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.

Try switching the cables the other way and set

     Screen        0 "Default Screen" 0 0
     Screen        1 "Helper Screen" LeftOf "Default Screen"

That worked for me :)

> best regards
> Jochen

Simo
-- 
:r ~/.signature
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20051009/16d26752/attachment.pgp>


More information about the xorg mailing list