Aaron,

My xorg.conf

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

Section "ServerFlags"
#       Option "DontZap" "true"
        Option "Xinerama" "true"
        Option "HandleSpecialKeys" "Always"
EndSection

Section "Files"
        ModulePath   "/usr/X11R6/lib/modules"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
        FontPath     "/usr/X11R6/lib/X11/fonts/OTF/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
        Load  "extmod"
        Load  "record"
        Load  "dbe"
        Load  "glx"
        Load  "dri"
        Load  "dri2"
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"
        Option      "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        Option  "DPMS"
EndSection

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

Section "Device"
        Identifier  "Card0"
        Driver      "nv"
        VendorName  "NVIDIA"
        BoardName   "NVidia Quadro FX 380"
        BusID       "PCI:3:0:0"
        Screen  0
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth    24
        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
                Modes   "1280x1024"
                Modes   "1024x768"
                Virtual 2600 2600
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen1"
        Device     "Card0"
        Monitor    "Monitor1"
        DefaultDepth    24
        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
                Modes   "1280x1024"
                Modes   "1024x768"
        EndSubSection
EndSection

my .xinitrc
exec /usr/local/bin/gnome-session

once I am in GNOME, I get duplicated left/right screens so then I do
this in xterm/gnome-terminal

xrandr --output DVI1 --right-of DVI0

Hope that helps somebody. This is with latest cvs sources as of today,
build userland/xenocara. Matthieu Herb has done lots of great commits
bringing X.org updates to OpenBSD.

I never could figure out how to do the same in FreeBSD. I guess it was
easier to use proprietary NVidia driver but I am not using FreeBSD
anymore.

Thanks
P.S I know above conf is not pretty, but it works for now, will trim it later.

On Wed, Nov 3, 2010 at 5:38 AM, Henning Brauer <[email protected]> wrote:
> * Henning Brauer <[email protected]> [2010-11-03 11:03]:
>> and if you think X is bad on openbsd, you have no idea how much work
>> matthieu and oga put in it to make it suck less. try another platform
>> and be surprised how much works how well on openbsd.
>
> i missed the opportunity for one of the greatest jokes ever. i suck.
>
> "Free"BSD on a laptop.
>
> bwahahahahahaha
>
> --
> Henning Brauer, [email protected], [email protected]
> BS Web Services, http://bsws.de
> Full-Service ISP - Secure Hosting, Mail and DNS Services
> Dedicated Servers, Rootservers, Application Hosting

Reply via email to