Board index FlightGear Support Hardware

Dual Screen parameter ! Help requested

Joysticks, pedals, monitors.

Dual Screen parameter ! Help requested

Postby daweed » Wed Jul 22, 2020 8:33 pm

Hello,

After going through the wiki and reading some topics on the forum, I managed to launch FG in dual screen (2 windows mode)

My goal would be for each of the screens to show half of the cockpit, but I end up with the second screen that is not in line and I don't quite understand the settings.

I would need some help and advice to properly format the views on both screens.

Below is the "camera group" section that I added to the default.xml file. (copy / paste from one thread here)
Code: Select all
     <camera-group>
            <window>
               <name type="string">LeftWindow</name>
               <host-name type="string"></host-name>
               <display>0</display>
               <screen>0</screen>
               <x>0</x>
               <y>0</y>
               <width>1920</width>
               <height>1080</height>
               <decoration type="bool">true</decoration>
               <fullscreen type="bool">false</fullscreen>
               <overrideRedirect type="bool">true</overrideRedirect>
            </window>

            <window>
               <name type="string">RightWindow</name>
               <host-name type="string"></host-name>
               <display>0</display>
               <screen>0</screen>
               <x>1920</x>
               <y>0</y>
               <width>1920</width>
               <height>1080</height>
               <decoration type="bool">true</decoration>
               <fullscreen type="bool">false</fullscreen>
               <overrideRedirect type="bool">true</overrideRedirect>
            </window>

            <camera>
               <name type="string">LeftView</name>
               <window>
                  <name>LeftWindow</name>
               </window>
               <view>
                  <heading-deg type="double">0.0</heading-deg>
                  <roll-deg type="double">0.0</roll-deg>
                  <pitch-deg type="double">0.0</pitch-deg>
               </view>
               <viewport>
                  <x>0</x>
                  <y>0</y>
                  <width>1920</width>
                  <height>1080</height>
               </viewport>
            </camera>

            <camera>
               <name type="string">RightView</name>
               <window>
                  <name>RightWindow</name>
               </window>
               <view>
                  <x>0</x>
                  <y>0</y>
                  <heading-deg type="double">-20.0</heading-deg>
                  <roll-deg type="double">0.0</roll-deg>
                  <pitch-deg type="double">0.0</pitch-deg>
               </view>
               <right-of-perspective>
                  <parent-camera>LeftView</parent-camera>
               </right-of-perspective>
               <viewport>
                  <x>0</x>
                  <y>0</y>
                  <width>1920</width>
                  <height>1080</height>
               </viewport>
               <physical-dimensions>
                  <width>0.528</width>
                  <height>0.298</height>
                  <bezel>
                     <top>0.013</top>
                     <left>0.013</left>
                     <bottom>0.018</bottom>
                     <right>0.013</right>
                  </bezel>
               </physical-dimensions>
            </camera>

            <gui>
               <window>
                  <name type="string">LeftWindow</name>
               </window>
            </gui>

     </camera-group>


Below, a sreenshot that setup show on screen

Image

Best regards. Thanks

Daweed
Windows 10 / Linux Mint 20
AMD Ryzen 7 3700X |32 Go RAM GeForce RTX 3070 Ti 8 Go
FG Interface
Lyon Saint Exupery Scenery

ATC on LFLL on Friday 19:00 UTC => 22:00 UTC
daweed
 
Posts: 398
Joined: Thu Dec 11, 2014 11:45 am
Location: LFKP LFLL
Callsign: daweed
OS: Linux Mint 20

Re: Dual Screen parameter ! Help requested

Postby SurferTim » Thu Jul 23, 2020 6:52 pm

I use 3 displays, but it should be similar. I think this is the value you need to play with.
Try 10.0 on the Left Window camera, and -10.0 on the right as a place to start.
Code: Select all
<heading-deg type="double">0.0</heading-deg>
Fly low. Fly slow. Land on a dime. Twin Otter. https://github.com/SurferTim/dhc6p
My other aircraft is a Citation-X https://github.com/SurferTim/CitationX
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 1718
Joined: Sun Dec 09, 2018 6:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2020.4.0
OS: Ubuntu 18.04

Re: Dual Screen parameter ! Help requested

