-
Notifications
You must be signed in to change notification settings - Fork 220
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
Some X11 applications(?) (e.g.VSCode/Codium) freeze the whole system (does recover) with KDE Host #1059
Comments
Hi @KirmesBude! This sounds like a tricky bug.
Is that on the same machine? As far as I know the only difference between Silverblue and Kinoite should be the desktop environment.
This probably tells us it's not because of the graphics stack? And it's Flatpak 😉 Could you also try to run VSCode from an RPM, please?
One could go through Kinoite's bug tracker but myself am not actually sure where that is.
I would suggest you watch the journal ( |
It is not. There are two different machines, my desktop with Kinoite and my laptop with Silverblue.
Good point. I just layered the codium rpm ontop and I am unable to reproduce the problem there.
I think I found it. Will see if I am able to open up an issue there as well.
https://gist.github.com/KirmesBude/65f60cba40109694650c91c7b9a46cd6 I already did that, but I was not able to find anything interesting. |
Hmm... would be nice to compare the outcome on Silverblue on the same machine. If you're willing, could you rebase your system running Kinoite on Silverblue?
The white top bar is expected because the dark Adwaita theme is not installed by default in Fedora images. We could probably do that? But that is a different topic.
Might be worth trying to install mesa drivers in the container to see if that changes anything. I think the relevant packages are |
I will try this tomorrow.
Yeah, I figured. Just wanted to mention it.
My container already has those installed. Thanks for the timely replies btw. |
I've got this issue too! I initially blamed on an Ubuntu container I was using but it seems Fedora containers have the issue. (Other discussion in #483 (comment)) I've been able to reproduce this with VSCodium and qhexedit in a fedora container, as well as mgba and various ROS qt apps in an ubuntu container. All of these apps used X11 (as evidenced by their blurry appearance on my HiDPI display) rather than Wayland protocols, and I'm running Wayland on KDE on the host. Fedora KDE 35, not Kionite. I think it's a DNS issue, since adding hosts and nsswitch, both identical in toolbox and host:
My suspicion is that kwin is trying to resolve the name "toolbox". Is it expected for |
That does appear to fix it :D |
I remembered reading something about it while trying to get an ubuntu container working, people were talking about it fixing long delays in sudo.. the actual solution turned out to be an nsswitch tweak but hopefully this info can at least get the more knowledgeable people on the right track? |
Fixes containers#1059 when running X11 apps under kwin/Plasma desktop on Fedora Kinoite 37. The random freezes experienced in containers#1059 are caused by DNS lookups of the unqualified host name 'toolbox' that the container uses by default, at least on my machine. Distrobox (https://github.com/89luca89/distrobox) uses the same style of container host name as this patch and has never had any issues for me under KDE. An alternative solution which does not modify the host name is to explicitly add 'toolbox' to the hosts file or DNS, but it is more user friendly to have something that just works without any changes to the host configuration.
#1215 fixes the random freezes in IntelliJ and other IDEs on my machine. Host system: Fedora Kinoite 37, Plasma Wayland session. |
This should be default in Kinoite and Silverblue. Fixed my issues with several GUI apps. |
damnit you are a life saver!!!! I would have freezing every 6-7 seconds for 1-2 seconds, editing /etc/hosts fixed it! additionally, for those who plan to run same tool, this also needs to be installed to run jetbrains toolbox: |
Describe the bug
When using VSCode/Codium inside the toolbox, the whole system regularly freezes for >=1 second.
Especially easily reproducible if hovering over any of the menus.
The VSCode/Codium themeing also does not look themed correct, so maybe this is part of the problem.
I do not face this problem with my laptop running silverblue 35.
Steps how to reproduce the behaviour
Expected behaviour
I can use vscode/codium from within the toolbox no problem.
Actual behaviour
The whole system freezes. Sometimes for multiple seconds.
Screenshots
https://youtu.be/byqXiMcQ-bs
Output of
toolbox --version
(v0.0.90+)toolbox version 0.0.99.3
Toolbox package info (
rpm -q toolbox
)toolbox-0.0.99.3-2.fc35.x86_64
Output of
podman version
Podman package info (
rpm -q podman
)podman-3.4.7-1.fc35.x86_64
Info about your OS
Kinoite 35
Additional context
Host Flatpacked codium works normally.
I am not sure if this is the right place to put this bug report.
Seems to be Kinoite specific. I would be interested in any tips on how to proceed with troubleshooting.
The text was updated successfully, but these errors were encountered: