PDA

View Full Version : [ubuntu] 4 monitor xinerama setup



amallory
August 14th, 2009, 07:41 PM
Could use a hand with this one, i'm not quite sure exactly what i'm doing. I just purchased 2 more monitors to go with my other two, and a second graphics card. I got the second graphics card enabled and the other two monitors working. I would however like to get all four of the monitors working like one big desktop, which to my understanding, is exactly what xinerama should allow me to do. However whenever I enable xinerama in the nvidia-settings utility and restart x, x does nothing but crash. I then did a bit of reading and attempted to edit xorg.conf myself, which I have failed at. I am running an nvidia 8800 GTS graphics card and an Nvidia 7200. I have all four monitors enabled as two seperate x screens, however when you maximize a program, it uses both monitors which suggests I do not have the monitors configured correctly in the screen section, or at least thats what I think. Please help, i've copied my entire xorg.conf server. Any help will be greatly appreciated. Yes, I am still very new to linux and could use all the help I can get!


# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder63) Tue Jul 28 16:20:20 PDT 2009

Section "ServerLayout"
Identifier "Xinerama"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
Screen 2 "Screen2" RightOf "Screen1"
Screen 3 "Screen3" RightOf "Screen2"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "off"
EndSection

Section "Files"
EndSection

Section "ServerFlags"
Option "Xinerama" "0"
EndSection

Section "InputDevice"

# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Acer X203H"
HorizSync 31.0 - 83.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Unknown"
ModelName "Acer X203H"
HorizSync 31.0 - 83.0
VertRefresh 56.0 - 75.0
EndSection

Section "Monitor"
Identifier "Monitor2"
VendorName "Unknown"
ModelName "Samsung SyncMaster"
HorizSync 30.0 - 81.0
VertRefresh 56.0 - 75.0
EndSection

Section "Monitor"
Identifier "Monitor3"
VendorName "Unknown
ModelName "Samsung SyncMaster"
HorizSync 30.0 - 81.0
VertRefresh 56.0 - 75.0
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 8800 GTS"
BusID "PCI:1:0:0"
EndSection

Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7300 SE/7200 GS"
BusID "PCI:2:0:0"
EndSection

Section "Screen"

Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "1"
Option "TwinViewXineramaInfoOrder" "DFP-1"
Option "metamodes" "DFP-0: 1600x900 +0+0, DFP-1: 1600x900 +1600+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Screen"

Identifier "Screen1"
Device "Device0"
Monitor "Monitor1"
DefaultDepth 24
Option "TwinView" "1"
Option "TwinViewXineramaInfoOrder" "DFP-1"
Option "metamodes" "DFP-0: 1600x900 +0+0, DFP-1: 1600x900 +1600+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Screen"

Identifier "Screen2"
Device "Device1"
Monitor "Monitor2"
DefaultDepth 24
Option "TwinView" "1"
Option "TwinViewXineramaInfoOrder" "CRT-0"
Option "metamodes" "CRT: nvidia-auto-select +1440+0, DFP: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Screen"

Identifier "Screen3"
Device "Device1"
Monitor "Monitor3"
DefaultDepth 24
Option "TwinView" "1"
Option "TwinViewXineramaInfoOrder" "CRT-0"
Option "metamodes" "CRT: nvidia-auto-select +1440+0, DFP: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

markbuntu
August 14th, 2009, 09:54 PM
I believe you need to disable randr to stop that from happening but I do not really know about the nvidia drivers so cannot tell you how.

schmolch
August 24th, 2009, 09:48 PM
How is it going with your setup?
I just went through to pain to setup my 3-monitor 2-nvidia-cards machine.
I used xinerama, i can rotate any monitor individually but xinerama is alot slower then twinview (no compiz and slower Xorg in general).
I dont know how/if you can use twinview with multiple cards.
In some thread somebody said its posibble, but i also heard the opposite somewhere else.
Anyway good luck :-)

markbuntu
August 24th, 2009, 10:51 PM
This thread is about the same thing.

http://ubuntuforums.org/showthread.php?t=1245581