Postby wkitty42 » Fri Jul 24, 2020 2:52 pm

FWIW: he's got -20 on the right camera now... zero on the left one... the right monitor seems to have the far right edge pushed away so maybe negative on the right is not correct? but that may be the proper direction to be looking...
"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: Dual Screen parameter ! Help requested

Postby SurferTim » Fri Jul 24, 2020 2:58 pm

wkitty42 wrote in Fri Jul 24, 2020 2:52 pm:FWIW: he's got -20 on the right camera now... zero on the left one... the right monitor seems to have the far right edge pushed away so maybe negative on the right is not correct? but that may be the proper direction to be looking...

Yes, he currently has 0 on the left (straight ahead), and -20 on the right (20 degrees right). To balance, he needs 10 (degrees left) and -10 (degrees right).
After that, he may need to move the pilot view right a little.
Fly low. Fly slow. Land on a dime. Twin Otter. https://github.com/SurferTim/dhc6p
My other aircraft is a Citation-X https://github.com/SurferTim/CitationX
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 1718
Joined: Sun Dec 09, 2018 6:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2020.4.0
OS: Ubuntu 18.04

Re: Dual Screen parameter ! Help requested

Postby daweed » Fri Jul 24, 2020 8:42 pm

Hello,

Thanks all for reply.

I tried to modify quickly heading-deg

Here what i have with 0 / 0

Code: Select all
<camera-group>
            <window>
               <name type="string">LeftWindow</name>
               <host-name type="string"></host-name>
               <display>0</display>
               <screen>0</screen>
               <x>0</x>
               <y>0</y>
               <width>1920</width>
               <height>1080</height>
               <decoration type="bool">true</decoration>
               <fullscreen type="bool">false</fullscreen>
               <overrideRedirect type="bool">true</overrideRedirect>
            </window>

            <window>
               <name type="string">RightWindow</name>
               <host-name type="string"></host-name>
               <display>0</display>
               <screen>0</screen>
               <x>1920</x>
               <y>0</y>
               <width>1920</width>
               <height>1080</height>
               <decoration type="bool">true</decoration>
               <fullscreen type="bool">false</fullscreen>
               <overrideRedirect type="bool">true</overrideRedirect>
            </window>

            <camera>
               <name type="string">LeftView</name>
               <window>
                  <name>LeftWindow</name>
               </window>
               <view>
                  <heading-deg type="double">0.0</heading-deg>
                  <roll-deg type="double">0.0</roll-deg>
                  <pitch-deg type="double">0.0</pitch-deg>
               </view>
               <viewport>
                  <x>0</x>
                  <y>0</y>
                  <width>1920</width>
                  <height>1080</height>
               </viewport>
            </camera>

            <camera>
               <name type="string">RightView</name>
               <window>
                  <name>RightWindow</name>
               </window>
               <view>
                  <x>0</x>
                  <y>0</y>
                  <heading-deg type="double">0.0</heading-deg>
                  <roll-deg type="double">0.0</roll-deg>
                  <pitch-deg type="double">0.0</pitch-deg>
               </view>
               <right-of-perspective>
                  <parent-camera>LeftView</parent-camera>
               </right-of-perspective>
               <viewport>
                  <x>0</x>
                  <y>0</y>
                  <width>1920</width>
                  <height>1080</height>
               </viewport>
            </camera>

            <gui>
               <window>
                  <name type="string">LeftWindow</name>
               </window>
            </gui>

         </camera-group>


Image

Here is what i have with 9/-9

Code: Select all
 <camera-group>
            <window>
               <name type="string">LeftWindow</name>
               <host-name type="string"></host-name>
               <display>0</display>
               <screen>0</screen>
               <x>0</x>
               <y>0</y>
               <width>1920</width>
               <height>1080</height>
               <decoration type="bool">true</decoration>
               <fullscreen type="bool">false</fullscreen>
               <overrideRedirect type="bool">true</overrideRedirect>
            </window>

            <window>
               <name type="string">RightWindow</name>
               <host-name type="string"></host-name>
               <display>0</display>
               <screen>0</screen>
               <x>1920</x>
               <y>0</y>
               <width>1920</width>
               <height>1080</height>
               <decoration type="bool">true</decoration>
               <fullscreen type="bool">false</fullscreen>
               <overrideRedirect type="bool">true</overrideRedirect>
            </window>

            <camera>
               <name type="string">LeftView</name>
               <window>
                  <name>LeftWindow</name>
               </window>
               <view>
                  <heading-deg type="double">9.0</heading-deg>
                  <roll-deg type="double">0.0</roll-deg>
                  <pitch-deg type="double">0.0</pitch-deg>
               </view>
               <viewport>
                  <x>0</x>
                  <y>0</y>
                  <width>1920</width>
                  <height>1080</height>
               </viewport>
            </camera>

            <camera>
               <name type="string">RightView</name>
               <window>
                  <name>RightWindow</name>
               </window>
               <view>
                  <x>0</x>
                  <y>0</y>
                  <heading-deg type="double">-9.0</heading-deg>
                  <roll-deg type="double">0.0</roll-deg>
                  <pitch-deg type="double">0.0</pitch-deg>
               </view>
               <right-of-perspective>
                  <parent-camera>LeftView</parent-camera>
               </right-of-perspective>
               <viewport>
                  <x>0</x>
                  <y>0</y>
                  <width>1920</width>
                  <height>1080</height>
               </viewport>
            </camera>

            <gui>
               <window>
                  <name type="string">LeftWindow</name>
               </window>
            </gui>

         </camera-group>


In this config, terrain seems to be no more "flat" ... :) strange
Image

As i said, i just copy / paste the camera-group section from a thread , and i don't really understand the parameters.
I am a bit surprise that the config is "working" as the 2 window are define on the same screen and same display, but that is working, opening 2 windows 1 on each screen.

I tried to modify the screen / display configuration [ ie 1 windows with screen 0 and the other with screen 1 ], with the result that the 2 windows are opened on the same screen .... and with a different size ....very strange

Thanks again for helping me :)

i will probably have to define a special view for my own config ... more center on the cockpit

Daweed
Windows 10 / Linux Mint 20
AMD Ryzen 7 3700X |32 Go RAM GeForce RTX 3070 Ti 8 Go
FG Interface
Lyon Saint Exupery Scenery

ATC on LFLL on Friday 19:00 UTC => 22:00 UTC
daweed
 
Posts: 398
Joined: Thu Dec 11, 2014 11:45 am
Location: LFKP LFLL
Callsign: daweed
OS: Linux Mint 20

Re: Dual Screen parameter ! Help requested

Postby SurferTim » Sat Jul 25, 2020 11:36 am

From my experience, this is what puts the cameras on different displays.
Code: Select all
                <width>1920</width>

The second (right) display starts at 1920 and goes to 3839.
Adding a third camera will extend that from 3840 to 5759.

Edit: I forgot the window parameter.
Code: Select all
# window 1
               <x>0</x>
# window 2
               <x>1920</x>
# if window 3
               <x>3840</x>
Fly low. Fly slow. Land on a dime. Twin Otter. https://github.com/SurferTim/dhc6p
My other aircraft is a Citation-X https://github.com/SurferTim/CitationX
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 1718
Joined: Sun Dec 09, 2018 6:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2020.4.0
OS: Ubuntu 18.04

Re: Dual Screen parameter ! Help requested

Postby wlbragg » Sat Jul 25, 2020 5:57 pm

I experimented with two different approaches on my 3 monitor setup.

One window with three cameras (preferred and best performance except I got artifacts on my AMD card) and three windows each with their own camera.

One window, three cameras
Code: Select all
      <camera-group>

        <window>
          <name type="string">main</name>
          <host-name type="string"></host-name>
          <display>0</display>
          <screen>0</screen>
          <x>0</x>
          <y>0</y>
          <width>5500</width>
          <height>1080</height>
          <overrideRedirect type = "bool">true</overrideRedirect>
          <decoration type = "bool">false</decoration>
          <fullscreen type = "bool">true</fullscreen>
        </window>

        <camera>
          <name type="string">middlecamera</name>
          <window>
            <name>main</name>
          </window>
          <view>
            <heading-deg type = "double">0</heading-deg>
          </view>
          <master-perspective>
            <eye-distance type="double">0.736</eye-distance>
            <y-offset type="double">0.177</y-offset>
          </master-perspective>
          <viewport>
            <x>1920</x>
            <y>0</y>
            <width>1680</width>
            <height>1050</height>
          </viewport>
          <physical-dimensions>
            <width>0.474</width>
            <height>0.296</height>
            <bezel>
              <top>0.0</top>
              <left>0.0</left>
              <bottom>0.0</bottom>
              <right>0.0</right>
            </bezel>
          </physical-dimensions>
        </camera>

        <camera>
          <name type="string">leftcamera</name>
          <window>
            <name>main</name>
          </window>
          <view>
            <heading-deg type = "double">45</heading-deg>
          </view>
          <left-of-perspective>
            <parent-camera>middlecamera</parent-camera>
          </left-of-perspective>
          <viewport>
            <x>0</x>
            <y>0</y>
            <width>1920</width>
            <height>1080</height>
          </viewport>
          <physical-dimensions>
            <width>0.474</width>
            <height>0.296</height>
            <bezel>
              <top>0.0</top>
              <left>0.0</left>
              <bottom>0.0</bottom>
              <right>0.019</right>
            </bezel>
          </physical-dimensions>
        </camera>

        <camera>
          <name type="string">rightcamera</name>
          <window>
            <name>main</name>
          </window>
          <view>
            <heading-deg type = "double">-45</heading-deg>
          </view>
          <right-of-perspective>
            <parent-camera>middlecamera</parent-camera>
          </right-of-perspective>
          <viewport>
            <x>3600</x>
            <y>0</y>
            <width>1920</width>
            <height>1080</height>
          </viewport>
          <physical-dimensions>
            <width>0.474</width>
            <height>0.296</height>
            <bezel>
              <top>0.0</top>
              <left>0.019</left>
              <bottom>0.0</bottom>
              <right>0.0</right>
            </bezel>
          </physical-dimensions>
        </camera>

        <gui>
          <window>
            <name type="string">main</name>
          </window>
        </gui>

      </camera-group>


Three windows, one camera each window.
Code: Select all
    <!--camera-group>

        <window>
          <name type="string">left</name>
          <host-name type="string"></host-name>
          <display>0</display>
          <screen>0</screen>
          <x>0</x>
          <y>0</y>
          <width>1920</width>
          <height>1080</height>
          <decoration type = "bool">false</decoration>
          <fullscreen type = "bool">false</fullscreen>
        </window>
        <window>
          <name type="string">main</name>
          <host-name type="string"></host-name>
          <display>0</display>
          <screen>0</screen>
          <x>1920</x>
          <y>0</y>
          <width>1680</width>
          <height>1050</height>
          <decoration type = "bool">false</decoration>
          <fullscreen type = "bool">false</fullscreen>
        </window>
        <window>
          <name type="string">right</name>
          <host-name type="string"></host-name>
          <display>0</display>
          <screen>0</screen>
          <x>3600</x>
          <y>0</y>
          <width>1920</width>
          <height>1080</height>
          <decoration type = "bool">false</decoration>
          <fullscreen type = "bool">false</fullscreen>
        </window>

        <camera>
          <name type="string">middlecamera</name>
          <window>
            <name>main</name>
          </window>
          <view>
            <heading-deg type = "double">0</heading-deg>
          </view>
          <master-perspective>
            <eye-distance type="double">0.736</eye-distance>
            <y-offset type="double">0.2</y-offset>
          </master-perspective>
          <viewport>
            <x>0</x>
            <y>0</y>
            <width>1680</width>
            <height>1050</height>
          </viewport>
          <physical-dimensions>
            <width>0.474</width>
            <height>0.296</height>
            <bezel>
              <top>0.0</top>
              <left>0.0</left>
              <bottom>0.0</bottom>
              <right>0.0</right>
            </bezel>
          </physical-dimensions>
        </camera>

        <camera>
          <name type="string">leftcamera</name>
          <window>
            <name>left</name>
          </window>
          <view>
            <heading-deg type = "double">35</heading-deg>
          </view>
          <left-of-perspective>
            <parent-camera>middlecamera</parent-camera>
          </left-of-perspective>
          <viewport>
            <x>0</x>
            <y>0</y>
            <width>1920</width>
            <height>1080</height>
          </viewport>
          <physical-dimensions>
            <width>0.474</width>
            <height>0.296</height>
            <bezel>
              <top>0.0</top>
              <left>0.0</left>
              <bottom>0.0</bottom>
              <right>0.022</right>
            </bezel>
          </physical-dimensions>
        </camera>

        <camera>
          <name type="string">rightcamera</name>
          <window>
            <name>right</name>
          </window>
          <view>
            <heading-deg type = "double">-35</heading-deg>
          </view>
          <right-of-perspective>
            <parent-camera>middlecamera</parent-camera>
          </right-of-perspective>
          <viewport>
            <x>0</x>
            <y>0</y>
            <width>1920</width>
            <height>1080</height>
          </viewport>
          <physical-dimensions>
            <width>0.474</width>
            <height>0.296</height>
            <bezel>
              <top>0.0</top>
              <left>0.022</left>
              <bottom>0.0</bottom>
              <right>0.0</right>
            </bezel>
          </physical-dimensions>
        </camera>

        <gui>
          <window>
            <name type="string">main</name>
          </window>
        </gui>
      </camera-group-->
