PDA

View Full Version : [SOLVED] Two nVidia cards won't work together...



formaldehyde_spoon
September 7th, 2010, 03:32 AM
My computer came with a Geforce GT240, and I've been running two screens on that (btw it has VGA and DVI ports that I've been using, but also has an HDMI port; can I run a third screen on that?), but I needed more room, so bought a GeForce FX5200 (only had PCI slots available) to run a third screen.

I was running 10.04, and if I entered lspci I could see both cards, but other than that it was as though the FX5200 didn't exist - it wouldn't show up in nvidia-settings.

After searching a bit I decided to merge an xorg.cong file for each card into one new xorg.conf. I had to install 9.10 to do this, if that makes any difference (because 10.04 refused to start X when only the FX5200 was inserted).

This is a working single screen xorg.conf for the GT240, from before the FX5200 came along (10.04):

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

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
Option "TwinView" "1"
Option "TwinViewXineramaInfoOrder" "CRT-1"
Option "metamodes" "CRT: nvidia-auto-select +0+0, DFP: nvidia-auto-select +1920+0"
Option "SLI" "Auto"
Option "AddARGBGLXVisuals" "True"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Module"
Load "glx"
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"
# generated from default
EndSection

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection

Section "Device"
Identifier "Device0"
VendorName "NVIDIA Corporation"
BoardName "GeForce GT 240"
Driver "nvidia"
Option "NoLogo" "True"
EndSection
And this is the xorg.conf that was generated by "Xorg -configure" and then nvidia-settings when the GT240 was removed and only the FX5200 was plugged in (9.10):
-- BTW the GeForce 6150 is the integrated graphics which gets disabled with the GT240 but not the FX5200. There was no screen plugged into it, despite what it says.

Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "built-ins"
EndSection

Section "Module"
Load "dri"
Load "extmod"
Load "glx"
Load "dri2"
Load "dbe"
Load "record"
EndSection

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

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

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Toshiba PA3768"
HorizSync 24.0 - 80.0
VertRefresh 56.0 - 75.0
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection

Section "Device"
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "NV34 [GeForce FX 5200]"
BusID "PCI:1:6:0"
EndSection

Section "Device"
Identifier "Card1"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "C61 [GeForce 6150SE nForce 430]"
BusID "PCI:0:13:0"
EndSection

Section "Device" #added by nvidia, just duplicates Card0
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce FX 5200"
BusID "PCI:1:6:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "1440x900 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Card1"
Monitor "Monitor1"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSectionI merged them into this (I'm just trying to get two monitors on two cards working now):

#my combines xorg.cof, using original one for GT240, and the working one for FX5200

##########################

Section "Monitor"
Identifier "AcerMon"
VendorName "Unknown"
ModelName "Acer P244W"
HorizSync 31.0 - 83.0
VertRefresh 56.0 - 76.0
Option "DPMS"
# HorizSync source: edid, VertRefresh source: edid
EndSection


Section "Monitor"
Identifier "ToshMon"
VendorName "Unknown"
ModelName "Toshiba PA3768"
HorizSync 24.0 - 80.0
VertRefresh 56.0 - 75.0
EndSection


#############################

Section "Device"
Identifier "GT240card"
VendorName "NVIDIA Corporation"
BoardName "GeForce GT 240"
Driver "nvidia"
Option "NoLogo" "True"
BusID "PCI:2:0:0"
EndSection


Section "Device"
Identifier "FX5200card"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce FX 5200" # also "NV34 [GeForce FX 5200]"
BusID "PCI:1:6:0"
EndSection


##########################

Section "Screen"
Identifier "Screen0"
Device "GT240card"
Monitor "AcerMon"
Option "TwinView" "0"
Option "TwinViewXineramaInfoOrder" "CRT-1"
Option "metamodes" "CRT: nvidia-auto-select +0+0, DFP: nvidia-auto-select +0+0"
Option "SLI" "Auto"
Option "AddARGBGLXVisuals" "True"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "FX5200card"
Monitor "ToshMon"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "1440x900 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection


######################

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection



##################

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

Section "InputDevice" # from 5200 file
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection


######################

Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "built-ins"
EndSection

Section "Module"
Load "dri"
Load "extmod"
Load "glx"
Load "dri2"
Load "dbe"
Load "record"
EndSectionI'm reasonably confident that this xorg.conf is fine, but X won't start when I try to boot with this file.
Have I got xorg.conf right?
Is the problem now the drivers? Hardware Drivers only seems to have room for a single video driver?
It recommends 173 for the FX5200, and 185 for the GT240, but I can only choose one or the other, and in xorg.conf both cards just list their driver as "nvidia", so I'm wondering if the drivers for these two cards are incompatible, and I need to somehow install and use two separate drivers?

formaldehyde_spoon
September 7th, 2010, 05:25 AM
Back in my bizarro world here, 10.04 suddenly WILL load X with only the FX5200 - not sure what I did to make that happen.

Anyway, I am now 99.9% sure that the problem is the drivers, and that I need a separate driver for each card - if trying the GT240 with the old ver. 173 driver, Ubuntu explicitly says the card won't work with this driver. And if I have the FX5200 working with the 173 driver and then upgrade to the latest driver and restart Ubuntu goes into it's low-res mode (through the GT240!).

So I'm now convinced (perhaps others reading this already knew ;) ) that the drivers are incompatible, but how do I now go about installing two different nvidia drivers alongside each other, and get the two cards to use their respective drivers?


Marking this solved, don't think it's an accurate representation of my problem anymore, more here: http://ubuntuforums.org/showthread.php?p=9817070