Dual Card Config

From SUSE Wiki

Jump to: navigation, search

SuSE 10.3

I wanted to have my 4 monitors acts like Windows Xp.

I came across this a page that gave me a start to build on to config my xorg.

http://pwp.netcabo.pt/0150048402/linux/Multiple_Nvidia_Multiple_Head.html

1) You will need to prepare your xorg.conf file by going starting SaX2 and disable dualhead on all cards that you see there.

If you do not see the second card in SaX2 then you will need to get the pci bus id.
To do that, open "KinfoCenter". Use the run command and type "kinfocenter" or go to
menu -> System -> Monitor -> KinfoCenter

Click on "PCI"

Scroll down till you see "VGA compatible controller : the brand of your card.

On the left of the word "VGA" it is the PCI Bus ID that you will need to configure your xorg.conf file.

2) In SaX2 enable 3d acceleration and activate all card that you see there.

3) Edit your xorg.conf file. It is located in: /etc/X11

You can use Kwrite to do the gob.

4) You need to have 4 differents divices (one for each head). You also need to have 4 differents screens and monitors.

You can base yourself on my config file to help setup your xorg.

P.S. all my monitors are DPMS compilant. If you do not have DPMS monitors, you need to find the values to put in your config file under the mode section. In this case, use SaX2 to configure one monitor at a time and copy the mode info to a temporary file so that you can combine all needed info into your config file.

Here is my xorg.conf file:

Section "Files"
  FontPath     "/usr/share/fonts/misc:unscaled"
  FontPath     "/usr/share/fonts/local"
  FontPath     "/usr/share/fonts/75dpi:unscaled"
  FontPath     "/usr/share/fonts/100dpi:unscaled"
  FontPath     "/usr/share/fonts/Type1"
  FontPath     "/usr/share/fonts/URW"
  FontPath     "/usr/share/fonts/Speedo"
  FontPath     "/usr/share/fonts/PEX"
  FontPath     "/usr/share/fonts/cyrillic"
  FontPath     "/usr/share/fonts/latin2/misc:unscaled"
  FontPath     "/usr/share/fonts/latin2/75dpi:unscaled"
  FontPath     "/usr/share/fonts/latin2/100dpi:unscaled"
  FontPath     "/usr/share/fonts/latin2/Type1"
  FontPath     "/usr/share/fonts/latin7/75dpi:unscaled"
  FontPath     "/usr/share/fonts/baekmuk:unscaled"
  FontPath     "/usr/share/fonts/japanese:unscaled"
  FontPath     "/usr/share/fonts/kwintv"
  FontPath     "/usr/share/fonts/truetype"
  FontPath     "/usr/share/fonts/uni:unscaled"
  FontPath     "/usr/share/fonts/CID"
  FontPath     "/usr/share/fonts/ucs/misc:unscaled"
  FontPath     "/usr/share/fonts/ucs/75dpi:unscaled"
  FontPath     "/usr/share/fonts/ucs/100dpi:unscaled"
  FontPath     "/usr/share/fonts/hellas/misc:unscaled"
  FontPath     "/usr/share/fonts/hellas/75dpi:unscaled"
  FontPath     "/usr/share/fonts/hellas/100dpi:unscaled"
  FontPath     "/usr/share/fonts/hellas/Type1"
  FontPath     "/usr/share/fonts/misc/sgi:unscaled"
  FontPath     "/usr/share/fonts/xtest"
  FontPath     "/opt/kde3/share/fonts"
  InputDevices "/dev/gpmdata"
  InputDevices "/dev/input/mice"
EndSection

Section "ServerFlags"
  Option       "AllowMouseOpenFail" "on"
EndSection

Section "Module"
  Load         "extmod"
  Load         "type1"
  Load         "glx"
  Load         "freetype"
  Load         "dbe"
EndSection

Section "InputDevice"
  Driver       "kbd"
  Identifier   "Keyboard[0]"
  Option       "Protocol" "Standard"
  Option       "XkbLayout" "ca"
  Option       "XkbModel" "microsoftpro"
  Option       "XkbRules" "xfree86"
  Option       "XkbVariant" "fr"
EndSection


Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[1]"
  Option       "Buttons" "9"
  Option       "Device" "/dev/input/mice"
  Option       "Name" "ImExPS/2 Generic Explorer Mouse"
  Option       "Protocol" "explorerps/2"
  Option       "Vendor" "Sysp"
  Option       "ZAxisMapping" "4 5"
EndSection

######################################################################################
# Monitors (1 per physical monitor)
######################################################################################

Section "Monitor"
  Option       "CalcAlgorithm" "XServerPool"
  DisplaySize  376 301
  HorizSync    30-71
  Identifier   "Monitor[0]"
  ModelName    "LG ELECTRONICS L1933TR"
  Option       "DPMS"
  VendorName   "GSM"
  VertRefresh  43-75
  UseModes     "Modes[0]"
EndSection

Section "Monitor"
  Option       "CalcAlgorithm" "XServerPool"
  DisplaySize  714 301
  HorizSync    30-71
  Identifier   "Monitor[1]"
  ModelName    "NEC INTEGRIERTER PC-9821CT16"
  Option       "DPMS"
  VendorName   "GSM"
  VertRefresh  50-75
  UseModes     "Modes[1]"
EndSection

Section "Monitor"
  Option       "CalcAlgorithm" "XServerPool"
  DisplaySize  714 301
  HorizSync    30-71
  Identifier   "Monitor[2]"
  ModelName    "NEC INTEGRIERTER PC-9821CT16"
  Option       "DPMS"
  VendorName   "GSM"
  VertRefresh  50-75
  UseModes     "Modes[2]"
EndSection

Section "Monitor"
  Option       "CalcAlgorithm" "XServerPool"
  DisplaySize  376 301
  HorizSync    30-71
  Identifier   "Monitor[3]"
  ModelName    "LG ELECTRONICS L1933TR"
  Option       "DPMS"
  VendorName   "GSM"
  VertRefresh  43-75
  UseModes     "Modes[3]"
EndSection

Section "Modes"
  Identifier   "Modes[0]"
  Modeline 	"1280x1024" 108 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
EndSection

Section "Modes"
  Identifier   "Modes[1]"
  Modeline 	"1280x1024" 108 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
EndSection

Section "Modes"
  Identifier   "Modes[2]"
  Modeline 	"1280x1024" 108 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
EndSection

Section "Modes"
  Identifier   "Modes[3]"
  Modeline 	"1280x1024" 108 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
EndSection

######################################################################################
# Screens for X-simple [+ Xinerama] (1 explicit monitor per screen)
######################################################################################

Section "Screen"
  DefaultDepth 16
  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" 
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "1280x1024" "1024x768" "800x600" 
  EndSubSection
  Device       "Device[0]"
  Identifier   "Screen[0]"
  Monitor      "Monitor[0]"
EndSection

Section "Screen"
  DefaultDepth 16
  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" 
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "1280x1024" "1024x768" "800x600" 
  EndSubSection
  Device       "Device[1]"
  Identifier   "Screen[1]"
  Monitor      "Monitor[1]"
EndSection

Section "Screen"
  DefaultDepth 16
  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" 
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "1280x1024" "1024x768" "800x600" 
  EndSubSection
  Device       "Device[2]"
  Identifier   "Screen[2]"
  Monitor      "Monitor[2]"
EndSection

Section "Screen"
  DefaultDepth 16
  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" 
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "1280x1024" "1024x768" "800x600" 
  EndSubSection
  Device       "Device[3]"
  Identifier   "Screen[3]"
  Monitor      "Monitor[3]"
EndSection

######################################################################################
# Devices for X-simple [+ Xinerama] (1 per head card)
###################################################################################### 

Section "Device"
  BoardName    "GeForce 7600 GT"
  BusID        "7:0:0"
  Driver       "nvidia"
  Identifier   "Device[0]"
  Option       "EnablePageFlip"   "on"
  Option       "RenderAccel"      "True"
  Screen       0
  VendorName   "NVidia"
EndSection
Section "Device"
  BoardName    "GeForce 7600 GT"
  BusID        "7:0:0"
  Driver       "nvidia"
  Identifier   "Device[1]"
  Option       "EnablePageFlip"   "on"
  Option       "RenderAccel"      "True"
  Screen       1
  VendorName   "NVidia"
EndSection 

Section "Device"
  BoardName    "GeForce 7600 GS"
  BusID        "2:0:0"
  Driver       "nvidia"
  Identifier   "Device[2]"
  Option       "EnablePageFlip"   "on"
  Option       "RenderAccel"      "True"
    Screen     0
  VendorName   "NVidia"
EndSection
Section "Device"
  BoardName    "GeForce 7600 GS"
  BusID        "2:0:0"
  Driver       "nvidia"
  Identifier   "Device[3]"
  Option       "EnablePageFlip"   "on"
  Option       "RenderAccel"      "True"
  Screen       1
  VendorName   "NVidia"
EndSection

######################################################################################
# Layout. X-simple + Xinerama.
######################################################################################

Section "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  Option       "Clone" "off"
  Option       "Xinerama" "on"
  Screen       "Screen[1]" LeftOf "Screen[0]"
  Screen       "Screen[2]" RightOf "Screen[0]"
  Screen       "Screen[3]" RightOf "Screen[2]"
  Screen       "Screen[0]" 0 0
EndSection

Section "DRI"
    Group      "video"
    Mode       0660
EndSection

Section "Extensions"
  Option       "Composite" "Disabled"
  Option       "DAMAGE" "false"
EndSection

I am very happy that i finaly got my desktop the way i wanted.

Happy desktop!!!

Frank

Personal tools