LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   NVIDIA(bin)+ATI(oss) Xineramma (https://www.linuxquestions.org/questions/linux-hardware-18/nvidia-bin-ati-oss-xineramma-837060/)

Elv13 10-08-2010 07:52 PM

NVIDIA(bin)+ATI(oss) Xineramma
 
Hi, I am trying to setup a 5 monitors setup using 3 cards, but I am stuck at 3 monitors for now. The third card is not plugged yet, so the current setup is:

NVIDIA 8800GT (binary driver 195.***)
--->1680x1050 LCD (VGA)
--->1680x1050 LCD (DVI)

ATI HD5450 (3 output, but I think the OSS driver only support 2, corrdct me if I am wrong) (OSS driver)
--->1280x1024 LCD (DVI)
---> 1366x768 TV (VGA)

The two NVIDIA panel use separate screen, so it work fine with Xinerama. I don't really know how to setup the second ATI screen, the first one (DVI) is fine. I tried many solution from Google, but none of them worked (see the comments in the file for a general idea of what I tried). At some point, the TV was displaying a blue VHS like screen instead of a black screen. Here is my xorg.conf:

Code:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (root@lepagee-desktop)  Tue Jun 29 20:33:07 EDT 2010

Section "ServerLayout"
    Identifier    "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0" #1680 0
        Screen      2  "Screen2" RightOf "Screen1" #3360 0
#        Screen      3  "Screen3" RightOf "Screen2" #4726 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option        "Xinerama" "1"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from data in "/etc/conf.d/gpm"
    Identifier    "Mouse0"
    Driver        "mouse"
    Option        "Protocol"
    Option        "Device" "/dev/input/mice"
    Option        "Emulate3Buttons" "no"
    Option        "ZAxisMapping" "4 5"
EndSection

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

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier    "Monitor1"
    VendorName    "Unknown"
    ModelName      "Acer B223W"
    HorizSync      30.0 - 83.0
    VertRefresh    56.0 - 76.0
    Option        "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier    "Monitor0"
    VendorName    "Unknown"
    ModelName      "Acer B223W"
    HorizSync      30.0 - 83.0
    VertRefresh    56.0 - 76.0
    Option        "DPMS"
EndSection

Section "Monitor"
  #DisplaySize    410  260 # mm
  Identifier  "Monitor2"
  VendorName  "SAM"
  ModelName    "SAMSUNG"
  HorizSync    30.0 - 61.0
  VertRefresh  60.0 - 75.0
  Option      "PreferredMode"  "1366x768"
  Option      "DPMS"
EndSection

Section "Monitor"
  #DisplaySize    410  260 # mm
  Identifier  "Monitor3"
  VendorName  "NEC"
  Option      "PreferredMode"  "1280x1024"
  ModelName    "17"
#  HorizSync    30.0 - 61.0
#  VertRefresh  60.0 - 75.0
  Option      "DPMS"
EndSection

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

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

Section "Device"
  Identifier  "Device2"
  Driver      "radeon"
  Option      "DynamicClocks" "on"
  Option      "RenderAccel" "on"
  Option      "EnablePageFlip" "on"
  VendorName  "ATI Technologies Inc"
  BoardName  "Unknown Board"
  BusID      "PCI:1:0:0"
  Option      "CRT2Position" "RightOf"
  Option      "MetaModes" "1280x1024-1366x768"
  Option      "MergedNonRectangular" "true"
  #Option          "monitor-DVI-0" "Monitor2"
  #Screen      2
EndSection

#Section "Device"
#  Identifier  "Device3"
#  Driver      "radeon"
#  Option      "DynamicClocks" "on"
#  VendorName  "ATI Technologies Inc"
#  BoardName  "Unknown Board"
#  BusID      "PCI:1:0:0"
#  #Option      "monitor-VGA-0" "Monitor3"
#  #Screen      2
#EndSection

Section "Screen"
    Identifier    "Screen1"
    Device        "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option        "TwinView" "0"
    Option        "metamodes" "DFP-1: nvidia-auto-select +0+0"
    SubSection    "Display"
        Depth      24
        Modes      "1680x1050"
    EndSubSection
EndSection

Section "Screen"
    Identifier    "Screen0"
    Device        "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option        "TwinView" "0"
    Option        "metamodes" "DFP-0: nvidia-auto-select +0+0"
    SubSection    "Display"
        Depth      24
        Modes      "1680x1050"
    EndSubSection
EndSection


Section "Screen"
  Identifier "Screen2"
  Device    "Device2"
  Monitor    "Monitor2"
  SubSection "Display"
      Viewport  0 0
      Depth    24
      Modes      "1280x1024"
#      Virtual    2646 1024
  EndSubSection
EndSection

#Section "Screen"
#  Identifier "Screen3"
#  Device    "Device3"
#  Monitor    "Monitor3"
#  SubSection "Display"
#      Viewport  0 0
#      Depth    24
#      Modes      "1366x768"
#  EndSubSection
#EndSection


business_kid 10-09-2010 02:52 AM

If you want 5 monitors from three cards, you are past the point where alarms go off in my head and a sign lights saying "Leaving reality at this point!":-)

Try the coders on freedesktop.org

Elv13 10-09-2010 02:04 PM

I managed to have the ATI monitors in clone mode with this xorg.conf, I am not more advanced, but it prove that it can be done:
Code:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (root@lepagee-desktop)  Tue Jun 29 20:33:07 EDT 2010

Section "ServerLayout"
    Identifier    "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0" #1680 0
        Screen      2  "Screen2" RightOf "Screen1" #3360 0
#        Screen      3  "Screen3" RightOf "Screen2" #4726 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option        "Xinerama" "1"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from data in "/etc/conf.d/gpm"
    Identifier    "Mouse0"
    Driver        "mouse"
    Option        "Protocol"
    Option        "Device" "/dev/input/mice"
    Option        "Emulate3Buttons" "no"
    Option        "ZAxisMapping" "4 5"
EndSection

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

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier    "Monitor1"
    VendorName    "Unknown"
    ModelName      "Acer B223W"
    HorizSync      30.0 - 83.0
    VertRefresh    56.0 - 76.0
    Option        "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier    "Monitor0"
    VendorName    "Unknown"
    ModelName      "Acer B223W"
    HorizSync      30.0 - 83.0
    VertRefresh    56.0 - 76.0
    Option        "DPMS"
EndSection

Section "Monitor"
  #DisplaySize    410  260 # mm
  Identifier  "Monitor2"
  VendorName  "NEC"
  ModelName    "SAMSUNG"
#  HorizSync    30.0 - 61.0
#  VertRefresh  60.0 - 75.0
  Option      "PreferredMode"  "1280x1024"
  Option      "DPMS"
EndSection

Section "Monitor"
  #DisplaySize    410  260 # mm
  Identifier  "Monitor3"
  VendorName  "SAM"
  Option      "PreferredMode"  "1366x768"
  ModelName    "17"
  Option "RightOf"  "Monitor2"
#  HorizSync    30.0 - 61.0
#  VertRefresh  60.0 - 75.0
  Option      "DPMS"
EndSection

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

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

Section "Device"
  Identifier  "Device2"
  Driver      "radeon"
  Option      "DynamicClocks" "on"
  Option      "RenderAccel" "on"
  Option      "EnablePageFlip" "on"
  VendorName  "ATI Technologies Inc"
  BoardName  "Unknown Board"
  BusID      "PCI:1:0:0"
  Option      "CRT2Position" "RightOf"
  Option      "MetaModes" "1280x1024-1366x768"
#  Option      "MergedNonRectangular" "true"
  #Option          "monitor-DVI-0" "Monitor2"
  Option          "monitor-VGA" "Monitor3"
  #Screen      2
EndSection

#Section "Device"
#  Identifier  "Device3"
#  Driver      "radeon"
#  Option      "DynamicClocks" "on"
#  VendorName  "ATI Technologies Inc"
#  BoardName  "Unknown Board"
#  BusID      "PCI:1:0:0"
#  #Option      "monitor-VGA-0" "Monitor3"
#  #Screen      2
#EndSection

