Problem on Linux

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

pigga
Master MS/Extra'er
Posts: 618
Joined: Sat Feb 09, 2008 12:44 pm

Problem on Linux

Post by pigga »

Hi,
I just would like to congratulate to this fantastic progam :-)
Unfortunately I encountered some problems under linux as well :-(
1st of all: The Splasscreen appears in two layers. One Splash I can make go away by pressing alt-F4, the other remains (maybe the 2nd splashscreen has to remain? I dunno...).
Then TunerStudio tries to acces its standard folders in my "home" Directory (I just started the package from the desktop. Maybe this was no good idea?)
However, when I start the mini-Terminal, I'll be able to choose the Port and its speed, but I can't close it (i.e. neither the Port nor the terminal).
As you suggested, I installed the librxtx and started the *.jar Package directly. This worked so far and I could coose the tty0USB (or so) Interface. When I choose "Start new project" and choose the predefined MS2extra Project, suddenly everything worked! Fascinating....
I clicked though all the settings and everything worked. I saved the configuration but however, I wasn't able to start this config again.
However, I believe this is a really goot thing making the MS Project getting better :-)
Btw: The Problem with the freezing Splashscreen appears with Megalogviever as well (at least in my config).
If I can help you with some kind of Logfile, please let me know.
P.S.: I'm running ubuntu.
Regards,
Thomas
LT401Vette
Super MS/Extra'er
Posts: 12733
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: Serial problem on Linux

Post by LT401Vette »

Thanks for reporting your experiences!
What version are you on? I just noticed I still only have 0.983 out for linux, to get on 0.984 you have to be able to get an auto update. 0.984 is getting sort of old too. I will have the next release out by Friday, I will make sure to have a linux release too.

The Splasscreen appears in two layers. One Splash I can make go away by pressing alt-F4, the other remains (maybe the 2nd splashscreen has to remain? I dunno...)
Is the second splash screen the image in the main window (The gauge Area)? Or is there actually 2 splash screens with no frame?
Then TunerStudio tries to acces its standard folders in my "home" Directory
Yes it will do this... Under your home directory it will create a folder called "TunerStudioProjects" that will be the default location for all your projects. Including a sample MS2 Extra project.
I installed the librxtx and started the *.jar Package directly.
You shouldn't need to do this if you start using the TunerStudio.sh file. Although it can sometimes be easier if you are running a 64 bit version too.
I saved the configuration but however, I wasn't able to start this config again.
By default TSMS doesn't reopen your last project, you need to reopen it from the Menu
File --> Project --> Open
Then you will find it in the dir:
[Your Home]\TunerStudioProjects\[Your Project Name]

You can turn on the option to load last project at start up on the menu:
Options --> Preferences --> Load Last Project on Startup
I'm thinking I should make this on by default, most people probably use the same project every time. Agree?
Btw: The Problem with the freezing Splashscreen appears with Megalogviever as well (at least in my config).
Hmm, there is no splash screen in MLV on Linux, just the image in the main window that goes away when you open a log. Is that what you are referring to?

Most of my linux use is on Ubuntu also, but I have found some visual problems on one of my linux laptops that doesn't show itself on the other, so more testing is always a good thing! :)
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
pigga
Master MS/Extra'er
Posts: 618
Joined: Sat Feb 09, 2008 12:44 pm

Re: Serial problem on Linux

Post by pigga »

[EDIT]
I finally worked it out :-) Afair I had to create a Folder for TunerStudio to save the Settings.
But...the Splashscreen still freezes up->same as in Megatune. Closing it with AltF4 makes the program continuin "loading project" etc.
Keeping in mind that this is a "beta" I am really interested in things that are coming! *tumbs up*
[/EDIT]
Thomas
LT401Vette
Super MS/Extra'er
Posts: 12733
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: Serial problem on Linux

Post by LT401Vette »

One thing to make sure of.... Be sure you are starting it from the install dir. That will be the apps working dir and it will be looking for other files relative to the jar file.
On Ubuntu if you create a link to it on your desktop, it will usually start it with your desktop as the working dir, that won't work right. So you need to start it from the dir the jar is in, or what I have been doing is putting a
cd [app dir]
at the top of the sh file then putting a link to the sh file....

