Bug 20878

Summary: Xorg server does not properly autodetect dual nVidia graphics cards
Product: xorg Reporter: Stephen Gallagher <sgallagh>
Component: Server/GeneralAssignee: Nouveau Project <nouveau>
Status: RESOLVED DUPLICATE QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: 7.4 (2008.09)   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
X.org log demonstrating the error none

Description Stephen Gallagher 2009-03-26 05:42:50 UTC
Created attachment 24273 [details]
X.org log demonstrating the error

When starting the X server, it detects that there are "More than one possible primary device found"

(!!) More than one possible primary device found
(--) PCI: (0@3:0:0) nVidia Corporation G94 [GeForce 9600 GT] rev 161, Mem @ 0xf4000000/16777216, 0xc0000000/268435456, 0xf2000000/33554432, I/O @ 0x0000ac00/128, BIOS @ 0x????????/524288
(--) PCI: (0@5:0:0) nVidia Corporation G94 [GeForce 9600 GT] rev 161, Mem @ 0xf8000000/16777216, 0xd0000000/268435456, 0xf6000000/33554432, I/O @ 0x00008c00/128, BIOS @ 0x????????/524288


The X server will then attempt to invoke the VESA driver instead of the Nouveau driver (this is on the Fedora 11 Nouveau Test Day LiveCD)

Ultimately it will fail with:
Fatal server error:
AddScreen/ScreenInit failed for driver 0


However, if I manually add the following to an xorg.conf file, it loads correctly.
Section "Device"
	Identifier  "Videocard0"
	BusID       "PCI:3:0:0"
	Driver      "nouveau"
EndSection

Section "Device"
	Identifier	"Videocard1"
	BusID		"PCI:5:0:0"
	Driver		"nouveau"
EndSection


The correct behavior of the X server should be to automatically generate these entries for each card.
Comment 1 Julien Cristau 2009-03-26 10:46:28 UTC

*** This bug has been marked as a duplicate of bug 18321 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.