-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
kwin_x11 crashes when switching virtual desktop #60312
Comments
Well, I now tried using a bit older commits in nixos-unstable and rebooting to that system, but now KDE is even more broken. System settings -> Virtual desktops says: "The shared library was not found. Possible reasons: An error occurred during your last KDE upgrade leaving an orphaned control module. ...". So, perhaps it's not a good idea to go back and forth over different KDE versions? Any other ideas how to find what has broken it? |
I reported upsteam too: https://bugs.kde.org/show_bug.cgi?id=406970 |
I don't have anything installed on my profile:
Not sure if it's possible that there is some |
Nah, probably something else then. |
I had a similar problem - broken animations, and the task switcher (Ctrl-Tab) was making kwin_x11 crash. I solved it by changing the compositor rendering backend (Settings -> Display and monitor -> Compositor) from OpenGL 2.0 to OpenGL 3.1 and back. Sadly the last update seemed to break many things - I needed to reinstall some kwin_scripts I used, and I still encounter some glitches now and then. |
FWIW, I have a similar but different problem where recently kwin_x11 crashes when using Alt-Tab to switch windows. Reverting to an older generation of NixOS is even worse with the older generation having kwin_x11 crash on startup now. |
Seems nuking my |
@roconnor-blockstream that fixed my issues as well! |
Getting rid of |
Hey, sorry for the late reply. The actual solution is to remove all I googled a bit and it seems that we probably need to support this removing on updates, especially when updating qt. |
Thanks, those fixed my issue! But isn't this an upstream bug then? Kwin (or some KDE component) isn't invalidating its cache properly? |
It is possible to compile QML modules ahead of time, should solve (or rather work around) caching issues: https://doc.qt.io/qt-5/qtquick-deployment.html |
AOT compilation requires changes to each source package, so while it is definitely preferable to have that, it still doesn't change the fact that we need to handle this case as well. The other option is to use I'm with @jluttine on this being an upstream issue, but I don't think it is perceived as a problem as such - based on what I could find, the Qt project tells people to either disable the cache completely or just delete the cached files. |
I had the same problem! And had cleaned the cache resolved... Thanks |
Thank you for your contributions. This has been automatically marked as stale because it has had no activity for 180 days. If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity. Here are suggestions that might help resolve this more quickly:
|
I had a similar issue just now where kwin crashed when using Alt+Tab (the Task Switcher), but only when using certain Task Switcher visualizations. Deleting all |
How do you feel about preparing a PR @solson that makes the plasma activation script handle that? |
I might not have time for a few weeks, but is this the place you mean? Looks like it should be pretty easy. |
Yep and yep! |
I marked this as stale due to inactivity. → More info |
@patka-123 I haven't used KDE/kwin for a few years anymore, so can't tell. Perhaps someone else can comment? |
My issues stemmed from the stale I'll close this. |
Issue description
On current nixos-unstable, KDE isn't working properly. Many animations seem to be somewhat broken, but most importantly, kwin_x11 crashes when switching from one virtual desktop to another if "Show on-screen display when switching" is enabled.
This is what I can see in journalctl logs between two consecutive crashes:
I don't know if this is an upstream or NixOS issue. I'm trying to find the breaking commit but it takes a lot of time because nix apparently needs to build quite a lot of stuff although I've tried to make as minimal system as possible.
Steps to reproduce
Technical details
The text was updated successfully, but these errors were encountered: