Skip to content

Arduino IDE launch takes minutes on macOS #2033

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
3 tasks done
SConaway opened this issue Apr 26, 2023 · 4 comments
Open
3 tasks done

Arduino IDE launch takes minutes on macOS #2033

SConaway opened this issue Apr 26, 2023 · 4 comments
Labels
os: macos Specific to macOS operating system type: imperfection Perceived defect in any part of project

Comments

@SConaway
Copy link

SConaway commented Apr 26, 2023

Describe the problem

Issue

When I open the IDE normally on my mac, the IDE always takes over two minutes before a window appears. Until then, the icon bounces in the Dock and Activity Monitor lists the Arduino IDE process as not responding (and it has launched no other processes yet).

If I open the application in the terminal via its binary (/Applications/Arduino IDE.app/Contents/MacOS/Arduino IDE), then this problem goes away.

Attempted solutions

  1. I've tested it with other 2.x versions, including nightlies.
  2. removed all configuration (~/.arduinoIDE, ~/Library/Arduino15, ~/Library/Application Support/arduino-ide) and still no luck
  3. tried packaging from source but this fails due to an error

To reproduce

  1. Install IDE
  2. attempt to open

Expected behavior

The software opens in seconds like any other application.

Arduino IDE version

2.1.0

Operating system

macOS

Operating system version

anything ventura-based

Additional context

I am willing to provide any information needed.

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details
@SConaway SConaway added the type: imperfection Perceived defect in any part of project label Apr 26, 2023
@kittaakos
Copy link
Contributor

kittaakos commented Apr 27, 2023

Thank you for taking the time and reporting the issue to us.

Additional context

I am willing to provide any information needed.

Great! Here are a few questions that could help to figure out the problem:

  • M1 or Intel chip?
  • Somebody else has reported a similar issue on the Arduino Forum. What happens when you try disconnecting from the Internet or disabling the auto-update feature? Please reference this post on how to do it.
  • You could share the startup log with us. Follow these excellent steps to gather the log files from IDE2 on macOS.

Thanks!

@kittaakos kittaakos added status: waiting for information More information must be provided before work can proceed os: macos Specific to macOS operating system labels Apr 27, 2023
@kittaakos kittaakos changed the title Arduino IDE launch takes minutes Arduino IDE launch takes minutes on macOS Apr 27, 2023
@SConaway
Copy link
Author

M1 or Intel chip?

M1 Max

Somebody else has reported a similar issue on the Arduino Forum. What happens when you try disconnecting from the Internet or disabling the auto-update feature? Please reference this post on how to do it.

Neither disabling WiFi nor disabling autoupdates (from settings) solved the issue.

You could share the startup log with us. Follow these excellent steps to gather the log files from IDE2 on macOS.

When I run from terminal, the issue goes away and it launches normally.

@kittaakos
Copy link
Contributor

kittaakos commented May 2, 2023

Thank you for the update!

M1 or Intel chip?

M1 Max

Please confirm you have downloaded the IDE2 application for M1 and not Intel. Thanks!

From the download page (https://www.arduino.cc/en/software):

Screen Shot 2023-05-02 at 10 23 33

  1. I've tested it with other 2.x versions, including nightlies.

We do not yet have nightly builds for M1: #408.

@SConaway
Copy link
Author

SConaway commented May 2, 2023

Please confirm you have downloaded the IDE2 application for M1 and not Intel. Thanks!

yes, I have the AS version.

We do not yet have nightly builds for M1: #408.

Yes, but I encounter the problem when running the Intel nightly under Rosetta 2.

@kittaakos kittaakos removed the status: waiting for information More information must be provided before work can proceed label May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os: macos Specific to macOS operating system type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants