Open alculete opened 1 month ago
Thanks for the report!
To help diagnose the issue, we need more information:
I tried with both 1.54 AppImage, and noticed this on 1.53. I also tested this on the new snap version with the same result. As I mentioned this doesn't take long all the time. I run Ubuntu on ZFS but tried on Ext4 also with the same result.
Can you start the IDE from the command line and post the output?
Will do at the end of the day
Also results from top
during the start of the IDE would be interesting.
I have created a more detailed recording with Btop.
I noticed That my CPU was consumed almost 100% I can do the same with AppImage if needed which I had the same issue. Screencast From 2024-10-17 20-53-10.webm
This looks like your CPU is maxed out, but the Theia processes do not seem to be the ones consuming the cpu. I'm not convinced this is a Theia problem 🤷
This video gives more detail. gjs starts consuming more CPU when theia starts
I have done a quick search and it seems that many other applications also trigger a high gjs CPU consumption, so this might be a gjs bug. Which Ubuntu version do you use?
I'm using 24.10, but I had the same issue with 24.04 before
Not sure if this can related, I have vscode and never had the same issue or any other application. This just happens with theia.
We can't reproduce this, but we are not on 24.x. Could you paste the output of stdout/stder ?
Hey! Thanks for the details. Here are a few things to try that might help:
Disable GNOME Extensions: Sometimes, GNOME extensions can spike CPU usage with certain apps. If you have any enabled, try turning them off temporarily and see if Theia IDE runs smoother.
Switch to X11: If you're on Wayland, try logging in with X11 instead. Some Snap and AppImage apps handle CPU usage better on X11. Just log out, choose “GNOME on Xorg” when you log back in, and test again.
Update Everything: Make sure your system, drivers, and GNOME packages are up-to-date, especially after an OS upgrade. Recent updates sometimes fix issues like this.
Also, if you can, try to spot any patterns—like whether it happens after switching screens or connecting external monitors. Noticing any patterns could give us more clues!
This clearly is a Gnome <=> Theia IDE issue, which is not so easy to identify, especially as it does not occur all the time.
Let us know how it goes!
- Disable GNOME Extensions:
Don´t have any installed
2. Switch to X11
Tested with the same result
3. Update Everything:
I am up-to-date
Also, if you can, try to spot any patterns—like whether it happens after switching screens or connecting external monitors. Noticing any patterns could give us more clues!
I have completely removed .theia-ide and it is opening without issue. It seems to be related to theia extensions. I normally only install Spring Boot Extension Pack for multiple default extensions or just Spring Initializr Java Support.
EDIT: If I try to open a different folder it gets stuck again without any extension installed.
Note that I have cut the video because it was taking very long, it took around 5 minutes. Not that it doesn't happen all the time.
Screencast From 2024-10-15 20-25-08.webm