macOS 12 Diptrace 4.2.0.1 very laggy

Report bugs here
Message
Author
envelator
Posts: 5
Joined: 27 Nov 2021, 10:58

Re: macOS 12 Diptrace 4.2.0.1 very laggy

#11 Post by envelator » 16 Nov 2022, 18:23

yep I also still have issues, I love diptrace to bits but not being able to use it on my main machine sucks :( any ideas what the problem could be?

Alex
Technical Support
Posts: 3748
Joined: 14 Jun 2010, 06:43

Re: macOS 12 Diptrace 4.2.0.1 very laggy

#12 Post by Alex » 08 Dec 2022, 07:34

We seem to fixed the bug already and can't reproduce it anymore. Please make sure the following:
1. You use the latest version 4.3.0.3
2. Graphics mode is Direct3D
3. Number of components is 450 or more
4. Lags may happen mostly when zooming and panning.

Unlike Win version, Mac version has some platform optimizations. In particular, it includes correct displaying of toolbars above the design area.

Dave8266
Posts: 49
Joined: 20 Mar 2020, 23:57

Re: macOS 12 Diptrace 4.2.0.1 very laggy

#13 Post by Dave8266 » 08 Dec 2022, 20:03

It's definitely still a problem.
I have a project I'm working on now... specs are:

Code: Select all

Pins: 632
SMD/THT: 414/218
Patterns: 211
Nets: 138
Routed Nets: 136
Length of traces: 218.2686 in
Vias: 739
Jumper Wires: 0
2 layers
Board size: 4.35 in x 7.35 in
In the PCB editor:

In DipTrace 4.3.0.3, on a M1 MacBook Air 8/8, on macOS 12.6.1, changing between layers takes over four seconds.
In DipTrace 4.3.0.1, on a 2018 Mac Mini i7 on macOS 10.14.6, changing between layers happens so fast I see the update before I hear the click from my keyboard finish.

Likewise, on the Intel Mac, I can move my cursor around and the highlights (nets, components, pours, etc) basically happen immediately.
On the M1, however, moving the cursor between components has about a one second delay before the item under the cursor highlights. If the cursor moves over a trace that has a copper pour associated, it takes close to two seconds for it to highlight. And if I move the cursor and click on an item before the highlight has caught up, half the time the selection will not be applied. :cry:

Another tests: If I have the trace move tool active, and click on a trace and slowly start dragging, it takes close to three seconds for the trace to start moving on the M1 Mac. On the Intel Mac, there is a delay of just a fraction of a second.

It really is unusable in this state - painfully frustrating to use.

The M1 is 35% faster than the i7-8700B in single-core benchmarks - it shouldn't be so slow. Everything else I use runs remarkably quick, it's only DipTrace that lags...

Alex
Technical Support
Posts: 3748
Joined: 14 Jun 2010, 06:43

Re: macOS 12 Diptrace 4.2.0.1 very laggy

#14 Post by Alex » 09 Dec 2022, 17:19

Dave8266 wrote:
08 Dec 2022, 20:03
It's definitely still a problem.
I have a project I'm working on now... specs are:

Code: Select all

Pins: 632
SMD/THT: 414/218
Patterns: 211
Nets: 138
Routed Nets: 136
Length of traces: 218.2686 in
Vias: 739
Jumper Wires: 0
2 layers
Board size: 4.35 in x 7.35 in
In the PCB editor:

In DipTrace 4.3.0.3, on a M1 MacBook Air 8/8, on macOS 12.6.1, changing between layers takes over four seconds.
In DipTrace 4.3.0.1, on a 2018 Mac Mini i7 on macOS 10.14.6, changing between layers happens so fast I see the update before I hear the click from my keyboard finish.

Likewise, on the Intel Mac, I can move my cursor around and the highlights (nets, components, pours, etc) basically happen immediately.
On the M1, however, moving the cursor between components has about a one second delay before the item under the cursor highlights. If the cursor moves over a trace that has a copper pour associated, it takes close to two seconds for it to highlight. And if I move the cursor and click on an item before the highlight has caught up, half the time the selection will not be applied. :cry:

Another tests: If I have the trace move tool active, and click on a trace and slowly start dragging, it takes close to three seconds for the trace to start moving on the M1 Mac. On the Intel Mac, there is a delay of just a fraction of a second.

It really is unusable in this state - painfully frustrating to use.

The M1 is 35% faster than the i7-8700B in single-core benchmarks - it shouldn't be so slow. Everything else I use runs remarkably quick, it's only DipTrace that lags...
Thank you for the feedback. We will investigate the cases you described on Mac M1.

Dave8266
Posts: 49
Joined: 20 Mar 2020, 23:57

Re: macOS 12 Diptrace 4.2.0.1 very laggy

#15 Post by Dave8266 » 09 Dec 2022, 18:00

Thanks Alex, appreciate it!
Unfortunately I can't send this project, as it belongs to the company... but If there is any other assistance I can provide to help troubleshoot or isolate this issue, please let me know.

Dave8266
Posts: 49
Joined: 20 Mar 2020, 23:57

Re: macOS 12 Diptrace 4.2.0.1 very laggy

#16 Post by Dave8266 » 16 Dec 2022, 15:55

Ok, I updated the M1 Mac to macOS 13.1 as a test, and the results are the same.

One additional datapoint - The performance impact seems to scale proportional to the amount of the PCB that is visible in the viewport. It doesn't matter if the window itself (actual pixels rendered) is full screen or tiny (even down to 1" x 1")... if the full PCB is in view in that space, it still takes ages to change layers.

Dave8266
Posts: 49
Joined: 20 Mar 2020, 23:57

Re: macOS 12 Diptrace 4.2.0.1 very laggy

#17 Post by Dave8266 » 16 Dec 2022, 17:51

Ok, I've isolated it further.

The vast majority of the performance hit during general usage is in the silkscreen layer. I can turn off the top silk layer in my PCB, and the rendering is dramatically faster. Still not great, and still not as fast as on the slower Intel Mac, but it's clear the silk layer is a big part of the bottleneck.

Doing the opposite test, I can turn off all layers *except* the top silk, and switching the view between layers still takes three full seconds (down from four). That's with nothing else showing except the top silk.

A second significant impact is the copper pours. This project has two large copper pours (one each on the top and bottom layers), and it has three route keep-out polygons which apply to both sides of the PCB. When I clear the copper pours then click "Update copper pours", it takes a whopping 64 seconds from when I click update to when they appear. :shock: On the Intel Mac, the same operation takes approximately four seconds. During the time DipTrace is updating the copper pours, Activity Monitor shows 100% cpu usage for "wine64-preloader", which then drops back to 5-6% once the pours are updated.

dostr63
Posts: 10
Joined: 14 Jun 2018, 12:30

Re: macOS 12 Diptrace 4.2.0.1 very laggy

#18 Post by dostr63 » 11 Jan 2023, 11:58

I'm finding exactly the same issues as Dave8266 has.

MacBook Air M2. Ventura 13.1 DipTrace 4.3.0.3

I'm side-by side running Ubuntu 22.04 on a 2012 ThinkPad X1 Carbon - same Diptrace version, same PCB, same graphics mode - and the 10-year-old Ubuntu/ThinkPad is fast and smooth - whilst the MacBook is struggling with a simple zoom.
(obviously on linux I'm using Wine and the .exe version of DipTrace)

If I turn-off all layers, except the 4 copper layers, and the board outline - then it's OK.
Updating the copper-pour (all 4 layers) is very slow - but zoom still seems fine, provided the non-copper layers are off (obviously I mostly work with the copper-pours off anyway).

PCB is 200mm by 100mm, 4 layer, 430 pins, 70 nets.

User avatar
KevinA
Posts: 621
Joined: 18 Dec 2015, 15:35

Re: macOS 12 Diptrace 4.2.0.1 very laggy

#19 Post by KevinA » 13 Jan 2023, 00:05

Recommended System Requirements
- Windows XP / Vista / 7 / 8 / 8.1 / 10 (32, 64-bit); Linux(Wine); Mac OS X.
Seems like MacOS 12 isn't the same as Mac OS X but then Windows 11 is not shown yet a 23 year old OS is listed as supported XP.

Post Reply