Author Topic: LTSpice 24, significant update  (Read 14794 times)

0 Members and 2 Guests are viewing this topic.

Offline SiliconWizardTopic starter

  • Super Contributor
  • ***
  • Posts: 14481
  • Country: fr
LTSpice 24, significant update
« on: February 07, 2024, 04:54:57 am »
For those who haven't updated yet, LTSpice 24 comes with some nice improvements.
And no, I'm not talking about the new icons, which are a bit... "much".

But the simulation speed has been greatly enhanced - for typical circuits with some switching supplies, LTSpice was previously using the equivalent of 100% of 2 threads, something in that order, whatever the number of threads you would configure in its settings. With LTSpice 24, the same circuits simulate with the equivalent of 100% of 7-8 threads. It's not perfectly efficient though, so you don't get a 4x speedup, more like 2x-3x on average, still nice.
(Though the downside for those using laptops with a small number of cores is that you may now want to turn down the number of threads in the settings to avoid having the fan blow at full speed. ;D )

The waveform viewer also got some long-awaited additions.
All in all, nice update. I'd say a better update definitely than when it went from version IV to version 17.
 
The following users thanked this post: schmitt trigger, Markus2801A

Offline berke

  • Frequent Contributor
  • **
  • Posts: 258
  • Country: fr
  • F4WCO
Re: LTSpice 24, significant update
« Reply #1 on: February 07, 2024, 05:20:10 pm »
Won't launch under wine :(
 
The following users thanked this post: JoeRoy

Offline schmitt trigger

  • Super Contributor
  • ***
  • Posts: 2223
  • Country: mx
Re: LTSpice 24, significant update
« Reply #2 on: February 07, 2024, 05:51:22 pm »
Thanks for the tip. I have installed it and preliminary it does appear to simulate faster.  :-+
The GUI is essentially the same. The icons have a more modern look, but like any update, takes a while to get used to.
« Last Edit: February 07, 2024, 06:06:03 pm by schmitt trigger »
 

Online iMo

  • Super Contributor
  • ***
  • Posts: 4790
  • Country: pm
  • It's important to try new things..
Re: LTSpice 24, significant update
« Reply #3 on: February 07, 2024, 08:33:25 pm »
MUCH faster, indeed..  :-+
But less diode models..none BZX zener below 6V2?  :(
Also the graphics is blurry on my display, the same with the v. 17.
The v. XVII is perfectly clear/sharp here..

PS: this helped..
« Last Edit: February 07, 2024, 08:41:10 pm by iMo »
 

Offline SiliconWizardTopic starter

  • Super Contributor
  • ***
  • Posts: 14481
  • Country: fr
Re: LTSpice 24, significant update
« Reply #4 on: February 07, 2024, 09:41:32 pm »
Won't launch under wine :(

I use it under Wine and it works fine. What do you get when you try?
 

Offline berke

  • Frequent Contributor
  • **
  • Posts: 258
  • Country: fr
  • F4WCO
Re: LTSpice 24, significant update
« Reply #5 on: February 07, 2024, 10:08:08 pm »
I use it under Wine and it works fine. What do you get when you try?

Really?  What distro?  For me the installer works fine but then when it's time to launch LTSpice it just silently exits.  When I launch the installed executable by hand, nothing is displayed either.  (EDIT: Clarification)  I have tried Wine 8 from Debian bookworm, then trixie, then the binary Wine 9 from winehq (both staging and regular), activating the "Hide Wine version", selecting the "Pretend to be Win 10/8/7..." options, reinstalling multiple times in a clean prefix... nada.

Code: [Select]
% WINEPREFIX=~/.wine-staging /opt/wine-staging/bin/wine ~/.wine-staging/drive_c/users/berke/AppData/Local/Programs/ADI/LTspice/LTspice.exe
002c:fixme:winediag:loader_init wine-staging 9.1 is a testing version containing experimental patches.
002c:fixme:winediag:loader_init Please mention your exact version when filing bug reports on winehq.org.
0084:fixme:wineusb:add_usb_device Interface 1 has 7 alternate settings; using the first one.
0084:fixme:wineusb:add_usb_device Interface 2 has 2 alternate settings; using the first one.
0080:fixme:wineusb:query_id Unhandled ID query type 0x5.
0080:fixme:wineusb:query_id Unhandled ID query type 0x5.
0080:fixme:wineusb:query_id Unhandled ID query type 0x5.
0080:fixme:wineusb:query_id Unhandled ID query type 0x5.
011c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
011c:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFFFFFFFFFA, 000000000011FE80
%

When laucnhed it rewrites LTspice.ini then exits.  Running it under strace or winedbg didn't yield any clues.

The installer LTspice64.msi has a SHA256 of 5356456...

(Previous versions have always been working fine, XVIIx64.exe runs fine with all the Wine versions.)
« Last Edit: February 07, 2024, 10:25:15 pm by berke »
 

Offline SiliconWizardTopic starter

  • Super Contributor
  • ***
  • Posts: 14481
  • Country: fr
Re: LTSpice 24, significant update
« Reply #6 on: February 07, 2024, 11:17:57 pm »
Using Wine 9.1 here (the distro is Arch, so I'm pretty much on the latest version for everything, which may make a difference. Don't know). Set as Windows 10. Something you could check is your DPI settings in winecfg. I have it on 96ppp (even though I'd like to set it a little higher, because the fonts in Windows apps look pretty tiny), because using any other value would wreak havoc with some apps, making them exit spontanously as well. Haven't tested with LTSpice specifically, but maybe you're having the same issue? Have a look.

Another thing I noticed, from your quote above, you seem to have installed LTSpice on Wine for a single user, instead of having choosen "all users". I have installed it for "all users", as I have noted issues in the past with Wine with some apps otherwise. So another thing you can try.

In my case, it's installed in: ~/.wine/drive_c/Program\ Files/ADI/LTspice/
« Last Edit: February 07, 2024, 11:21:47 pm by SiliconWizard »
 
The following users thanked this post: JoeRoy, berke

Online Smokey

  • Super Contributor
  • ***
  • Posts: 2593
  • Country: us
  • Not An Expert
Re: LTSpice 24, significant update
« Reply #7 on: February 07, 2024, 11:38:32 pm »
What is the best community parts library for LTSpice these days? 
 

Online magic

  • Super Contributor
  • ***
  • Posts: 6779
  • Country: pl
Re: LTSpice 24, significant update
« Reply #8 on: February 08, 2024, 07:35:09 am »
I have it on 96ppp (even though I'd like to set it a little higher, because the fonts in Windows apps look pretty tiny), because using any other value would wreak havoc with some apps, making them exit spontanously as well.
You can use different .wine directories with different configuration for different applications by setting WINEPREFIX.
 

Offline Mark

  • Frequent Contributor
  • **
  • Posts: 270
  • Country: gb
 

Offline berke

  • Frequent Contributor
  • **
  • Posts: 258
  • Country: fr
  • F4WCO
Re: LTSpice 24, significant update
« Reply #10 on: February 08, 2024, 12:54:27 pm »
Another thing I noticed, from your quote above, you seem to have installed LTSpice on Wine for a single user, instead of having choosen "all users". I have installed it for "all users", as I have noted issues in the past with Wine with some apps otherwise. So another thing you can try.
Thanks that did the trick!
 
The following users thanked this post: SiliconWizard

Offline berke

  • Frequent Contributor
  • **
  • Posts: 258
  • Country: fr
  • F4WCO
Re: LTSpice 24, significant update
« Reply #11 on: February 08, 2024, 09:05:45 pm »
Using Wine 9.1 here (the distro is Arch, so I'm pretty much on the latest version for everything, which may make a difference. Don't know). Set as Windows 10.
I'm trying it now, there is still this ages-old annoying display bug where if you right-click on a diode or transistor to select a different model, the column headings in the selection table are not displayed until you resize the window.  I learned to live with it, but do you get this too?  Xorg XFCE4

Fig. 1 After right-click
2008322-0

Fig. 2 After resizing the resulting window
2008328-1
 

Online iMo

  • Super Contributor
  • ***
  • Posts: 4790
  • Country: pm
  • It's important to try new things..
Re: LTSpice 24, significant update
« Reply #12 on: February 09, 2024, 09:30:55 am »
I never experienced that bug (Win here).
 

Online magic

  • Super Contributor
  • ***
  • Posts: 6779
  • Country: pl
Re: LTSpice 24, significant update
« Reply #13 on: February 09, 2024, 09:47:57 am »
Most of the time I use old LTspice IV for Windows XP because it doesn't have all these stupid issues with Wine. It even runs on ARM with an emulator.

I launch a newer version when I need latest models, usually to run other people's files. Or to run some foreign models, I particularly found IV really struggles with finding operating points of opamp models from TI.
 

Offline John B

  • Frequent Contributor
  • **
  • Posts: 800
  • Country: au
Re: LTSpice 24, significant update
« Reply #14 on: February 09, 2024, 08:23:21 pm »
On Fedora, tried installing LTSpice64.msi through bottles using wine 8.0.2, but simply gives a generic error msiexec.exe has encountered a serious error and must close.

Through the terminal, I created a new prefix with the system running wine 9.0, and tried to run the installer manually, but it simply hangs on these 2 debug messages until I terminate the process:

0480:fixme:file:NtLockFile I/O completion on lock not implemented yet
0480:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION

I tried using Mono 8.0 and 9.0 on the prefix, but maybe another dependency is missing? I couldn't find any solutions.
 

Offline exe

  • Supporter
  • ****
  • Posts: 2562
  • Country: nl
  • self-educated hobbyist
Re: LTSpice 24, significant update
« Reply #15 on: February 09, 2024, 08:29:35 pm »
I'm trying it now, there is still this ages-old annoying display bug where if you right-click on a diode or transistor to select a different model, the column headings in the selection table are not displayed until you resize the window.  I learned to live with it, but do you get this too?  Xorg XFCE4


Yep. I haven't tried the latest version yet...
 

Offline berke

  • Frequent Contributor
  • **
  • Posts: 258
  • Country: fr
  • F4WCO
Re: LTSpice 24, significant update
« Reply #16 on: February 09, 2024, 09:38:23 pm »
Actually I was able to install it using the Debian-provided Wine on one computer but it still doesn't work on the other computer, even when I select "Install for all users."

I've tried it a bit on the other computer, one nice UI change is that you can easily switch between simulation types without having to comment directives by hand.  There is also a button for horizontally tiling the windows and another one for vertically tiling them (you previously had to go to the menu to tile windows other than the default way).
 

Offline SiliconWizardTopic starter

  • Super Contributor
  • ***
  • Posts: 14481
  • Country: fr
Re: LTSpice 24, significant update
« Reply #17 on: February 10, 2024, 08:18:59 am »
Using Wine 9.1 here (the distro is Arch, so I'm pretty much on the latest version for everything, which may make a difference. Don't know). Set as Windows 10.
I'm trying it now, there is still this ages-old annoying display bug where if you right-click on a diode or transistor to select a different model, the column headings in the selection table are not displayed until you resize the window.  I learned to live with it, but do you get this too?  Xorg XFCE4

Fig. 1 After right-click
(Attachment Link)

Fig. 2 After resizing the resulting window
(Attachment Link)

Not this one, but the "Configure analysis" dialog doesn't show controls below the "maximum timestep" one in the Transient tab, until I hover the mouse pointer over the controls below. It seems to only affect the Transient tab for some reason, and does that every single time. Has in previous versions too.
 

Online iMo

  • Super Contributor
  • ***
  • Posts: 4790
  • Country: pm
  • It's important to try new things..
Re: LTSpice 24, significant update
« Reply #18 on: February 11, 2024, 09:01:45 am »
I ran the "new" analysis mode - the "FRA" and found an interesting feature :)
The setup window indicates an estimated duration of the analysis in seconds (pretty well btw), the analysis then shows the elapsing time information in seconds (with perhaps usecs resolution) :) and also the speed of simulation in ms/sec.
The fun is the second there == 20seconds in reality as the speed is 50ms/sec only in my case.

Otherwise pretty interesting enhancement for stability analysis, before that you had to include 13 directives and many clicks in the menu in order to get the same result..

PS: ..and the 0db and phase margin info is placed a bit off, but that is a minor issue..
PS1: you may move the info text with "stretch"..
PS2: the removing "dtmax=10u" gives the results within couple of secs..


« Last Edit: February 11, 2024, 12:29:17 pm by iMo »
 

Offline SiliconWizardTopic starter

  • Super Contributor
  • ***
  • Posts: 14481
  • Country: fr
Re: LTSpice 24, significant update
« Reply #19 on: February 11, 2024, 09:03:54 pm »
Yes, nice feature. Again, LTspice hadn't gotten that many improvements in a long time. I was questioning the future of it when its author, Mike, left, but apparently the new team is doing a good job. (I don't know if Mike has done any consulting for this new version though, maybe?)
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19527
  • Country: gb
  • 0999
Re: LTSpice 24, significant update
« Reply #20 on: February 11, 2024, 09:35:45 pm »
It works for me, running a recently updated PCLinux machine, running Gnome desktop.

I haven't played with it much yet, but so far, so good. It's good to see they've not messed around with the user interface, the way Microsoft do, just to remind people they're using a new version. At first, I didn't like the toolbar icons, but I've changed my mind because they're higher contrast, so I can make them smaller and still legible, which saves screen space.
« Last Edit: February 11, 2024, 09:39:45 pm by Zero999 »
 

Offline m98

  • Frequent Contributor
  • **
  • Posts: 615
  • Country: de
Re: LTSpice 24, significant update
« Reply #21 on: February 11, 2024, 10:31:20 pm »
The 90s called and want their UI back. No way letting one of the electrical engineers draw the icons in paint was more cost-effective than just outsourcing the task to someone who knows what they're doing...
 
The following users thanked this post: Smokey, thm_w


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf