Board index FlightGear Support Hardware

How to configure multiscreen (beginner problems)

Joysticks, pedals, monitors.

How to configure multiscreen (beginner problems)

Postby FlightFlight » Mon Dec 28, 2020 10:32 am

Hi,

I have read README.multiscreen and I am trying to get multi screen to work.
I have a Thinkpad T470 laptop with built in monitor + one external monitor connected via HDMI.

I am playing FGFS on Debian in KDE.

I have tried editing the Compositor/default.xml file to this below.
However, it seems that no matter what I put in the default.xml, FGFS just seems to start on a single window as normal. How do I get FGFS to actually start the seconds monitor?

What I really want to accomplish is to have the external screen show the normal camera view in FGFS and then have the laptop screen show the instruments panel in 2D view.


I really hope you can help me a bit.
Thanks!


Code: Select all
<?xml version="1.0" encoding="utf-8"?>

<!--
    This Compositor is used by default when none has been specified in the
    CameraGroup settings.
<PropertyList include="low-spec.xml"/>
-->
<PropertyList>
  <sim>
    <rendering>
      <camera-group>
        <camera>
          <window>
            <host-name type="string"></host-name>
            <display>0</display>
            <screen>0</screen>
            <fullscreen type = "bool">true</fullscreen>
          </window>
          <view>
            <heading-deg type = "double">45.3</heading-deg>
          </view>
          <frustum>
            <top>0.133</top>
            <bottom>-0.133</bottom>
            <left>-.1668</left>
            <right>.1668</right>
            <near>0.4</near>
            <far>120000.0</far>
          </frustum>
        </camera>
        <camera>
          <window>
            <name type="string">main</name>
            <host-name type="string"></host-name>
            <display>0</display>
            <screen>1</screen>
            <fullscreen type = "bool">true</fullscreen>
          </window>
          <view>
            <heading-deg type = "double">0</heading-deg>
          </view>
          <frustum>
            <top>0.133</top>
            <bottom>-0.133</bottom>
            <left>-.1668</left>
            <right>.1668</right>
            <near>0.4</near>
            <far>120000.0</far>
          </frustum>
        </camera>
        <gui>
          <window>
            <name type="string">main</name>
          </window>
        </gui>
      </camera-group>
    </rendering>
  </sim>
</PropertyList>
FlightFlight
 
Posts: 10
Joined: Wed Apr 22, 2020 9:38 am

Re: How to configure multiscreen (beginner problems)

Postby wkitty42 » Mon Dec 28, 2020 1:19 pm

FlightFlight wrote in Mon Dec 28, 2020 10:32 am:I have tried editing the Compositor/default.xml file to this below.

AFAIK, this is not the proper file... the proper file is either the defaults.xml in FGData or you make a new xml file and load it via the --config=blah/blah parameter option...

eg: --config=~/myflightgear/my_multiscreen_config.xml
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9162
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 22.04

Re: How to configure multiscreen (beginner problems)

Postby FlightFlight » Mon Dec 28, 2020 4:15 pm

Thanks you, very much. This helped a lot.
FlightFlight
 
Posts: 10
Joined: Wed Apr 22, 2020 9:38 am


Return to Hardware

Who is online

Users browsing this forum: No registered users and 4 guests