Kansas and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7609
Joined: Sun Aug 26, 2012 12:31 am
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/RTX 2070

Re: Dual Screen parameter ! Help requested

Postby daweed » Mon Jul 27, 2020 6:20 pm

Hello,

Sorry for the late feedback.

Well, after losing the multi windows battle, i finally manage to have something more or less stable with a unique window.

On multi windows configuration, each time, when entering from / to (or doing anything else on mcdu) , FG Crash

So after @wlbragg message, i finally decide to give a try to 1 window , 2 camera configuration

Here is my actuall configuration (camera-group inside the rendering section in default.xml) :

Code: Select all
<camera-group>
            <window>
               <name type="string">main</name>
               <host-name type="string"></host-name>
               <display>0</display>
               <screen>0</screen>
               <x>0</x>
               <y>0</y>
               <width>3840</width>
               <height>1080</height>
               <decoration type="bool">false</decoration>
               <fullscreen type="bool">true</fullscreen>
               <overrideRedirect type="bool">true</overrideRedirect>
            </window>

            <camera>
               <name type="string">LeftCamera</name>
               <window>
                  <name>main</name>
               </window>
               <view>
                  <heading-deg type="double">0.0</heading-deg>
                  <roll-deg type="double">0.0</roll-deg>
                  <pitch-deg type="double">0.0</pitch-deg>
               </view>
               <viewport>
                  <x>0</x>
                  <y>0</y>
                  <width>1920</width>
                  <height>1080</height>
               </viewport>
            </camera>

            <camera>
               <name type="string">RightView</name>
               <window>
                  <name>main</name>
               </window>
               <view>
                  <heading-deg type="double">0.0</heading-deg>
                  <roll-deg type="double">0.0</roll-deg>
                  <pitch-deg type="double">0.0</pitch-deg>
               </view>
               <right-of-perspective>
                  <parent-camera>LeftCamera</parent-camera>
               </right-of-perspective>
               <viewport>
                  <x>1920</x>
                  <y>0</y>
                  <width>1920</width>
                  <height>1080</height>
               </viewport>
            </camera>

            <gui>
               <window>
                  <name type="string">main</name>
               </window>
            </gui>

         </camera-group>


With this configuration, i am able to fly , from departure to arrival, interface included without any problem.. really great

Here a screenshot :

Image

I have some perspective problem on second screen, but i think with your help and the right parameter this could solved :) So Thank you very much to all of you that are helping me :)

I still encounter a small problem. When I am in multiscreen it is impossible for me to load a flight plan in the route manager.

I can activate / deactivate the flight plan, add / remove fix / vor / etc ..., but when I click on the "load" button in the route manager, FG freezes completely. I did not see any error message in the log or the console which would indicate any error at the level of the route manager, suddenly just to validate I wonder if there would be another way to load the flight plan file in the route manager, even if you have to go through the console, I would like to know if I can somehow load a flight plan, because entering the points one by one ... hmm, that's is tedious :)

Thank you in advance for your feedback / advice on these problems, and on what I would need to modify in the view parameters to find a clean perspective on both screens

Best regards

David
Windows 10 / Linux Mint 20
AMD Ryzen 7 3700X |32 Go RAM GeForce RTX 3070 Ti 8 Go
FG Interface
Lyon Saint Exupery Scenery

ATC on LFLL on Friday 19:00 UTC => 22:00 UTC
daweed
 
Posts: 398
Joined: Thu Dec 11, 2014 11:45 am
Location: LFKP LFLL
Callsign: daweed
OS: Linux Mint 20

Re: Dual Screen parameter ! Help requested

Postby wkitty42 » Mon Jul 27, 2020 7:22 pm

try using ALT-TAB when you click on the load button... the dialog may be behind FG...
"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: Dual Screen parameter ! Help requested

Postby daweed » Mon Jul 27, 2020 7:59 pm

wkitty42 wrote in Mon Jul 27, 2020 7:22 pm:try using ALT-TAB when you click on the load button... the dialog may be behind FG...


Hello,

I already try this to check by myself before (i had the same idea)
That an another problem :) lol, using alt tab in dual screen lead to freeze FG ( this behavior does not happen in mono screen )

Thanks

David

Edit :

Here what i tried this evening,

Opening the Nasal console , i wrote and execute the following code with success :

Code: Select all
var routem = props.globals.getNode("/autopilot/route-manager", 1);
var cmd = routem.getNode("input", 1);
routem.getNode("/home/daweed/.fgfs/Export/LFLL_LFPO.gpx", 1).setValue(path.getValue());
cmd.setValue("@load");
gui.dialog_update("route-manager");


So the code is working (route manager is feeded), but it seems that the select file dialog freeze FG when opening (only in dual screen ... that work perfectly when using standard configuration [ ie 1 screen 1 camera ] )

Regards

Daweed

Edit 2 :

More test, more information.

When trying to replicate the dialog opening (i have define all request in the nasal console), it's when the open() method is called that FG freeze

Extract from route-manager.xml :

Code: Select all
<button>
            <legend>Load ...</legend>
            <equal>true</equal>
            <enable>
            <not><property>/autopilot/route-manager/active</property></not>
            </enable>
            <binding>
                <command>nasal</command>
                <script>file_selector.open()</script>
            </binding>
        </button>
Windows 10 / Linux Mint 20
AMD Ryzen 7 3700X |32 Go RAM GeForce RTX 3070 Ti 8 Go
FG Interface
Lyon Saint Exupery Scenery

ATC on LFLL on Friday 19:00 UTC => 22:00 UTC
daweed
 
Posts: 398
Joined: Thu Dec 11, 2014 11:45 am
Location: LFKP LFLL
Callsign: daweed
OS: Linux Mint 20

Re: Dual Screen parameter ! Help requested

Postby wkitty42 » Tue Jul 28, 2020 3:33 pm

you should probably open a ticket about this... i remember there was a time when the dialog would be hiding and ALT-TAB would find it but i've never done multi-screens... james fixed the problem back then... it is possible that something with the multi-screen setup is not taken into consideration... filing an issue ticket about this would be better than for someone (eg: me) to try to relay this to the dev mailing list and back...
"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: Dual Screen parameter ! Help requested

Postby SurferTim » Tue Jul 28, 2020 4:07 pm

Are you loading a pre-existing flight plan?
It crashes as soon as you try to load it?
Has the airport runway number at that airport changed lately?
Just a thought...

Edit: I have experience with that problem. I had entered a route from Guadeloupe to San Juan.
The stored route had me departing rwy10.
The new scenery has rwy11.
I didn't have to reenter the route. I opened the route file with a text editor, and changed the departure runway.
Fly low. Fly slow. Land on a dime. Twin Otter. https://github.com/SurferTim/dhc6p
My other aircraft is a Citation-X https://github.com/SurferTim/CitationX
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 1718
Joined: Sun Dec 09, 2018 6:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2020.4.0
OS: Ubuntu 18.04

Re: Dual Screen parameter ! Help requested

Postby daweed » Tue Jul 28, 2020 6:44 pm

Hello SurferTim.

