Arduino stuck on loading screen

Hi! I have just downloaded Arduino for small programming projects, on a kind of slow laptop. But the problem is the program stuck on the loading screen (pulsating logo). I got this from the powershell:

PS C:\Users\Tulajdonos\AppData\Local\Programs\Arduino IDE> & ".\Arduino IDE"

PS C:\Users\Tulajdonos\AppData\Local\Programs\Arduino IDE>

Arduino IDE 2.2.1

Checking for frontend application configuration customizations. Module path: C:\Users\Tulajdonos\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\electron-main.js, destination 'package.json': C:\Users\Tulajdonos\AppData\Local\Programs\Arduino IDE\resources\app\package.json

Setting 'theia.frontend.config.appVersion' application configuration value to: "2.2.1" (type of string)

Setting 'theia.frontend.config.cliVersion' application configuration value to: "0.34.0" (type of string)

Setting 'theia.frontend.config.buildDate' application configuration value to: "2023-08-31T14:35:44.802Z" (type of string)

Frontend application configuration after modifications: {"applicationName":"Arduino IDE","defaultTheme":{"light":"arduino-theme","dark":"arduino-theme-dark"},"defaultIconTheme":"none","electron":{"windowOptions":{}},"defaultLocale":"","validatePreferencesSchema":false,"preferences":{"window.title":"${rootName}${activeEditorShort}${appName}","files.autoSave":"afterDelay","editor.minimap.enabled":false,"editor.tabSize":2,"editor.scrollBeyondLastLine":false,"editor.quickSuggestions":{"other":false,"comments":false,"strings":false},"editor.maxTokenizationLineLength":500,"editor.bracketPairColorization.enabled":false,"breadcrumbs.enabled":false,"workbench.tree.renderIndentGuides":"none","explorer.compactFolders":false},"appVersion":"2.2.1","cliVersion":"0.34.0","buildDate":"2023-08-31T14:35:44.802Z"}

Starting backend process. PID: 9740

Using browser-only version of superagent in non-browser environment

Configuration directory URI: 'file:///c%3A/Users/Tulajdonos/.arduinoIDE'

Configuring to accept webviews on '^.+\.webview\..+$' hostname.

2023-12-31T10:49:25.741Z root WARN Backend Object.initialize took longer than the expected maximum 50 milliseconds: 152.1 ms [Finished 3.747 s after backend start]

2023-12-31T10:49:26.044Z root WARN Backend Object.configure took longer than the expected maximum 50 milliseconds: 150.0 ms [Finished 3.747 s after backend start]

2023-12-31T10:49:26.046Z root INFO Backend a.onStart: 3.7 ms [Finished 3.747 s after backend start]

2023-12-31T10:49:26.067Z root INFO Backend a.configure: 0.9 ms [Finished 3.937 s after backend start]

2023-12-31T10:49:26.069Z root INFO Backend u.onStart: 0.7 ms [Finished 3.937 s after backend start]

2023-12-31T10:49:26.073Z root INFO Backend d.configure: 0.3 ms [Finished 3.937 s after backend start]

2023-12-31T10:49:26.076Z root WARN Backend d.initialize took longer than the expected maximum 50 milliseconds: 188.2 ms [Finished 3.938 s after backend start]

2023-12-31T10:49:26.076Z root INFO Backend c.onStart: 0.7 ms [Finished 3.938 s after backend start]

2023-12-31T10:49:26.080Z root WARN Backend s.configure took longer than the expected maximum 50 milliseconds: 325.3 ms [Finished 4.264 s after backend start]

2023-12-31T10:49:26.091Z config INFO >>> Initializing CLI configuration...

2023-12-31T10:49:26.114Z root INFO Backend c.initialize: 20.4 ms [Finished 4.264 s after backend start]

2023-12-31T10:49:26.121Z root INFO Backend P.onStart: 2.9 ms [Finished 4.267 s after backend start]

2023-12-31T10:49:26.124Z config INFO Loading CLI configuration from c:\Users\Tulajdonos\.arduinoIDE\arduino-cli.yaml...

2023-12-31T10:49:26.140Z daemon INFO Starting daemon from C:\Users\Tulajdonos\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\resources\arduino-cli.exe...

2023-12-31T10:49:26.143Z root INFO Backend s.initialize: 1.1 ms [Finished 4.270 s after backend start]

2023-12-31T10:49:26.147Z root INFO Backend w.onStart: 4.0 ms [Finished 4.273 s after backend start]

2023-12-31T10:49:26.165Z root INFO Backend r.configure: 7.3 ms [Finished 4.274 s after backend start]

2023-12-31T10:49:26.172Z discovery-log INFO start

2023-12-31T10:49:26.174Z discovery-log INFO start new deferred

2023-12-31T10:49:26.176Z root INFO Backend d.initialize: 1.6 ms [Finished 4.277 s after backend start]

2023-12-31T10:49:26.177Z root INFO Backend y.onStart: 36.0 ms [Finished 4.311 s after backend start]

2023-12-31T10:49:26.186Z root INFO Backend r.configure: 34.5 ms [Finished 4.318 s after backend start]

2023-12-31T10:49:26.189Z root INFO Backend s.onStart: 18.3 ms [Finished 4.341 s after backend start]

2023-12-31T10:49:26.191Z root INFO Backend h.configure: 21.7 ms [Finished 4.345 s after backend start]

2023-12-31T10:49:26.194Z root INFO Backend a.configure: 5.9 ms [Finished 4.375 s after backend start]

2023-12-31T10:49:26.197Z root INFO Backend s.configure: 0.4 ms [Finished 4.387 s after backend start]

2023-12-31T10:49:26.198Z root INFO Backend l.configure: 0.4 ms [Finished 4.392 s after backend start]

2023-12-31T10:49:26.263Z root INFO Theia app listening on [http://localhost:62592](http://localhost:62592/).

2023-12-31T10:49:26.273Z root INFO Finished starting backend application: 91.7 ms [Finished 4.460 s after backend start]2023-12-31T10:49:26.608Z root WARN The local plugin referenced by local-dir:/c%3A/Users/Tulajdonos/.arduinoIDE/plugins does not exist.

2023-12-31T10:49:26.610Z root WARN The local plugin referenced by local-dir:/c%3A/Users/Tulajdonos/.arduinoIDE/extensions does not exist.

2023-12-31T10:49:26.613Z root WARN The local plugin referenced by local-dir:C:\Users\Tulajdonos\.arduinoIDE\plugins does not exist.

2023-12-31T10:49:26.630Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]},"build_cache":{"compilations_before_purge":10,"ttl":"720h0m0s"},"daemon":{"port":"50051"},"directories":{"data":"C:\\Users\\Tulajdonos\\AppData\\Local\\Arduino15","downloads":"C:\\Users\\Tulajdonos\\AppData\\Local\\Arduino15\\staging","user":"C:\\Users\\Tulajdonos\\Documents\\Arduino"},"library":{"enable_unsafe_install":false},"logging":{"file":"","format":"text","level":"info"},"metrics":{"addr":":9090","enabled":true},"output":{"no_color":false},"sketch":{"always_export_binaries":false},"updater":{"enable_notification":true}}

2023-12-31T10:49:26.631Z config INFO 'directories.data' and 'directories.user' are set in the CLI configuration model.

2023-12-31T10:49:26.633Z config INFO Loaded the CLI configuration.

2023-12-31T10:49:26.639Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///c%3A/Users/Tulajdonos/AppData/Local/Arduino15","sketchDirUri":"file:///c%3A/Users/Tulajdonos/Documents/Arduino","additionalUrls":[],"network":"none","locale":"en"}

2023-12-31T10:49:26.641Z config INFO Validating the CLI configuration...

2023-12-31T10:49:26.642Z config INFO The CLI config is valid.

2023-12-31T10:49:26.643Z config INFO <<< Initialized the CLI configuration.

2023-12-31T10:49:29.142Z daemon INFO time="2023-12-31T11:49:28+01:00" level=info msg="Using config file: c:\\Users\\Tulajdonos\\.arduinoIDE\\arduino-cli.yaml"

time="2023-12-31T11:49:28+01:00" level=info msg="arduino-cli.exe version 0.34.0"

time="2023-12-31T11:49:28+01:00" level=info msg="Executing `arduino-cli daemon`"

