-
-
Notifications
You must be signed in to change notification settings - Fork 15k
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 becomes unresponsive, upstream bug? #206868
Comments
With mesa-22.2.5 it's still broken? I wouldn't want to switch mesa's major version from 22.2 on stable NixOS 22.11. |
As far as I understand yes. Further upstream, they assert that 22.3.0 will contain the fix: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7674#note_1680853 I have to add that I'm not completely convinced yet that this is the whole story of the bug, because I have two Lenovo ThinkPads with nearly identical config, and on one I experience the bug and on the other one, not. This may be because I'm using one of them more, though. Long story short, it would be good if other people on Nixos can confirm they experience this bug on up-to-date nixos-unstable or nixos-22.11 and KDE. |
I actually confirm this bug (or maybe a related one, also solved in the 22.3.x branch), since my recent NixOs upgrade my system is really unstable, with maybe one or two crashes a day (often, the applications are still usable, but alt-tab to switch does not work anymore, and I can't change window without killing the windows that are above (typically I try to open a new terminal, then I kill the apps from the terminal, then I kill the terminal…). While it is handy to save work, before restarting the OS, it's really annoying… and I actually nearly experienced work loses as sometimes the input system also stops working. For reference, here is what I got last time:
The issue I was looking at is https://bugs.kde.org/show_bug.cgi?id=461316 and the fix is merged here https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19972 I checked and the fix is NOT in 22.2.5 (currently in use in NixOs), but is present in all the 22.3.x series (the latest version is 22.3.3 as of today). Would it be possible to upgrade mesa please? EDIT Wait… I was actually looking at an older version of nixpkgs, the latest nixpkgs does have 22.3.3 (Nix has such up to date channels ^^'). So I will try to upgrade (again) my recently upgraded system ^^ |
The fix is in #204125, which was merged into |
Let's both test whether it works after the fix, and if yes, close the issue. |
Yes ! After a day of use I had no issue so far. I don't know however if it needs backport. Technically the problematic commit was 6 months old, and mesa 22.2.4, in use on NixOs 22.11, is like two months old… |
I glanced at the commits quickly, and the culprit is reachable from all 22.2.x and doesn't appear reverted on the branch yet. (and it's been declared unmaintained in the meantime) Well, maybe it's possible to simply pick the revert pair that landed in 22.3.x, but I don't know the code-base. |
Wouldn't it be simpler to just upgrade mesa like in unstable?
|
Well, if I knew that it fixes much more users than it breaks... |
Yeah, make sense. |
When using Alt + Tab often, all windows freeze.
This seems to be a known upstream bug: https://bugs.kde.org/show_bug.cgi?id=457847#c22 Nevertheless I wanted to report here for documentation and to simplify debugging for other people.
A temporary workaround seems to be to restart
kwin
from a terminal (use Ctrl+Alt+F6 to get there):The underlying issue is probably a buggy version of mesa, 22.2. When downgrading mesa with an overlay like this, it should work:
A new version of mesa will be released before the end of the year, containing the fix. This issue here can be closed when the corresponding version bump has landed in nixpkgs.
The text was updated successfully, but these errors were encountered: