Linux64 bit support

jpoirier
Posts: 27
Joined: Wed Jun 18, 2014 7:48 pm

Re: Linux64 bit support

Post by jpoirier »

Keith Smith wrote:Alright, the first flight with the Linux 64-bit plugin just took place a couple of hours ago. There's one more test that needs to be run regarding system ID's, then I'll get this rolled into the main distribution and get it announced.
That's great to hear!

And thanks for putting in the time and effort to do this considering the very small demographic.
sanjiv
Posts: 13
Joined: Tue Aug 12, 2014 10:13 am

Re: Linux64 bit support

Post by sanjiv »

This is great news Kieth. :)
I consistently get about 20% greater frame rate flying on Linux with similar rendering settings so I am really looking forward to this.

Sanjiv
Keith Smith
Posts: 9939
Joined: Sat Oct 09, 2010 8:38 pm
Location: Pompton Plains, NJ
Contact:

Re: Linux64 bit support

Post by Keith Smith »

Ok the main distribution has been updated and includes linux 32/64-bit support. Go for it.
jpoirier
Posts: 27
Joined: Wed Jun 18, 2014 7:48 pm

Re: Linux64 bit support

Post by jpoirier »

X-Plane crashed at start-up for me the first time trying the plugin due to a missing lib, so I did:
$ sudo ln -s /lib/x86_64-linux-gnu/libudev.so.1.3.5 /usr/lib/libudev.so.0

That fixed the start-up problem but when I try to connect to the PilotEdge network X-Plane crashes.

The relevant x-plane log.txt output:
ATC audio initialized.
--=={This application has crashed because of the plugin: PilotEdge}==--

And the PilotEdge_out.txt output:
Starting up: PilotEdge client, V1.1.1
initVoice with device alsa_output.usb-Logitech_Logitech_USB_Headset-00-Headset.analog-stereo, returned 0
PilotEdge initialized
Setting up connection details...
Checking for slaves...
Checking for server file...
Checking for voice file...
About to connect...
Connected to PilotEdge Server

Not much to go on so I'll try and debug later this morning. Probably an incompatible *.so.? :(

-joe
Keith Smith
Posts: 9939
Joined: Sat Oct 09, 2010 8:38 pm
Location: Pompton Plains, NJ
Contact:

Re: Linux64 bit support

Post by Keith Smith »

Joe, and the fun begins. My limited ability to test this is going to make this tricky, but we have seen this running on another 64-bit system without issue.

Can you try connecting in a part of the world with 0 traffic? I'd like to see if it's traffic related or not.
knro
Posts: 17
Joined: Thu Sep 18, 2014 2:03 pm

Re: Linux64 bit support

Post by knro »

Joe, also what distro/arch and xplane10 version you're using? I am using it on Kubuntu 14.04 64bit and have used it flawlessly for numerous hours now.
jpoirier
Posts: 27
Joined: Wed Jun 18, 2014 7:48 pm

Re: Linux64 bit support

Post by jpoirier »

knro wrote:Joe, also what distro/arch and xplane10 version you're using? I am using it on Kubuntu 14.04 64bit and have used it flawlessly for numerous hours now.
The kernel version is 3.13.0-37-generic 64-bit and the distro is Elementary OS Freya, which is Ubuntu based. X-Plane runs fine with the PilotEdge plugin loaded, it only crashes when I try to connect to the PilotEdge network.

[edit] ...and X-Plane 10.30.

-joe
injunear
Posts: 3
Joined: Mon Dec 17, 2012 2:25 am

Re: Linux64 bit support

Post by injunear »

Crash on connect as described by Joe

System is Ubuntu 12.04 64 bit, X-Plane 10.30r2 (64-bit build 103010)

X-Plane Log.txt (truncated to last few lines)

Code: Select all

ATC audio initialized.
ERROR: object Aircraft/Heavy Metal/C-130/objects/C130_Wings.OBJ has illegal param light airplane_Landing_flare
ERROR: object Aircraft/Heavy Metal/C-130/objects/C130_Wings.OBJ has illegal param light airplane_Landing_flare
--=={This application has crashed because of the plugin: PilotEdge}==--
PilotEdge_out.txt

Code: Select all

Starting up: PilotEdge client, V1.1.1
initVoice with device ts3.pa.dummy.playbackdefault, returned 0
PilotEdge initialized
Entered deferred startup
completed deferred startup
Setting up connection details...
Checking for slaves...
Checking for server file...
Checking for voice file...
About to connect...
Connected to PilotEdge Server
Initiated connection to PE network with aircraft on runway at Kansai, RJOO.

Noah
theluckyone17
Posts: 56
Joined: Mon Feb 25, 2013 9:58 am

Re: Linux64 bit support

Post by theluckyone17 »

I just tried it on my 64 bit Gentoo system. Had to install libpng-1.2.51, so I assume it was built against an older version of libpng. Had 1.6.12 installed, and simply symlinking to the newer version did not work. I built libpng-1.2.51 (in the 1.2 slot). which resolved the issue.

X-Plane then recognized the plugin, but I'm seeing the same behavior as above. The plugin let me set my audio output preference. It errored properly a few times while I sorted out my credentials. Once that was corrected, and it could actually connect... CTD. Log.txt blames the PilotEdge plugin. PilotEdge_out.txt ends after "Connected to PilotEdge server".

