Summary: | After disabling laptop screen while external screen is connected, re-enabling laptop screen causes a visual freeze until switching to another VT and back | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Nate Graham <nate> |
Component: | multi-screen | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | xaver.hugl |
Priority: | NOR | Keywords: | multiscreen, qt6, wayland |
Version: | master | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
See Also: |
https://bugs.kde.org/show_bug.cgi?id=476341 https://bugs.kde.org/show_bug.cgi?id=476340 https://bugs.kde.org/show_bug.cgi?id=476412 |
||
Latest Commit: | https://invent.kde.org/plasma/kwin/-/commit/c1312a555169c801b2c116a7b333443730092e07 | Version Fixed In: | |
Sentry Crash Report: |
Description
Nate Graham
2023-10-30 21:13:31 UTC
And now after going through the steps again, but NOT after rebooting, the issue isn't happening anymore. I hate screens. Well, graphics drivers. Rebooted and tried again. Now the issue is reproducing again for me as originally described. Forget about the key events being eaten issue for now; that seems to be a Firefox thing that just coincidentally started happening at the same time as this issue. A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/4605 Git commit c1312a555169c801b2c116a7b333443730092e07 by Xaver Hugl. Committed on 09/11/2023 at 12:35. Pushed by zamundaaa into branch 'master'. backends/drm: fix pageflip events getting lost when outputs get turned off When a display gets turned off while a pageflip event was still pending, the pending state gets changed immediately, without waiting for the pageflip event to arrive first. When this happens, activePending() returns false, and so the pageflip event gets discarded. This commit changes the logic to only check for activePending() when the pageflip is for a modeset, avoiding that issue. Related: bug 476340, bug 476341, bug 437520, bug 475146 M +10 -2 src/backends/drm/drm_commit.cpp M +2 -0 src/backends/drm/drm_commit.h M +5 -2 src/backends/drm/drm_pipeline.cpp M +2 -1 src/backends/drm/drm_pipeline.h https://invent.kde.org/plasma/kwin/-/commit/c1312a555169c801b2c116a7b333443730092e07 |