Cloter M wrote:
Hello, first post, so please be patient.

I´m thinking about setting up FGFS with multiple displays in linux (debian etch). I can configure multiple video cards for X and I can get around the XML files, but can somebody point me at the right documentation that can tell me how to set this up? Also, is there a (successful) similar project that I can learn from? Thanks!

I'm running FGFS on a triple head setup at a resolution of 3840x1024
pixels where the first two LCDs are connected to the first nvidia
card (running in twinview mode) and the third LCD is connected to
the second nvidia card (tied in to the other two LCDs using
Xinerama). FGFS will work out of the box, but the default fov (80?)
is not convenient - 116 works better for me. Also, a 3D Cockpit
is somewhat mandatory *g*.

This is the script i'm using to start FGFS in a separate X-Server:

---- 8< ----

xauth add :1 . e35a4dd7ad107110869f6972fa8326bb

export __GL_FSAA_MODE=5

xinit /usr/bin/fgfs $* \
  --geometry=3840x1024 \
  --timeofday=noon \
  --fov=116 \
  -- :1 -xf86config xorg.conf-3840x1024

---- >8 ----

xorg.conf-3840x1024 (sample attached) needs to be placed into /etc/X11.

The pro of starting another X-server is that you can easily switch
between FGFS and the Desktop with CTRL+ALT+F7 and CTRL+ALT+F8.
Also, the pre 8000-series nvidia cards have a limit of 4096x4096
pixels, so i'm running the desktop at 4800x1200 (3x 1600x1200)
but games at 3840x1024 (3x 1280x1024). G80+ chips should overcome
that limit, but i tried out some 8xxx card about a year ago but
could get 4800x1200.

regards

Bernhard
Section "ServerLayout"
        Identifier   "Layout0"
        InputDevice  "Keyboard0" "CoreKeyboard"
        InputDevice  "Mouse0"    "CorePointer"
        Option       "Clone"     "off"
        Option       "Xinerama"  "on"
        Option       "XineramaInfo" "3840x1024+0+0"
        Screen       0           "Screen0"
        Screen       1           "Screen1" RightOf "Screen0"
EndSection

Section "Module"
        Load         "glx"
        Load         "extmod"
        Load         "dbe"
EndSection

Section "InputDevice"
        Identifier   "Keyboard0"
        Driver       "kbd"
        Option       "XkbModel" "pc105"
        Option       "XkbLayout" "de"
        Option       "XkbVariant" "nodeadkeys"
EndSection

Section "InputDevice"
        Identifier   "Mouse0"
        Driver       "mouse"
        Option       "Protocol" "IMPS/2"
        Option       "Device" "/dev/input/mice"
        Option       "ZAxisMapping" "4 5"
        Option       "Emulate3Buttons" "no"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "LCD Panel 1600x1200"
        HorizSync    31.5 - 90.0
        VertRefresh  60.0 - 60.0
EndSection

Section "Monitor"
        Identifier   "Monitor1"
        VendorName   "Monitor Vendor"
        ModelName    "LCD Panel 1600x1200"
        HorizSync    31.5 - 90.0
        VertRefresh  60.0 - 60.0
EndSection

Section "Device"
        Identifier   "Videocard0"
        Driver       "nvidia"
        VendorName   "Videocard vendor"
        BoardName    "NVIDIA GeForce 7800GTX"
        BusID        "1:0:0"
        Option       "CursorShadow" "1"
        Option       "NoLogo" "1"
        Option       "Coolbits" "1"
        Option       "IgnoreDisplayDevices" "crt,tv"
        Option       "ConnectedMonitor" "dfp,dfp"
        Option       "TwinView" "yes"
        Option       "TwinViewOrientation" "LeftOf"
        Option       "MetaModes" "1280x1024,1280x1024"
        Option       "SecondMonitorHorizSync" "31-90"
        Option       "SecondMonitorVertRefresh" "60-60"
EndSection

Section "Device"
        Identifier   "Videocard1"
        Driver       "nvidia"
        VendorName   "Videocard vendor"
        BoardName    "NVIDIA GeForce 7800GTX"
        BusID        "2:0:0"
        Option       "CursorShadow" "1"
        Option       "NoLogo" "1"
        Option       "Coolbits" "1"
        Option       "IgnoreDisplayDevices" "crt,tv"
        Option       "ConnectedMonitor" "dfp"
EndSection

Section "Screen"
        Identifier   "Screen0"
        Device       "Videocard0"
        Monitor      "Monitor0"
        DefaultDepth 24
        SubSection "Display"
                Viewport  0 0
                Depth     24
                Modes     "1280x1024"
        EndSubSection
EndSection

Section "Screen"
        Identifier   "Screen1"
        Device       "Videocard1"
        Monitor      "Monitor1"
        DefaultDepth 24
        SubSection "Display"
                Viewport  0 0
                Depth     24
                Modes     "1280x1024"
        EndSubSection
EndSection

Section "Extensions"
        Option "Composite" "false"
EndSection

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Flightgear-users mailing list
Flightgear-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to