Linux ARM - Java-error when opening tune.msq

For discussion of Phil Tobin's Tuner Studio software (Only about the tuning software itself, not about how to tune or firmware features)

Moderator: LT401Vette

Post Reply
BigBlockMopar
Experienced MS/Extra'er
Posts: 372
Joined: Sat Dec 31, 2011 6:10 am
Location: Netherlands
Contact:

Linux ARM - Java-error when opening tune.msq

Post by BigBlockMopar »

Tried loading my CurrentTune for the first time on my Odroid XU4 (Raspberry-clone) running on a Linux arm OS.
After fighting with java to get a version installed that didn't give blank windows with java files, I finally managed to get TunerStudio windows to show it contents.
But, when opening the tune, it simply didn't get loaded and TunerStudio appeared to be hanging at the 'opening project'. But even though the screen was grayed darker, all the menu-items remained functioning.
The same setup and tune works fine on my MacPro and a Windows tablet.

Is there anything additional that needs to be installed with java to prevent this error perhaps?
Or is "libjnidispatch.so" to be put somewhere (else). I haven't checked yet if this file is located on the disc already somewhere).

TS Debug-file below:

Code: Select all

Starting on odroid
TunerStudio 3.0.28 started on Sun Feb 04 02:08:59 CET 2018
JRE 1.8.0_161, Linux 4.14.15-103, arm
java.library.path=lib
TunerStudioMS.jar
Look:Metal, ClassName:'javax.swing.plaf.metal.MetalLookAndFeel'
Look:Nimbus, ClassName:'javax.swing.plaf.nimbus.NimbusLookAndFeel'
Look:CDE/Motif, ClassName:'com.sun.java.swing.plaf.motif.MotifLookAndFeel'
Look:GTK+, ClassName:'com.sun.java.swing.plaf.gtk.GTKLookAndFeel'
Look:Night Shade, ClassName:'de.muntjak.tinylookandfeel.TinyLookAndFeel'
Setting Look & Feel to:javax.swing.plaf.metal.MetalLookAndFeel
ScrollBar.width
2/4/18 2:09:00 AM :Debug: no update:defaultFont
2/4/18 2:09:04 AM :Info: Loading Language Content.
2/4/18 2:09:04 AM :Info: Initializing File Dialogs.
2/4/18 2:09:04 AM :Debug: Command Non-VolatileBytes for F resolved to: x46                                                                   F
2/4/18 2:09:04 AM :Debug: Command Non-VolatileBytes for I resolved to: x49                                                                   I
2/4/18 2:09:04 AM :Debug: Command Non-VolatileBytes for f resolved to: x66                                                                   f
2/4/18 2:09:04 AM :Info: Initializing Plugin Services.
2/4/18 2:09:04 AM :Info: Loading Plugins.
2/4/18 2:09:04 AM :Info: Initializing Help.
2/4/18 2:09:04 AM :Info: Initializing Edition Features.
2/4/18 2:09:04 AM :Info: Initializing App Events.
2/4/18 2:09:04 AM :Debug: App Name:TunerStudio, appEdition:MS Ultra
2/4/18 2:09:04 AM :Info: Initializing Log Viewer Components.
2/4/18 2:09:04 AM :Info: Initializing User Interface
2/4/18 2:09:04 AM :Warning: Unable to set Main cluster for title:
2/4/18 2:09:06 AM :Info: Loading Font list.
2/4/18 2:09:06 AM :Debug: Time to retreive font name list: 16 ms.
2/4/18 2:09:06 AM :Info: 
2/4/18 2:09:06 AM :Info: Initializing UI Components.
2/4/18 2:09:06 AM :Info: Ready
2/4/18 2:09:06 AM :Info: Error Sorting Dialog: column beyond range of TableModel
MS Ultramain: No check, last update check=Wed Jan 31 21:55:58 CET 2018
MS Ultraad: No check, last update check=Wed Jan 31 21:56:01 CET 2018
2/4/18 2:09:12 AM :Debug: Directory Changed:
	Old:/home/odroid
	New:/home/odroid/Downloads
2/4/18 2:09:16 AM :Debug: File Changed:
	Old:null
	New:/home/odroid/Downloads/1973DodgeDart
2/4/18 2:09:16 AM :Info: Opening Project ...
2/4/18 2:09:16 AM :Debug: Opening project: /home/odroid/Downloads/1973DodgeDart
2/4/18 2:09:16 AM :Debug: Reading translation file as plain text
2/4/18 2:09:16 AM :Debug: EventTrigger Data log Reset. expression: AppEvent.dataLoggingActive == 0
2/4/18 2:09:16 AM :Debug: EventTrigger Stop Data log Reset. expression: AppEvent.dataLoggingActive != 0
2/4/18 2:09:17 AM :Info: Supported iniSpecVersion=3.51
2/4/18 2:09:17 AM :Debug: Filtered ConfigurationOptionGroup in 347ms.
2/4/18 2:09:17 AM :Info: Supported iniSpecVersion=3.51
2/4/18 2:09:17 AM :Info: Read file canPcVariables.ini: 1.730031ms
2/4/18 2:09:17 AM :Info: Filtered ini: 0.202332ms
2/4/18 2:09:17 AM :Info: No iniVersion defined
2/4/18 2:09:17 AM :Info: Loading Trigger Wheels
2/4/18 2:09:17 AM :Info: Loaded All known ini sections
2/4/18 2:09:17 AM :Info: Parsed and validated ini "canPcVariables.ini" in : 46ms.
2/4/18 2:09:17 AM :Info: Read file mainController.ini: 44.0442ms
2/4/18 2:09:17 AM :Info: Filtered ini: 70.22646ms
2/4/18 2:09:17 AM :Info: No iniVersion defined
2/4/18 2:09:17 AM :Debug: ini signature: MS3 Format 0565.11 
2/4/18 2:09:17 AM :Info: Loading Trigger Wheels
2/4/18 2:09:17 AM :Info: Loading Depricated ini section [UserDefined], use [UiDialogs]
2/4/18 2:09:18 AM :Info: Loaded All known ini sections
2/4/18 2:09:18 AM :Info: Parsed and validated ini "mainController.ini" in : 969ms.
2/4/18 2:09:18 AM :Info: Supported iniSpecVersion=3.51
2/4/18 2:09:18 AM :Info: Read file ms3Supplement.ecu: 33.289886ms
2/4/18 2:09:18 AM :Info: Filtered ini: 0.164249ms
2/4/18 2:09:18 AM :Info: No iniVersion defined
2/4/18 2:09:18 AM :Info: Loading Trigger Wheels
2/4/18 2:09:18 AM :Info: Loading Depricated ini section [UserDefined], use [UiDialogs]
2/4/18 2:09:18 AM :Info: Loaded All known ini sections
2/4/18 2:09:18 AM :Info: Parsed and validated ini "ms3Supplement.ecu" in : 83ms.
2/4/18 2:09:18 AM :Info: Supported iniSpecVersion=3.51
2/4/18 2:09:18 AM :Info: Read file ms3DefaultTools.ini: 0.783704ms
2/4/18 2:09:18 AM :Info: Filtered ini: 0.008958ms
2/4/18 2:09:18 AM :Info: No iniVersion defined
2/4/18 2:09:18 AM :Info: Loading Trigger Wheels
2/4/18 2:09:18 AM :Info: Loaded All known ini sections
2/4/18 2:09:18 AM :Info: Parsed and validated ini "ms3DefaultTools.ini" in : 17ms.
2/4/18 2:09:18 AM :Info: Time to load primary config: 1645.0425ms. used cached config: false
2/4/18 2:09:18 AM :Info: Supported iniSpecVersion=3.51
2/4/18 2:09:18 AM :Info: Read file ms3_1.2_WueAnalyzeMap.ecu: 1.104743ms
2/4/18 2:09:18 AM :Info: Filtered ini: 0.149666ms
2/4/18 2:09:18 AM :Info: No iniVersion defined
2/4/18 2:09:18 AM :Info: Loading Trigger Wheels
2/4/18 2:09:18 AM :Info: Loaded All known ini sections
2/4/18 2:09:18 AM :Info: Parsed and validated ini "ms3_1.2_WueAnalyzeMap.ecu" in : 22ms.
Exception in thread "ProjectOpenThread" java.lang.UnsatisfiedLinkError: jnidispatch (/com/sun/jna/linux-arm/libjnidispatch.so) not found in resource path
	at com.sun.jna.Native.loadNativeLibraryFromJar(Native.java:722)
	at com.sun.jna.Native.loadNativeLibrary(Native.java:699)
	at com.sun.jna.Native.<clinit>(Native.java:114)
	at com.ftdi.FTD2XX.<clinit>(FTD2XX.java:129)
	at com.ftdi.FTDevice.<clinit>(FTDevice.java:46)
	at U.b.l(Unknown Source)
	at h.r.b(Unknown Source)
	at g.c.a(Unknown Source)
	at ag.hA.a(Unknown Source)
	at ag.h.c(Unknown Source)
	at ag.h.a(Unknown Source)
	at ag.A.run(Unknown Source)