Daemon is now listening on [127.0.0.1:62593](http://127.0.0.1:62593/)

{"IP":"127.0.0.1","Port":"62593"}

2023-12-31T10:49:29.150Z daemon INFO Daemon is running.

2023-12-31T10:49:29.508Z root INFO Resolve plugins list: 3384.5 ms [Finished 7.704 s after backend start]

2023-12-31T10:49:29.700Z daemon INFO time="2023-12-31T11:49:29+01:00" level=info msg="Checking signature" index="C:\\Users\\Tulajdonos\\AppData\\Local\\Arduino15\\package_index.json" signatureFile="C:\\Users\\Tulajdonos\\AppData\\Local\\Arduino15\\package_index.json.sig" trusted=true

time="2023-12-31T11:49:29+01:00" level=info msg="Loading hardware from: C:\\Users\\Tulajdonos\\AppData\\Local\\Arduino15\\packages"

time="2023-12-31T11:49:29+01:00" level=info msg="Loading package builtin from: C:\\Users\\Tulajdonos\\AppData\\Local\\Arduino15\\packages\\builtin"

time="2023-12-31T11:49:29+01:00" level=info msg="Checking existence of 'tools' path: C:\\Users\\Tulajdonos\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"

time="2023-12-31T11:49:29+01:00" level=info msg="Loading tools from dir: C:\\Users\\Tulajdonos\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"

time="2023-12-31T11:49:29+01:00" level=info msg="Loaded tool" tool="builtin:ctags@5.8-arduino11"

time="2023-12-31T11:49:29+01:00" level=info msg="Loaded tool" tool="builtin:dfu-discovery@0.1.2"

time="2023-12-31T11:49:29+01:00" level=info msg="Loaded tool" tool="builtin:mdns-discovery@1.0.9"

time="2023-12-31T11:49:29+01:00" level=info msg="Loaded tool" tool="builtin:serial-discovery@1.4.0"

time="2023-12-31T11:49:29+01:00" level=info msg="Loaded tool" tool="builtin:serial-monitor@0.13.0"

time="2023-12-31T11:49:29+01:00" level=info msg="Loading libraries index file" index="C:\\Users\\Tulajdonos\\AppData\\Local\\Arduino15\\library_index.json"

2023-12-31T10:49:32.447Z daemon INFO time="2023-12-31T11:49:30+01:00" level=info msg="Adding libraries dir" dir="C:\\Users\\Tulajdonos\\AppData\\Local\\Arduino15\\libraries" location=ide

time="2023-12-31T11:49:30+01:00" level=info msg="Adding libraries dir" dir="C:\\Users\\Tulajdonos\\Documents\\Arduino\\libraries" location=user

2023-12-31T10:49:32.454Z discovery-log INFO start request start watch

2023-12-31T10:49:32.454Z discovery-log INFO start requested start watch

2023-12-31T10:49:32.455Z discovery-log INFO start resolved watching

2023-12-31T10:49:32.459Z daemon INFO time="2023-12-31T11:49:32+01:00" level=info msg="starting discovery builtin:serial-discovery process"

2023-12-31T10:49:34.829Z daemon INFO time="2023-12-31T11:49:32+01:00" level=info msg="starting discovery builtin:mdns-discovery process"

2023-12-31T10:50:06.048Z daemon INFO time="2023-12-31T11:50:04+01:00" level=info msg="started discovery builtin:serial-discovery process"

time="2023-12-31T11:50:04+01:00" level=info msg="sending command HELLO 1 \"arduino-cli 0.34.0\" to discovery builtin:serial-discovery"

time="2023-12-31T11:50:05+01:00" level=info msg="started discovery builtin:mdns-discovery process"

time="2023-12-31T11:50:05+01:00" level=info msg="sending command HELLO 1 \"arduino-cli 0.34.0\" to discovery builtin:mdns-discovery"

time="2023-12-31T11:50:05+01:00" level=info msg="from discovery builtin:serial-discovery received message type: hello, message: OK, protocol version: 1"

time="2023-12-31T11:50:05+01:00" level=info msg="sending command START_SYNC to discovery builtin:serial-discovery"

time="2023-12-31T11:50:05+01:00" level=info msg="from discovery builtin:serial-discovery received message type: start_sync, message: OK"

time="2023-12-31T11:50:05+01:00" level=info msg="from discovery builtin:mdns-discovery received message type: hello, message: OK, protocol version: 1"

time="2023-12-31T11:50:05+01:00" level=info msg="sending command START_SYNC to discovery builtin:mdns-discovery"

time="2023-12-31T11:50:05+01:00" level=info msg="from discovery builtin:mdns-discovery received message type: start_sync, message: OK"

time="2023-12-31T11:50:05+01:00" level=info msg="from discovery builtin:serial-discovery received message type: add, port: COM4"

2023-12-31T10:50:06.237Z root INFO Deploy plugins list: 3384.5 ms [Finished 44.434 s after backend start]

2023-12-31T10:50:06.681Z discovery-log INFO {"eventType":"add","port":{"matchingBoardsList":[],"port":{"address":"COM4","label":"COM4","protocol":"serial","protocolLabel":"Serial Port (USB)","propertiesMap":[["pid","0x7523"],["serialNumber",""],["vid","0x1A86"]],"hardwareId":""}},"error":""}

Opening channel for service path '/services/electron-window'.

Opening channel for service path '/services/ide-updater'.

[8868:1231/115123.082:ERROR:gpu_init.cc(523)] Passthrough is not supported, GL is disabled, ANGLE is

Hi @hannmend. It is possible the problem is caused by some problem in the Arduino IDE application configuration data. If so, it should be possible to restore the IDE to functionality by deleting the folders where the data is stored. This will force Arduino IDE to automatically regenerate the default configuration data.

Please try this:


:warning: The folders to be deleted do not contain any of the data for your sketch projects so deleting them should not result in the loss of any irreplaceable data. However, please always be careful when deleting things from your computer. When in doubt, back up!


  1. Close all Arduino IDE windows if the IDE is already running.
  2. Delete the folder at the following path:
    C:\Users\<username>\.arduinoIDE\
    
    (where <username> is your Windows username)
  3. Delete the folder at the following path:
    C:\Users\<username>\AppData\Roaming\arduino-ide\
    
    (where <username> is your Windows username)
    :exclamation: If looking for it with your file manager or command line, note that the AppData folder is hidden by default. On Windows "File Explorer", you can make it visible by opening the "View" menu, then checking the box next to "☐ Hidden items".

Now start Arduino IDE again. Hopefully this time it will start up fully.


:exclamation: The Arduino IDE preferences will have been reset to their default values. If you had previously made any customizations to the preferences (e.g., the "Additional Boards Manager URLs" preference) then you will now want to reconfigure the IDE as necessary.


Please let me know if you have any questions or problems while following those instructions.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.