Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a Mac Pro system with dual upgraded NVidia 8800 GT cards. I'm running quad monitors. The center one is a 30" at 2560x1600 and is flanked on both sides with dual 24" 1920x1200 offset down 300 pixels to match the physical arrangement. Finally, I have a Cintiq 21UX at 1600x1200 off to the right side.

Just did a fresh install of Ubuntu 11.10, then ran all updates, and finally grabbed the updated NVidia driver. Configured xorg.conf via the NVidia utility, then did simple renames so I know what I was looking at. However, I can't get the configuration to properly work. The most I can get is two monitors going but as soon as I try to enable three, things start getting weird, rendering in the wrong place, ghost mouse clicks half a screen away from where they really are. If I try four monitors, then the UI doesn't even come up... just the desktop with Nautilus menus but no launcher, clock or anything else.

Here's my xorg.conf file. Anyone see anything wrong here? I don't and I've been battling with this for the past eight hours.

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "AppleScreen" 1920 0
    Screen      1  "RightGatewayScreen" 4480 300
    Screen      2  "CintiqScreen" 6400 900
    Screen      3  "LeftGatewayScreen" 0 300
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "1"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Device"
    Identifier     "VideoCard1A"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8800 GT"
    BusID          "PCI:2:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "VideoCard1B"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8800 GT"
    BusID          "PCI:2:0:0"
    Screen          1
EndSection

Section "Device"
    Identifier     "VideoCard2A"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8800 GT"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Device"
    Identifier     "VideoCard2B"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8800 GT"
    BusID          "PCI:1:0:0"
    Screen          0
EndSection

Section "Monitor"
    Identifier     "AppleMonitor"
    VendorName     "Unknown"
    ModelName      "Apple Cinema HD"
    HorizSync       49.3 - 98.5
    VertRefresh     60.0
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "RightGatewayMonitor"
    VendorName     "Unknown"
    ModelName      "Gateway FPD2485W"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 76.0
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "LeftGatewayMonitor"
    VendorName     "Unknown"
    ModelName      "Gateway FPD2485W"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 76.0
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "CintiqMonitor"
    VendorName     "Unknown"
    ModelName      "WAC Cintiq21UX"
    HorizSync       31.0 - 92.0
    VertRefresh     56.0 - 85.0
    Option         "DPMS"
EndSection

Section "Screen"
    Identifier     "AppleScreen"
    Device         "VideoCard1A"
    Monitor        "AppleMonitor"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "TwinViewXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "DFP-0: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "RightGatewayScreen"
    Device         "VideoCard1B"
    Monitor        "RightGatewayMonitor"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "DFP-1: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "LeftGatewayScreen"
    Device         "VideoCard2A"
    Monitor        "LeftGatewayMonitor"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "DFP: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "CintiqScreen"
    Device         "VideoCard2B"
    Monitor        "CintiqMonitor"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "CRT: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

# Tried both enabled and disabled here but to no avail.    
Section "Extensions"
    Option         "Composite" "Disable"
EndSection

Update

People have commented I shouldn't have all four monitors absolutely positioned, but that is completely valid. It's recommended against if you have resolutions that can change or just because if you're not careful you could inadvertently cause screen overlaps or worse create gaps of 'no man's land' between them making it impossible to get to, but that isn't the case here. Again, the mouse moves across all monitors as expected. Plus, even when using relative positioning (e.g. 'LeftOf', 'RightOf') I still have the same issue.

I'm starting to think it's just the massive width that's causing the issue. Anything over 4000 pixels wide seems to barf and my desktop has 8000.

share|improve this question
    
Can you post xorg.conf? –  Karlson Mar 10 '12 at 2:10
    
@Karlson, see above. I also re-wrote the question to better explain the issue. –  MarqueIV Mar 10 '12 at 9:48

1 Answer 1

That sounds like your monitors are configured as seperate X displays instead of as just one. What you want is TwinView/Xinerama.

May be possible to also configure that via their GUI Tool. I've never used that myself though, so I don't know for sure.

Section "ServerLayout"
    Identifier      "Xinerama"
    Screen          0 "Default Screen[0]" 0 0
    Screen          1 "Default Screen[1]" LeftOf "Default Screen[0]"
    Screen          2 "                 " Above  "                 "
    Screen          3 "                 " Above  "                 "
    InputDevice     "Generic Keyboard"
    InputDevice     "Configured Mouse"
    Option          "Xinerama"      "on"
EndSection

Assuming a non-horizontal Alignment, but from your config I assume that you do have a horizontal alignment. It does make them operate as one screen, but Usually it doesn't care about their size. At least when aligning horizontally.

share|improve this answer
    
I thought Xinerama made all displays operate as a single screen and as such had to have the same resolutions, etc. In my case I have a center 30" @ 2560x16oo flanked by two 24" @ 1920x1200 on either side, then far-right I have a Cintiq 21UX @ 1600x1200. With all of that, where the heck will everything go (i.e. the launcher strip, menu bar, system clock, etc.) Man, even Windows is easier than this!! –  MarqueIV Mar 10 '12 at 2:11
    
Also, in case it matters, I have dual video cards... two monitors on each. –  MarqueIV Mar 10 '12 at 2:13
    
Ah, yeah it does. Take a look at this: instructables.com/id/How-to-set-up-multiple-monitors-in-linux/… –  juwi Mar 10 '12 at 2:56
    
Isn't that what I already have above though? (I added the conf file to the question.) –  MarqueIV Mar 10 '12 at 3:44
    
Yeah, and now you still need Xinerama to make all this one desktop instead of 4 seperate ones. See my post above. –  juwi Mar 10 '12 at 3:56

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.