Subject: Dual head with XFree86 4.5.0 nv driver?
To: None <netbsd-help@netbsd.org>
From: Scott Presnell <srp@tworoads.net>
List: netbsd-help
Date: 11/21/2005 08:51:33
Hi Folks,
	I recently obtained a Dell Precision 380 with a NVidia Quatro4 NVS 285
Graphics card.  I can setup a single headed display which works as expected,
but I've not been able to correctly configure XFree86 for a dual headed setup.
Under my trial XF86Config the "LeftScreen" works fine, but  I get nothing on the
"RightScreen" display, the monitor itself presents a message "signal out of range"
(as opposed to "no signal" when not connected).  When not in X, the second monitor
tracks the first (e.g. during boot), but after going in and out of X, th second
monitor studders, or scrolls only some of the time.

I can confirm that the harware combination does work (via winXP configuration).

I understand that the nv driver is not the best for a dual head display.  So I'm
asking: 

1) Does this configuration look correct?

2) I don't see any changes to the nv driver in addition to the 4.5.0 import,
does anybody have patches or hints to guide me?

3) Xorg - does anyone have a dual headed nvidia card working under pkg based Xorg
server?

	Any help would be appreciated.  Thanks.

	- Scott

Hardware:

A single card, with a single connector, which "Y"s into two sub-D analog connectors;
two LCD screens.

System:

(this is from a snapshot around the middle of August 2005).

Free86 Version 4.5.0
Release Date: 16 March 2005
X Protocol Version 11, Revision 0
Build Operating System:NetBSD/i386 3.0_BETA - The NetBSD Foundation, Inc.
Current Operating System: NetBSD aragon.tworoads.net 3.99.7 NetBSD 3.99.7 (GENERIC.MPACPI) #0: Sat Nov 12 08:56:34 PST 2005  root@dhcp2:/usr/src/sys/arch/i386/compile/GENERIC.MPACPI i386

Display:

vga0 at pci1 dev 0 function 0: Nvidia product 0x0165 (rev. 0xa1)
vga0: WARNING: ignoring 64-bit BAR @ 0x14
vga0: WARNING: ignoring 64-bit BAR @ 0x1c
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0

XF86Config:

Section "Monitor"

    Identifier  "Princeton VL193"
    HorizSync   31.0-69.0
    VertRefresh 55.0-120.0
    Option "DPMS"

EndSection

Section "Monitor"

    Identifier  "Princeton VL1918"
    HorizSync   31.0-80.0
    VertRefresh 55.0-120.0
    Option "DPMS"

EndSection

Section "Device"
#    Identifier  "NVidia Quatro4 NVS 285"
    Identifier  "Card0"
    Driver      "nv"
#    BusID      "PCI:0:10:0"
    Option "DDCMode" "on"
    Option "DPMS"
    Screen 0

EndSection

# Device configured by xf86config:
Section "Device"
#    Identifier  "NVidia Quatro4 NVS 285"
    Identifier  "Card1"
    Driver      "nv"
#    BusID      "PCI:0:10:0"
    Option "DDCMode" "on"
    Option "DPMS"
    Screen 1
EndSection


Section "Screen"
    Identifier  "LeftScreen"
    Device      "Card0"
    Monitor     "Princeton VL1918"
    DefaultDepth 16

    Subsection "Display"
        Depth       8
#        Modes       "640x480" "800x600" "1024x768" "1280x1024"
        Modes       "1280x1024"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
#        Modes       "640x480" "800x600" "1024x768" "1280x1024"
        Modes       "1280x1024"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
#        Modes       "640x480" "800x600" "1024x768" "1280x1024"
        Modes       "1280x1024"
        ViewPort    0 0
    EndSubsection
EndSection

Section "Screen"
    Identifier  "RightScreen"
#    Device      "NVidia Quatro4 NVS 285"
    Device	 "Card1"
    Monitor     "Princeton VL193"
    DefaultDepth 16

    Subsection "Display"
        Depth       8
#        Modes       "640x480" "800x600" "1024x768" "1280x1024"
        Modes       "1280x1024"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
#        Modes       "640x480" "800x600" "1024x768" "1280x1024"
        Modes       "1280x1024"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
#        Modes       "640x480" "800x600" "1024x768" "1280x1024"
        Modes       "1280x1024"
        ViewPort    0 0
    EndSubsection
EndSection

Section "ServerLayout"

    Identifier  "Dual Layout"
    Screen      0  "LeftScreen" 0 0
    Screen      1  "RightScreen" RightOf "LeftScreen"

    Option "Clone" "off"
    Option "Xinerama" "off"

    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection