Defold editor running very slowly

I’m having the same problem as the problem described here: Editor slowing down & becoming unusable (SOLVED)
However, I tried updating Windows 10, but it didn’t work.

Problem
Every time I hover my mouse over the editor, the whole engine slows down until I move the mouse away from the editor and wait a few seconds. This only happens when I have a collection, tilesource, tileset, atlas, etc. open.

Context
This only started happening quite recently. At first, it would only happen a few times, and I could shut down the engine and start it up again and it would work. But no matter how much I try shutting down the engine, pc, or other apps, it still happens. I have updated Windows to the most recent version, but that didn’t seem to help. My graphics card doesn’t usually have much trouble with this type of thing. Also, whenever I run it or debug it the graphics run very smoothly.

Log

2020-08-11 14:50:29.347 42035 [JavaFX Application Thread] DEBUG org.eclipse.jgit.util.FS - readpipe may return ‘git version 2.25.0.windows.1’
2020-08-11 14:50:29.347 42035 [JavaFX Application Thread] DEBUG org.eclipse.jgit.util.FS - remaining output:

2020-08-11 14:50:29.355 42043 [JavaFX Application Thread] DEBUG org.eclipse.jgit.util.FS - readpipe [git, config, --system, --edit],C:\Program Files\Git\cmd
2020-08-11 14:50:29.644 42332 [JavaFX Application Thread] DEBUG org.eclipse.jgit.util.FS - readpipe may return ‘C:/Program Files/Git/etc/gitconfig’
2020-08-11 14:50:29.644 42332 [JavaFX Application Thread] DEBUG org.eclipse.jgit.util.FS - remaining output:

2020-08-11 14:50:29.848 42536 [clojure-agent-send-off-pool-8] INFO editor.boot-open-project - {:line 407, :message “project loaded”}
2020-08-11 14:51:18.165 90853 [Timer-0] INFO editor.updater - {:line 295, :message “Checking for updates”, :url “https://d.defold.com/editor2/channels/editor-alpha/update-v3.json”}
2020-08-11 14:51:18.378 91066 [Timer-0] INFO editor.updater - {:line 302, :message “No update found”}
2020-08-11 14:52:18.378 151066 [Timer-0] INFO editor.updater - {:line 295, :message “Checking for updates”, :url “https://d.defold.com/editor2/channels/editor-alpha/update-v3.json”}
2020-08-11 14:52:18.726 151414 [Timer-0] INFO editor.updater - {:line 302, :message “No update found”}
2020-08-11 14:53:18.726 211414 [Timer-0] INFO editor.updater - {:line 295, :message “Checking for updates”, :url “https://d.defold.com/editor2/channels/editor-alpha/update-v3.json”}
2020-08-11 14:53:19.162 211850 [Timer-0] INFO editor.updater - {:line 302, :message “No update found”}
2020-08-11 14:54:19.163 271851 [Timer-0] INFO editor.updater - {:line 295, :message “Checking for updates”, :url “https://d.defold.com/editor2/channels/editor-alpha/update-v3.json”}
2020-08-11 14:54:19.375 272063 [Timer-0] INFO editor.updater - {:line 302, :message “No update found”}

->The lag starts sometime around 14:55

Information
Graphics Card: Intel® HD Graphics 4000
Windows Version: 10.0.19041 Build 19041
Defold Version: 1.2.171

Conclusion
I realize that last year this bug was thought to be Window’s fault.
Is anyone else having this problem? Can I somehow fix this problem myself, considering that it doesn’t seem to be Defold’s fault?

Thanks!

In case you need the full log:
editor2.2020-08-11.zip (7.0 KB)

Does it happen in an empty project / any project with things open?

If you have Resource Monitor open does anything stand out to you?

What does the GPU tab of the Task Manger : Performance section look like?

Do any errors appear in Event Viewer?

Is the Intel HD 4000 driver up to date?

In an empty project with no graphics added, it still has the same problem.
Mostly, it’s just consistent with memory, CPU and disk pump up and down, but they don’t seem to be directly relating with mouse movement or scrolling.
The GPU tab shows 0% for Defold
No errors in the Event Viewer.
The driver is up to date.

I have a problem a bit same but not exactly but with mouse, my laptop sometimes stops to read mouse in usb and until I move the cable the engine is frozen if i have press sth to open or move does not do, only when reuse mouse and pc comes the connection with mouse all work fine. thanks

So… there must be some communication problem between the intel graphics card driver and task manager, because when the editor lags, no app shows that there is any GPU being used. All apps have 0% under the GPU tab. However, if I disable the intel driver, and switch to the secondary graphics card that I usually assign to games, a NVIDIA GeForce GT 640M LE, the editor runs slightly better. Not only that, but Task Manager shows that the GPU gets to 83% when I’m using the NVIDIA card! I not an expert, but that seems to be pretty high for one app. :grimacing:

2 Likes