Update: Ran it through gdb to see if I get anything useful:

Code: Select all

Program received signal SIGABRT, Aborted.
0x00007ffff5e71505 in raise () from /lib64/libc.so.6
And the backtrace:

Code: Select all

#0  0x00007ffff5e71505 in raise () from /lib64/libc.so.6
#1  0x00007ffff5e72988 in abort () from /lib64/libc.so.6
#2  0x00007ffff5eb1b6b in ?? () from /lib64/libc.so.6
#3  0x00007ffff5f3c5f7 in __fortify_fail () from /lib64/libc.so.6
#4  0x00007ffff5f3a5a0 in __chk_fail () from /lib64/libc.so.6
#5  0x00007fffb1ee5fd9 in setVoiceChannel ()
   from /home/noel/X-Plane 10/Resources/plugins/PilotEdge/64/lin.xpl
#6  0x00007fffb1ee802c in connect(char const*, char const*, char const*, char const*, char const*, char const*) ()
   from /home/noel/X-Plane 10/Resources/plugins/PilotEdge/64/lin.xpl
#7  0x00007fffb1ee8ff0 in ConnectWidgetHandler(int, void*, long, long) ()
   from /home/noel/X-Plane 10/Resources/plugins/PilotEdge/64/lin.xpl
#8  0x00007fffb3175179 in XPSendMessageToWidget ()
   from /home/noel/X-Plane 10/Resources/plugins/XPWidgets_64.so
#9  0x00007fffb317523f in XPSendMessageToWidget ()
   from /home/noel/X-Plane 10/Resources/plugins/XPWidgets_64.so
#10 0x00007fffb316ef16 in XPButton(int, void*, long, long) ()
   from /home/noel/X-Plane 10/Resources/plugins/XPWidgets_64.so
#11 0x00007fffb3175179 in XPSendMessageToWidget ()
   from /home/noel/X-Plane 10/Resources/plugins/XPWidgets_64.so
#12 0x00007fffb31764a4 in XPWidgetMouse(void*, int, int, int, void*) ()
   from /home/noel/X-Plane 10/Resources/plugins/XPWidgets_64.so
#13 0x00007fffb33c183d in XPLMDisplayMouseClickHook(int, int, int) ()   from /home/noel/X-Plane 10/Resources/plugins/XPLM_64.so
#14 0x00007fffb33c3ad4 in XPLMMouseClickHook ()
   from /home/noel/X-Plane 10/Resources/plugins/XPLM_64.so
#15 0x0000000000c13c58 in XPPMouseClickHook(int, int, int) ()
#16 0x00000000006a2edf in xplane_window_delegate::mouse_up(void*, int, int, int) ()
#17 0x0000000000e6f2a6 in LIN_handleevt(_XEvent*) ()
#18 0x0000000000e6d6f0 in WIN_event_loop(int) ()
#19 0x0000000000e6d829 in WIN_run_app ()
#20 0x00000000011463ac in main ()
Last edited by theluckyone17 on Sun Oct 19, 2014 6:19 pm, edited 1 time in total.
Image
wmburns
Posts: 474
Joined: Mon Jun 10, 2013 7:28 am

Re: Linux64 bit support

Post by wmburns »

Just to add my 0.02 to this thread. My system. Unbuntu 14.04 LTS 32 Bit. I'm running X-Plane 10.25 and 10.30.

Let me start out by saying, "Thank-you". The new PilotEdge plug-in is much better than the previous version. I just completed a full flight using X-Plane 10.25. Communitions worked fine (previous attempt went to 100% CPU everytime PPT was activated).

I can add that the combination of PilotEdge and Vatsim/XSB Plug-ins don't appear to play well together. Removed the Vatsim/XSB as a work around.

HOWEVER. I am unable to get the PilotEdge plug-in to load on X-Plane 10.30. The snip from the log.txt follows:

>>Log.txt 10.30
Fetching plugins for /home/wmburns/X-Plane 10-Beta/Resources/plugins

Loaded: /home/wmburns/X-Plane 10-Beta/Resources/plugins/PluginAdmin/32/lin.xpl (xpsdk.examples.pluginadmin).

dlerror:/home/wmburns/X-Plane 10-Beta/Resources/plugins/PilotEdge/lin.xpl: undefined symbol: __stack_chk_fail_local
Xsaitekpanels: ver 2.32
Xsaitekpanels: found 0 Switch 1 Radio 0 Multi 0 BIP Panels
Loaded: /home/wmburns/X-Plane 10-Beta/Resources/plugins/Xsaitekpanels/lin.xpl (saitekpanels.hardware uses hidapi interface).
<<

Note, the X-Plane 10.30 works fine in offline mode. By the way, this is the same error I got the previous time I attempted to test Linux 32bit/X-Plane 10.30/PilotEdge. Was the 32 bit PilotEdge client re-worked to match the 64 bit version?

My long term plan is to create a new Unbuntu 14.04 64 bit mule system to test the 64 bit operation but I'm not there yet.

Any ideas about the undefined symbol? I did run an LDD against the Resources/plugins/PilotEdge/lin.xpl with clean output.

Again, thanks for the hard work done so far.
Last edited by wmburns on Tue Oct 21, 2014 9:34 am, edited 1 time in total.
Post Reply