2/4/18 2:10:56 AM :Info: closeApp Called
2/4/18 2:10:56 AM :Info: Finalizing Sensors
Saved user properties successfully
Daily driver: 1973 Dodge Dart - 360ci engine - 11.3:1cr - MS3x - ignition only. 42RH/A500 OD+LU transmission / 3.23 gears
--------------
Website: https://www.bigblockmopar.nl/
YouTube Channel: https://www.youtube.com/c/BigBlockMopar
BigBlockMopar
Experienced MS/Extra'er
Posts: 372
Joined: Sat Dec 31, 2011 6:10 am
Location: Netherlands
Contact:

Re: Linux ARM - Java-error when opening tune.msq

Post by BigBlockMopar »

No-one got a clue?
I tried putting a copy of "libjnidispatch.so" at various places but none seemed to work and get TunerStudio to actually open a tune.
The device is running on Ubuntu Mate v16.
Daily driver: 1973 Dodge Dart - 360ci engine - 11.3:1cr - MS3x - ignition only. 42RH/A500 OD+LU transmission / 3.23 gears
--------------
Website: https://www.bigblockmopar.nl/
YouTube Channel: https://www.youtube.com/c/BigBlockMopar
stanglx2002
Experienced MS/Extra'er
Posts: 231
Joined: Wed Dec 28, 2016 7:16 am

Re: Linux ARM - Java-error when opening tune.msq

Post by stanglx2002 »

I am currently in the middle of installing a RPi in my car. I ran into the same issue and the problem is the communication setting you have on your project most likely. On my tuning laptop, I use a FTDI - D2XX driver, and this isn't supported on Linex. You need to open your project and change the setting to "RS232 Serial Interface" save and retry opening the project.
BigBlockMopar
Experienced MS/Extra'er
Posts: 372
Joined: Sat Dec 31, 2011 6:10 am
Location: Netherlands
Contact:

Re: Linux ARM - Java-error when opening tune.msq

Post by BigBlockMopar »

Thanks, I'll have a go at that.
Upto now I'm still benchtesting the miniPC, without being actually hooked up the an MS ecu.
Daily driver: 1973 Dodge Dart - 360ci engine - 11.3:1cr - MS3x - ignition only. 42RH/A500 OD+LU transmission / 3.23 gears
--------------
Website: https://www.bigblockmopar.nl/
YouTube Channel: https://www.youtube.com/c/BigBlockMopar
SwedCharger-67
Experienced MS/Extra'er
Posts: 264
Joined: Sun Dec 23, 2012 2:20 pm
Location: Nordmaling, Sweden

Re: Linux ARM - Java-error when opening tune.msq

Post by SwedCharger-67 »

I remember having something on first loading of TS into the Pi3 running Raspbian. Unfortunately I don't remember exactly what it was. My feeling is that TS is maybe a bit shaky in the Linux-version. Besides loosing connection to the Bluetooth GPS (not sure TS is to blame though) I've also seen some very strange settings reported when switching from Win10 laptop to Pi3. However, I haven't spent time on it so I can't be sure TS is the guilty one...but it feels a bit suspicious... :D
Martin, Sweden
Mopar 512 cui, 8.4 liters, high compression, fuel E85, full sequential control by MS3X, burning rubber just blipping the throttle... :D
Post Reply