Page MenuHomeswift

Running a distributed swift (remote core)
Updated 100 Days AgoPublic

NOTE: There is also a YT video about this, see swift pilot client tutorials (YouTube videos)

Overview

swift can be run distributed. That means the core (see swift core) and the GUI (swift front end) are split up. A normal scenario would be to run the core on the same machine where the flight simulator (e.g. XPlane) is started, and the UI runs on a second (remote) computer. However, you can also run core and (distributed) UI on the same machine.

As you can see in the launcher you have 3 options:

Standalone:
This means swiftguistd is running standalone and includes swift core. No other application needs to be started. Don't start swiftcore as extra process in that case.

GUI and Core - Audio on GUI side:
Use this configuration, if you want to run gui and core in separate applications (possibly also on two different machines in the network). All Audio (inkluding VATSIM voice) will stay within the GUI process.

GUI and Core - Audio on Core side:
Use this configuration, if you want to run gui and core in separate applications (possibly also on two different machines in the network). All Audio (inkluding VATSIM voice) will stay within the core process.

How to run swift on two different machines in the network

Prerequisites

  • core and UI must be of the same version, do not mix different versions
  • Both machines need a stable network connection and DBus connections between the two machines need to be possible (check firewall settings etc.)

Instructions

  1. Launch swift launcher on core machine first. Select Core mode "GUI and core" depending on which machine you want audio.
  2. Select DBus peer to peer server and select the LAN IP interface from the combobox that is reachable from the GUI machine. For example 127.0.0.1 would not be reachable. 192.168.0.100 would be in some case. This is the IP core will be listening on. It is very important to not use session server in that case since session server is limited to local machine connections only.
  3. Launch swift launcher on GUI machine. Select the same core mode as you selected on the core machine.
  4. Select again DBus peer to peer server and type in the LAN IP address you selected in step 2. GUI will try to connect now to core.

As an alternative, one can use swift command line arguments to setup shortcuts to launch GUI and core more quickly. swift launcher does the same (calling GUI and core process with specific arguments).

Simulator in different machine

As an alternative to running core on the simulator machine, one can also setup a connection to a simulator in local network.

FSX/P3D

swift using a remote SimConnect configuration: P3D and FSX remote SimConnect access. This allows to connect a remote FSX/P3D from a standalone swift GUI.

So there are two ways to setup a distributed scenario

  • Distributed swift UI on computer 1, swift core on computer 2 (where the simulator runs) and core using a local SimConnect connection.
  • Standalone swift UI on computer 1, connected via a remote SimConnect to computer 2. No core!
Last Author
kbasan
Last Edited
May 9 2019, 2:29 PM

Event Timeline

kbasan created this document.Jan 2 2019, 8:32 AM
kbasan edited the content of this document. (Show Details)
kbasan added a project: swift pilot client.
kbasan edited the content of this document. (Show Details)Jan 2 2019, 8:35 AM
kbasan edited the content of this document. (Show Details)
kbasan edited the content of this document. (Show Details)Jan 2 2019, 9:52 PM
kbasan edited the content of this document. (Show Details)Jan 2 2019, 10:01 PM
kbasan edited the content of this document. (Show Details)Jan 2 2019, 10:09 PM
kbasan edited the content of this document. (Show Details)Mar 29 2019, 6:12 PM
kbasan edited the content of this document. (Show Details)Apr 7 2019, 5:43 PM
rrossgotterer edited the content of this document. (Show Details)Apr 26 2019, 7:21 AM
rrossgotterer edited the content of this document. (Show Details)Apr 26 2019, 7:29 AM
kbasan edited the content of this document. (Show Details)May 9 2019, 2:29 PM