LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-08-2010, 07:52 PM   #1
Elv13
Member
 
Registered: Apr 2006
Location: Montreal,Quebec
Distribution: Gentoo
Posts: 825

Rep: Reputation: 129Reputation: 129
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
 
Old 10-09-2010, 02:52 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,141

Rep: Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307Reputation: 2307
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
 
Old 10-09-2010, 02:04 PM   #3
Elv13
Member
 
Registered: Apr 2006
Location: Montreal,Quebec
Distribution: Gentoo
Posts: 825

Original Poster
Rep: Reputation: 129Reputation: 129
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

Last edited by Elv13; 10-09-2010 at 03:34 PM. Reason: More work
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Time to reward ATI/AMD for their OSS drivers? bobdevis Linux - Hardware 1 11-15-2008 03:51 AM
Dual display - Ati Mobility Radeon 9700/xorg/SuSE 10 OSS Sn3f3ru Linux - Laptop and Netbook 2 04-13-2006 04:03 PM
OSS driver working with nvidia MCP51 LinToWinWin Linux - Hardware 1 03-04-2006 01:50 AM
ATI Driver failing to detect X850XT PE AGP on SuSE 10 OSS 32-Bit Electrolyte Linux - Hardware 29 02-18-2006 08:01 AM
Ati driver a bit unstable but no different than nvidia..ati benchmark inside. spade Slackware 1 10-06-2004 12:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration