381
edits
(Config Files) |
(/* Configuration files: rendering.xml) |
||
Line 57: | Line 57: | ||
=== Configuration files === | === Configuration files === | ||
Here are the config files for the multi-gpu machine. | Here are the config files for the multi-gpu machine. | ||
/etc/X11/xorg.conf | ==== /etc/X11/xorg.conf ==== | ||
Section "ServerLayout" | Section "ServerLayout" | ||
Identifier "Layout0" | Identifier "Layout0" | ||
Line 313: | Line 313: | ||
EndSubSection | EndSubSection | ||
EndSection | EndSection | ||
==== rendering.xml ==== | |||
Run flightgear with --config=rendering.xml | |||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |||
<PropertyList> | |||
<sim> | |||
<model> | |||
<hide-model type="bool">true</hide-model> | |||
</model> | |||
<menubar> | |||
<visibility type="bool">false</visibility> | |||
</menubar> | |||
<view n="0"> | |||
<config> | |||
<pitch-offset-deg>0.0</pitch-offset-deg> | |||
</config> | |||
</view> | |||
<rendering> | |||
<multithreading-mode>AutomaticSelection</multithreading-mode> | |||
<!-- multithreading-mode>DrawThreadPerContext</multithreading-mode --> | |||
<!-- multithreading-mode>CullDrawThreadPerContext</multithreading-mode --> | |||
<!-- multithreading-mode>CullThreadPerCameraDrawThreadPerContext</multithreading-mode --> | |||
<camera-group> | |||
<window> | |||
<name type="string">A</name> | |||
<host-name type="string"></host-name> | |||
<display>0</display> | |||
<screen>2</screen> | |||
<fullscreen type = "bool">true</fullscreen> | |||
</window> | |||
<window> | |||
<name type="string">B</name> | |||
<host-name type="string"></host-name> | |||
<display>0</display> | |||
<screen>3</screen> | |||
<fullscreen type = "bool">true</fullscreen> | |||
</window> | |||
<window> | |||
<name type="string">C</name> | |||
<host-name type="string"></host-name> | |||
<display>0</display> | |||
<screen>4</screen> | |||
<fullscreen type = "bool">true</fullscreen> | |||
</window> | |||
<window> | |||
<name type="string">D</name> | |||
<host-name type="string"></host-name> | |||
<display>0</display> | |||
<screen>5</screen> | |||
<fullscreen type = "bool">true</fullscreen> | |||
</window> | |||
<window> | |||
<name type="string">E</name> | |||
<host-name type="string"></host-name> | |||
<display>0</display> | |||
<screen>0</screen> | |||
<fullscreen type = "bool">true</fullscreen> | |||
</window> | |||
<window> | |||
<name type="string">F</name> | |||
<host-name type="string"></host-name> | |||
<display>0</display> | |||
<screen>1</screen> | |||
<fullscreen type = "bool">true</fullscreen> | |||
</window> | |||
<camera> | |||
<window> | |||
<name>A</name> | |||
</window> | |||
<viewport> | |||
<x>0</x> | |||
<y>0</y> | |||
<width>1920</width> | |||
<height>1200</height> | |||
</viewport> | |||
<view> | |||
<heading-deg type = "double">45</heading-deg> | |||
<roll-deg type = "double">0</roll-deg> | |||
<pitch-deg type = "double">0</pitch-deg> | |||
</view> | |||
<frustum> | |||
<top>0.070</top> | |||
<bottom>-0.03</bottom> | |||
<left>-.080</left> | |||
<right>.080</right> | |||
<near>0.4</near> | |||
<far>120000.0</far> | |||
</frustum> | |||
</camera> | |||
<camera> | |||
<window> | |||
<name>A</name> | |||
</window> | |||
<viewport> | |||
<x>1920</x> | |||
<y>0</y> | |||
<width>1920</width> | |||
<height>1200</height> | |||
</viewport> | |||
<view> | |||
<heading-deg type = "double">45</heading-deg> | |||
<roll-deg type = "double">0</roll-deg> | |||
<pitch-deg type = "double">0</pitch-deg> | |||
</view> | |||
<frustum> | |||
<top>-0.05</top> | |||
<bottom>-0.150</bottom> | |||
<left>-.080</left> | |||
<right>.080</right> | |||
<near>0.4</near> | |||
<far>120000.0</far> | |||
</frustum> | |||
</camera> | |||
<camera> | |||
<window> | |||
<name>D</name> | |||
</window> | |||
<viewport> | |||
<x>0</x> | |||
<y>0</y> | |||
<width>1920</width> | |||
<height>1200</height> | |||
</viewport> | |||
<view> | |||
<heading-deg type = "double">0</heading-deg> | |||
<pitch-deg type = "double">0</pitch-deg> | |||
</view> | |||
<frustum> | |||
<top>0.070</top> | |||
<bottom>-0.030</bottom> | |||
<left>-.129</left> | |||
<right>.031</right> | |||
<near>0.4</near> | |||
<far>120000.0</far> | |||
</frustum> | |||
</camera> | |||
<camera> | |||
<window> | |||
<name>F</name> | |||
</window> | |||
<viewport> | |||
<x>0</x> | |||
<y>0</y> | |||
<width>1920</width> | |||
<height>1200</height> | |||
</viewport> | |||
<view> | |||
<heading-deg type = "double">0</heading-deg> | |||
<pitch-deg type = "double">0</pitch-deg> | |||
</view> | |||
<frustum> | |||
<top>0.070</top> | |||
<bottom>-0.030</bottom> | |||
<left>.0431</left> | |||
<right>.2031</right> | |||
<near>0.4</near> | |||
<far>120000.0</far> | |||
</frustum> | |||
</camera> | |||
<camera> | |||
<window> | |||
<name>E</name> | |||
</window> | |||
<viewport> | |||
<x>0</x> | |||
<y>0</y> | |||
<width>1280</width> | |||
<height>1024</height> | |||
</viewport> | |||
<view> | |||
<heading-deg type = "double">0</heading-deg> | |||
<pitch-deg type = "double">0</pitch-deg> | |||
</view> | |||
<frustum> | |||
<top>0.181</top> | |||
<bottom>0.088</bottom> | |||
<left>.0431</left> | |||
<right>.2031</right> | |||
<near>0.4</near> | |||
<far>120000.0</far> | |||
</frustum> | |||
</camera> | |||
<camera> | |||
<window> | |||
<name>C</name> | |||
</window> | |||
<viewport> | |||
<x>0</x> | |||
<y>0</y> | |||
<width>1280</width> | |||
<height>1024</height> | |||
</viewport> | |||
<view> | |||
<heading-deg type = "double">0</heading-deg> | |||
<pitch-deg type = "double">0</pitch-deg> | |||
</view> | |||
<frustum> | |||
<top>0.181</top> | |||
<bottom>0.088</bottom> | |||
<left>-0.1077</left> | |||
<right>.009231</right> | |||
<near>0.4</near> | |||
<far>120000.0</far> | |||
</frustum> | |||
</camera> | |||
<camera> | |||
<window> | |||
<name>B</name> | |||
</window> | |||
<viewport> | |||
<x>0</x> | |||
<y>0</y> | |||
<width>1920</width> | |||
<height>1200</height> | |||
</viewport> | |||
<view> | |||
<heading-deg type = "double">-45</heading-deg> | |||
<roll-deg type = "double">0</roll-deg> | |||
<pitch-deg type = "double">0</pitch-deg> | |||
</view> | |||
<frustum> | |||
<top>0.070</top> | |||
<bottom>-0.03</bottom> | |||
<left>-.080</left> | |||
<right>.080</right> | |||
<near>0.4</near> | |||
<far>120000.0</far> | |||
</frustum> | |||
</camera> | |||
<camera> | |||
<window> | |||
<name>B</name> | |||
</window> | |||
<viewport> | |||
<x>1920</x> | |||
<y>0</y> | |||
<width>1920</width> | |||
<height>1200</height> | |||
</viewport> | |||
<view> | |||
<heading-deg type = "double">-45</heading-deg> | |||
<roll-deg type = "double">0</roll-deg> | |||
<pitch-deg type = "double">0</pitch-deg> | |||
</view> | |||
<frustum> | |||
<top>-0.05</top> | |||
<bottom>-0.150</bottom> | |||
<left>-.080</left> | |||
<right>.080</right> | |||
<near>0.4</near> | |||
<far>120000.0</far> | |||
</frustum> | |||
</camera> | |||
<gui> | |||
<window> | |||
<name type="string">E</name> | |||
</window> | |||
</gui> | |||
</camera-group> | |||
</rendering> | |||
</sim> | |||
</PropertyList> | |||
==Flight information== | ==Flight information== |