4.2 bugs

Discuss suspected bugs with other users and Sim Innovations Staff

Moderators: russ, Ralph

Message
Author
Detlef
Posts: 309
Joined: Mon Nov 16, 2020 9:43 am
Location: Bavaria

Re: 4.2 bugs

#211 Post by Detlef »

jph wrote: Sun Sep 03, 2023 9:04 am
Toddimus wrote: Wed Aug 30, 2023 7:27 pm 42log.txtI'm seeing something similar. The Knobster has really delayed response and ends up with a big backlog of "clicks" after you stop spinning the knob. Something strange is going on with how 4.2 deals with knob acceleration, I think. I am using a DIY Knobster with a native Aduino Nano, if that matters. It works fine in v4.1.6.
-Todd
Nothing strange going on - just the way it has to work.
This is imho, only to be expected in the knobster diy. - meaning, the knobster using an Arduino with a slow serial link
Processing rapid clicks with a serial rate of 115kB is difficult - to say the least !. you also have the interaction of AM itself in response to incoming messages from the knobster via SLOW serial.

I don't think it would alter things if the knobster used interrupt driven routines as the AM end processing would not keep up (also related to the 115k baud link)

HID is far better for items like knobster, yet it also shows the limitations of the serial link(s) or possibly the interaction of AM with the multiple serial links as being a bottleneck that is not easily overcome. - if ever

Joe
Joe,
I don't have a do it yourself knobster, just a regular one. I am on holiday currently, so cannot test anything.
Detlef

User avatar
jph
Posts: 2867
Joined: Fri Apr 10, 2020 12:50 pm
Location: Somewhere over the rainbow..

Re: 4.2 bugs

#212 Post by jph »

Detlef wrote: Tue Sep 05, 2023 8:35 pm

Joe,
I don't have a do it yourself knobster, just a regular one. I am on holiday currently, so cannot test anything.
Detlef
Hi Detlef, it could well be something has changed then. Hopefully Corjan can advise when he returns.
Joe
Joe. CISSP, MSc.

SimPassion
Posts: 5363
Joined: Thu Jul 27, 2017 12:22 am

Re: 4.2 bugs

#213 Post by SimPassion »

Just found the "-Xmx" parameter value is insufficient in "air_manager.bat"
it's currently set to only 512 and should rather be set to 2048 to allow smoother operations when AM is running on rig with huge amount of instruments (like devs are used to ...)

now Air Manager 4.2 (BETA 26) is happier with "-Xmx2048m" ;)

SimPassion
Posts: 5363
Joined: Thu Jul 27, 2017 12:22 am

Re: 4.2 bugs

#214 Post by SimPassion »

SimPassion wrote: Sat Sep 09, 2023 8:57 am Just found the "-Xmx" parameter value is insufficient in "air_manager.bat"
it's currently set to only 512 and should rather be set to 2048 to allow smoother operations when AM is running on rig with huge amount of instruments (like devs are used to ...)

now Air Manager 4.2 (BETA 26) is happier with "-Xmx2048m" ;)
I re come on this : such setting should be a user specific optional setting and not mandatory reduced to 512, so if the user has increased the value, any new AM release shouldn't overwrite what's set by the AM user 😉

SimPassion
Posts: 5363
Joined: Thu Jul 27, 2017 12:22 am

Re: 4.2 bugs

#215 Post by SimPassion »

One Online Store repository bug this morning with AM 4.2 (BETA 26), when trying to download some instruments, next step is the Login UI which doesn't work in any case and restarting AM didn't solved

image.png

User avatar
Ralph
Posts: 8128
Joined: Tue Oct 27, 2015 7:02 pm
Location: De Steeg
Contact:

Re: 4.2 bugs

#216 Post by Ralph »

Nothing to do with 4.2, this was a mistake in the panel layout. It has been fixed, but it will take a little while before this new layout is available in 4.2.

User avatar
Corjan
Posts: 2964
Joined: Thu Nov 19, 2015 9:04 am

Re: 4.2 bugs

#217 Post by Corjan »

SimPassion wrote: Sat Sep 09, 2023 8:57 am Just found the "-Xmx" parameter value is insufficient in "air_manager.bat"
it's currently set to only 512 and should rather be set to 2048 to allow smoother operations when AM is running on rig with huge amount of instruments (like devs are used to ...)

now Air Manager 4.2 (BETA 26) is happier with "-Xmx2048m" ;)
Hi,


Just improved the image caching, so it will only load what it is showing. That should help.
It would cache it all, and this can become a lot when there are a lot of instruments :)


Corjan

SimPassion
Posts: 5363
Joined: Thu Jul 27, 2017 12:22 am

Re: 4.2 bugs

#218 Post by SimPassion »

Thanks for these news @Ralph and @Corjan 👍

SimPassion
Posts: 5363
Joined: Thu Jul 27, 2017 12:22 am

Re: 4.2 bugs

#219 Post by SimPassion »

When the "Generic - Magneto starter switch" hardware function is downloaded, it create this error in the logs in AM 4.2 (BETA 26) :

Code: Select all

2023-09-14 09:49:42 ERROR PluginScan - Failed to load instrument from 'C:\Users\simu/Air Manager BETA/instruments/OPEN_DIRECTORY/3af9cc33-5181-4996-029c-af449a72c895'
Deleting this instrument from /OPEN_DIRECTORY/ and re downloading it after AM restart doesn't solve this issue

SimPassion
Posts: 5363
Joined: Thu Jul 27, 2017 12:22 am

Re: 4.2 bugs

#220 Post by SimPassion »

Just discovered error in json static data reading and construction logic, will create CTD with AM 4.2 (BETA 26)

Post Reply