I will make a cleaner linux install once I get to release. :)
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
pigga
Master MS/Extra'er
Posts: 618
Joined: Sat Feb 09, 2008 12:44 pm

Re: Problem on Linux

Post by pigga »

Yeah, the wring directory was definitely the problem.
Now it works by launching the *.jar fie directly as you described it above (after installing the rxtx lib). Even the detection of my type of code worked (just the automatic download of the config file didnt succeed, but this might be because of other reasons?)
So far I could find no major bug except of the freezing splashsreen ;-)
Thomas
LT401Vette
Super MS/Extra'er
Posts: 12733
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: Problem on Linux

Post by LT401Vette »

the automatic download of the config file didnt succeed, but this might be because of other reasons?)
Yep, other reasons.... The server isn't answering yet :)
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
Nitrobanshee
Helpful MS/Extra'er
Posts: 94
Joined: Mon Apr 24, 2006 9:51 am

Re: Problem on Linux

Post by Nitrobanshee »

I ran into the double splash screen also. The program would load up normally and then a second splash screen would pop up, making TS kindof freeze up, I could still move the main window around but the second splash screen would stay in the middle of the screen. While I could move the main window around I could not access any of the drop down menus. I ended up deleting TS and reinstall it, and the problem went away. Im shure it has something to do with my setup, as far as running it on puppy linux but it seems to work. I also tried TS with SliTaz linux and it also works good plus total OS=90megs.
1995 Nissan Pickup truck running Megasquirt V2.2 MSII 2.88 EDIS with a turbo.
Dyno #s 354WHP 381 Foot pounds 20 Pounds of Boost.
KA24E-t Power
pigga
Master MS/Extra'er
Posts: 618
Joined: Sat Feb 09, 2008 12:44 pm

Re: Problem on Linux

Post by pigga »

Ok, if the sever doesnt host the config files I can wait a long time :-)
Finally, here is a screenshot of the double splasscreen:
Bildschirmfoto2.png
Thomas
Nitrobanshee
Helpful MS/Extra'er
Posts: 94
Joined: Mon Apr 24, 2006 9:51 am

Re: Problem on Linux

Post by Nitrobanshee »

I was just playing with my new acer aspire one netbook to see if slitaz would boot on it.It did then I tried tunerstudio out and it also gave me the double splash screen. I closed out of TS by killing it and tried to restart it, only this time it loaded like 30 some od windows basicaly like I double clicked TS 30 times. I think that it did make an error log so if that may help let me know.

Thanks and keep up with the good work
Jeremy
1995 Nissan Pickup truck running Megasquirt V2.2 MSII 2.88 EDIS with a turbo.
Dyno #s 354WHP 381 Foot pounds 20 Pounds of Boost.
KA24E-t Power
LT401Vette
Super MS/Extra'er
Posts: 12733
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: Problem on Linux

Post by LT401Vette »

That is interesting.... I'm trying to think of what could be causing that. How did you start the app? With the sh file or the jar? Terminal or click?
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
Nitrobanshee
Helpful MS/Extra'er
Posts: 94
Joined: Mon Apr 24, 2006 9:51 am

Re: Problem on Linux

Post by Nitrobanshee »

I am starting it with the tunerstudio.sh file. double clicking it or right click then exicute.
1995 Nissan Pickup truck running Megasquirt V2.2 MSII 2.88 EDIS with a turbo.
Dyno #s 354WHP 381 Foot pounds 20 Pounds of Boost.
KA24E-t Power
tasmod
Helpful MS/Extra'er
Posts: 89
Joined: Thu Jan 20, 2005 5:25 am
Location: Epworth, N. Lincs, UK
Contact:

Re: Problem on Linux

Post by tasmod »

I too have the exact same problem. I'm also using Puppy Linux.

I cannot get the app to go beyond a main window with it's own splash screen and the overlaid but fixed central onscreen, another splash.
The central splash floats above the main window and is always on top. I can move the window around under this splash but nothing else.

The last message is 'Loading fonts list ' (?)

Nice app by the way, had it working on Windows before the change.
Rob

V3, MSnSExtra 024y, Mt 2.25.
Late phase 3 Toyota 4age twincam in Lotus 7 type car.
36-1 with coilpack.
LT401Vette
Super MS/Extra'er
Posts: 12733
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: Problem on Linux

Post by LT401Vette »

The last message is 'Loading fonts list ' (?)
Hmm, I wonder if there is a problem with this call on puppy. I haven't tried puppy linux, but it seems popular for car PC's with it's light weight. That call is typically slow for some reason, so I make it one time on startup and cache the results. I'll see what I can come up with. I am putting out a new release by Saturday, so see if that take care of it too.

One other thing to check... Check your system clock to see the date is right.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
tasmod
Helpful MS/Extra'er
Posts: 89
Joined: Thu Jan 20, 2005 5:25 am
Location: Epworth, N. Lincs, UK
Contact:

Re: Problem on Linux

Post by tasmod »

I had to reinstall Puppy partition today, so took opportunity to fully update all packages.

TS
I noticed that it seemed to complete the load fonts and then move the splash a small amount before freezing. Hope that clue helps a bit.

Is that really the icon, the eye! Are you watching me from my desktop :lol:
Rob

V3, MSnSExtra 024y, Mt 2.25.
Late phase 3 Toyota 4age twincam in Lotus 7 type car.
36-1 with coilpack.
tasmod
Helpful MS/Extra'er
Posts: 89
Joined: Thu Jan 20, 2005 5:25 am
Location: Epworth, N. Lincs, UK
Contact:

Re: Problem on Linux

Post by tasmod »

OK got it working now.

Just edited TunerStudio.properties by adding the # in front of splashscreen command to disable. Loads and works OK.
Rob

V3, MSnSExtra 024y, Mt 2.25.
Late phase 3 Toyota 4age twincam in Lotus 7 type car.
36-1 with coilpack.
LT401Vette
Super MS/Extra'er
Posts: 12733
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: Problem on Linux

Post by LT401Vette »

tasmod wrote:OK got it working now.

Just edited TunerStudio.properties by adding the # in front of splashscreen command to disable. Loads and works OK.
Interesting... So it must be the splash screen itself!
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
pigga
Master MS/Extra'er
Posts: 618
Joined: Sat Feb 09, 2008 12:44 pm

Re: Problem on Linux

Post by pigga »

Yeah, I can confirm. When the splash is disabled it works. Just for fun I converted the Splash into jpg to see what happens, but that's not the solution ;-)
Thomas
tasmod
Helpful MS/Extra'er
Posts: 89
Joined: Thu Jan 20, 2005 5:25 am
Location: Epworth, N. Lincs, UK
Contact:

Re: Problem on Linux

Post by tasmod »

Just updated TS and come across a new problem. It now won't load a project!

After the update I received an error message regarding saving the update. I then had the blank front end showing, clicking on Project,Load project opened a dialogue in TS Projects but when I select a project nothing happens. The button responds but goes no further.

Rob
Rob

V3, MSnSExtra 024y, Mt 2.25.
Late phase 3 Toyota 4age twincam in Lotus 7 type car.
36-1 with coilpack.
LT401Vette
Super MS/Extra'er
Posts: 12733
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: Problem on Linux

Post by LT401Vette »

I found an error in that build and just put out another. Try pulling the latest tar.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
tasmod
Helpful MS/Extra'er
Posts: 89
Joined: Thu Jan 20, 2005 5:25 am
Location: Epworth, N. Lincs, UK
Contact:

Re: Problem on Linux

Post by tasmod »

No joy, still won't load a project :(

Splash screen problem cleared up though :)

What JRE version is this tested under, I'm on an earler version.
Rob

V3, MSnSExtra 024y, Mt 2.25.
Late phase 3 Toyota 4age twincam in Lotus 7 type car.
36-1 with coilpack.
Post Reply