Multi-Card on FreeBSD

Douglas K. Rand rand at meridian-enviro.com
Tue Jan 4 15:50:51 PST 2011


I'm having difficulity getting a multi card (actually a nVidia Quadro
NVS 440 which has two GPUs on board for four DVI outputs) working with
recent xorg servers. Everything worked good with xorg-server 1.6.5,
but upgrading to anything more recent will only work on one GPU. 

I seem to be running into the problem where FreeBSD doesn't have a
kernel VGA arbiter. After upgrading to FreeBSD 8.1 and X.Org 1.7.5
(from FreeBSD 8.0 and X.Org 1.6.5) I keep getting these warnings and
errors in my Xorg log:

  (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
  (EE) Aug 06 17:42:49 NVIDIA(2): Failed to initialize the NVIDIA graphics device!
  (EE) Aug 06 17:42:49 NVIDIA(GPU-1): Failed to initialize the NVIDIA graphics device!

I have a nVidia Quadro NVS 440 which is a single PCI-Express card with
two GPUs onboard. It pretends to be two different cards. I cannot get
both GPUs to start. I have 3 monitors connected, but any attempts to
use more than one GPU fails.

Might anybody have some thoughts?

   -- Doug

-------------- next part --------------
X.Org X Server 1.7.5
Release Date: 2010-02-16
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 8.1-RELEASE i386 
Current Operating System: FreeBSD delta.meridian-enviro.com 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010     root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
Build Date: 21 August 2010  05:00:38PM
 
Current version of pixman: 0.16.6
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Oct 11 08:21:22 2010
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Bygland"
(**) |-->Screen "Screen 0" (0)
(**) |   |-->Monitor "<default monitor>"
(**) |   |-->Device "nVidia Head 0"
(==) No monitor specified for screen "Screen 0".
	Using a default monitor configuration.
(**) |-->Screen "Screen 1" (1)
(**) |   |-->Monitor "<default monitor>"
(**) |   |-->Device "nVidia Head 1"
(==) No monitor specified for screen "Screen 1".
	Using a default monitor configuration.
(**) |-->Screen "Screen 2" (2)
(**) |   |-->Monitor "<default monitor>"
(**) |   |-->Device "nVidia Head 2"
(==) No monitor specified for screen "Screen 2".
	Using a default monitor configuration.
(**) Option "Xinerama" "on"
(**) Option "AIGLX" "on"
(==) Automatically adding devices
(==) Automatically enabling devices
(**) Xinerama: enabled
(==) FontPath set to:
	/usr/local/lib/X11/fonts/misc/,
	/usr/local/lib/X11/fonts/TTF/,
	/usr/local/lib/X11/fonts/OTF,
	/usr/local/lib/X11/fonts/Type1/,
	/usr/local/lib/X11/fonts/100dpi/,
	/usr/local/lib/X11/fonts/75dpi/
(==) ModulePath set to "/usr/local/lib/xorg/modules"
(II) Cannot locate a core pointer device.
(II) Cannot locate a core keyboard device.
(II) The server relies on HAL to provide the list of input devices.
	If no devices become available, reconfigure HAL or disable AutoAddDevices.
(II) Loader magic: 0x81def20
(II) Module ABI versions:
	X.Org ANSI C Emulation: 0.4
	X.Org Video Driver: 6.0
	X.Org XInput driver : 7.0
	X.Org Server Extension : 2.0
(--) Using syscons driver with X support (version 2.0)
(--) using VT number 9

(!!) More than one possible primary device found
(--) PCI: (0:3:0:0) 10de:014a:10de:0234 nVidia Corporation NV43 [Quadro NVS 440] rev 162, Mem @ 0xc8000000/67108864, 0xb8000000/134217728, 0xce000000/16777216, BIOS @ 0x????????/65536
(--) PCI: (0:4:0:0) 10de:014a:10de:0234 nVidia Corporation NV43 [Quadro NVS 440] rev 162, Mem @ 0xc6000000/16777216, BIOS @ 0x????????/65536
(II) LoadModule: "extmod"
(II) Loading /usr/local/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
	compiled for 1.7.5, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/local/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
	compiled for 1.7.5, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
	compiled for 4.0.2, module version = 1.0.0
	Module class: X.Org Server Extension
(II) NVIDIA GLX Module  256.53  Fri Aug 27 20:49:59 PDT 2010
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/local/lib/xorg/modules/extensions/librecord.so
(II) Module record: vendor="X.Org Foundation"
	compiled for 1.7.5, module version = 1.13.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "dri"
(II) Loading /usr/local/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
	compiled for 1.7.5, module version = 1.0.0
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/local/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
	compiled for 1.7.5, module version = 1.1.0
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "nvidia"
(II) Loading /usr/local/lib/xorg/modules/drivers/nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
	compiled for 4.0.2, module version = 1.0.0
	Module class: X.Org Video Driver
(II) NVIDIA dlloader X Driver  256.53  Fri Aug 27 20:29:54 PDT 2010
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: 
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/local/lib/xorg/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
	compiled for 1.7.5, module version = 1.0.0
	ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "wfb"
(II) LoadModule: "wfb"
(II) Loading /usr/local/lib/xorg/modules/libwfb.so
(II) Module wfb: vendor="X.Org Foundation"
	compiled for 1.7.5, module version = 1.0.0
	ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Module "ramdac" already built-in
(WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
(II) NVIDIA(0): Creating default Display subsection in Screen section
	"Screen 0" for depth/fbbpp 24/32
(==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) Oct 11 08:21:23 NVIDIA(0): Enabling RENDER acceleration
(II) Oct 11 08:21:23 NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
(II) Oct 11 08:21:23 NVIDIA(0):     enabled.
(II) Oct 11 08:21:24 NVIDIA(0): NVIDIA GPU Quadro NVS 440 (NV43GL) at PCI:3:0:0 (GPU-0)
(--) Oct 11 08:21:24 NVIDIA(0): Memory: 131072 kBytes
(--) Oct 11 08:21:24 NVIDIA(0): VideoBIOS: 05.43.02.88.03
(II) Oct 11 08:21:24 NVIDIA(0): Detected PCI Express Link width: 16X
(--) Oct 11 08:21:24 NVIDIA(0): Interlaced video modes are supported on this GPU
(--) Oct 11 08:21:24 NVIDIA(0): Connected display device(s) on Quadro NVS 440 at PCI:3:0:0:
(--) Oct 11 08:21:24 NVIDIA(0):     DELL 2408WFP (DFP-0)
(--) Oct 11 08:21:24 NVIDIA(0):     DELL 2407WFP (DFP-1)
(--) Oct 11 08:21:24 NVIDIA(0): DELL 2408WFP (DFP-0): 155.0 MHz maximum pixel clock
(--) Oct 11 08:21:24 NVIDIA(0): DELL 2408WFP (DFP-0): Internal Single Link TMDS
(--) Oct 11 08:21:24 NVIDIA(0): DELL 2407WFP (DFP-1): 155.0 MHz maximum pixel clock
(--) Oct 11 08:21:24 NVIDIA(0): DELL 2407WFP (DFP-1): Internal Single Link TMDS
(II) Oct 11 08:21:24 NVIDIA(0): Assigned Display Device: DFP-0
(==) Oct 11 08:21:24 NVIDIA(0): 
(==) Oct 11 08:21:24 NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
(==) Oct 11 08:21:24 NVIDIA(0):     will be used as the requested mode.
(==) Oct 11 08:21:24 NVIDIA(0): 
(II) Oct 11 08:21:24 NVIDIA(0): Validated modes:
(II) Oct 11 08:21:24 NVIDIA(0):     "nvidia-auto-select"
(II) Oct 11 08:21:24 NVIDIA(0): Virtual screen size determined to be 1920 x 1200
(--) Oct 11 08:21:24 NVIDIA(0): DPI set to (93, 95); computed from "UseEdidDpi" X config
(--) Oct 11 08:21:24 NVIDIA(0):     option
(==) Oct 11 08:21:24 NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
(II) NVIDIA(1): Creating default Display subsection in Screen section
	"Screen 1" for depth/fbbpp 24/32
(==) NVIDIA(1): Depth 24, (==) framebuffer bpp 32
(==) NVIDIA(1): RGB weight 888
(==) NVIDIA(1): Default visual is TrueColor
(==) NVIDIA(1): Using gamma correction (1.0, 1.0, 1.0)
(**) Oct 11 08:21:24 NVIDIA(1): Enabling RENDER acceleration
(II) Oct 11 08:21:24 NVIDIA(1): NVIDIA GPU Quadro NVS 440 (NV43GL) at PCI:3:0:0 (GPU-0)
(--) Oct 11 08:21:24 NVIDIA(1): Memory: 131072 kBytes
(--) Oct 11 08:21:24 NVIDIA(1): VideoBIOS: 05.43.02.88.03
(II) Oct 11 08:21:24 NVIDIA(1): Detected PCI Express Link width: 16X
(--) Oct 11 08:21:24 NVIDIA(1): Interlaced video modes are supported on this GPU
(--) Oct 11 08:21:24 NVIDIA(1): Connected display device(s) on Quadro NVS 440 at PCI:3:0:0:
(--) Oct 11 08:21:24 NVIDIA(1):     DELL 2408WFP (DFP-0)
(--) Oct 11 08:21:24 NVIDIA(1):     DELL 2407WFP (DFP-1)
(--) Oct 11 08:21:24 NVIDIA(1): DELL 2408WFP (DFP-0): 155.0 MHz maximum pixel clock
(--) Oct 11 08:21:24 NVIDIA(1): DELL 2408WFP (DFP-0): Internal Single Link TMDS
(--) Oct 11 08:21:24 NVIDIA(1): DELL 2407WFP (DFP-1): 155.0 MHz maximum pixel clock
(--) Oct 11 08:21:24 NVIDIA(1): DELL 2407WFP (DFP-1): Internal Single Link TMDS
(II) Oct 11 08:21:24 NVIDIA(1): Assigned Display Device: DFP-1
(==) Oct 11 08:21:24 NVIDIA(1): 
(==) Oct 11 08:21:24 NVIDIA(1): No modes were requested; the default mode "nvidia-auto-select"
(==) Oct 11 08:21:24 NVIDIA(1):     will be used as the requested mode.
(==) Oct 11 08:21:24 NVIDIA(1): 
(II) Oct 11 08:21:24 NVIDIA(1): Validated modes:
(II) Oct 11 08:21:24 NVIDIA(1):     "nvidia-auto-select"
(II) Oct 11 08:21:24 NVIDIA(1): Virtual screen size determined to be 1920 x 1200
(--) Oct 11 08:21:24 NVIDIA(1): DPI set to (93, 92); computed from "UseEdidDpi" X config
(--) Oct 11 08:21:24 NVIDIA(1):     option
(==) Oct 11 08:21:24 NVIDIA(1): Enabling 32-bit ARGB GLX visuals.
(II) NVIDIA(2): Creating default Display subsection in Screen section
	"Screen 2" for depth/fbbpp 24/32
(==) NVIDIA(2): Depth 24, (==) framebuffer bpp 32
(==) NVIDIA(2): RGB weight 888
(==) NVIDIA(2): Default visual is TrueColor
(==) NVIDIA(2): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(2): Option "Rotate" "Left"
(**) Oct 11 08:21:24 NVIDIA(2): Enabling RENDER acceleration
(**) Oct 11 08:21:24 NVIDIA(2): Using static 90-degree counterclockwise screen rotation.
(EE) Oct 11 08:21:24 NVIDIA(2): Failed to initialize the NVIDIA graphics device!
(II) UnloadModule: "nvidia"
(II) UnloadModule: "wfb"
(II) UnloadModule: "fb"
(--) Depth 24 pixmap format is 32 bpp
(EE) Oct 11 08:21:24 NVIDIA(GPU-1): Failed to initialize the NVIDIA graphics device!
(II) Oct 11 08:21:24 NVIDIA(0): Initialized GPU GART.
(II) Oct 11 08:21:24 NVIDIA(0): Setting mode "nvidia-auto-select"
(II) Loading extension NV-GLX
(II) Oct 11 08:21:24 NVIDIA(0): Initialized OpenGL Acceleration
(==) NVIDIA(0): Disabling shared memory pixmaps
(II) Oct 11 08:21:24 NVIDIA(0): Initialized X Rendering Acceleration
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(==) NVIDIA(0): DPMS enabled
(II) Loading extension NV-CONTROL
(==) RandR enabled
(II) Oct 11 08:21:24 NVIDIA(1): Initialized GPU GART.
(II) Oct 11 08:21:24 NVIDIA(1): Setting mode "nvidia-auto-select"
(II) Oct 11 08:21:24 NVIDIA(1): Initialized OpenGL Acceleration
(==) NVIDIA(1): Disabling shared memory pixmaps
(II) Oct 11 08:21:24 NVIDIA(1): Initialized X Rendering Acceleration
(==) NVIDIA(1): Backing store disabled
(==) NVIDIA(1): Silken mouse enabled
(==) NVIDIA(1): DPMS enabled
(==) RandR enabled
(II) Initializing built-in extension Generic Event Extension
(II) Initializing built-in extension SHAPE
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension BIG-REQUESTS
(II) Initializing built-in extension SYNC
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-MISC
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing extension GLX
record: RECORD extension enabled at configure time.
record: This extension is known to be broken, disabling extension now..
record: http://bugs.freedesktop.org/show_bug.cgi?id=20500
(II) config/hal: Adding input device Natural Ergonomic Keyboard 4000
(II) LoadModule: "kbd"
(II) Loading /usr/local/lib/xorg/modules/input/kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
	compiled for 1.7.5, module version = 1.4.0
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 7.0
(**) Natural Ergonomic Keyboard 4000: always reports core events
(**) Option "Protocol" "standard"
(**) Natural Ergonomic Keyboard 4000: Protocol: standard
(**) Option "XkbRules" "base"
(**) Natural Ergonomic Keyboard 4000: XkbRules: "base"
(**) Option "XkbModel" "pc105"
(**) Natural Ergonomic Keyboard 4000: XkbModel: "pc105"
(**) Option "XkbLayout" "us"
(**) Natural Ergonomic Keyboard 4000: XkbLayout: "us"
(**) Option "CustomKeycodes" "off"
(**) Natural Ergonomic Keyboard 4000: CustomKeycodes disabled
(II) XINPUT: Adding extended input device "Natural Ergonomic Keyboard 4000" (type: KEYBOARD)
(II) config/hal: Adding input device USB-PS/2 Optical Mouse
(II) LoadModule: "mouse"
(II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
	compiled for 1.7.5, module version = 1.5.0
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 7.0
(**) USB-PS/2 Optical Mouse: Device: "/dev/sysmouse"
(==) USB-PS/2 Optical Mouse: Protocol: "Auto"
(**) USB-PS/2 Optical Mouse: always reports core events
(**) Option "Device" "/dev/sysmouse"
(==) USB-PS/2 Optical Mouse: Emulate3Buttons, Emulate3Timeout: 50
(**) USB-PS/2 Optical Mouse: ZAxisMapping: buttons 4 and 5
(**) USB-PS/2 Optical Mouse: Buttons: 9
(**) USB-PS/2 Optical Mouse: Sensitivity: 1
(II) XINPUT: Adding extended input device "USB-PS/2 Optical Mouse" (type: MOUSE)
(**) USB-PS/2 Optical Mouse: (accel) keeping acceleration scheme 1
(**) USB-PS/2 Optical Mouse: (accel) acceleration profile 0
(II) USB-PS/2 Optical Mouse: SetupAuto: hw.iftype is 4, hw.model is 0
(II) USB-PS/2 Optical Mouse: SetupAuto: protocol is SysMouse
(II) config/hal: Adding input device AT Keyboard
(**) AT Keyboard: always reports core events
(**) Option "Protocol" "standard"
(**) AT Keyboard: Protocol: standard
(**) Option "XkbRules" "base"
(**) AT Keyboard: XkbRules: "base"
(**) Option "XkbModel" "pc105"
(**) AT Keyboard: XkbModel: "pc105"
(**) Option "XkbLayout" "us"
(**) AT Keyboard: XkbLayout: "us"
(**) Option "CustomKeycodes" "off"
(**) AT Keyboard: CustomKeycodes disabled
(II) XINPUT: Adding extended input device "AT Keyboard" (type: KEYBOARD)
(II) UnloadModule: "kbd"
(II) UnloadModule: "mouse"
(II) UnloadModule: "kbd"
-------------- next part --------------

-------------- next part --------------
Section "ServerLayout"
	Identifier	"Bygland"
	Screen		0 "Screen 0"
	Screen		1 "Screen 1" LeftOf  "Screen 0"
	Screen		2 "Screen 2" RightOf "Screen 0"
	Option		"Clone" "off"
	Option		"Xinerama" "on"
	Option		"AIGLX" "on"
EndSection

Section "Device"
	Identifier	"nVidia Head 0"
	VendorName	"nVidia"
	Driver		"nvidia"
	Screen		0
	BusID		"PCI:3:0:0"
EndSection

Section "Device"
	Identifier	"nVidia Head 1"
	VendorName	"nVidia"
	Driver		"nvidia"
	Screen		1
	BusID		"PCI:3:0:0"
EndSection

Section "Device"
	Identifier	"nVidia Head 2"
	VendorName	"nVidia"
	Driver		"nvidia"
	Screen		0
	BusID		"PCI:4:0:0"
EndSection

Section "Screen"
	Identifier		"Screen 0"
	Device			"nVidia Head 0"
EndSection

Section "Screen"
	Identifier		"Screen 1"
	Device			"nVidia Head 1"
EndSection

Section "Screen"
	Identifier		"Screen 2"
	Device			"nVidia Head 2"
	Option			"Rotate" "Left"
EndSection


More information about the xorg mailing list