Subject: Howto nvidia dual head netbsd. [SEC=UNCLASSIFIED]
To: None <netbsd-users@NetBSD.org>
From: Paul (NCC/CS) <pts@bom.gov.au>
List: netbsd-users
Date: 08/09/2007 18:57:39
Hi all,

for those now or in the future that wish to use this card:
nvidia quadro nvs 285      device pci id: 0x0165

the magic words are:
        Option     "DualHead"   "true"
There exists a new option called this with the modular xorg nvidia
driver.
IFF you use the latest pkgsrc. =3D=3D> CVS. as at 9/8/7.


here's my whole config xorg.conf below.

Note, no Xinerama required.
And as a result of the way it's now done,
Xscreensaver runs across the 2 screens at once.
Whereas with Xinerama, it ran 2 screensavers.:).

cheers,
Paul.




humphrey% t  xorg.conf

Section "Files"
        RgbPath      "/usr/pkg/share/X11/rgb"
        ModulePath   "/usr/pkg/lib/xorg/modules"
        FontPath     "/usr/pkg/lib/X11/fonts/misc/"
        FontPath     "/usr/pkg/lib/X11/fonts/TTF/"
        FontPath     "/usr/pkg/lib/X11/fonts/OTF"
        FontPath     "/usr/pkg/lib/X11/fonts/Type1/"
        FontPath     "/usr/pkg/lib/X11/fonts/100dpi/"
        FontPath     "/usr/pkg/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
        Load  "extmod"
        Load  "record"
        Load  "dbe"
        Load  "xtrap"
        Load  "dri"
        Load  "freetype"
        Load  "type1"
EndSection

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

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

Section "Monitor"
        #DisplaySize      340   270     # mm
        Identifier   "Monitor0"
        VendorName   "SAM"
        ModelName    "SyncMaster"
 ### Comment all HorizSync and VertRefresh values to use DDC:
        HorizSync    30.0 - 81.0
        VertRefresh  56.0 - 75.0
        Option      "DPMS"
EndSection


Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"                  # [<bool>]
        #Option     "HWcursor"                  # [<bool>]
        #Option     "NoAccel"                   # [<bool>]
        #Option     "ShadowFB"                  # [<bool>]
        #Option     "UseFBDev"                  # [<bool>]
        #Option     "Rotate"                    # [<str>]
        #Option     "VideoKey"                  # <i>
        #Option     "FlatPanel"                 # [<bool>]
        #Option     "FPDither"                  # [<bool>]
        #Option     "CrtcNumber"                # <i>
        #Option     "FPScale"                   # [<bool>]
        #Option     "FPTweak"                   # <i>
        #Option     "DualHead"                  # [<bool>]
        Option     "DualHead"   "true"
        Identifier  "Card0"
        Driver      "nv"
        VendorName  "nVidia Corporation"
        BoardName   "NV44 [Quadro NVS 285]"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        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
EndSection


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



humphrey%=20
humphrey%=20
humphrey%=20











=20

-----Original Message-----
From: Matthias Scheler [mailto:tron@zhadum.org.uk]=20
Sent: Wednesday, August 08, 2007 5:41 PM
To: Paul (NCC/CS)
Subject: Re: Can't build xbiff? [SEC=3DUNCLASSIFIED]

On Wed, Aug 08, 2007 at 05:27:48PM +1000, Paul (NCC/CS) wrote:
> Was about to post when I noticed the new option dual-head In the=20
> device section.
> And so it works.

Can you please send the important bit of the configuration to
<netbsd-users@NetBSD.org>? That might help other people in the future.

	Thanks in advance

--=20
Matthias Scheler                                  http://zhadum.org.uk/