Section "Screen"
    Identifier    "Screen1"
    Device        "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option        "TwinView" "0"
    Option        "metamodes" "DFP-1: nvidia-auto-select +0+0"
    SubSection    "Display"
        Depth      24
        Modes      "1680x1050"
    EndSubSection
EndSection

Section "Screen"
    Identifier    "Screen0"
    Device        "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option        "TwinView" "0"
    Option        "metamodes" "DFP-0: nvidia-auto-select +0+0"
    SubSection    "Display"
        Depth      24
        Modes      "1680x1050"
    EndSubSection
EndSection


Section "Screen"
  Identifier "Screen2"
  Device    "Device2"
  Monitor    "Monitor2"
  SubSection "Display"
      Viewport  0 0
      Depth    24
      Modes      "1280x1024"
      Virtual    2646 1024
  EndSubSection
EndSection

#Section "Screen"
#  Identifier "Screen3"
#  Device    "Device3"
#  Monitor    "Monitor3"
#  SubSection "Display"
#      Viewport  0 0
#      Depth    24
#      Modes      "1366x768"
#  EndSubSection
#EndSection

This one is much better. It create 3 screens too, but the two ATI are merged in a big virtual screen. It can't work because the resolution is not the same, so I lose a part of the window when they are fullscreen. But again, it prove that it can be done. I now have 4 screen with different content.
Code:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (root@lepagee-desktop)  Tue Jun 29 20:33:07 EDT 2010

Section "ServerLayout"
    Identifier    "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0" #1680 0
        Screen      2  "Screen2" RightOf "Screen1" #3360 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option        "Xinerama" "1"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from data in "/etc/conf.d/gpm"
    Identifier    "Mouse0"
    Driver        "mouse"
    Option        "Protocol"
    Option        "Device" "/dev/input/mice"
    Option        "Emulate3Buttons" "no"
    Option        "ZAxisMapping" "4 5"
EndSection

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

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier    "Monitor1"
    VendorName    "Unknown"
    ModelName      "Acer B223W"
    HorizSync      30.0 - 83.0
    VertRefresh    56.0 - 76.0
    Option        "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier    "Monitor0"
    VendorName    "Unknown"
    ModelName      "Acer B223W"
    HorizSync      30.0 - 83.0
    VertRefresh    56.0 - 76.0
    Option        "DPMS"
EndSection

Section "Monitor"
  Identifier  "Monitor2"
  VendorName  "NEC"
  ModelName    "LCD175VX"
  Option      "PreferredMode"  "1280x1024"
  Option      "Primary"    "True"
  Option      "DPMS"
EndSection

Section "Monitor"
  Identifier  "Monitor3"
  VendorName  "SAM"
  Option      "PreferredMode"  "1360x768"
  Option      "RightOf"  "Monitor2"
  Option      "Primary"    "False"
  Option      "DPMS"
EndSection

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

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

Section "Device"
  Identifier  "Device2"
  Driver      "radeon"
  VendorName  "ATI Technologies Inc"
  BoardName  "Unknown Board"
  BusID      "PCI:1:0:0"
  Option      "MergedNonRectangular" "true"
  Option      "monitor-DVI-0" "Monitor2"
  Option      "monitor-VGA-0" "Monitor3"
EndSection

Section "Screen"
    Identifier    "Screen1"
    Device        "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option        "TwinView" "0"
    Option        "metamodes" "DFP-1: nvidia-auto-select +0+0"
    SubSection    "Display"
        Depth      24
        Modes      "1680x1050"
    EndSubSection
EndSection

Section "Screen"
    Identifier    "Screen0"
    Device        "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option        "TwinView" "0"
    Option        "metamodes" "DFP-0: nvidia-auto-select +0+0"
    SubSection    "Display"
        Depth      24
        Modes      "1680x1050"
    EndSubSection
EndSection


Section "Screen"
  Identifier    "Screen2"
  Device        "Device2"
  Monitor      "Monitor2"
  DefaultDepth  24
  SubSection "Display"
      Depth      24
      Modes      "1280x1024"
      Virtual    2640 1024
  EndSubSection
EndSection



All times are GMT -5. The time now is 02:35 PM.