As describe in my last answer, FP is clearly not the problem. The FP file can be loaded in mono screen via the load button in the route manager panel, and can be loaded in the route manager with the nasal code showned in my previous answer in dual screen configuration.

FG freeze when i click on the button that should open the File Selector Dialog [ ie before i can select the file to be loaded ]. Manual test show that it's at the moment that the File Selector sould open that FG freeze. I ll try to open a ticket on the mailling list bringing all informations i gathered.

Maybe something is so wrong in my dual screen configuration that FG is not able to open the File Selector dialog [ just a thought as for example FG cannot find on which screen the dialog should be opened ... ]

Best regards

Daweed
Windows 10 / Linux Mint 20
AMD Ryzen 7 3700X |32 Go RAM GeForce RTX 3070 Ti 8 Go
FG Interface
Lyon Saint Exupery Scenery

ATC on LFLL on Friday 19:00 UTC => 22:00 UTC
daweed
 
Posts: 398
Joined: Thu Dec 11, 2014 11:45 am
Location: LFKP LFLL
Callsign: daweed
OS: Linux Mint 20

Re: Dual Screen parameter ! Help requested

Postby SurferTim » Wed Jul 29, 2020 7:35 am

I'm using Ubuntu 18.04 with 4 screens of which 3 are FG. Mine works fine, even recording or streaming while flying.
It is either your computer, your screen setup, or your FG version, wouldn't you think?
Fly low. Fly slow. Land on a dime. Twin Otter. https://github.com/SurferTim/dhc6p
My other aircraft is a Citation-X https://github.com/SurferTim/CitationX
PirateAir videos at https://www.youtube.com/user/SurferTim850
User avatar
SurferTim
 
Posts: 1718
Joined: Sun Dec 09, 2018 6:49 pm
Location: Miramar Beach, FL
Callsign: Pirate
Version: 2020.4.0
OS: Ubuntu 18.04

Re: Dual Screen parameter ! Help requested

Postby daweed » Wed Jul 29, 2020 9:13 pm

Hello,

Good evening.

For the hardware side, the configuration is in my signature and it is up to date. The equipment is new (purchase at the beginning of March) and nothing lets me think that there is any problem on this side. I checked the os logs, nothing goes back in the syslog, no hardware failure detected.

Regarding FG:

Version 2020.2.1 complied with download and compile [ ../fgmeta/download_and_compile.sh -j 8 -s FGFS then ../fgmeta/download_and_compile.sh -s --git-clone-default-proto=git DATA ]
No error during compilation for FGFS, SIMGEAR

here is the all output console when starting Flighgear

Code: Select all
Starting with Last Position : 45.72261687 5.081835822 270.9648277
    0,06 [WARN]:gui        Failed to load default (en) translations
    0,06 [INFO]:gui        UI languages: ("fr-FR")
    0.06 [INFO]:general    FlightGear:  Version 2020.2.1
    0.06 [INFO]:general    FlightGear:  Build Type Dev
    0.06 [INFO]:general    Built with GNU C++ version 9.3
    0.06 [INFO]:general    Jenkins number/ID 0:none
Now checking for plug-in osgPlugins-3.6.4/osgdb_nvtt.so
    0.59 [ALRT]:general    Setting heading preset to  : 270.965
    1.56 [ALRT]:io         Error: connect() failed in make_client_socket()
    1.56 [ALRT]:io         SG_IO_OUT socket creation failed
    1.56 [ALRT]:io         Error opening channel communication layer.
    1.56 [ALRT]:io         I/O Channel config failed.
    2.51 [INFO]:OSG       
    2.51 [WARN]:OSG        PNG lib warning : iCCP: known incorrect sRGB profile
    2.78 [WARN]:OSG        PNG lib warning : iCCP: known incorrect sRGB profile
    2.78 [WARN]:OSG        PNG lib warning : iCCP: known incorrect sRGB profile
    6.10 [WARN]:OSG        PNG lib warning : iCCP: known incorrect sRGB profile
    6.70 [ALRT]:nasal      Request detected to initialize Advanced Weather on startup...
    6.79 [ALRT]:nasal      Loading local weather routines...
    6.79 [ALRT]:nasal      Animated jetways ... initialized
    6.93 [ALRT]:nasal      ERROR: Cannot add listener to tied property /sim[0]/current-view[0]/heading-offset-deg[0]
    6.95 [ALRT]:nasal      ------------------------------------------------------------------------
    6.95 [ALRT]:nasal      Copyright (c) 2017-2020 Josh Davidson (Octal450)
    6.95 [ALRT]:nasal      Copyright (c) 2017-2020 J Maverick 16
    6.95 [ALRT]:nasal      ------------------------------------------------------------------------
    6.95 [ALRT]:nasal      ERROR: Cannot add listener to tied property /controls[0]/lighting[0]/beacon[0]
    6.95 [ALRT]:nasal      ERROR: Cannot add listener to tied property /controls[0]/lighting[0]/strobe[0]
    6.95 [ALRT]:nasal      ERROR: Cannot add listener to tied property /controls[0]/lighting[0]/strobe[0]
    6.95 [ALRT]:nasal      ERROR: Cannot add listener to tied property /controls[0]/flight[0]/speedbrake[0]
    6.95 [ALRT]:nasal      ERROR: Cannot add listener to tied property /controls[0]/flight[0]/elevator-trim[0]
    6.96 [ALRT]:nasal      Airbus_A330 Revision: 457
    6.96 [ALRT]:nasal      ERROR: Cannot add listener to tied property /controls[0]/gear[0]/gear-down[0]
   11.06 [WARN]:OSG        PNG lib warning : Interlace handling should be turned on when using png_read_image
   12.35 [ALRT]:nasal      ERROR: Cannot add listener to tied property /autopilot[0]/route-manager[0]/departure[0]/runway[0]
   12.35 [ALRT]:nasal      ERROR: Cannot add listener to tied property /autopilot[0]/route-manager[0]/destination[0]/runway[0]
   12.35 [ALRT]:nasal      ERROR: Cannot add listener to tied property /autopilot[0]/route-manager[0]/departure[0]/runway[0]
   12.35 [ALRT]:nasal      ERROR: Cannot add listener to tied property /autopilot[0]/route-manager[0]/destination[0]/runway[0]
   12.47 [ALRT]:nasal      ERROR: Cannot add listener to tied property /autopilot[0]/route-manager[0]/departure[0]/runway[0]
   12.47 [ALRT]:nasal      ERROR: Cannot add listener to tied property /autopilot[0]/route-manager[0]/destination[0]/runway[0]
   12.47 [ALRT]:nasal      ERROR: Cannot add listener to tied property /autopilot[0]/route-manager[0]/departure[0]/runway[0]
   12.47 [ALRT]:nasal      ERROR: Cannot add listener to tied property /autopilot[0]/route-manager[0]/destination[0]/runway[0]
   13.64 [ALRT]:nasal      Ground Services... Ready
   13.64 [ALRT]:flight     Failed to save initial FDM property state
   16.72 [ALRT]:nasal      Starting hard-coded terrain presampling
daweed@FARMERSALOON:/data/Flightgear/stable$


Errors like "ERROR: Cannot add listener to tied property / autopilot [0] / route-manager [0] / destination [0] / runway [0]" were already present when I was in single screen configuration.

No error message arrives in the console but I have to look at the FG log to know if it is more "meaningful"

As for the dual screen configuration, i am not sure about the configuration, seems it is working, but maybe something does not work properly. I need that someone check and validate my configuration :)

I found a workaround for the moment until the final solution, i wrote a small nasal funtion binded to one of my FCU interface button actully not used. The method check FROM / TO entered in the MCDU and try to load a file if exist named ICAOdept_ICAOarrv.gpx.

That is currently working.

Best regards

Daweed
Windows 10 / Linux Mint 20
AMD Ryzen 7 3700X |32 Go RAM GeForce RTX 3070 Ti 8 Go
FG Interface
Lyon Saint Exupery Scenery

ATC on LFLL on Friday 19:00 UTC => 22:00 UTC
daweed
 
Posts: 398
Joined: Thu Dec 11, 2014 11:45 am
Location: LFKP LFLL
Callsign: daweed
OS: Linux Mint 20

Next

Return to Hardware

Who is online

Users browsing this forum: No registered users and 3 guests